{"matchId":"47034447","creationMatch":"exact_match","runtimeMatch":"exact_match","verifiedAt":"2026-09-02T11:43:26Z","creationBytecode":{"onchainBytecode":"0x60e034620001c9576001600160401b0390601f62004e5538819003918201601f191683019184831184841017620001b557808492602094604052833981010312620001c95751906001600160a01b03808316808403620001c9574660805260405191602083017f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f81527f29a88cbf27800a51814cac27ad93571452fc9b1eb4e86444a15d1961bc290ea760408501527f15124d26d1272f8d4d5266a24ca397811f414b8cd05a53b26b745f63af5ae2fc60608501524660808501523060a085015260a0845260c084019484861090861117620001b55760408590528351902060a0526001805560028054336001600160a01b0319821681179092559091167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a31562000184578260c052604051614c879081620001ce82396080518161100f015260a051816110dc015260c0518181816101a20152818161128201526115a30152f35b62461bcd60e51b8252602060c4820152600a60e4820152697a65726f2070726f787960b01b61010490910152606490fd5b634e487b7160e01b5f52604160045260245ffd5b5f80fdfe6080604052600436101561001a575b3615610018575f80fd5b005b5f3560e01c806302cc250d1461012957806312ec8dcc1461012457806315337bc01461011f5780632479fb6e1461011a57806343218e1914610115578063462c3ed11461011057806354fd4d501461010b5780635624b25b14610106578063715018a6146101015780638da5cb5b146100fc5780638fd57b92146100f7578063d08d33d1146100f2578063ec58f4b8146100ed578063ec6cb13f146100e8578063f2fde38b146100e3578063f698da25146100de5763f84436bd0361000e57610b15565b610af3565b610a27565b610915565b610890565b610878565b610800565b6107d8565b61077d565b610718565b6106ad565b610619565b61056a565b6104db565b6101fe565b61018d565b610143565b6001600160a01b0381160361013f57565b5f80fd5b3461013f57602036600319011261013f576004356101608161012e565b60018060a01b03165f526003602052602060ff60405f2054166040519015158152f35b5f91031261013f57565b3461013f575f36600319011261013f576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b9181601f8401121561013f578235916001600160401b03831161013f576020838186019501011161013f57565b3461013f57602036600319011261013f576004356001600160401b03811161013f5761022e9036906004016101d1565b9061023982826111d3565b506001600160a01b03169290503383036102a1577f875b6cb035bbd4ac6500fabc6d1e4ca5bdc58a3e2b424ccb5c24cdbebeb009a99161028d6040518383823760208185810160048152030190205f199055565b61029c60405192839283610b7b565b0390a2005b60405162461bcd60e51b815260206004820152601960248201527f63616c6c657220646f6573206e6f74206f776e206f72646572000000000000006044820152606490fd5b634e487b7160e01b5f52604160045260245ffd5b60a081019081106001600160401b0382111761031557604052565b6102e6565b61010081019081106001600160401b0382111761031557604052565b6001600160401b03811161031557604052565b606081019081106001600160401b0382111761031557604052565b608081019081106001600160401b0382111761031557604052565b604081019081106001600160401b0382111761031557604052565b90601f801991011681019081106001600160401b0382111761031557604052565b604051906103c88261031a565b565b6001600160401b03811161031557601f01601f191660200190565b81601f8201121561013f578035906103fc826103ca565b9261040a604051948561039a565b8284526020838301011161013f57815f926020809301838601378301015290565b602060031982011261013f57600435906001600160401b03821161013f57610455916004016103e5565b90565b5f5b8381106104695750505f910152565b818101518382015260200161045a565b9061048c60209282815194859201610458565b0190565b60206104a9918160405193828580945193849201610458565b8101600481520301902090565b60206104cf918160405193828580945193849201610458565b81015f81520301902090565b3461013f5760206104f36104ee3661042b565b610490565b54604051908152f35b90604060031983011261013f576004356105158161012e565b91602435906001600160401b03821161013f57610455916004016103e5565b9060209161054d81518092818552858086019101610458565b601f01601f1916010190565b906020610455928181520190610534565b3461013f575f8061057a366104fc565b90602082519201905af461058c610b8c565b906105c76021604051809360206105ac8184019788815193849201610458565b820190151560f81b602082015203600181018452018261039a565b5190fd5b9181601f8401121561013f578235916001600160401b03831161013f576020808501948460051b01011161013f57565b9190606083011161013f57565b60609060a319011261013f5760a490565b3461013f5761010036600319011261013f576001600160401b0360243581811161013f5761064b9036906004016105cb565b60443583811161013f576106639036906004016105cb565b9060643585811161013f5761067c9036906004016105cb565b92909160843596871161013f5761069a6100189736906004016105fb565b946106a436610608565b96600435610bbb565b3461013f575f36600319011261013f576107146040516106cc81610349565b602181527f76322e302e302d7468726573686f6c642d756e6361707065642d737572706c756020820152607360f81b6040820152604051918291602083526020830190610534565b0390f35b3461013f57604036600319011261013f576004356024356005602082821b8315848204831417156107785761074c90610f7f565b935f5b84811061076457604051806107148882610559565b8181015481851b870184015260010161074f565b610f11565b3461013f575f36600319011261013f57610795611e6c565b600280546001600160a01b031981169091555f906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a3005b3461013f575f36600319011261013f576002546040516001600160a01b039091168152602090f35b3461013f57602036600319011261013f577f640e18a2587e1d83e4fdabf70257d0a800ca4b2c1aaad1dfc485a4ad8bbbd6c660206004356108408161012e565b610848611e6c565b6001600160a01b031661085c811515610fb1565b805f526003825260405f2060ff198154169055604051908152a1005b3461013f5760206104f361088b3661042b565b6104b6565b3461013f57602036600319011261013f577f41f9d09dd5159251f8a8e482bbe097b7c01a5e6f70c5a0ddb494906464fc9dd760206004356108d08161012e565b6108d8611e6c565b6001600160a01b03166108ec811515610fb1565b805f526003825260405f20600160ff19825416179055604051908152a1005b8015150361013f57565b3461013f57604036600319011261013f576004356001600160401b03811161013f576109459036906004016101d1565b602435906109528261090b565b61095c81846111d3565b506001600160a01b03169390503384036109eb5761029c837f01bf7c8b0ca55deecbea89d7e58295b7ffbf685fd0d96801034ba8c6ffe1c68d945f146109da576109ce6109a98585610b43565b7f26cef0249cc767b3c21945b2779e1c35f139ab0e0f59dec08842c20f717c448a9055565b60405193849384610fec565b5f6109e58585610b43565b556109ce565b60405162461bcd60e51b815260206004820152601460248201527331b0b73737ba10383932b9b4b3b71037b93232b960611b6044820152606490fd5b3461013f57602036600319011261013f57600435610a448161012e565b610a4c611e6c565b6001600160a01b03908116908115610a9f57600254826bffffffffffffffffffffffff60a01b821617600255167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a3005b60405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608490fd5b3461013f575f36600319011261013f576020610b0d61100d565b604051908152f35b3461013f57610714610b2f610b29366104fc565b9061112f565b604051918291602083526020830190610534565b60209082604051938492833781015f81520301902090565b908060209392818452848401375f828201840152601f01601f1916010190565b916020610455938181520191610b5b565b3d15610bb6573d90610b9d826103ca565b91610bab604051938461039a565b82523d5f602084013e565b606090565b9796959396600260015414610d27576002600155335f52600360205260ff60405f20541615610cf357610c80610c428688610ca39b610c9a98610c3798610c9498610c3d8f610c37908b35610c16631dcd6500821115610d6c565b158015610cd1575b610c2790610dc2565b610c32878614610e06565b610e66565b90611277565b611496565b95610c5360208801518851906115a1565b610c606040880151611796565b610c6c610c378a610e9d565b606087019760808951980197885190611856565b610c8a8651611be9565b8551855190611c35565b94610ed7565b51905190611d75565b337fbddcc4ab73b8e971706360fbdcce2f609328e78217649695ee3ab811ab52d1625f80a36103c860018055565b50610c276001600160a01b03610ce960208f01610db8565b1615159050610c1e565b60405162461bcd60e51b815260206004820152600c60248201526b3737ba10309039b7b63b32b960a11b6044820152606490fd5b60405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606490fd5b15610d7357565b60405162461bcd60e51b815260206004820152601b60248201527f696e76616c696420737572706c7573206665652070657263656e7400000000006044820152606490fd5b356104558161012e565b15610dc957565b60405162461bcd60e51b81526020600482015260156024820152741d1c9a5b549958d95a5d995c881c995c5d5a5c9959605a1b6044820152606490fd5b15610e0d57565b60405162461bcd60e51b815260206004820152601d60248201527f746f6b656e732f707269636573206c656e677468206d69736d617463680000006044820152606490fd5b634e487b7160e01b5f52603260045260245ffd5b803590601e198136030182121561013f5701908135916001600160401b03831161013f576020018260051b3603811361013f579190565b602081013590601e198136030182121561013f5701908135916001600160401b03831161013f576020018260051b3603811361013f579190565b604081013590601e198136030182121561013f5701908135916001600160401b03831161013f576020018260051b3603811361013f579190565b634e487b7160e01b5f52601160045260245ffd5b908160011b918083046002149015171561077857565b908160021b918083046004149015171561077857565b8181029291811591840414171561077857565b60405190610f7182610349565b603882526040366020840137565b90610f89826103ca565b610f96604051918261039a565b8281528092610fa7601f19916103ca565b0190602036910137565b15610fb857565b60405162461bcd60e51b815260206004820152600c60248201526b7a65726f206164647265737360a01b6044820152606490fd5b9160209161100591959495604085526040850191610b5b565b931515910152565b7f000000000000000000000000000000000000000000000000000000000000000046146110da5760405160208101907f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f82527f29a88cbf27800a51814cac27ad93571452fc9b1eb4e86444a15d1961bc290ea760408201527f15124d26d1272f8d4d5266a24ca397811f414b8cd05a53b26b745f63af5ae2fc60608201524660808201523060a082015260a0815260c081018181106001600160401b038211176103155760405251902090565b7f000000000000000000000000000000000000000000000000000000000000000090565b5f1981019190821161077857565b9190820391821161077857565b90815181101561112a570160200190565b610e52565b5f919061116d61117b849360405192839160208301956343218e1960e01b875260018060a01b03166024840152604060448401526064830190610534565b03601f19810183528261039a565b519082305af15061118a610b8c565b600160f81b60ff60f81b6111b86111aa6111a485516110fe565b85611119565b516001600160f81b03191690565b16146111c482516110fe565b8252156111ce5790565b61122b565b906038036111f1578035916034602083013560601c92013560e01c90565b60405162461bcd60e51b815260206004820152601260248201527113dc99195c8e881a5b9d985b1a59081d5a5960721b6044820152606490fd5b602081519101fd5b1561123a57565b60405162461bcd60e51b81526020600482015260156024820152743337b93134b23232b71034b73a32b930b1ba34b7b760591b6044820152606490fd5b906001600160a01b037f00000000000000000000000000000000000000000000000000000000000000008116905f5b8381106112b4575050505050565b8060051b85013590605e198636030182121561013f5760019186016112f2856112eb6112df84610db8565b6001600160a01b031690565b1415611233565b6112fb81611ef6565b7fed99827efb37016f2275f98c4bcf71c7551c75d59e9b450f79fa32e60be672c28461132683610db8565b61135a61133285611f37565b602060405194859416960135839092916020906040830194835263ffffffff60e01b16910152565b0390a2016112a6565b60405190611370826102fa565b81608060609182815282602082015282604082015282808201520152565b6001600160401b0381116103155760051b60200190565b906113af8261138e565b6040906113bf604051918261039a565b83815280936113d0601f199161138e565b01915f5b8381106113e15750505050565b60209082516113ef8161031a565b60608082525f8491818385015281878501528301525f60808301525f60a08301525f60c08301525f60e08301528286010152016113d4565b919081101561112a5760051b810135906101fe198136030182121561013f570190565b1561145157565b60405162461bcd60e51b815260206004820152601d60248201527f747261646573206e6f74206f72646572656420627920746f546f6b656e0000006044820152606490fd5b95949095939192936114a6611363565b966114b08361209f565b956114ba846113a5565b60808a019081526114c9612140565b915f97895f995b888b1061152157509850505050505050505051608082015181528352602081015160a082015181526060840152604081015160c08201518152602084015260e0606082015191015181526040830152565b61155e8b89600194898b8f8f611555878c928e9461155060209d8e611547868686611427565b0135101561144a565b611427565b928d5196612298565b6115698b8a8c611427565b01359901988a906114d0565b80511561112a5760200190565b805182101561112a5760209160051b010190565b6040513d5f823e3d90fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316925f5b82518110156116c1576115e18184611582565b519060608201918251156116b757602081018051611621916112df91611614906001600160a01b03166124b3565b6124b3565b516001600160a01b031690565b81516001600160a01b03166040928301519091906001600160a01b0316945192893b1561013f575163052f523360e11b81526001600160a01b039182166004820152918116602483015293909316604484015260648301525f82608481838a5af19182156116b257600192611699575b505b016115ce565b806116a66116ac92610336565b80610183565b5f611691565b611596565b5060019150611693565b509190505f5b8151811015611790576116da8183611582565b5190604080830192835115611785576117176117096112df6020840161161461160f825160018060a01b031690565b91516001600160a01b031690565b935193873b1561013f57915163052f523360e11b81526001600160a01b0391821660048201529116602482015230604482015260648101929092525f8260848183895af19182156116b257600192611772575b505b016116c7565b806116a661177f92610336565b5f61176a565b50506001915061176c565b50509050565b905f5b82518110156117f157806117af60019285611582565b5160608101908151156117ea576117e491848060a01b036117d2818451166124b3565b6020818451169301511690519161255f565b01611799565b50506117e4565b509050565b906001820180921161077857565b9190820180921161077857565b9081602091031261013f575190565b9061182a8261138e565b611837604051918261039a565b8281528092610fa7601f199161138e565b5f1981146107785760010190565b9291938151948515611be157606094611882606061187386611575565b5101516001600160a01b031690565b60a09560a061189087611575565b510151986001995b818b108a8c82611bb9575b5050156118cc576118c46001918a6118bb8e8c611582565b51015190611804565b9a0199611898565b9294969899979091939599828914611afe576118f06118eb8a8561110c565b6117f6565b9361191f61190661190087611820565b96611820565b9761191087611575565b6001600160a01b039091169052565b61192887611575565b526001985b8a848210611a2a5750505050505f5b86811061194d575050505050505050565b61195a6116148284611582565b906119658186611582565b516001600160a01b0383169273eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee84036119c3576001935047915b8083106119a4575b5050500161193c565b6119bb926119b19161110c565b90868a8d8b61269c565b5f808061199b565b6040516370a0823160e01b81523060048201526020948590829060249082905afa9081156116b2576001955f926119fd575b505091611993565b611a1c9250803d10611a23575b611a14818361039a565b810190611811565b5f806119f5565b503d611a0a565b8261187383611a3893611582565b8a908c906001600160a01b0381165f89855b8210611ac4575b5050508c8314611a93575b5090611a8c611a8586611a728660019796611582565b510151611a7f848d611582565b51611804565b918a611582565b520161192d565b928c8694611aa48395949f8b611582565b6001600160a01b039091169052611aba90611848565b9c91929350611a5c565b91611adc6112df6112df611614858598999697611582565b14611af05750600101908e9291898f611a4a565b9293509050915f8089611a51565b50919794965092949193919250506001600160a01b03841673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee8103611b65575047955b808710611b46575b50505050505050565b611b5996611b539161110c565b9461269c565b5f808080808080611b3d565b6040516370a0823160e01b815230600482015290602090829060249082905afa9081156116b2575f91611b9a575b5095611b35565b611bb3915060203d602011611a2357611a14818361039a565b5f611b93565b611bcc9250906118736112df928c611582565b6001600160a01b038581169116148a8c6118a3565b509350505050565b905f5b82518110156117f15780611c0260019285611582565b5160408101518015611c2e57611c2891848060a01b03806020830151169151169061255f565b01611bec565b5050611c28565b929192611c428151611820565b938251908251158015611d51575b611d4b576001937fa22590d89a282e4a4cb338bbac16a503583641111dac8ed65da19c682b55daab6001815c01905d611c90611c8b84610f25565b611820565b935f94865f5b868110611cd45750505f5b868110611cb2575050505050505050565b8790611cce878c888888611cc9611614888b611582565b612bcd565b01611ca1565b611ce360606118738388611582565b611cec81612b6d565b611d35575b50611d0160406118738388611582565b611d0a81612b6d565b611d18575b50018790611c96565b611d2f90611910611d288b611848565b9a86611582565b5f611d0f565b611d4590611910611d288b611848565b5f611cf1565b50505050565b508115611c50565b6104559392606092825260208201528160408201520190610534565b9190915f5b8151811015611d4b57611d8d8183611582565b5160e00151611d9c8284611582565b51602001516001600160a01b031660409182611db88587611582565b5101516001600160a01b031692611dcf8587611582565b51606001516001600160a01b0316611de78688611582565b51608001519282611df8828c611582565b51015190611e06908a611582565b51611e1091611804565b92611e1b8789611582565b515192516001600160a01b03928316968316959092169391928392611e409284611d59565b037fd65443291bb59863c3ddfe64892356e9f0c3888a4c99efd97df5c028cb5db26791a4600101611d7a565b6002546001600160a01b03163303611e8057565b606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b903590601e198136030182121561013f57018035906001600160401b03821161013f5760200191813603831361013f57565b5f602081928035611f068161012e565b611f136040830183611ec4565b939092846040519481860160405285370135905af115611f2f57565b3d5f803e3d5ffd5b906004611f495f936040810190611ec4565b9190911015611f555750565b359150565b90611f648261138e565b604090611f74604051918261039a565b8381528093611f85601f199161138e565b01915f5b838110611f965750505050565b6020908251611fa481610349565b5f8152825f818301525f85830152828601015201611f89565b90611fc78261138e565b604090611fd7604051918261039a565b8381528093611fe8601f199161138e565b01915f5b838110611ff95750505050565b602090825161200781610364565b5f8152825f818301525f858301525f6060830152828601015201611fec565b60405190612033826102fa565b5f6080838281528260208201528260408201528260608201520152565b9061205a8261138e565b612067604051918261039a565b8281528092612078601f199161138e565b01905f5b82811061208857505050565b602090612093612026565b8282850101520161207c565b90604051916120ad8361031a565b6060835260208301606081526040840190606082526060850192606084525f60808701525f60a08701525f60c08701525f60e0870152856120ed82611f5a565b905260058102918115928281046005148417156107785761210d90611f5a565b90528060021b9181830460041417156107785761213c9261213061213793611fbd565b9052610f3b565b612050565b9052565b6040519061214d82610364565b60405161016081018181106001600160401b03821117610315576040525f81525f60208201525f60408201525f60608201525f60808201525f60a08201525f60c08201525f60e08201525f6101008201525f610120820152606061014082015282526020820191606083525f60408201525f60608201529161213c610f64565b156121d457565b60405162461bcd60e51b81526020600482015260116024820152701bdc99195c881a5b9d985b1a59185d1959607a1b6044820152606490fd5b1561221457565b60405162461bcd60e51b815260206004820152600c60248201526b1bdc99195c88199a5b1b195960a21b6044820152606490fd5b1561224f57565b60405162461bcd60e51b815260206004820152601b60248201527f746f546f6b656e416d6f756e74206e6f742072657370656374656400000000006044820152606490fd5b0390fd5b84809394926122ad929a999a989798896130fe565b8551926122b99361342c565b919093805191608083015191829161014080950151906101a00192836122de9261379d565b9687516122eb908561110c565b956122f69187613af8565b9381510151918660808901938287865161230f90151590565b9161231993613b64565b936123278a83858988613c11565b51151590612336928785613e6d565b60209182820190815161234890610490565b54856123575f198314156121cd565b61236091611804565b8351608001518111156123729061220d565b825161237d90610490565b556040830180518451519a860151919a6001600160a01b03918216929116906123a6908861110c565b906123b1928b614020565b60a088015160608401519098906001600160a01b031684518601516001600160a01b03166123df848a61110c565b916123e993614071565b6123f3908661110c565b825160a00151111561240490612248565b5196604051809884820161241791610479565b03601f1981018952612429908961039a565b516001600160a01b03169051805190919083906001600160a01b03169201516001600160a01b03169261245a6103bb565b9889526001600160a01b03909116908801526001600160a01b031660408701526001600160a01b03166060860152608085015260a084015260c083015260e08201526124a68284611582565b526124b091611582565b50565b6001600160a01b031673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee146124d857565b60405162461bcd60e51b815260206004820152601a60248201527f63616e6e6f74207472616e73666572206e6174697665204554480000000000006044820152606490fd5b1561252457565b60405162461bcd60e51b8152602060048201526013602482015272115512081d1c985b9cd9995c8819985a5b1959606a1b6044820152606490fd5b8215612654576001600160a01b0390811673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee81036125a65750505f80806103c89481945af16125a0610b8c565b5061251d565b5f80612626946103c89660405195602087019263a9059cbb60e01b84521660248701526044860152604485526125db85610364565b604051946125e88661037f565b602086527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65646020870152519082855af1612620610b8c565b91614bc0565b805190811591821561263a575b5050614591565b61264d925060208091830101910161457c565b5f80612633565b505050565b1561266057565b634e487b7160e01b5f52600160045260245ffd5b909261268d606093969594608084526080840190610534565b95602083015260408201520152565b94939190948551946126ad86611820565b6126b687611820565b906126c088611820565b925f9081808a89898f8f5b8510612a8257505050505081116129ff5780939293915f5b8c8c82106129315750505050805b6127d1575050505f5b86811061270b575050505050505050565b8061271860019284611582565b5187868b8484156127c75761276d6101406127a76127bd937f06a90a58a0537157735f3daafad32f14398feec4680f0c032ca6659590e161b6978d604095869160e0612764868c611582565b51015190611582565b510161277a8b825161110c565b90526127a16127988360a061278f828c611582565b51015199611582565b51519a8861110c565b97611427565b013590519384938d8a8060a01b03169785612674565b0390a25b016126fa565b50505050506127c1565b9197985f9a919593979a9694969a5f5b8b81106128f957506127f48c1515612659565b839584955f955b8d8710806128f0575b156128ce5789908f8d908f8c9061281b8c87611582565b51156128bf57612841612896959361289c97959361283a8f8095611582565b5190613af8565b9361284c8282611582565b5185116128ab575b50508183116128a2575b6128768b61287085611a7f8386611582565b92611582565b528c6128908b6128708561288a8386611582565b5161110c565b5261110c565b96611848565b956127fb565b9150809161285e565b6128b6929450611582565b51918a8e612854565b505050509661289c9150611848565b939c9b949d5097945097955097936128e882918210612659565b9291926126f1565b50801515612804565b6129038189611582565b51612911575b6001016127e1565b9b6129296001916129228f8e611582565b5190611804565b9c9050612909565b6112df606061187384612946949a999a611582565b6001600160a01b038b81169116036129f7575f84612991575b9061297c82600193612971848c611582565b5261288a838a611582565b6129868289611582565b525b019493946126e3565b506129a7826129a08388611582565b5185613af8565b936129b28288611582565b5185116129e4575b8085116129dc575b9061297c6129d28660019461110c565b959192505061295f565b9350836129c2565b93506129f08187611582565b51936129ba565b600190612988565b11612a495760405162461bcd60e51b815260206004820152601b60248201527f746f546f6b656e416d6f756e74206e6f742072657370656374656400000000006044820152606490fd5b60405162461bcd60e51b81526020600482015260116024820152701d1a1c995cda1bdb19081b9bdd081b595d607a1b6044820152606490fd5b8d612a996112df606061187389869d999a9d611582565b6001600160a01b03918216911603612b605791878096949281969460a0948c86612ac38685611582565b510151612ad1868a89611427565b6101400135612adf916140ff565b612aeb819b8293611582565b52612af591611804565b9a612aff91611582565b5160e00151612b0d91611582565b516040015193612b1c92611427565b0135612b279161110c565b600192612b4b929180821015612b585750905b81612b45868b611582565b52611804565b915b018a89898f8f6126cb565b905090612b3a565b5050509360019150612b4d565b7fa22590d89a282e4a4cb338bbac16a503583641111dac8ed65da19c682b55daab90815c915f5260205260405f2081815c145f14612bab5750505f90565b5d600190565b929190612bc8602091604086526040860190610534565b930152565b9294929392916001600160a01b03851673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee036130685747935b8415611b3d57612c08612026565b945f5b858110612f9557508551158015612f89575b612f7f575f5b858110612cbd57505050505050604090833580612c5e575b5001519081612c4957505050565b612c5860206103c89401610db8565b9061255f565b612c6a60208601610db8565b83830151845192835260208301528584013560408301526001600160a01b0390811691908516907fc9f4d19c8ac046a3a12343782e2e80055bdc4bac7ae4b036a6f0ac1078a1c85790606090a35f612c3b565b6001906001600160a01b038916612cdd6112df806040611873868b611582565b14612e63575b886060838060a01b038216612d026112df6112df84611873888d611582565b14612d10575b505001612c23565b60e0906040612d2c83612d23878c611582565b5101518b611582565b51015180612d3c575b5050612d08565b60808c01612d4a8151611848565b80915260208d0151145f14612e515750612d67818c01518761110c565b905b8b01612d76828251611804565b905280612d84575b80612d35565b612d90908d35906141f2565b612da260408d94939401918251611804565b9052612dae8489611582565b51015190612dcd612dbf838b611582565b51516001600160a01b031690565b91612de6612ddf83611a7f848c611582565b9189611582565b528015612d7e5780612e1a7f5dbb2734760ca87f88f85ddae0e69ff340c5ac48e4315b17e8a9b24c75251c4d92848661255f565b612e24858a611582565b515192612e46604051928392898060a01b031696898060a01b03169583612bb1565b0390a3885f80612d7e565b8b51612e5d918861416c565b90612d69565b60c0612e6f8287611582565b51015180612e7e575b50612ce3565b6080890190612e8d8251611848565b809252602091828b0151145f14612f6e5750612ead60608a01518561110c565b60608a01612ebc828251611804565b905280612eca575b50612e78565b612ed6908c35906141f2565b612ee860408c94939401918251611804565b90528115612ec457612f0882612f0283611873878c611582565b8d61255f565b7f3e41ecc1db67fa019fbdb227cfb7872d3b8b4c2aefa07717335ec5100111ce47612f338489611582565b515191612f4a868060a01b0391611873878c611582565b16928c612f64604051928392898060a01b03169583612bb1565b0390a35f80612ec4565b8951612f7a918661416c565b612ead565b5050505050505050565b50602086015115612c1d565b60019060406001600160a01b038a16612fb66112df8084611873878c611582565b1461302a575b828060a01b038a16612fd96112df6112df6060611873878c611582565b14612fe6575b5001612c0b565b612ffe60e0612ff58489611582565b51015188611582565b5101518015612fdf57613012908951611804565b8852602088016130228151611848565b90525f612fdf565b60c06130368388611582565b51015180613045575b50612fbc565b613050908a51611804565b8952602089016130608151611848565b90525f61303f565b6040516370a0823160e01b81523060048201526020816024816001600160a01b038a165afa9081156116b2575f916130a2575b5093612bfa565b6130bb915060203d602011611a2357611a14818361039a565b5f61309b565b156130c857565b60405162461bcd60e51b815260206004820152600e60248201526d0deeedccae440dad2e6dac2e8c6d60931b6044820152606490fd5b9161323d613277916132636103c89661315b61314b61312e6060988a519661314061313361312e8835848661338e565b610db8565b6001600160a01b03168952565b60208601359161338e565b6001600160a01b03166020850152565b613178613169878301610db8565b6001600160a01b031684880152565b6080810135608084015260a081013560a084015261325061319b60c08301614211565b63ffffffff1660c085019081529160e081013560e08601526132296131c260408301610db8565b6001600160a01b031660408701908152916131ea6131e4610160830183614222565b906145f0565b6101408801526132226101009161321461320684830135614652565b9015156101208d0152949091565b8a0152610180810190611ec4565b9188614275565b91519196879391926001600160a01b031690565b6001600160a01b038481169116146130c1565b6020890151925163ffffffff169261444b565b6001600160a01b03821660408601526144ad565b6001600160a01b0316910152565b1561328c57565b60405162461bcd60e51b815260206004820152600d60248201526c1bdc99195c88195e1c1a5c9959609a1b6044820152606490fd5b156132c857565b60405162461bcd60e51b815260206004820152600f60248201526e073616d6520746f6b656e207377617608c1b6044820152606490fd5b1561330657565b60405162461bcd60e51b81526020600482015260146024820152731e995c9bc8199c9bdb551bdad95b905b5bdd5b9d60621b6044820152606490fd5b1561334957565b60405162461bcd60e51b815260206004820152601960248201527f696e76616c6964207468726573686f6c642070657263656e74000000000000006044820152606490fd5b919081101561112a5760051b0190565b156133a557565b60405162461bcd60e51b81526020600482015260136024820152727a65726f20636c656172696e6720707269636560681b6044820152606490fd5b156133e757565b60405162461bcd60e51b815260206004820152601960248201527f6c696d6974207072696365206e6f7420726573706563746564000000000000006044820152606490fd5b6135036020959360a06134fb6134df6103c89661346261345360c089015163ffffffff1690565b63ffffffff4291161015613285565b86516134a19061347a906001600160a01b03166112df565b888d0151613492906112df906001600160a01b031681565b90600180881b031614156132c1565b60808701946134b2865115156132ff565b6134c7633b9aca006101408d01351115613342565b6134d38b35828461338e565b359b8c9b01359161338e565b359788938115158061350a575b6134f59061339e565b51610f51565b930151610f51565b11156133e0565b508415156134ec565b1561351a57565b60405162461bcd60e51b815260206004820152601960248201527f746f6f206d616e7920636f6d6d697373696f6e20696e666f73000000000000006044820152606490fd5b1561356657565b60405162461bcd60e51b815260206004820152601c60248201527f696e76616c696420636f6d6d697373696f6e20646972656374696f6e000000006044820152606490fd5b156135b257565b60405162461bcd60e51b81526020600482015260126024820152711e995c9bc8199959481c9958da5c1a595b9d60721b6044820152606490fd5b156135f357565b60405162461bcd60e51b815260206004820152601b60248201527f636f6d6d697373696f6e2070657263656e7420746f6f206869676800000000006044820152606490fd5b1561363f57565b60405162461bcd60e51b815260206004820152601b60248201527f6d6978656420636f6d6d697373696f6e20646972656374696f6e7300000000006044820152606490fd5b1561368b57565b60405162461bcd60e51b81526020600482015260116024820152706d69786564206973546f4220666c61677360781b6044820152606490fd5b156136cb57565b60405162461bcd60e51b815260206004820152601060248201526f3d32b9379039b7b63b32b91030b2323960811b6044820152606490fd5b1561370a57565b60405162461bcd60e51b815260206004820152602660248201527f736f6c7665722f726566657272616c2066656520646972656374696f6e206d696044820152650e6dac2e8c6d60d31b6064820152608490fd5b1561376557565b60405162461bcd60e51b815260206004820152601060248201526f66656573206578636565642066726f6d60801b6044820152606490fd5b90916137a7612026565b906137b6600384511115613513565b5f925f955f955f905f985f5b8551811015613918576137e26137d88288611582565b51998a5190611804565b60408a01519099600160fd1b82161591600160fe1b8116151591600160ff1b90911615801591908280613911575b15806138f9575b613821915061355f565b80516138db575b51918215159081613892575b50906001949392918161388a575b50613850575b5050016137c2565b61385a908a6144c8565b90613866828c51611804565b8b52613873575b80613848565b61388260208b01918251611804565b90525f61386d565b90505f613842565b829891986138d2575b6138c9575b836138b9575090600193929184975b9091929394613834565b969d50906001939291849e6138af565b60019d506138a0565b6001965061389b565b60208101516138f4906001600160a01b031615156135ab565b613828565b50829061390a575b61382190613817565b5082613901565b5083613810565b5092979093506103c89661395b836139be9497989b61393d6301c9c3808511156135ec565b8680613add575b61394e9015613638565b81613ad5575b5015613684565b61396b604096878c019015159052565b84359384151592839283613ac2575b8c85613ab0575b6060613991910195869015159052565b8380613a9d575b8d85613a8b575b60806139af910195869015159052565b613a13575b5050505051151590565b6139cf575b5050508351111561375e565b6139d990846144c8565b916139e5838851611804565b87520135600160fd1b16156139fc575b80806139c3565b613a0b60208601918251611804565b90525f6139f5565b613a326001600160a01b03613a2a60208b01610db8565b1615156136c4565b613a3d575b806139b4565b613a559282613a79575b8215613a5d575b5050613703565b5f8080613a37565b90915081613a6e575b505f80613a4e565b51151590505f613a66565b9150613a858451151590565b91613a47565b898b0135600160ff1b1615955061399f565b888a0135600160fe1b1615159450613998565b888a0135600160fe1b16159550613981565b87890135600160ff1b161515945061397a565b90505f613954565b5084613944565b634e487b7160e01b5f52601260045260245ffd5b9190613b0582828561416c565b928215613b225709613b145790565b600181018091116107785790565b613ae4565b15613b2e57565b60405162461bcd60e51b815260206004820152600e60248201526d666565732065786365656420746f60901b6044820152606490fd5b5f949091855b8351871015613bda57600160fe1b6040613b848987611582565b51015116158015613bc7575b613bbe57613ba9613ba18886611582565b5151866144c8565b810180911161077857600190965b0195613b6a565b95600190613bb7565b50613bd28785611582565b515115613b90565b9550915092613bf1575b506103c890831115613b27565b6103c89193613c04613c0a9235866144c8565b90611804565b9290613be4565b80516101408101519051929693956001600160a01b039384169594919286929091905f5b8551811015613d955760019085898b898f898d6040928960ff1b84613c5a8b88611582565b51015116158015613d82575b613d7557613c8090613c788a87611582565b5151906144c8565b947f02b4603e6be0c4002f11c4445116c51a20adeecb33e1434306ec55378f75a0996020809401519286613ce58c8a89613cd4613ccb84613cc58d611873838b611582565b97611582565b5151938d611582565b510151918a51958695169885612674565b0390a38315613d6a57868b613cfc848d0151151590565b15613d3a5750613d349691611873613d149286611582565b91613d2b88613d238187611582565b515195611582565b51015194614530565b01613c35565b9290920151613d65969495506001600160a01b03169392613d5e9261187391611582565b918d6144e7565b613d34565b505050505050613d34565b5050505050505050613d34565b50613d8d8986611582565b515115613c66565b5098949197969593506060613dab910151151590565b613db85750505050505050565b613dc4863580956144c8565b946020880151907fc6d99ee7574d9d88cc700f01e1ecbcc9cfed97d50310b48abc3a6dfde3ae2dc060208901936040613dfc86610db8565b9a013599613e148b8b8b604051958695169885612674565b0390a38415611b3d57600160fd1b861615613e3d57611b599650613e3790610db8565b91614530565b919394509150613e62613e5c6040613e6897015160018060a01b031690565b91610db8565b926144e7565b611b59565b80516101408101516020918201516001600160a01b03989196939590891694859290915f5b8951811015613f84576001908a8a888f888a9160408860fe1b81613eb68a8a611582565b51015116158015613f71575b613f6557613f33613f0a86613efc7f02b4603e6be0c4002f11c4445116c51a20adeecb33e1434306ec55378f75a09996613c788d8d611582565b980151966118738b8b611582565b9187613f168b8b611582565b515182613f238d8d611582565b5101519251958695169885612674565b0390a38a838a8315613f5b57611873613f4f92613f5596611582565b8b614071565b01613e92565b5050505050613f55565b50505050505050613f55565b50613f7c8888611582565b515115613ec2565b5094959697509890919297613f9d575050505050505050565b7fc6d99ee7574d9d88cc700f01e1ecbcc9cfed97d50310b48abc3a6dfde3ae2dc091613ff389613fcf873580946144c8565b9901519986019989613fe08c610db8565b9360408051968796169901359285612674565b0390a382614005575b80808080612f7f565b61401161401794610db8565b90614071565b5f808080613ffc565b90926124b0936040519361403385610349565b6001600160a01b0391821685521660208401526040830152805160809091018051929061405f84611848565b905261406b8383611582565b52611582565b90926124b0936040519361408485610349565b60018060a01b038092168552166020840152604083015260a0602082015191019182519261405f84611848565b8115613b22570490565b156140c257565b60405162461bcd60e51b81526020600482015260156024820152744d6174683a206d756c446976206f766572666c6f7760581b6044820152606490fd5b5f198282098282029182808310920391808303921461415f577f88f2cfb83100cb4e69e7c79c58b316e597157d372fb9787e8e47ce423a2e9c6d93633b9aca009161414b8484116140bb565b0990828211900360f71b910360091c170290565b5050633b9aca0091500490565b90915f1983830992808302928380861095039480860395146141e5579082916141968684116140bb565b0960018219018216809204600280826003021880830282030280830282030280830282030280830282030280830282030280920290030293600183805f03040190848311900302920304170290565b50509061045592506140b1565b90614202633b9aca009183610f51565b04908181039081116107785791565b3563ffffffff8116810361013f5790565b903590601e198136030182121561013f57018035906001600160401b03821161013f5760200191606082023603831361013f57565b6004111561426157565b634e487b7160e01b5f52602160045260245ffd5b9160426142fb939594929561428861100d565b815190919061429f906001600160a01b03166112df565b60208201519091906143be906142bd906001600160a01b03166112df565b604083015161116d906001600160a01b031660608501519094906001600160a01b031690608081015160a082015160c083019d8e5163ffffffff1690565b60e0840151916101008501519361432461014061431c610120890151151590565b970151614962565b966040519b8c9a60208c019e8f80999795939c9b9a989694919c61018082019d7fc70e289c8e7a87f3aeb5bfa5b860828276fa66d7f73bc34926b2e0383bfab5748352600160a01b600190039485938480931690602001521660408c01521660608a015216608088015260a087015260c086015263ffffffff1660e085015261010084015261012083015215156101408201526101600152565b5190206040519183830160405261190160f01b83526002830152602282015220946143e881614257565b806143f95750610455925084614ae4565b61440281614257565b6001810361441657506104559250846148eb565b80614422600292614257565b036144325761045592508461484c565b90614444610455935163ffffffff1690565b9185614715565b909291603882510361446857602092603883015260348201520152565b60405162461bcd60e51b815260206004820152601a60248201527f4f726465723a2075696420627566666572206f766572666c6f770000000000006044820152606490fd5b606001516001600160a01b0316806144c3575090565b905090565b81156144e157633b9aca00916144dd91610f51565b0490565b50505f90565b916124b0949193604051946144fb86610364565b60018060a01b0392838092168752166020860152166040840152606083015260c0604082015191019182519261405f84611848565b926124b09592949160405195614545876102fa565b60018060a01b03809216875216602086015260408501526060840152608083015260e0606082015191019182519261405f84611848565b9081602091031261013f57516104558161090b565b1561459857565b60405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608490fd5b916145fe6003831115613513565b6040519160209360208260071b8501016040528184526005908260051b8501915f5b848110614631575050505050909150565b60019060608082028a8188010190818c85881b8d0101528601903701614620565b600181166146d7577f39124995febcd74fadbdf9bbad44826dab79bc9478b4965fd0d2381c0d649b2c9160028216614692575f9160051c61045581614257565b60405162461bcd60e51b815260206004820152601a60248201527f7061727469616c2066696c6c206e6f7420737570706f727465640000000000006044820152606490fd5b60405162461bcd60e51b81526020600482015260166024820152751bdb9b1e48195e1858dd125b881cdd5c1c1bdc9d195960521b6044820152606490fd5b92939291601319016147a2577f26cef0249cc767b3c21945b2779e1c35f139ab0e0f59dec08842c20f717c448a9161088b61475f923560601c9586614758610f64565b938461444b565b540361476757565b60405162461bcd60e51b81526020600482015260136024820152721bdc99195c881b9bdd081c1c995cda59db9959606a1b6044820152606490fd5b60405162461bcd60e51b81526020600482015260166024820152756d616c666f726d6564207072657369676e617475726560501b6044820152606490fd5b9081602091031261013f57516001600160e01b03198116810361013f5790565b1561480757565b60405162461bcd60e51b815260206004820152601960248201527f696e76616c69642065697031323731207369676e6174757265000000000000006044820152606490fd5b813560601c9392916014831061013f57614895926020916040519485928392630b135d3f60e11b9687855260048501526040602485015260146044850192601319019101610b5b565b0381875afa80156116b2576103c8925f916148bc575b506001600160e01b03191614614800565b6148de915060203d6020116148e4575b6148d6818361039a565b8101906147e0565b5f6148ab565b503d6148cc565b90610455929160405160208101917f19457468657265756d205369676e6564204d6573736167653a0a3332000000008352603c820152603c815261492e81610349565b519020614ae4565b80516020809201915f5b82811061494e575050505090565b835185529381019392810192600101614940565b80519161496e8361138e565b9061498a604094614982604051948561039a565b80845261138e565b92602091601f198095013660208601375f5b8251811015614a1e57806149b260019285611582565b5180519089848060a01b0388830151169101518a5191888301937f383c49be8b10b90a55f1289bd1243f7250baff231facaad7e486d2391903bf5a85528c8401526060830152608090818301528152614a0a816102fa565b519020614a178288611582565b520161499c565b509450505090614a466040519182614a3a602082018096614936565b0390810183528261039a565b51902090565b15614a5357565b60405162461bcd60e51b815260206004820152601960248201527f696e76616c6964207369676e617475726520732076616c7565000000000000006044820152606490fd5b15614a9f57565b60405162461bcd60e51b815260206004820152601760248201527f696e76616c6964206563647361207369676e61747572650000000000000000006044820152606490fd5b9091604103614b7b57815f91614b56602080950135614b257f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0821115614a4c565b6040519384936040823592013560f81c90859094939260ff6060936080840197845216602083015260408201520152565b838052039060015afa156116b2575f51906103c86001600160a01b0383161515614a98565b60405162461bcd60e51b815260206004820152601960248201527f6d616c666f726d6564206563647361207369676e6174757265000000000000006044820152606490fd5b91929015614c225750815115614bd4575090565b3b15614bdd5790565b60405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606490fd5b825190915015614c355750805190602001fd5b60405162461bcd60e51b8152908190612294906004830161055956fea264697066735822122024ace53c249472874991aa562d0a7cb021bc95c24e340c16e6d7a8ccbd5eb51d64736f6c6343000818003300000000000000000000000070cbb871e8f30fc8ce23609e9e0ea87b6b222f58","recompiledBytecode":"0x60e034620001c9576001600160401b0390601f62004e5538819003918201601f191683019184831184841017620001b557808492602094604052833981010312620001c95751906001600160a01b03808316808403620001c9574660805260405191602083017f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f81527f29a88cbf27800a51814cac27ad93571452fc9b1eb4e86444a15d1961bc290ea760408501527f15124d26d1272f8d4d5266a24ca397811f414b8cd05a53b26b745f63af5ae2fc60608501524660808501523060a085015260a0845260c084019484861090861117620001b55760408590528351902060a0526001805560028054336001600160a01b0319821681179092559091167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a31562000184578260c052604051614c879081620001ce82396080518161100f015260a051816110dc015260c0518181816101a20152818161128201526115a30152f35b62461bcd60e51b8252602060c4820152600a60e4820152697a65726f2070726f787960b01b61010490910152606490fd5b634e487b7160e01b5f52604160045260245ffd5b5f80fdfe6080604052600436101561001a575b3615610018575f80fd5b005b5f3560e01c806302cc250d1461012957806312ec8dcc1461012457806315337bc01461011f5780632479fb6e1461011a57806343218e1914610115578063462c3ed11461011057806354fd4d501461010b5780635624b25b14610106578063715018a6146101015780638da5cb5b146100fc5780638fd57b92146100f7578063d08d33d1146100f2578063ec58f4b8146100ed578063ec6cb13f146100e8578063f2fde38b146100e3578063f698da25146100de5763f84436bd0361000e57610b15565b610af3565b610a27565b610915565b610890565b610878565b610800565b6107d8565b61077d565b610718565b6106ad565b610619565b61056a565b6104db565b6101fe565b61018d565b610143565b6001600160a01b0381160361013f57565b5f80fd5b3461013f57602036600319011261013f576004356101608161012e565b60018060a01b03165f526003602052602060ff60405f2054166040519015158152f35b5f91031261013f57565b3461013f575f36600319011261013f576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b9181601f8401121561013f578235916001600160401b03831161013f576020838186019501011161013f57565b3461013f57602036600319011261013f576004356001600160401b03811161013f5761022e9036906004016101d1565b9061023982826111d3565b506001600160a01b03169290503383036102a1577f875b6cb035bbd4ac6500fabc6d1e4ca5bdc58a3e2b424ccb5c24cdbebeb009a99161028d6040518383823760208185810160048152030190205f199055565b61029c60405192839283610b7b565b0390a2005b60405162461bcd60e51b815260206004820152601960248201527f63616c6c657220646f6573206e6f74206f776e206f72646572000000000000006044820152606490fd5b634e487b7160e01b5f52604160045260245ffd5b60a081019081106001600160401b0382111761031557604052565b6102e6565b61010081019081106001600160401b0382111761031557604052565b6001600160401b03811161031557604052565b606081019081106001600160401b0382111761031557604052565b608081019081106001600160401b0382111761031557604052565b604081019081106001600160401b0382111761031557604052565b90601f801991011681019081106001600160401b0382111761031557604052565b604051906103c88261031a565b565b6001600160401b03811161031557601f01601f191660200190565b81601f8201121561013f578035906103fc826103ca565b9261040a604051948561039a565b8284526020838301011161013f57815f926020809301838601378301015290565b602060031982011261013f57600435906001600160401b03821161013f57610455916004016103e5565b90565b5f5b8381106104695750505f910152565b818101518382015260200161045a565b9061048c60209282815194859201610458565b0190565b60206104a9918160405193828580945193849201610458565b8101600481520301902090565b60206104cf918160405193828580945193849201610458565b81015f81520301902090565b3461013f5760206104f36104ee3661042b565b610490565b54604051908152f35b90604060031983011261013f576004356105158161012e565b91602435906001600160401b03821161013f57610455916004016103e5565b9060209161054d81518092818552858086019101610458565b601f01601f1916010190565b906020610455928181520190610534565b3461013f575f8061057a366104fc565b90602082519201905af461058c610b8c565b906105c76021604051809360206105ac8184019788815193849201610458565b820190151560f81b602082015203600181018452018261039a565b5190fd5b9181601f8401121561013f578235916001600160401b03831161013f576020808501948460051b01011161013f57565b9190606083011161013f57565b60609060a319011261013f5760a490565b3461013f5761010036600319011261013f576001600160401b0360243581811161013f5761064b9036906004016105cb565b60443583811161013f576106639036906004016105cb565b9060643585811161013f5761067c9036906004016105cb565b92909160843596871161013f5761069a6100189736906004016105fb565b946106a436610608565b96600435610bbb565b3461013f575f36600319011261013f576107146040516106cc81610349565b602181527f76322e302e302d7468726573686f6c642d756e6361707065642d737572706c756020820152607360f81b6040820152604051918291602083526020830190610534565b0390f35b3461013f57604036600319011261013f576004356024356005602082821b8315848204831417156107785761074c90610f7f565b935f5b84811061076457604051806107148882610559565b8181015481851b870184015260010161074f565b610f11565b3461013f575f36600319011261013f57610795611e6c565b600280546001600160a01b031981169091555f906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a3005b3461013f575f36600319011261013f576002546040516001600160a01b039091168152602090f35b3461013f57602036600319011261013f577f640e18a2587e1d83e4fdabf70257d0a800ca4b2c1aaad1dfc485a4ad8bbbd6c660206004356108408161012e565b610848611e6c565b6001600160a01b031661085c811515610fb1565b805f526003825260405f2060ff198154169055604051908152a1005b3461013f5760206104f361088b3661042b565b6104b6565b3461013f57602036600319011261013f577f41f9d09dd5159251f8a8e482bbe097b7c01a5e6f70c5a0ddb494906464fc9dd760206004356108d08161012e565b6108d8611e6c565b6001600160a01b03166108ec811515610fb1565b805f526003825260405f20600160ff19825416179055604051908152a1005b8015150361013f57565b3461013f57604036600319011261013f576004356001600160401b03811161013f576109459036906004016101d1565b602435906109528261090b565b61095c81846111d3565b506001600160a01b03169390503384036109eb5761029c837f01bf7c8b0ca55deecbea89d7e58295b7ffbf685fd0d96801034ba8c6ffe1c68d945f146109da576109ce6109a98585610b43565b7f26cef0249cc767b3c21945b2779e1c35f139ab0e0f59dec08842c20f717c448a9055565b60405193849384610fec565b5f6109e58585610b43565b556109ce565b60405162461bcd60e51b815260206004820152601460248201527331b0b73737ba10383932b9b4b3b71037b93232b960611b6044820152606490fd5b3461013f57602036600319011261013f57600435610a448161012e565b610a4c611e6c565b6001600160a01b03908116908115610a9f57600254826bffffffffffffffffffffffff60a01b821617600255167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a3005b60405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608490fd5b3461013f575f36600319011261013f576020610b0d61100d565b604051908152f35b3461013f57610714610b2f610b29366104fc565b9061112f565b604051918291602083526020830190610534565b60209082604051938492833781015f81520301902090565b908060209392818452848401375f828201840152601f01601f1916010190565b916020610455938181520191610b5b565b3d15610bb6573d90610b9d826103ca565b91610bab604051938461039a565b82523d5f602084013e565b606090565b9796959396600260015414610d27576002600155335f52600360205260ff60405f20541615610cf357610c80610c428688610ca39b610c9a98610c3798610c9498610c3d8f610c37908b35610c16631dcd6500821115610d6c565b158015610cd1575b610c2790610dc2565b610c32878614610e06565b610e66565b90611277565b611496565b95610c5360208801518851906115a1565b610c606040880151611796565b610c6c610c378a610e9d565b606087019760808951980197885190611856565b610c8a8651611be9565b8551855190611c35565b94610ed7565b51905190611d75565b337fbddcc4ab73b8e971706360fbdcce2f609328e78217649695ee3ab811ab52d1625f80a36103c860018055565b50610c276001600160a01b03610ce960208f01610db8565b1615159050610c1e565b60405162461bcd60e51b815260206004820152600c60248201526b3737ba10309039b7b63b32b960a11b6044820152606490fd5b60405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606490fd5b15610d7357565b60405162461bcd60e51b815260206004820152601b60248201527f696e76616c696420737572706c7573206665652070657263656e7400000000006044820152606490fd5b356104558161012e565b15610dc957565b60405162461bcd60e51b81526020600482015260156024820152741d1c9a5b549958d95a5d995c881c995c5d5a5c9959605a1b6044820152606490fd5b15610e0d57565b60405162461bcd60e51b815260206004820152601d60248201527f746f6b656e732f707269636573206c656e677468206d69736d617463680000006044820152606490fd5b634e487b7160e01b5f52603260045260245ffd5b803590601e198136030182121561013f5701908135916001600160401b03831161013f576020018260051b3603811361013f579190565b602081013590601e198136030182121561013f5701908135916001600160401b03831161013f576020018260051b3603811361013f579190565b604081013590601e198136030182121561013f5701908135916001600160401b03831161013f576020018260051b3603811361013f579190565b634e487b7160e01b5f52601160045260245ffd5b908160011b918083046002149015171561077857565b908160021b918083046004149015171561077857565b8181029291811591840414171561077857565b60405190610f7182610349565b603882526040366020840137565b90610f89826103ca565b610f96604051918261039a565b8281528092610fa7601f19916103ca565b0190602036910137565b15610fb857565b60405162461bcd60e51b815260206004820152600c60248201526b7a65726f206164647265737360a01b6044820152606490fd5b9160209161100591959495604085526040850191610b5b565b931515910152565b7f000000000000000000000000000000000000000000000000000000000000000046146110da5760405160208101907f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f82527f29a88cbf27800a51814cac27ad93571452fc9b1eb4e86444a15d1961bc290ea760408201527f15124d26d1272f8d4d5266a24ca397811f414b8cd05a53b26b745f63af5ae2fc60608201524660808201523060a082015260a0815260c081018181106001600160401b038211176103155760405251902090565b7f000000000000000000000000000000000000000000000000000000000000000090565b5f1981019190821161077857565b9190820391821161077857565b90815181101561112a570160200190565b610e52565b5f919061116d61117b849360405192839160208301956343218e1960e01b875260018060a01b03166024840152604060448401526064830190610534565b03601f19810183528261039a565b519082305af15061118a610b8c565b600160f81b60ff60f81b6111b86111aa6111a485516110fe565b85611119565b516001600160f81b03191690565b16146111c482516110fe565b8252156111ce5790565b61122b565b906038036111f1578035916034602083013560601c92013560e01c90565b60405162461bcd60e51b815260206004820152601260248201527113dc99195c8e881a5b9d985b1a59081d5a5960721b6044820152606490fd5b602081519101fd5b1561123a57565b60405162461bcd60e51b81526020600482015260156024820152743337b93134b23232b71034b73a32b930b1ba34b7b760591b6044820152606490fd5b906001600160a01b037f00000000000000000000000000000000000000000000000000000000000000008116905f5b8381106112b4575050505050565b8060051b85013590605e198636030182121561013f5760019186016112f2856112eb6112df84610db8565b6001600160a01b031690565b1415611233565b6112fb81611ef6565b7fed99827efb37016f2275f98c4bcf71c7551c75d59e9b450f79fa32e60be672c28461132683610db8565b61135a61133285611f37565b602060405194859416960135839092916020906040830194835263ffffffff60e01b16910152565b0390a2016112a6565b60405190611370826102fa565b81608060609182815282602082015282604082015282808201520152565b6001600160401b0381116103155760051b60200190565b906113af8261138e565b6040906113bf604051918261039a565b83815280936113d0601f199161138e565b01915f5b8381106113e15750505050565b60209082516113ef8161031a565b60608082525f8491818385015281878501528301525f60808301525f60a08301525f60c08301525f60e08301528286010152016113d4565b919081101561112a5760051b810135906101fe198136030182121561013f570190565b1561145157565b60405162461bcd60e51b815260206004820152601d60248201527f747261646573206e6f74206f72646572656420627920746f546f6b656e0000006044820152606490fd5b95949095939192936114a6611363565b966114b08361209f565b956114ba846113a5565b60808a019081526114c9612140565b915f97895f995b888b1061152157509850505050505050505051608082015181528352602081015160a082015181526060840152604081015160c08201518152602084015260e0606082015191015181526040830152565b61155e8b89600194898b8f8f611555878c928e9461155060209d8e611547868686611427565b0135101561144a565b611427565b928d5196612298565b6115698b8a8c611427565b01359901988a906114d0565b80511561112a5760200190565b805182101561112a5760209160051b010190565b6040513d5f823e3d90fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316925f5b82518110156116c1576115e18184611582565b519060608201918251156116b757602081018051611621916112df91611614906001600160a01b03166124b3565b6124b3565b516001600160a01b031690565b81516001600160a01b03166040928301519091906001600160a01b0316945192893b1561013f575163052f523360e11b81526001600160a01b039182166004820152918116602483015293909316604484015260648301525f82608481838a5af19182156116b257600192611699575b505b016115ce565b806116a66116ac92610336565b80610183565b5f611691565b611596565b5060019150611693565b509190505f5b8151811015611790576116da8183611582565b5190604080830192835115611785576117176117096112df6020840161161461160f825160018060a01b031690565b91516001600160a01b031690565b935193873b1561013f57915163052f523360e11b81526001600160a01b0391821660048201529116602482015230604482015260648101929092525f8260848183895af19182156116b257600192611772575b505b016116c7565b806116a661177f92610336565b5f61176a565b50506001915061176c565b50509050565b905f5b82518110156117f157806117af60019285611582565b5160608101908151156117ea576117e491848060a01b036117d2818451166124b3565b6020818451169301511690519161255f565b01611799565b50506117e4565b509050565b906001820180921161077857565b9190820180921161077857565b9081602091031261013f575190565b9061182a8261138e565b611837604051918261039a565b8281528092610fa7601f199161138e565b5f1981146107785760010190565b9291938151948515611be157606094611882606061187386611575565b5101516001600160a01b031690565b60a09560a061189087611575565b510151986001995b818b108a8c82611bb9575b5050156118cc576118c46001918a6118bb8e8c611582565b51015190611804565b9a0199611898565b9294969899979091939599828914611afe576118f06118eb8a8561110c565b6117f6565b9361191f61190661190087611820565b96611820565b9761191087611575565b6001600160a01b039091169052565b61192887611575565b526001985b8a848210611a2a5750505050505f5b86811061194d575050505050505050565b61195a6116148284611582565b906119658186611582565b516001600160a01b0383169273eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee84036119c3576001935047915b8083106119a4575b5050500161193c565b6119bb926119b19161110c565b90868a8d8b61269c565b5f808061199b565b6040516370a0823160e01b81523060048201526020948590829060249082905afa9081156116b2576001955f926119fd575b505091611993565b611a1c9250803d10611a23575b611a14818361039a565b810190611811565b5f806119f5565b503d611a0a565b8261187383611a3893611582565b8a908c906001600160a01b0381165f89855b8210611ac4575b5050508c8314611a93575b5090611a8c611a8586611a728660019796611582565b510151611a7f848d611582565b51611804565b918a611582565b520161192d565b928c8694611aa48395949f8b611582565b6001600160a01b039091169052611aba90611848565b9c91929350611a5c565b91611adc6112df6112df611614858598999697611582565b14611af05750600101908e9291898f611a4a565b9293509050915f8089611a51565b50919794965092949193919250506001600160a01b03841673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee8103611b65575047955b808710611b46575b50505050505050565b611b5996611b539161110c565b9461269c565b5f808080808080611b3d565b6040516370a0823160e01b815230600482015290602090829060249082905afa9081156116b2575f91611b9a575b5095611b35565b611bb3915060203d602011611a2357611a14818361039a565b5f611b93565b611bcc9250906118736112df928c611582565b6001600160a01b038581169116148a8c6118a3565b509350505050565b905f5b82518110156117f15780611c0260019285611582565b5160408101518015611c2e57611c2891848060a01b03806020830151169151169061255f565b01611bec565b5050611c28565b929192611c428151611820565b938251908251158015611d51575b611d4b576001937fa22590d89a282e4a4cb338bbac16a503583641111dac8ed65da19c682b55daab6001815c01905d611c90611c8b84610f25565b611820565b935f94865f5b868110611cd45750505f5b868110611cb2575050505050505050565b8790611cce878c888888611cc9611614888b611582565b612bcd565b01611ca1565b611ce360606118738388611582565b611cec81612b6d565b611d35575b50611d0160406118738388611582565b611d0a81612b6d565b611d18575b50018790611c96565b611d2f90611910611d288b611848565b9a86611582565b5f611d0f565b611d4590611910611d288b611848565b5f611cf1565b50505050565b508115611c50565b6104559392606092825260208201528160408201520190610534565b9190915f5b8151811015611d4b57611d8d8183611582565b5160e00151611d9c8284611582565b51602001516001600160a01b031660409182611db88587611582565b5101516001600160a01b031692611dcf8587611582565b51606001516001600160a01b0316611de78688611582565b51608001519282611df8828c611582565b51015190611e06908a611582565b51611e1091611804565b92611e1b8789611582565b515192516001600160a01b03928316968316959092169391928392611e409284611d59565b037fd65443291bb59863c3ddfe64892356e9f0c3888a4c99efd97df5c028cb5db26791a4600101611d7a565b6002546001600160a01b03163303611e8057565b606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b903590601e198136030182121561013f57018035906001600160401b03821161013f5760200191813603831361013f57565b5f602081928035611f068161012e565b611f136040830183611ec4565b939092846040519481860160405285370135905af115611f2f57565b3d5f803e3d5ffd5b906004611f495f936040810190611ec4565b9190911015611f555750565b359150565b90611f648261138e565b604090611f74604051918261039a565b8381528093611f85601f199161138e565b01915f5b838110611f965750505050565b6020908251611fa481610349565b5f8152825f818301525f85830152828601015201611f89565b90611fc78261138e565b604090611fd7604051918261039a565b8381528093611fe8601f199161138e565b01915f5b838110611ff95750505050565b602090825161200781610364565b5f8152825f818301525f858301525f6060830152828601015201611fec565b60405190612033826102fa565b5f6080838281528260208201528260408201528260608201520152565b9061205a8261138e565b612067604051918261039a565b8281528092612078601f199161138e565b01905f5b82811061208857505050565b602090612093612026565b8282850101520161207c565b90604051916120ad8361031a565b6060835260208301606081526040840190606082526060850192606084525f60808701525f60a08701525f60c08701525f60e0870152856120ed82611f5a565b905260058102918115928281046005148417156107785761210d90611f5a565b90528060021b9181830460041417156107785761213c9261213061213793611fbd565b9052610f3b565b612050565b9052565b6040519061214d82610364565b60405161016081018181106001600160401b03821117610315576040525f81525f60208201525f60408201525f60608201525f60808201525f60a08201525f60c08201525f60e08201525f6101008201525f610120820152606061014082015282526020820191606083525f60408201525f60608201529161213c610f64565b156121d457565b60405162461bcd60e51b81526020600482015260116024820152701bdc99195c881a5b9d985b1a59185d1959607a1b6044820152606490fd5b1561221457565b60405162461bcd60e51b815260206004820152600c60248201526b1bdc99195c88199a5b1b195960a21b6044820152606490fd5b1561224f57565b60405162461bcd60e51b815260206004820152601b60248201527f746f546f6b656e416d6f756e74206e6f742072657370656374656400000000006044820152606490fd5b0390fd5b84809394926122ad929a999a989798896130fe565b8551926122b99361342c565b919093805191608083015191829161014080950151906101a00192836122de9261379d565b9687516122eb908561110c565b956122f69187613af8565b9381510151918660808901938287865161230f90151590565b9161231993613b64565b936123278a83858988613c11565b51151590612336928785613e6d565b60209182820190815161234890610490565b54856123575f198314156121cd565b61236091611804565b8351608001518111156123729061220d565b825161237d90610490565b556040830180518451519a860151919a6001600160a01b03918216929116906123a6908861110c565b906123b1928b614020565b60a088015160608401519098906001600160a01b031684518601516001600160a01b03166123df848a61110c565b916123e993614071565b6123f3908661110c565b825160a00151111561240490612248565b5196604051809884820161241791610479565b03601f1981018952612429908961039a565b516001600160a01b03169051805190919083906001600160a01b03169201516001600160a01b03169261245a6103bb565b9889526001600160a01b03909116908801526001600160a01b031660408701526001600160a01b03166060860152608085015260a084015260c083015260e08201526124a68284611582565b526124b091611582565b50565b6001600160a01b031673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee146124d857565b60405162461bcd60e51b815260206004820152601a60248201527f63616e6e6f74207472616e73666572206e6174697665204554480000000000006044820152606490fd5b1561252457565b60405162461bcd60e51b8152602060048201526013602482015272115512081d1c985b9cd9995c8819985a5b1959606a1b6044820152606490fd5b8215612654576001600160a01b0390811673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee81036125a65750505f80806103c89481945af16125a0610b8c565b5061251d565b5f80612626946103c89660405195602087019263a9059cbb60e01b84521660248701526044860152604485526125db85610364565b604051946125e88661037f565b602086527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65646020870152519082855af1612620610b8c565b91614bc0565b805190811591821561263a575b5050614591565b61264d925060208091830101910161457c565b5f80612633565b505050565b1561266057565b634e487b7160e01b5f52600160045260245ffd5b909261268d606093969594608084526080840190610534565b95602083015260408201520152565b94939190948551946126ad86611820565b6126b687611820565b906126c088611820565b925f9081808a89898f8f5b8510612a8257505050505081116129ff5780939293915f5b8c8c82106129315750505050805b6127d1575050505f5b86811061270b575050505050505050565b8061271860019284611582565b5187868b8484156127c75761276d6101406127a76127bd937f06a90a58a0537157735f3daafad32f14398feec4680f0c032ca6659590e161b6978d604095869160e0612764868c611582565b51015190611582565b510161277a8b825161110c565b90526127a16127988360a061278f828c611582565b51015199611582565b51519a8861110c565b97611427565b013590519384938d8a8060a01b03169785612674565b0390a25b016126fa565b50505050506127c1565b9197985f9a919593979a9694969a5f5b8b81106128f957506127f48c1515612659565b839584955f955b8d8710806128f0575b156128ce5789908f8d908f8c9061281b8c87611582565b51156128bf57612841612896959361289c97959361283a8f8095611582565b5190613af8565b9361284c8282611582565b5185116128ab575b50508183116128a2575b6128768b61287085611a7f8386611582565b92611582565b528c6128908b6128708561288a8386611582565b5161110c565b5261110c565b96611848565b956127fb565b9150809161285e565b6128b6929450611582565b51918a8e612854565b505050509661289c9150611848565b939c9b949d5097945097955097936128e882918210612659565b9291926126f1565b50801515612804565b6129038189611582565b51612911575b6001016127e1565b9b6129296001916129228f8e611582565b5190611804565b9c9050612909565b6112df606061187384612946949a999a611582565b6001600160a01b038b81169116036129f7575f84612991575b9061297c82600193612971848c611582565b5261288a838a611582565b6129868289611582565b525b019493946126e3565b506129a7826129a08388611582565b5185613af8565b936129b28288611582565b5185116129e4575b8085116129dc575b9061297c6129d28660019461110c565b959192505061295f565b9350836129c2565b93506129f08187611582565b51936129ba565b600190612988565b11612a495760405162461bcd60e51b815260206004820152601b60248201527f746f546f6b656e416d6f756e74206e6f742072657370656374656400000000006044820152606490fd5b60405162461bcd60e51b81526020600482015260116024820152701d1a1c995cda1bdb19081b9bdd081b595d607a1b6044820152606490fd5b8d612a996112df606061187389869d999a9d611582565b6001600160a01b03918216911603612b605791878096949281969460a0948c86612ac38685611582565b510151612ad1868a89611427565b6101400135612adf916140ff565b612aeb819b8293611582565b52612af591611804565b9a612aff91611582565b5160e00151612b0d91611582565b516040015193612b1c92611427565b0135612b279161110c565b600192612b4b929180821015612b585750905b81612b45868b611582565b52611804565b915b018a89898f8f6126cb565b905090612b3a565b5050509360019150612b4d565b7fa22590d89a282e4a4cb338bbac16a503583641111dac8ed65da19c682b55daab90815c915f5260205260405f2081815c145f14612bab5750505f90565b5d600190565b929190612bc8602091604086526040860190610534565b930152565b9294929392916001600160a01b03851673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee036130685747935b8415611b3d57612c08612026565b945f5b858110612f9557508551158015612f89575b612f7f575f5b858110612cbd57505050505050604090833580612c5e575b5001519081612c4957505050565b612c5860206103c89401610db8565b9061255f565b612c6a60208601610db8565b83830151845192835260208301528584013560408301526001600160a01b0390811691908516907fc9f4d19c8ac046a3a12343782e2e80055bdc4bac7ae4b036a6f0ac1078a1c85790606090a35f612c3b565b6001906001600160a01b038916612cdd6112df806040611873868b611582565b14612e63575b886060838060a01b038216612d026112df6112df84611873888d611582565b14612d10575b505001612c23565b60e0906040612d2c83612d23878c611582565b5101518b611582565b51015180612d3c575b5050612d08565b60808c01612d4a8151611848565b80915260208d0151145f14612e515750612d67818c01518761110c565b905b8b01612d76828251611804565b905280612d84575b80612d35565b612d90908d35906141f2565b612da260408d94939401918251611804565b9052612dae8489611582565b51015190612dcd612dbf838b611582565b51516001600160a01b031690565b91612de6612ddf83611a7f848c611582565b9189611582565b528015612d7e5780612e1a7f5dbb2734760ca87f88f85ddae0e69ff340c5ac48e4315b17e8a9b24c75251c4d92848661255f565b612e24858a611582565b515192612e46604051928392898060a01b031696898060a01b03169583612bb1565b0390a3885f80612d7e565b8b51612e5d918861416c565b90612d69565b60c0612e6f8287611582565b51015180612e7e575b50612ce3565b6080890190612e8d8251611848565b809252602091828b0151145f14612f6e5750612ead60608a01518561110c565b60608a01612ebc828251611804565b905280612eca575b50612e78565b612ed6908c35906141f2565b612ee860408c94939401918251611804565b90528115612ec457612f0882612f0283611873878c611582565b8d61255f565b7f3e41ecc1db67fa019fbdb227cfb7872d3b8b4c2aefa07717335ec5100111ce47612f338489611582565b515191612f4a868060a01b0391611873878c611582565b16928c612f64604051928392898060a01b03169583612bb1565b0390a35f80612ec4565b8951612f7a918661416c565b612ead565b5050505050505050565b50602086015115612c1d565b60019060406001600160a01b038a16612fb66112df8084611873878c611582565b1461302a575b828060a01b038a16612fd96112df6112df6060611873878c611582565b14612fe6575b5001612c0b565b612ffe60e0612ff58489611582565b51015188611582565b5101518015612fdf57613012908951611804565b8852602088016130228151611848565b90525f612fdf565b60c06130368388611582565b51015180613045575b50612fbc565b613050908a51611804565b8952602089016130608151611848565b90525f61303f565b6040516370a0823160e01b81523060048201526020816024816001600160a01b038a165afa9081156116b2575f916130a2575b5093612bfa565b6130bb915060203d602011611a2357611a14818361039a565b5f61309b565b156130c857565b60405162461bcd60e51b815260206004820152600e60248201526d0deeedccae440dad2e6dac2e8c6d60931b6044820152606490fd5b9161323d613277916132636103c89661315b61314b61312e6060988a519661314061313361312e8835848661338e565b610db8565b6001600160a01b03168952565b60208601359161338e565b6001600160a01b03166020850152565b613178613169878301610db8565b6001600160a01b031684880152565b6080810135608084015260a081013560a084015261325061319b60c08301614211565b63ffffffff1660c085019081529160e081013560e08601526132296131c260408301610db8565b6001600160a01b031660408701908152916131ea6131e4610160830183614222565b906145f0565b6101408801526132226101009161321461320684830135614652565b9015156101208d0152949091565b8a0152610180810190611ec4565b9188614275565b91519196879391926001600160a01b031690565b6001600160a01b038481169116146130c1565b6020890151925163ffffffff169261444b565b6001600160a01b03821660408601526144ad565b6001600160a01b0316910152565b1561328c57565b60405162461bcd60e51b815260206004820152600d60248201526c1bdc99195c88195e1c1a5c9959609a1b6044820152606490fd5b156132c857565b60405162461bcd60e51b815260206004820152600f60248201526e073616d6520746f6b656e207377617608c1b6044820152606490fd5b1561330657565b60405162461bcd60e51b81526020600482015260146024820152731e995c9bc8199c9bdb551bdad95b905b5bdd5b9d60621b6044820152606490fd5b1561334957565b60405162461bcd60e51b815260206004820152601960248201527f696e76616c6964207468726573686f6c642070657263656e74000000000000006044820152606490fd5b919081101561112a5760051b0190565b156133a557565b60405162461bcd60e51b81526020600482015260136024820152727a65726f20636c656172696e6720707269636560681b6044820152606490fd5b156133e757565b60405162461bcd60e51b815260206004820152601960248201527f6c696d6974207072696365206e6f7420726573706563746564000000000000006044820152606490fd5b6135036020959360a06134fb6134df6103c89661346261345360c089015163ffffffff1690565b63ffffffff4291161015613285565b86516134a19061347a906001600160a01b03166112df565b888d0151613492906112df906001600160a01b031681565b90600180881b031614156132c1565b60808701946134b2865115156132ff565b6134c7633b9aca006101408d01351115613342565b6134d38b35828461338e565b359b8c9b01359161338e565b359788938115158061350a575b6134f59061339e565b51610f51565b930151610f51565b11156133e0565b508415156134ec565b1561351a57565b60405162461bcd60e51b815260206004820152601960248201527f746f6f206d616e7920636f6d6d697373696f6e20696e666f73000000000000006044820152606490fd5b1561356657565b60405162461bcd60e51b815260206004820152601c60248201527f696e76616c696420636f6d6d697373696f6e20646972656374696f6e000000006044820152606490fd5b156135b257565b60405162461bcd60e51b81526020600482015260126024820152711e995c9bc8199959481c9958da5c1a595b9d60721b6044820152606490fd5b156135f357565b60405162461bcd60e51b815260206004820152601b60248201527f636f6d6d697373696f6e2070657263656e7420746f6f206869676800000000006044820152606490fd5b1561363f57565b60405162461bcd60e51b815260206004820152601b60248201527f6d6978656420636f6d6d697373696f6e20646972656374696f6e7300000000006044820152606490fd5b1561368b57565b60405162461bcd60e51b81526020600482015260116024820152706d69786564206973546f4220666c61677360781b6044820152606490fd5b156136cb57565b60405162461bcd60e51b815260206004820152601060248201526f3d32b9379039b7b63b32b91030b2323960811b6044820152606490fd5b1561370a57565b60405162461bcd60e51b815260206004820152602660248201527f736f6c7665722f726566657272616c2066656520646972656374696f6e206d696044820152650e6dac2e8c6d60d31b6064820152608490fd5b1561376557565b60405162461bcd60e51b815260206004820152601060248201526f66656573206578636565642066726f6d60801b6044820152606490fd5b90916137a7612026565b906137b6600384511115613513565b5f925f955f955f905f985f5b8551811015613918576137e26137d88288611582565b51998a5190611804565b60408a01519099600160fd1b82161591600160fe1b8116151591600160ff1b90911615801591908280613911575b15806138f9575b613821915061355f565b80516138db575b51918215159081613892575b50906001949392918161388a575b50613850575b5050016137c2565b61385a908a6144c8565b90613866828c51611804565b8b52613873575b80613848565b61388260208b01918251611804565b90525f61386d565b90505f613842565b829891986138d2575b6138c9575b836138b9575090600193929184975b9091929394613834565b969d50906001939291849e6138af565b60019d506138a0565b6001965061389b565b60208101516138f4906001600160a01b031615156135ab565b613828565b50829061390a575b61382190613817565b5082613901565b5083613810565b5092979093506103c89661395b836139be9497989b61393d6301c9c3808511156135ec565b8680613add575b61394e9015613638565b81613ad5575b5015613684565b61396b604096878c019015159052565b84359384151592839283613ac2575b8c85613ab0575b6060613991910195869015159052565b8380613a9d575b8d85613a8b575b60806139af910195869015159052565b613a13575b5050505051151590565b6139cf575b5050508351111561375e565b6139d990846144c8565b916139e5838851611804565b87520135600160fd1b16156139fc575b80806139c3565b613a0b60208601918251611804565b90525f6139f5565b613a326001600160a01b03613a2a60208b01610db8565b1615156136c4565b613a3d575b806139b4565b613a559282613a79575b8215613a5d575b5050613703565b5f8080613a37565b90915081613a6e575b505f80613a4e565b51151590505f613a66565b9150613a858451151590565b91613a47565b898b0135600160ff1b1615955061399f565b888a0135600160fe1b1615159450613998565b888a0135600160fe1b16159550613981565b87890135600160ff1b161515945061397a565b90505f613954565b5084613944565b634e487b7160e01b5f52601260045260245ffd5b9190613b0582828561416c565b928215613b225709613b145790565b600181018091116107785790565b613ae4565b15613b2e57565b60405162461bcd60e51b815260206004820152600e60248201526d666565732065786365656420746f60901b6044820152606490fd5b5f949091855b8351871015613bda57600160fe1b6040613b848987611582565b51015116158015613bc7575b613bbe57613ba9613ba18886611582565b5151866144c8565b810180911161077857600190965b0195613b6a565b95600190613bb7565b50613bd28785611582565b515115613b90565b9550915092613bf1575b506103c890831115613b27565b6103c89193613c04613c0a9235866144c8565b90611804565b9290613be4565b80516101408101519051929693956001600160a01b039384169594919286929091905f5b8551811015613d955760019085898b898f898d6040928960ff1b84613c5a8b88611582565b51015116158015613d82575b613d7557613c8090613c788a87611582565b5151906144c8565b947f02b4603e6be0c4002f11c4445116c51a20adeecb33e1434306ec55378f75a0996020809401519286613ce58c8a89613cd4613ccb84613cc58d611873838b611582565b97611582565b5151938d611582565b510151918a51958695169885612674565b0390a38315613d6a57868b613cfc848d0151151590565b15613d3a5750613d349691611873613d149286611582565b91613d2b88613d238187611582565b515195611582565b51015194614530565b01613c35565b9290920151613d65969495506001600160a01b03169392613d5e9261187391611582565b918d6144e7565b613d34565b505050505050613d34565b5050505050505050613d34565b50613d8d8986611582565b515115613c66565b5098949197969593506060613dab910151151590565b613db85750505050505050565b613dc4863580956144c8565b946020880151907fc6d99ee7574d9d88cc700f01e1ecbcc9cfed97d50310b48abc3a6dfde3ae2dc060208901936040613dfc86610db8565b9a013599613e148b8b8b604051958695169885612674565b0390a38415611b3d57600160fd1b861615613e3d57611b599650613e3790610db8565b91614530565b919394509150613e62613e5c6040613e6897015160018060a01b031690565b91610db8565b926144e7565b611b59565b80516101408101516020918201516001600160a01b03989196939590891694859290915f5b8951811015613f84576001908a8a888f888a9160408860fe1b81613eb68a8a611582565b51015116158015613f71575b613f6557613f33613f0a86613efc7f02b4603e6be0c4002f11c4445116c51a20adeecb33e1434306ec55378f75a09996613c788d8d611582565b980151966118738b8b611582565b9187613f168b8b611582565b515182613f238d8d611582565b5101519251958695169885612674565b0390a38a838a8315613f5b57611873613f4f92613f5596611582565b8b614071565b01613e92565b5050505050613f55565b50505050505050613f55565b50613f7c8888611582565b515115613ec2565b5094959697509890919297613f9d575050505050505050565b7fc6d99ee7574d9d88cc700f01e1ecbcc9cfed97d50310b48abc3a6dfde3ae2dc091613ff389613fcf873580946144c8565b9901519986019989613fe08c610db8565b9360408051968796169901359285612674565b0390a382614005575b80808080612f7f565b61401161401794610db8565b90614071565b5f808080613ffc565b90926124b0936040519361403385610349565b6001600160a01b0391821685521660208401526040830152805160809091018051929061405f84611848565b905261406b8383611582565b52611582565b90926124b0936040519361408485610349565b60018060a01b038092168552166020840152604083015260a0602082015191019182519261405f84611848565b8115613b22570490565b156140c257565b60405162461bcd60e51b81526020600482015260156024820152744d6174683a206d756c446976206f766572666c6f7760581b6044820152606490fd5b5f198282098282029182808310920391808303921461415f577f88f2cfb83100cb4e69e7c79c58b316e597157d372fb9787e8e47ce423a2e9c6d93633b9aca009161414b8484116140bb565b0990828211900360f71b910360091c170290565b5050633b9aca0091500490565b90915f1983830992808302928380861095039480860395146141e5579082916141968684116140bb565b0960018219018216809204600280826003021880830282030280830282030280830282030280830282030280830282030280920290030293600183805f03040190848311900302920304170290565b50509061045592506140b1565b90614202633b9aca009183610f51565b04908181039081116107785791565b3563ffffffff8116810361013f5790565b903590601e198136030182121561013f57018035906001600160401b03821161013f5760200191606082023603831361013f57565b6004111561426157565b634e487b7160e01b5f52602160045260245ffd5b9160426142fb939594929561428861100d565b815190919061429f906001600160a01b03166112df565b60208201519091906143be906142bd906001600160a01b03166112df565b604083015161116d906001600160a01b031660608501519094906001600160a01b031690608081015160a082015160c083019d8e5163ffffffff1690565b60e0840151916101008501519361432461014061431c610120890151151590565b970151614962565b966040519b8c9a60208c019e8f80999795939c9b9a989694919c61018082019d7fc70e289c8e7a87f3aeb5bfa5b860828276fa66d7f73bc34926b2e0383bfab5748352600160a01b600190039485938480931690602001521660408c01521660608a015216608088015260a087015260c086015263ffffffff1660e085015261010084015261012083015215156101408201526101600152565b5190206040519183830160405261190160f01b83526002830152602282015220946143e881614257565b806143f95750610455925084614ae4565b61440281614257565b6001810361441657506104559250846148eb565b80614422600292614257565b036144325761045592508461484c565b90614444610455935163ffffffff1690565b9185614715565b909291603882510361446857602092603883015260348201520152565b60405162461bcd60e51b815260206004820152601a60248201527f4f726465723a2075696420627566666572206f766572666c6f770000000000006044820152606490fd5b606001516001600160a01b0316806144c3575090565b905090565b81156144e157633b9aca00916144dd91610f51565b0490565b50505f90565b916124b0949193604051946144fb86610364565b60018060a01b0392838092168752166020860152166040840152606083015260c0604082015191019182519261405f84611848565b926124b09592949160405195614545876102fa565b60018060a01b03809216875216602086015260408501526060840152608083015260e0606082015191019182519261405f84611848565b9081602091031261013f57516104558161090b565b1561459857565b60405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608490fd5b916145fe6003831115613513565b6040519160209360208260071b8501016040528184526005908260051b8501915f5b848110614631575050505050909150565b60019060608082028a8188010190818c85881b8d0101528601903701614620565b600181166146d7577f39124995febcd74fadbdf9bbad44826dab79bc9478b4965fd0d2381c0d649b2c9160028216614692575f9160051c61045581614257565b60405162461bcd60e51b815260206004820152601a60248201527f7061727469616c2066696c6c206e6f7420737570706f727465640000000000006044820152606490fd5b60405162461bcd60e51b81526020600482015260166024820152751bdb9b1e48195e1858dd125b881cdd5c1c1bdc9d195960521b6044820152606490fd5b92939291601319016147a2577f26cef0249cc767b3c21945b2779e1c35f139ab0e0f59dec08842c20f717c448a9161088b61475f923560601c9586614758610f64565b938461444b565b540361476757565b60405162461bcd60e51b81526020600482015260136024820152721bdc99195c881b9bdd081c1c995cda59db9959606a1b6044820152606490fd5b60405162461bcd60e51b81526020600482015260166024820152756d616c666f726d6564207072657369676e617475726560501b6044820152606490fd5b9081602091031261013f57516001600160e01b03198116810361013f5790565b1561480757565b60405162461bcd60e51b815260206004820152601960248201527f696e76616c69642065697031323731207369676e6174757265000000000000006044820152606490fd5b813560601c9392916014831061013f57614895926020916040519485928392630b135d3f60e11b9687855260048501526040602485015260146044850192601319019101610b5b565b0381875afa80156116b2576103c8925f916148bc575b506001600160e01b03191614614800565b6148de915060203d6020116148e4575b6148d6818361039a565b8101906147e0565b5f6148ab565b503d6148cc565b90610455929160405160208101917f19457468657265756d205369676e6564204d6573736167653a0a3332000000008352603c820152603c815261492e81610349565b519020614ae4565b80516020809201915f5b82811061494e575050505090565b835185529381019392810192600101614940565b80519161496e8361138e565b9061498a604094614982604051948561039a565b80845261138e565b92602091601f198095013660208601375f5b8251811015614a1e57806149b260019285611582565b5180519089848060a01b0388830151169101518a5191888301937f383c49be8b10b90a55f1289bd1243f7250baff231facaad7e486d2391903bf5a85528c8401526060830152608090818301528152614a0a816102fa565b519020614a178288611582565b520161499c565b509450505090614a466040519182614a3a602082018096614936565b0390810183528261039a565b51902090565b15614a5357565b60405162461bcd60e51b815260206004820152601960248201527f696e76616c6964207369676e617475726520732076616c7565000000000000006044820152606490fd5b15614a9f57565b60405162461bcd60e51b815260206004820152601760248201527f696e76616c6964206563647361207369676e61747572650000000000000000006044820152606490fd5b9091604103614b7b57815f91614b56602080950135614b257f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0821115614a4c565b6040519384936040823592013560f81c90859094939260ff6060936080840197845216602083015260408201520152565b838052039060015afa156116b2575f51906103c86001600160a01b0383161515614a98565b60405162461bcd60e51b815260206004820152601960248201527f6d616c666f726d6564206563647361207369676e6174757265000000000000006044820152606490fd5b91929015614c225750815115614bd4575090565b3b15614bdd5790565b60405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606490fd5b825190915015614c355750805190602001fd5b60405162461bcd60e51b8152908190612294906004830161055956fea264697066735822122024ace53c249472874991aa562d0a7cb021bc95c24e340c16e6d7a8ccbd5eb51d64736f6c63430008180033","sourceMap":"714:36129:7:-:0;;;;-1:-1:-1;;;;;714:36129:7;;;;;;;;;;-1:-1:-1;;714:36129:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;714:36129:7;;;;;;;;2375:69:18;2454:25;;714:36129:7;;3054:81:18;714:36129:7;3054:81:18;;818:95;1195:19;;1037:28;714:36129:7;1195:19:18;;;;;;;;2375:69;2454:25;1195:19;;;3129:4;1195:19;;;;;3054:81;;1195:19;714:36129:7;;;;;;;;;;;;;;;;1195:19:18;;3044:92;;1195:19;2489:58;1863:1:17;;;2518:6:0;714:36129:7;;734:10:5;-1:-1:-1;;;;;;714:36129:7;;;;;;;734:10:5;;714:36129:7;2566:40:0;-1:-1:-1;;2566:40:0;3721:32:7;714:36129;;3778:38;1195:19:18;3778:38:7;714:36129;;;;;;;;2454:25:18;714:36129:7;;;;;1195:19:18;714:36129:7;;;;;1195:19:18;714:36129:7;;;;;;;;;;;;;;;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;714:36129:7;","linkReferences":{},"cborAuxdata":{"1":{"value":"0xa264697066735822122024ace53c249472874991aa562d0a7cb021bc95c24e340c16e6d7a8ccbd5eb51d64736f6c63430008180033","offset":20000}},"transformations":[{"type":"insert","offset":20053,"reason":"constructorArguments"}],"transformationValues":{"constructorArguments":"0x00000000000000000000000070cbb871e8f30fc8ce23609e9e0ea87b6b222f58"}},"runtimeBytecode":{"onchainBytecode":"0x6080604052600436101561001a575b3615610018575f80fd5b005b5f3560e01c806302cc250d1461012957806312ec8dcc1461012457806315337bc01461011f5780632479fb6e1461011a57806343218e1914610115578063462c3ed11461011057806354fd4d501461010b5780635624b25b14610106578063715018a6146101015780638da5cb5b146100fc5780638fd57b92146100f7578063d08d33d1146100f2578063ec58f4b8146100ed578063ec6cb13f146100e8578063f2fde38b146100e3578063f698da25146100de5763f84436bd0361000e57610b15565b610af3565b610a27565b610915565b610890565b610878565b610800565b6107d8565b61077d565b610718565b6106ad565b610619565b61056a565b6104db565b6101fe565b61018d565b610143565b6001600160a01b0381160361013f57565b5f80fd5b3461013f57602036600319011261013f576004356101608161012e565b60018060a01b03165f526003602052602060ff60405f2054166040519015158152f35b5f91031261013f57565b3461013f575f36600319011261013f576040517f00000000000000000000000070cbb871e8f30fc8ce23609e9e0ea87b6b222f586001600160a01b03168152602090f35b9181601f8401121561013f578235916001600160401b03831161013f576020838186019501011161013f57565b3461013f57602036600319011261013f576004356001600160401b03811161013f5761022e9036906004016101d1565b9061023982826111d3565b506001600160a01b03169290503383036102a1577f875b6cb035bbd4ac6500fabc6d1e4ca5bdc58a3e2b424ccb5c24cdbebeb009a99161028d6040518383823760208185810160048152030190205f199055565b61029c60405192839283610b7b565b0390a2005b60405162461bcd60e51b815260206004820152601960248201527f63616c6c657220646f6573206e6f74206f776e206f72646572000000000000006044820152606490fd5b634e487b7160e01b5f52604160045260245ffd5b60a081019081106001600160401b0382111761031557604052565b6102e6565b61010081019081106001600160401b0382111761031557604052565b6001600160401b03811161031557604052565b606081019081106001600160401b0382111761031557604052565b608081019081106001600160401b0382111761031557604052565b604081019081106001600160401b0382111761031557604052565b90601f801991011681019081106001600160401b0382111761031557604052565b604051906103c88261031a565b565b6001600160401b03811161031557601f01601f191660200190565b81601f8201121561013f578035906103fc826103ca565b9261040a604051948561039a565b8284526020838301011161013f57815f926020809301838601378301015290565b602060031982011261013f57600435906001600160401b03821161013f57610455916004016103e5565b90565b5f5b8381106104695750505f910152565b818101518382015260200161045a565b9061048c60209282815194859201610458565b0190565b60206104a9918160405193828580945193849201610458565b8101600481520301902090565b60206104cf918160405193828580945193849201610458565b81015f81520301902090565b3461013f5760206104f36104ee3661042b565b610490565b54604051908152f35b90604060031983011261013f576004356105158161012e565b91602435906001600160401b03821161013f57610455916004016103e5565b9060209161054d81518092818552858086019101610458565b601f01601f1916010190565b906020610455928181520190610534565b3461013f575f8061057a366104fc565b90602082519201905af461058c610b8c565b906105c76021604051809360206105ac8184019788815193849201610458565b820190151560f81b602082015203600181018452018261039a565b5190fd5b9181601f8401121561013f578235916001600160401b03831161013f576020808501948460051b01011161013f57565b9190606083011161013f57565b60609060a319011261013f5760a490565b3461013f5761010036600319011261013f576001600160401b0360243581811161013f5761064b9036906004016105cb565b60443583811161013f576106639036906004016105cb565b9060643585811161013f5761067c9036906004016105cb565b92909160843596871161013f5761069a6100189736906004016105fb565b946106a436610608565b96600435610bbb565b3461013f575f36600319011261013f576107146040516106cc81610349565b602181527f76322e302e302d7468726573686f6c642d756e6361707065642d737572706c756020820152607360f81b6040820152604051918291602083526020830190610534565b0390f35b3461013f57604036600319011261013f576004356024356005602082821b8315848204831417156107785761074c90610f7f565b935f5b84811061076457604051806107148882610559565b8181015481851b870184015260010161074f565b610f11565b3461013f575f36600319011261013f57610795611e6c565b600280546001600160a01b031981169091555f906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a3005b3461013f575f36600319011261013f576002546040516001600160a01b039091168152602090f35b3461013f57602036600319011261013f577f640e18a2587e1d83e4fdabf70257d0a800ca4b2c1aaad1dfc485a4ad8bbbd6c660206004356108408161012e565b610848611e6c565b6001600160a01b031661085c811515610fb1565b805f526003825260405f2060ff198154169055604051908152a1005b3461013f5760206104f361088b3661042b565b6104b6565b3461013f57602036600319011261013f577f41f9d09dd5159251f8a8e482bbe097b7c01a5e6f70c5a0ddb494906464fc9dd760206004356108d08161012e565b6108d8611e6c565b6001600160a01b03166108ec811515610fb1565b805f526003825260405f20600160ff19825416179055604051908152a1005b8015150361013f57565b3461013f57604036600319011261013f576004356001600160401b03811161013f576109459036906004016101d1565b602435906109528261090b565b61095c81846111d3565b506001600160a01b03169390503384036109eb5761029c837f01bf7c8b0ca55deecbea89d7e58295b7ffbf685fd0d96801034ba8c6ffe1c68d945f146109da576109ce6109a98585610b43565b7f26cef0249cc767b3c21945b2779e1c35f139ab0e0f59dec08842c20f717c448a9055565b60405193849384610fec565b5f6109e58585610b43565b556109ce565b60405162461bcd60e51b815260206004820152601460248201527331b0b73737ba10383932b9b4b3b71037b93232b960611b6044820152606490fd5b3461013f57602036600319011261013f57600435610a448161012e565b610a4c611e6c565b6001600160a01b03908116908115610a9f57600254826bffffffffffffffffffffffff60a01b821617600255167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a3005b60405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608490fd5b3461013f575f36600319011261013f576020610b0d61100d565b604051908152f35b3461013f57610714610b2f610b29366104fc565b9061112f565b604051918291602083526020830190610534565b60209082604051938492833781015f81520301902090565b908060209392818452848401375f828201840152601f01601f1916010190565b916020610455938181520191610b5b565b3d15610bb6573d90610b9d826103ca565b91610bab604051938461039a565b82523d5f602084013e565b606090565b9796959396600260015414610d27576002600155335f52600360205260ff60405f20541615610cf357610c80610c428688610ca39b610c9a98610c3798610c9498610c3d8f610c37908b35610c16631dcd6500821115610d6c565b158015610cd1575b610c2790610dc2565b610c32878614610e06565b610e66565b90611277565b611496565b95610c5360208801518851906115a1565b610c606040880151611796565b610c6c610c378a610e9d565b606087019760808951980197885190611856565b610c8a8651611be9565b8551855190611c35565b94610ed7565b51905190611d75565b337fbddcc4ab73b8e971706360fbdcce2f609328e78217649695ee3ab811ab52d1625f80a36103c860018055565b50610c276001600160a01b03610ce960208f01610db8565b1615159050610c1e565b60405162461bcd60e51b815260206004820152600c60248201526b3737ba10309039b7b63b32b960a11b6044820152606490fd5b60405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606490fd5b15610d7357565b60405162461bcd60e51b815260206004820152601b60248201527f696e76616c696420737572706c7573206665652070657263656e7400000000006044820152606490fd5b356104558161012e565b15610dc957565b60405162461bcd60e51b81526020600482015260156024820152741d1c9a5b549958d95a5d995c881c995c5d5a5c9959605a1b6044820152606490fd5b15610e0d57565b60405162461bcd60e51b815260206004820152601d60248201527f746f6b656e732f707269636573206c656e677468206d69736d617463680000006044820152606490fd5b634e487b7160e01b5f52603260045260245ffd5b803590601e198136030182121561013f5701908135916001600160401b03831161013f576020018260051b3603811361013f579190565b602081013590601e198136030182121561013f5701908135916001600160401b03831161013f576020018260051b3603811361013f579190565b604081013590601e198136030182121561013f5701908135916001600160401b03831161013f576020018260051b3603811361013f579190565b634e487b7160e01b5f52601160045260245ffd5b908160011b918083046002149015171561077857565b908160021b918083046004149015171561077857565b8181029291811591840414171561077857565b60405190610f7182610349565b603882526040366020840137565b90610f89826103ca565b610f96604051918261039a565b8281528092610fa7601f19916103ca565b0190602036910137565b15610fb857565b60405162461bcd60e51b815260206004820152600c60248201526b7a65726f206164647265737360a01b6044820152606490fd5b9160209161100591959495604085526040850191610b5b565b931515910152565b7f000000000000000000000000000000000000000000000000000000000000000146146110da5760405160208101907f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f82527f29a88cbf27800a51814cac27ad93571452fc9b1eb4e86444a15d1961bc290ea760408201527f15124d26d1272f8d4d5266a24ca397811f414b8cd05a53b26b745f63af5ae2fc60608201524660808201523060a082015260a0815260c081018181106001600160401b038211176103155760405251902090565b7f6973a78f3ae083ae97b75f3f210bcaa3267610c9e5d5f2c363487696daa1dd2690565b5f1981019190821161077857565b9190820391821161077857565b90815181101561112a570160200190565b610e52565b5f919061116d61117b849360405192839160208301956343218e1960e01b875260018060a01b03166024840152604060448401526064830190610534565b03601f19810183528261039a565b519082305af15061118a610b8c565b600160f81b60ff60f81b6111b86111aa6111a485516110fe565b85611119565b516001600160f81b03191690565b16146111c482516110fe565b8252156111ce5790565b61122b565b906038036111f1578035916034602083013560601c92013560e01c90565b60405162461bcd60e51b815260206004820152601260248201527113dc99195c8e881a5b9d985b1a59081d5a5960721b6044820152606490fd5b602081519101fd5b1561123a57565b60405162461bcd60e51b81526020600482015260156024820152743337b93134b23232b71034b73a32b930b1ba34b7b760591b6044820152606490fd5b906001600160a01b037f00000000000000000000000070cbb871e8f30fc8ce23609e9e0ea87b6b222f588116905f5b8381106112b4575050505050565b8060051b85013590605e198636030182121561013f5760019186016112f2856112eb6112df84610db8565b6001600160a01b031690565b1415611233565b6112fb81611ef6565b7fed99827efb37016f2275f98c4bcf71c7551c75d59e9b450f79fa32e60be672c28461132683610db8565b61135a61133285611f37565b602060405194859416960135839092916020906040830194835263ffffffff60e01b16910152565b0390a2016112a6565b60405190611370826102fa565b81608060609182815282602082015282604082015282808201520152565b6001600160401b0381116103155760051b60200190565b906113af8261138e565b6040906113bf604051918261039a565b83815280936113d0601f199161138e565b01915f5b8381106113e15750505050565b60209082516113ef8161031a565b60608082525f8491818385015281878501528301525f60808301525f60a08301525f60c08301525f60e08301528286010152016113d4565b919081101561112a5760051b810135906101fe198136030182121561013f570190565b1561145157565b60405162461bcd60e51b815260206004820152601d60248201527f747261646573206e6f74206f72646572656420627920746f546f6b656e0000006044820152606490fd5b95949095939192936114a6611363565b966114b08361209f565b956114ba846113a5565b60808a019081526114c9612140565b915f97895f995b888b1061152157509850505050505050505051608082015181528352602081015160a082015181526060840152604081015160c08201518152602084015260e0606082015191015181526040830152565b61155e8b89600194898b8f8f611555878c928e9461155060209d8e611547868686611427565b0135101561144a565b611427565b928d5196612298565b6115698b8a8c611427565b01359901988a906114d0565b80511561112a5760200190565b805182101561112a5760209160051b010190565b6040513d5f823e3d90fd5b7f00000000000000000000000070cbb871e8f30fc8ce23609e9e0ea87b6b222f586001600160a01b0316925f5b82518110156116c1576115e18184611582565b519060608201918251156116b757602081018051611621916112df91611614906001600160a01b03166124b3565b6124b3565b516001600160a01b031690565b81516001600160a01b03166040928301519091906001600160a01b0316945192893b1561013f575163052f523360e11b81526001600160a01b039182166004820152918116602483015293909316604484015260648301525f82608481838a5af19182156116b257600192611699575b505b016115ce565b806116a66116ac92610336565b80610183565b5f611691565b611596565b5060019150611693565b509190505f5b8151811015611790576116da8183611582565b5190604080830192835115611785576117176117096112df6020840161161461160f825160018060a01b031690565b91516001600160a01b031690565b935193873b1561013f57915163052f523360e11b81526001600160a01b0391821660048201529116602482015230604482015260648101929092525f8260848183895af19182156116b257600192611772575b505b016116c7565b806116a661177f92610336565b5f61176a565b50506001915061176c565b50509050565b905f5b82518110156117f157806117af60019285611582565b5160608101908151156117ea576117e491848060a01b036117d2818451166124b3565b6020818451169301511690519161255f565b01611799565b50506117e4565b509050565b906001820180921161077857565b9190820180921161077857565b9081602091031261013f575190565b9061182a8261138e565b611837604051918261039a565b8281528092610fa7601f199161138e565b5f1981146107785760010190565b9291938151948515611be157606094611882606061187386611575565b5101516001600160a01b031690565b60a09560a061189087611575565b510151986001995b818b108a8c82611bb9575b5050156118cc576118c46001918a6118bb8e8c611582565b51015190611804565b9a0199611898565b9294969899979091939599828914611afe576118f06118eb8a8561110c565b6117f6565b9361191f61190661190087611820565b96611820565b9761191087611575565b6001600160a01b039091169052565b61192887611575565b526001985b8a848210611a2a5750505050505f5b86811061194d575050505050505050565b61195a6116148284611582565b906119658186611582565b516001600160a01b0383169273eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee84036119c3576001935047915b8083106119a4575b5050500161193c565b6119bb926119b19161110c565b90868a8d8b61269c565b5f808061199b565b6040516370a0823160e01b81523060048201526020948590829060249082905afa9081156116b2576001955f926119fd575b505091611993565b611a1c9250803d10611a23575b611a14818361039a565b810190611811565b5f806119f5565b503d611a0a565b8261187383611a3893611582565b8a908c906001600160a01b0381165f89855b8210611ac4575b5050508c8314611a93575b5090611a8c611a8586611a728660019796611582565b510151611a7f848d611582565b51611804565b918a611582565b520161192d565b928c8694611aa48395949f8b611582565b6001600160a01b039091169052611aba90611848565b9c91929350611a5c565b91611adc6112df6112df611614858598999697611582565b14611af05750600101908e9291898f611a4a565b9293509050915f8089611a51565b50919794965092949193919250506001600160a01b03841673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee8103611b65575047955b808710611b46575b50505050505050565b611b5996611b539161110c565b9461269c565b5f808080808080611b3d565b6040516370a0823160e01b815230600482015290602090829060249082905afa9081156116b2575f91611b9a575b5095611b35565b611bb3915060203d602011611a2357611a14818361039a565b5f611b93565b611bcc9250906118736112df928c611582565b6001600160a01b038581169116148a8c6118a3565b509350505050565b905f5b82518110156117f15780611c0260019285611582565b5160408101518015611c2e57611c2891848060a01b03806020830151169151169061255f565b01611bec565b5050611c28565b929192611c428151611820565b938251908251158015611d51575b611d4b576001937fa22590d89a282e4a4cb338bbac16a503583641111dac8ed65da19c682b55daab6001815c01905d611c90611c8b84610f25565b611820565b935f94865f5b868110611cd45750505f5b868110611cb2575050505050505050565b8790611cce878c888888611cc9611614888b611582565b612bcd565b01611ca1565b611ce360606118738388611582565b611cec81612b6d565b611d35575b50611d0160406118738388611582565b611d0a81612b6d565b611d18575b50018790611c96565b611d2f90611910611d288b611848565b9a86611582565b5f611d0f565b611d4590611910611d288b611848565b5f611cf1565b50505050565b508115611c50565b6104559392606092825260208201528160408201520190610534565b9190915f5b8151811015611d4b57611d8d8183611582565b5160e00151611d9c8284611582565b51602001516001600160a01b031660409182611db88587611582565b5101516001600160a01b031692611dcf8587611582565b51606001516001600160a01b0316611de78688611582565b51608001519282611df8828c611582565b51015190611e06908a611582565b51611e1091611804565b92611e1b8789611582565b515192516001600160a01b03928316968316959092169391928392611e409284611d59565b037fd65443291bb59863c3ddfe64892356e9f0c3888a4c99efd97df5c028cb5db26791a4600101611d7a565b6002546001600160a01b03163303611e8057565b606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b903590601e198136030182121561013f57018035906001600160401b03821161013f5760200191813603831361013f57565b5f602081928035611f068161012e565b611f136040830183611ec4565b939092846040519481860160405285370135905af115611f2f57565b3d5f803e3d5ffd5b906004611f495f936040810190611ec4565b9190911015611f555750565b359150565b90611f648261138e565b604090611f74604051918261039a565b8381528093611f85601f199161138e565b01915f5b838110611f965750505050565b6020908251611fa481610349565b5f8152825f818301525f85830152828601015201611f89565b90611fc78261138e565b604090611fd7604051918261039a565b8381528093611fe8601f199161138e565b01915f5b838110611ff95750505050565b602090825161200781610364565b5f8152825f818301525f858301525f6060830152828601015201611fec565b60405190612033826102fa565b5f6080838281528260208201528260408201528260608201520152565b9061205a8261138e565b612067604051918261039a565b8281528092612078601f199161138e565b01905f5b82811061208857505050565b602090612093612026565b8282850101520161207c565b90604051916120ad8361031a565b6060835260208301606081526040840190606082526060850192606084525f60808701525f60a08701525f60c08701525f60e0870152856120ed82611f5a565b905260058102918115928281046005148417156107785761210d90611f5a565b90528060021b9181830460041417156107785761213c9261213061213793611fbd565b9052610f3b565b612050565b9052565b6040519061214d82610364565b60405161016081018181106001600160401b03821117610315576040525f81525f60208201525f60408201525f60608201525f60808201525f60a08201525f60c08201525f60e08201525f6101008201525f610120820152606061014082015282526020820191606083525f60408201525f60608201529161213c610f64565b156121d457565b60405162461bcd60e51b81526020600482015260116024820152701bdc99195c881a5b9d985b1a59185d1959607a1b6044820152606490fd5b1561221457565b60405162461bcd60e51b815260206004820152600c60248201526b1bdc99195c88199a5b1b195960a21b6044820152606490fd5b1561224f57565b60405162461bcd60e51b815260206004820152601b60248201527f746f546f6b656e416d6f756e74206e6f742072657370656374656400000000006044820152606490fd5b0390fd5b84809394926122ad929a999a989798896130fe565b8551926122b99361342c565b919093805191608083015191829161014080950151906101a00192836122de9261379d565b9687516122eb908561110c565b956122f69187613af8565b9381510151918660808901938287865161230f90151590565b9161231993613b64565b936123278a83858988613c11565b51151590612336928785613e6d565b60209182820190815161234890610490565b54856123575f198314156121cd565b61236091611804565b8351608001518111156123729061220d565b825161237d90610490565b556040830180518451519a860151919a6001600160a01b03918216929116906123a6908861110c565b906123b1928b614020565b60a088015160608401519098906001600160a01b031684518601516001600160a01b03166123df848a61110c565b916123e993614071565b6123f3908661110c565b825160a00151111561240490612248565b5196604051809884820161241791610479565b03601f1981018952612429908961039a565b516001600160a01b03169051805190919083906001600160a01b03169201516001600160a01b03169261245a6103bb565b9889526001600160a01b03909116908801526001600160a01b031660408701526001600160a01b03166060860152608085015260a084015260c083015260e08201526124a68284611582565b526124b091611582565b50565b6001600160a01b031673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee146124d857565b60405162461bcd60e51b815260206004820152601a60248201527f63616e6e6f74207472616e73666572206e6174697665204554480000000000006044820152606490fd5b1561252457565b60405162461bcd60e51b8152602060048201526013602482015272115512081d1c985b9cd9995c8819985a5b1959606a1b6044820152606490fd5b8215612654576001600160a01b0390811673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee81036125a65750505f80806103c89481945af16125a0610b8c565b5061251d565b5f80612626946103c89660405195602087019263a9059cbb60e01b84521660248701526044860152604485526125db85610364565b604051946125e88661037f565b602086527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65646020870152519082855af1612620610b8c565b91614bc0565b805190811591821561263a575b5050614591565b61264d925060208091830101910161457c565b5f80612633565b505050565b1561266057565b634e487b7160e01b5f52600160045260245ffd5b909261268d606093969594608084526080840190610534565b95602083015260408201520152565b94939190948551946126ad86611820565b6126b687611820565b906126c088611820565b925f9081808a89898f8f5b8510612a8257505050505081116129ff5780939293915f5b8c8c82106129315750505050805b6127d1575050505f5b86811061270b575050505050505050565b8061271860019284611582565b5187868b8484156127c75761276d6101406127a76127bd937f06a90a58a0537157735f3daafad32f14398feec4680f0c032ca6659590e161b6978d604095869160e0612764868c611582565b51015190611582565b510161277a8b825161110c565b90526127a16127988360a061278f828c611582565b51015199611582565b51519a8861110c565b97611427565b013590519384938d8a8060a01b03169785612674565b0390a25b016126fa565b50505050506127c1565b9197985f9a919593979a9694969a5f5b8b81106128f957506127f48c1515612659565b839584955f955b8d8710806128f0575b156128ce5789908f8d908f8c9061281b8c87611582565b51156128bf57612841612896959361289c97959361283a8f8095611582565b5190613af8565b9361284c8282611582565b5185116128ab575b50508183116128a2575b6128768b61287085611a7f8386611582565b92611582565b528c6128908b6128708561288a8386611582565b5161110c565b5261110c565b96611848565b956127fb565b9150809161285e565b6128b6929450611582565b51918a8e612854565b505050509661289c9150611848565b939c9b949d5097945097955097936128e882918210612659565b9291926126f1565b50801515612804565b6129038189611582565b51612911575b6001016127e1565b9b6129296001916129228f8e611582565b5190611804565b9c9050612909565b6112df606061187384612946949a999a611582565b6001600160a01b038b81169116036129f7575f84612991575b9061297c82600193612971848c611582565b5261288a838a611582565b6129868289611582565b525b019493946126e3565b506129a7826129a08388611582565b5185613af8565b936129b28288611582565b5185116129e4575b8085116129dc575b9061297c6129d28660019461110c565b959192505061295f565b9350836129c2565b93506129f08187611582565b51936129ba565b600190612988565b11612a495760405162461bcd60e51b815260206004820152601b60248201527f746f546f6b656e416d6f756e74206e6f742072657370656374656400000000006044820152606490fd5b60405162461bcd60e51b81526020600482015260116024820152701d1a1c995cda1bdb19081b9bdd081b595d607a1b6044820152606490fd5b8d612a996112df606061187389869d999a9d611582565b6001600160a01b03918216911603612b605791878096949281969460a0948c86612ac38685611582565b510151612ad1868a89611427565b6101400135612adf916140ff565b612aeb819b8293611582565b52612af591611804565b9a612aff91611582565b5160e00151612b0d91611582565b516040015193612b1c92611427565b0135612b279161110c565b600192612b4b929180821015612b585750905b81612b45868b611582565b52611804565b915b018a89898f8f6126cb565b905090612b3a565b5050509360019150612b4d565b7fa22590d89a282e4a4cb338bbac16a503583641111dac8ed65da19c682b55daab90815c915f5260205260405f2081815c145f14612bab5750505f90565b5d600190565b929190612bc8602091604086526040860190610534565b930152565b9294929392916001600160a01b03851673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee036130685747935b8415611b3d57612c08612026565b945f5b858110612f9557508551158015612f89575b612f7f575f5b858110612cbd57505050505050604090833580612c5e575b5001519081612c4957505050565b612c5860206103c89401610db8565b9061255f565b612c6a60208601610db8565b83830151845192835260208301528584013560408301526001600160a01b0390811691908516907fc9f4d19c8ac046a3a12343782e2e80055bdc4bac7ae4b036a6f0ac1078a1c85790606090a35f612c3b565b6001906001600160a01b038916612cdd6112df806040611873868b611582565b14612e63575b886060838060a01b038216612d026112df6112df84611873888d611582565b14612d10575b505001612c23565b60e0906040612d2c83612d23878c611582565b5101518b611582565b51015180612d3c575b5050612d08565b60808c01612d4a8151611848565b80915260208d0151145f14612e515750612d67818c01518761110c565b905b8b01612d76828251611804565b905280612d84575b80612d35565b612d90908d35906141f2565b612da260408d94939401918251611804565b9052612dae8489611582565b51015190612dcd612dbf838b611582565b51516001600160a01b031690565b91612de6612ddf83611a7f848c611582565b9189611582565b528015612d7e5780612e1a7f5dbb2734760ca87f88f85ddae0e69ff340c5ac48e4315b17e8a9b24c75251c4d92848661255f565b612e24858a611582565b515192612e46604051928392898060a01b031696898060a01b03169583612bb1565b0390a3885f80612d7e565b8b51612e5d918861416c565b90612d69565b60c0612e6f8287611582565b51015180612e7e575b50612ce3565b6080890190612e8d8251611848565b809252602091828b0151145f14612f6e5750612ead60608a01518561110c565b60608a01612ebc828251611804565b905280612eca575b50612e78565b612ed6908c35906141f2565b612ee860408c94939401918251611804565b90528115612ec457612f0882612f0283611873878c611582565b8d61255f565b7f3e41ecc1db67fa019fbdb227cfb7872d3b8b4c2aefa07717335ec5100111ce47612f338489611582565b515191612f4a868060a01b0391611873878c611582565b16928c612f64604051928392898060a01b03169583612bb1565b0390a35f80612ec4565b8951612f7a918661416c565b612ead565b5050505050505050565b50602086015115612c1d565b60019060406001600160a01b038a16612fb66112df8084611873878c611582565b1461302a575b828060a01b038a16612fd96112df6112df6060611873878c611582565b14612fe6575b5001612c0b565b612ffe60e0612ff58489611582565b51015188611582565b5101518015612fdf57613012908951611804565b8852602088016130228151611848565b90525f612fdf565b60c06130368388611582565b51015180613045575b50612fbc565b613050908a51611804565b8952602089016130608151611848565b90525f61303f565b6040516370a0823160e01b81523060048201526020816024816001600160a01b038a165afa9081156116b2575f916130a2575b5093612bfa565b6130bb915060203d602011611a2357611a14818361039a565b5f61309b565b156130c857565b60405162461bcd60e51b815260206004820152600e60248201526d0deeedccae440dad2e6dac2e8c6d60931b6044820152606490fd5b9161323d613277916132636103c89661315b61314b61312e6060988a519661314061313361312e8835848661338e565b610db8565b6001600160a01b03168952565b60208601359161338e565b6001600160a01b03166020850152565b613178613169878301610db8565b6001600160a01b031684880152565b6080810135608084015260a081013560a084015261325061319b60c08301614211565b63ffffffff1660c085019081529160e081013560e08601526132296131c260408301610db8565b6001600160a01b031660408701908152916131ea6131e4610160830183614222565b906145f0565b6101408801526132226101009161321461320684830135614652565b9015156101208d0152949091565b8a0152610180810190611ec4565b9188614275565b91519196879391926001600160a01b031690565b6001600160a01b038481169116146130c1565b6020890151925163ffffffff169261444b565b6001600160a01b03821660408601526144ad565b6001600160a01b0316910152565b1561328c57565b60405162461bcd60e51b815260206004820152600d60248201526c1bdc99195c88195e1c1a5c9959609a1b6044820152606490fd5b156132c857565b60405162461bcd60e51b815260206004820152600f60248201526e073616d6520746f6b656e207377617608c1b6044820152606490fd5b1561330657565b60405162461bcd60e51b81526020600482015260146024820152731e995c9bc8199c9bdb551bdad95b905b5bdd5b9d60621b6044820152606490fd5b1561334957565b60405162461bcd60e51b815260206004820152601960248201527f696e76616c6964207468726573686f6c642070657263656e74000000000000006044820152606490fd5b919081101561112a5760051b0190565b156133a557565b60405162461bcd60e51b81526020600482015260136024820152727a65726f20636c656172696e6720707269636560681b6044820152606490fd5b156133e757565b60405162461bcd60e51b815260206004820152601960248201527f6c696d6974207072696365206e6f7420726573706563746564000000000000006044820152606490fd5b6135036020959360a06134fb6134df6103c89661346261345360c089015163ffffffff1690565b63ffffffff4291161015613285565b86516134a19061347a906001600160a01b03166112df565b888d0151613492906112df906001600160a01b031681565b90600180881b031614156132c1565b60808701946134b2865115156132ff565b6134c7633b9aca006101408d01351115613342565b6134d38b35828461338e565b359b8c9b01359161338e565b359788938115158061350a575b6134f59061339e565b51610f51565b930151610f51565b11156133e0565b508415156134ec565b1561351a57565b60405162461bcd60e51b815260206004820152601960248201527f746f6f206d616e7920636f6d6d697373696f6e20696e666f73000000000000006044820152606490fd5b1561356657565b60405162461bcd60e51b815260206004820152601c60248201527f696e76616c696420636f6d6d697373696f6e20646972656374696f6e000000006044820152606490fd5b156135b257565b60405162461bcd60e51b81526020600482015260126024820152711e995c9bc8199959481c9958da5c1a595b9d60721b6044820152606490fd5b156135f357565b60405162461bcd60e51b815260206004820152601b60248201527f636f6d6d697373696f6e2070657263656e7420746f6f206869676800000000006044820152606490fd5b1561363f57565b60405162461bcd60e51b815260206004820152601b60248201527f6d6978656420636f6d6d697373696f6e20646972656374696f6e7300000000006044820152606490fd5b1561368b57565b60405162461bcd60e51b81526020600482015260116024820152706d69786564206973546f4220666c61677360781b6044820152606490fd5b156136cb57565b60405162461bcd60e51b815260206004820152601060248201526f3d32b9379039b7b63b32b91030b2323960811b6044820152606490fd5b1561370a57565b60405162461bcd60e51b815260206004820152602660248201527f736f6c7665722f726566657272616c2066656520646972656374696f6e206d696044820152650e6dac2e8c6d60d31b6064820152608490fd5b1561376557565b60405162461bcd60e51b815260206004820152601060248201526f66656573206578636565642066726f6d60801b6044820152606490fd5b90916137a7612026565b906137b6600384511115613513565b5f925f955f955f905f985f5b8551811015613918576137e26137d88288611582565b51998a5190611804565b60408a01519099600160fd1b82161591600160fe1b8116151591600160ff1b90911615801591908280613911575b15806138f9575b613821915061355f565b80516138db575b51918215159081613892575b50906001949392918161388a575b50613850575b5050016137c2565b61385a908a6144c8565b90613866828c51611804565b8b52613873575b80613848565b61388260208b01918251611804565b90525f61386d565b90505f613842565b829891986138d2575b6138c9575b836138b9575090600193929184975b9091929394613834565b969d50906001939291849e6138af565b60019d506138a0565b6001965061389b565b60208101516138f4906001600160a01b031615156135ab565b613828565b50829061390a575b61382190613817565b5082613901565b5083613810565b5092979093506103c89661395b836139be9497989b61393d6301c9c3808511156135ec565b8680613add575b61394e9015613638565b81613ad5575b5015613684565b61396b604096878c019015159052565b84359384151592839283613ac2575b8c85613ab0575b6060613991910195869015159052565b8380613a9d575b8d85613a8b575b60806139af910195869015159052565b613a13575b5050505051151590565b6139cf575b5050508351111561375e565b6139d990846144c8565b916139e5838851611804565b87520135600160fd1b16156139fc575b80806139c3565b613a0b60208601918251611804565b90525f6139f5565b613a326001600160a01b03613a2a60208b01610db8565b1615156136c4565b613a3d575b806139b4565b613a559282613a79575b8215613a5d575b5050613703565b5f8080613a37565b90915081613a6e575b505f80613a4e565b51151590505f613a66565b9150613a858451151590565b91613a47565b898b0135600160ff1b1615955061399f565b888a0135600160fe1b1615159450613998565b888a0135600160fe1b16159550613981565b87890135600160ff1b161515945061397a565b90505f613954565b5084613944565b634e487b7160e01b5f52601260045260245ffd5b9190613b0582828561416c565b928215613b225709613b145790565b600181018091116107785790565b613ae4565b15613b2e57565b60405162461bcd60e51b815260206004820152600e60248201526d666565732065786365656420746f60901b6044820152606490fd5b5f949091855b8351871015613bda57600160fe1b6040613b848987611582565b51015116158015613bc7575b613bbe57613ba9613ba18886611582565b5151866144c8565b810180911161077857600190965b0195613b6a565b95600190613bb7565b50613bd28785611582565b515115613b90565b9550915092613bf1575b506103c890831115613b27565b6103c89193613c04613c0a9235866144c8565b90611804565b9290613be4565b80516101408101519051929693956001600160a01b039384169594919286929091905f5b8551811015613d955760019085898b898f898d6040928960ff1b84613c5a8b88611582565b51015116158015613d82575b613d7557613c8090613c788a87611582565b5151906144c8565b947f02b4603e6be0c4002f11c4445116c51a20adeecb33e1434306ec55378f75a0996020809401519286613ce58c8a89613cd4613ccb84613cc58d611873838b611582565b97611582565b5151938d611582565b510151918a51958695169885612674565b0390a38315613d6a57868b613cfc848d0151151590565b15613d3a5750613d349691611873613d149286611582565b91613d2b88613d238187611582565b515195611582565b51015194614530565b01613c35565b9290920151613d65969495506001600160a01b03169392613d5e9261187391611582565b918d6144e7565b613d34565b505050505050613d34565b5050505050505050613d34565b50613d8d8986611582565b515115613c66565b5098949197969593506060613dab910151151590565b613db85750505050505050565b613dc4863580956144c8565b946020880151907fc6d99ee7574d9d88cc700f01e1ecbcc9cfed97d50310b48abc3a6dfde3ae2dc060208901936040613dfc86610db8565b9a013599613e148b8b8b604051958695169885612674565b0390a38415611b3d57600160fd1b861615613e3d57611b599650613e3790610db8565b91614530565b919394509150613e62613e5c6040613e6897015160018060a01b031690565b91610db8565b926144e7565b611b59565b80516101408101516020918201516001600160a01b03989196939590891694859290915f5b8951811015613f84576001908a8a888f888a9160408860fe1b81613eb68a8a611582565b51015116158015613f71575b613f6557613f33613f0a86613efc7f02b4603e6be0c4002f11c4445116c51a20adeecb33e1434306ec55378f75a09996613c788d8d611582565b980151966118738b8b611582565b9187613f168b8b611582565b515182613f238d8d611582565b5101519251958695169885612674565b0390a38a838a8315613f5b57611873613f4f92613f5596611582565b8b614071565b01613e92565b5050505050613f55565b50505050505050613f55565b50613f7c8888611582565b515115613ec2565b5094959697509890919297613f9d575050505050505050565b7fc6d99ee7574d9d88cc700f01e1ecbcc9cfed97d50310b48abc3a6dfde3ae2dc091613ff389613fcf873580946144c8565b9901519986019989613fe08c610db8565b9360408051968796169901359285612674565b0390a382614005575b80808080612f7f565b61401161401794610db8565b90614071565b5f808080613ffc565b90926124b0936040519361403385610349565b6001600160a01b0391821685521660208401526040830152805160809091018051929061405f84611848565b905261406b8383611582565b52611582565b90926124b0936040519361408485610349565b60018060a01b038092168552166020840152604083015260a0602082015191019182519261405f84611848565b8115613b22570490565b156140c257565b60405162461bcd60e51b81526020600482015260156024820152744d6174683a206d756c446976206f766572666c6f7760581b6044820152606490fd5b5f198282098282029182808310920391808303921461415f577f88f2cfb83100cb4e69e7c79c58b316e597157d372fb9787e8e47ce423a2e9c6d93633b9aca009161414b8484116140bb565b0990828211900360f71b910360091c170290565b5050633b9aca0091500490565b90915f1983830992808302928380861095039480860395146141e5579082916141968684116140bb565b0960018219018216809204600280826003021880830282030280830282030280830282030280830282030280830282030280920290030293600183805f03040190848311900302920304170290565b50509061045592506140b1565b90614202633b9aca009183610f51565b04908181039081116107785791565b3563ffffffff8116810361013f5790565b903590601e198136030182121561013f57018035906001600160401b03821161013f5760200191606082023603831361013f57565b6004111561426157565b634e487b7160e01b5f52602160045260245ffd5b9160426142fb939594929561428861100d565b815190919061429f906001600160a01b03166112df565b60208201519091906143be906142bd906001600160a01b03166112df565b604083015161116d906001600160a01b031660608501519094906001600160a01b031690608081015160a082015160c083019d8e5163ffffffff1690565b60e0840151916101008501519361432461014061431c610120890151151590565b970151614962565b966040519b8c9a60208c019e8f80999795939c9b9a989694919c61018082019d7fc70e289c8e7a87f3aeb5bfa5b860828276fa66d7f73bc34926b2e0383bfab5748352600160a01b600190039485938480931690602001521660408c01521660608a015216608088015260a087015260c086015263ffffffff1660e085015261010084015261012083015215156101408201526101600152565b5190206040519183830160405261190160f01b83526002830152602282015220946143e881614257565b806143f95750610455925084614ae4565b61440281614257565b6001810361441657506104559250846148eb565b80614422600292614257565b036144325761045592508461484c565b90614444610455935163ffffffff1690565b9185614715565b909291603882510361446857602092603883015260348201520152565b60405162461bcd60e51b815260206004820152601a60248201527f4f726465723a2075696420627566666572206f766572666c6f770000000000006044820152606490fd5b606001516001600160a01b0316806144c3575090565b905090565b81156144e157633b9aca00916144dd91610f51565b0490565b50505f90565b916124b0949193604051946144fb86610364565b60018060a01b0392838092168752166020860152166040840152606083015260c0604082015191019182519261405f84611848565b926124b09592949160405195614545876102fa565b60018060a01b03809216875216602086015260408501526060840152608083015260e0606082015191019182519261405f84611848565b9081602091031261013f57516104558161090b565b1561459857565b60405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608490fd5b916145fe6003831115613513565b6040519160209360208260071b8501016040528184526005908260051b8501915f5b848110614631575050505050909150565b60019060608082028a8188010190818c85881b8d0101528601903701614620565b600181166146d7577f39124995febcd74fadbdf9bbad44826dab79bc9478b4965fd0d2381c0d649b2c9160028216614692575f9160051c61045581614257565b60405162461bcd60e51b815260206004820152601a60248201527f7061727469616c2066696c6c206e6f7420737570706f727465640000000000006044820152606490fd5b60405162461bcd60e51b81526020600482015260166024820152751bdb9b1e48195e1858dd125b881cdd5c1c1bdc9d195960521b6044820152606490fd5b92939291601319016147a2577f26cef0249cc767b3c21945b2779e1c35f139ab0e0f59dec08842c20f717c448a9161088b61475f923560601c9586614758610f64565b938461444b565b540361476757565b60405162461bcd60e51b81526020600482015260136024820152721bdc99195c881b9bdd081c1c995cda59db9959606a1b6044820152606490fd5b60405162461bcd60e51b81526020600482015260166024820152756d616c666f726d6564207072657369676e617475726560501b6044820152606490fd5b9081602091031261013f57516001600160e01b03198116810361013f5790565b1561480757565b60405162461bcd60e51b815260206004820152601960248201527f696e76616c69642065697031323731207369676e6174757265000000000000006044820152606490fd5b813560601c9392916014831061013f57614895926020916040519485928392630b135d3f60e11b9687855260048501526040602485015260146044850192601319019101610b5b565b0381875afa80156116b2576103c8925f916148bc575b506001600160e01b03191614614800565b6148de915060203d6020116148e4575b6148d6818361039a565b8101906147e0565b5f6148ab565b503d6148cc565b90610455929160405160208101917f19457468657265756d205369676e6564204d6573736167653a0a3332000000008352603c820152603c815261492e81610349565b519020614ae4565b80516020809201915f5b82811061494e575050505090565b835185529381019392810192600101614940565b80519161496e8361138e565b9061498a604094614982604051948561039a565b80845261138e565b92602091601f198095013660208601375f5b8251811015614a1e57806149b260019285611582565b5180519089848060a01b0388830151169101518a5191888301937f383c49be8b10b90a55f1289bd1243f7250baff231facaad7e486d2391903bf5a85528c8401526060830152608090818301528152614a0a816102fa565b519020614a178288611582565b520161499c565b509450505090614a466040519182614a3a602082018096614936565b0390810183528261039a565b51902090565b15614a5357565b60405162461bcd60e51b815260206004820152601960248201527f696e76616c6964207369676e617475726520732076616c7565000000000000006044820152606490fd5b15614a9f57565b60405162461bcd60e51b815260206004820152601760248201527f696e76616c6964206563647361207369676e61747572650000000000000000006044820152606490fd5b9091604103614b7b57815f91614b56602080950135614b257f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0821115614a4c565b6040519384936040823592013560f81c90859094939260ff6060936080840197845216602083015260408201520152565b838052039060015afa156116b2575f51906103c86001600160a01b0383161515614a98565b60405162461bcd60e51b815260206004820152601960248201527f6d616c666f726d6564206563647361207369676e6174757265000000000000006044820152606490fd5b91929015614c225750815115614bd4575090565b3b15614bdd5790565b60405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606490fd5b825190915015614c355750805190602001fd5b60405162461bcd60e51b8152908190612294906004830161055956fea264697066735822122024ace53c249472874991aa562d0a7cb021bc95c24e340c16e6d7a8ccbd5eb51d64736f6c63430008180033","recompiledBytecode":"0x6080604052600436101561001a575b3615610018575f80fd5b005b5f3560e01c806302cc250d1461012957806312ec8dcc1461012457806315337bc01461011f5780632479fb6e1461011a57806343218e1914610115578063462c3ed11461011057806354fd4d501461010b5780635624b25b14610106578063715018a6146101015780638da5cb5b146100fc5780638fd57b92146100f7578063d08d33d1146100f2578063ec58f4b8146100ed578063ec6cb13f146100e8578063f2fde38b146100e3578063f698da25146100de5763f84436bd0361000e57610b15565b610af3565b610a27565b610915565b610890565b610878565b610800565b6107d8565b61077d565b610718565b6106ad565b610619565b61056a565b6104db565b6101fe565b61018d565b610143565b6001600160a01b0381160361013f57565b5f80fd5b3461013f57602036600319011261013f576004356101608161012e565b60018060a01b03165f526003602052602060ff60405f2054166040519015158152f35b5f91031261013f57565b3461013f575f36600319011261013f576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b9181601f8401121561013f578235916001600160401b03831161013f576020838186019501011161013f57565b3461013f57602036600319011261013f576004356001600160401b03811161013f5761022e9036906004016101d1565b9061023982826111d3565b506001600160a01b03169290503383036102a1577f875b6cb035bbd4ac6500fabc6d1e4ca5bdc58a3e2b424ccb5c24cdbebeb009a99161028d6040518383823760208185810160048152030190205f199055565b61029c60405192839283610b7b565b0390a2005b60405162461bcd60e51b815260206004820152601960248201527f63616c6c657220646f6573206e6f74206f776e206f72646572000000000000006044820152606490fd5b634e487b7160e01b5f52604160045260245ffd5b60a081019081106001600160401b0382111761031557604052565b6102e6565b61010081019081106001600160401b0382111761031557604052565b6001600160401b03811161031557604052565b606081019081106001600160401b0382111761031557604052565b608081019081106001600160401b0382111761031557604052565b604081019081106001600160401b0382111761031557604052565b90601f801991011681019081106001600160401b0382111761031557604052565b604051906103c88261031a565b565b6001600160401b03811161031557601f01601f191660200190565b81601f8201121561013f578035906103fc826103ca565b9261040a604051948561039a565b8284526020838301011161013f57815f926020809301838601378301015290565b602060031982011261013f57600435906001600160401b03821161013f57610455916004016103e5565b90565b5f5b8381106104695750505f910152565b818101518382015260200161045a565b9061048c60209282815194859201610458565b0190565b60206104a9918160405193828580945193849201610458565b8101600481520301902090565b60206104cf918160405193828580945193849201610458565b81015f81520301902090565b3461013f5760206104f36104ee3661042b565b610490565b54604051908152f35b90604060031983011261013f576004356105158161012e565b91602435906001600160401b03821161013f57610455916004016103e5565b9060209161054d81518092818552858086019101610458565b601f01601f1916010190565b906020610455928181520190610534565b3461013f575f8061057a366104fc565b90602082519201905af461058c610b8c565b906105c76021604051809360206105ac8184019788815193849201610458565b820190151560f81b602082015203600181018452018261039a565b5190fd5b9181601f8401121561013f578235916001600160401b03831161013f576020808501948460051b01011161013f57565b9190606083011161013f57565b60609060a319011261013f5760a490565b3461013f5761010036600319011261013f576001600160401b0360243581811161013f5761064b9036906004016105cb565b60443583811161013f576106639036906004016105cb565b9060643585811161013f5761067c9036906004016105cb565b92909160843596871161013f5761069a6100189736906004016105fb565b946106a436610608565b96600435610bbb565b3461013f575f36600319011261013f576107146040516106cc81610349565b602181527f76322e302e302d7468726573686f6c642d756e6361707065642d737572706c756020820152607360f81b6040820152604051918291602083526020830190610534565b0390f35b3461013f57604036600319011261013f576004356024356005602082821b8315848204831417156107785761074c90610f7f565b935f5b84811061076457604051806107148882610559565b8181015481851b870184015260010161074f565b610f11565b3461013f575f36600319011261013f57610795611e6c565b600280546001600160a01b031981169091555f906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a3005b3461013f575f36600319011261013f576002546040516001600160a01b039091168152602090f35b3461013f57602036600319011261013f577f640e18a2587e1d83e4fdabf70257d0a800ca4b2c1aaad1dfc485a4ad8bbbd6c660206004356108408161012e565b610848611e6c565b6001600160a01b031661085c811515610fb1565b805f526003825260405f2060ff198154169055604051908152a1005b3461013f5760206104f361088b3661042b565b6104b6565b3461013f57602036600319011261013f577f41f9d09dd5159251f8a8e482bbe097b7c01a5e6f70c5a0ddb494906464fc9dd760206004356108d08161012e565b6108d8611e6c565b6001600160a01b03166108ec811515610fb1565b805f526003825260405f20600160ff19825416179055604051908152a1005b8015150361013f57565b3461013f57604036600319011261013f576004356001600160401b03811161013f576109459036906004016101d1565b602435906109528261090b565b61095c81846111d3565b506001600160a01b03169390503384036109eb5761029c837f01bf7c8b0ca55deecbea89d7e58295b7ffbf685fd0d96801034ba8c6ffe1c68d945f146109da576109ce6109a98585610b43565b7f26cef0249cc767b3c21945b2779e1c35f139ab0e0f59dec08842c20f717c448a9055565b60405193849384610fec565b5f6109e58585610b43565b556109ce565b60405162461bcd60e51b815260206004820152601460248201527331b0b73737ba10383932b9b4b3b71037b93232b960611b6044820152606490fd5b3461013f57602036600319011261013f57600435610a448161012e565b610a4c611e6c565b6001600160a01b03908116908115610a9f57600254826bffffffffffffffffffffffff60a01b821617600255167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a3005b60405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608490fd5b3461013f575f36600319011261013f576020610b0d61100d565b604051908152f35b3461013f57610714610b2f610b29366104fc565b9061112f565b604051918291602083526020830190610534565b60209082604051938492833781015f81520301902090565b908060209392818452848401375f828201840152601f01601f1916010190565b916020610455938181520191610b5b565b3d15610bb6573d90610b9d826103ca565b91610bab604051938461039a565b82523d5f602084013e565b606090565b9796959396600260015414610d27576002600155335f52600360205260ff60405f20541615610cf357610c80610c428688610ca39b610c9a98610c3798610c9498610c3d8f610c37908b35610c16631dcd6500821115610d6c565b158015610cd1575b610c2790610dc2565b610c32878614610e06565b610e66565b90611277565b611496565b95610c5360208801518851906115a1565b610c606040880151611796565b610c6c610c378a610e9d565b606087019760808951980197885190611856565b610c8a8651611be9565b8551855190611c35565b94610ed7565b51905190611d75565b337fbddcc4ab73b8e971706360fbdcce2f609328e78217649695ee3ab811ab52d1625f80a36103c860018055565b50610c276001600160a01b03610ce960208f01610db8565b1615159050610c1e565b60405162461bcd60e51b815260206004820152600c60248201526b3737ba10309039b7b63b32b960a11b6044820152606490fd5b60405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606490fd5b15610d7357565b60405162461bcd60e51b815260206004820152601b60248201527f696e76616c696420737572706c7573206665652070657263656e7400000000006044820152606490fd5b356104558161012e565b15610dc957565b60405162461bcd60e51b81526020600482015260156024820152741d1c9a5b549958d95a5d995c881c995c5d5a5c9959605a1b6044820152606490fd5b15610e0d57565b60405162461bcd60e51b815260206004820152601d60248201527f746f6b656e732f707269636573206c656e677468206d69736d617463680000006044820152606490fd5b634e487b7160e01b5f52603260045260245ffd5b803590601e198136030182121561013f5701908135916001600160401b03831161013f576020018260051b3603811361013f579190565b602081013590601e198136030182121561013f5701908135916001600160401b03831161013f576020018260051b3603811361013f579190565b604081013590601e198136030182121561013f5701908135916001600160401b03831161013f576020018260051b3603811361013f579190565b634e487b7160e01b5f52601160045260245ffd5b908160011b918083046002149015171561077857565b908160021b918083046004149015171561077857565b8181029291811591840414171561077857565b60405190610f7182610349565b603882526040366020840137565b90610f89826103ca565b610f96604051918261039a565b8281528092610fa7601f19916103ca565b0190602036910137565b15610fb857565b60405162461bcd60e51b815260206004820152600c60248201526b7a65726f206164647265737360a01b6044820152606490fd5b9160209161100591959495604085526040850191610b5b565b931515910152565b7f000000000000000000000000000000000000000000000000000000000000000046146110da5760405160208101907f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f82527f29a88cbf27800a51814cac27ad93571452fc9b1eb4e86444a15d1961bc290ea760408201527f15124d26d1272f8d4d5266a24ca397811f414b8cd05a53b26b745f63af5ae2fc60608201524660808201523060a082015260a0815260c081018181106001600160401b038211176103155760405251902090565b7f000000000000000000000000000000000000000000000000000000000000000090565b5f1981019190821161077857565b9190820391821161077857565b90815181101561112a570160200190565b610e52565b5f919061116d61117b849360405192839160208301956343218e1960e01b875260018060a01b03166024840152604060448401526064830190610534565b03601f19810183528261039a565b519082305af15061118a610b8c565b600160f81b60ff60f81b6111b86111aa6111a485516110fe565b85611119565b516001600160f81b03191690565b16146111c482516110fe565b8252156111ce5790565b61122b565b906038036111f1578035916034602083013560601c92013560e01c90565b60405162461bcd60e51b815260206004820152601260248201527113dc99195c8e881a5b9d985b1a59081d5a5960721b6044820152606490fd5b602081519101fd5b1561123a57565b60405162461bcd60e51b81526020600482015260156024820152743337b93134b23232b71034b73a32b930b1ba34b7b760591b6044820152606490fd5b906001600160a01b037f00000000000000000000000000000000000000000000000000000000000000008116905f5b8381106112b4575050505050565b8060051b85013590605e198636030182121561013f5760019186016112f2856112eb6112df84610db8565b6001600160a01b031690565b1415611233565b6112fb81611ef6565b7fed99827efb37016f2275f98c4bcf71c7551c75d59e9b450f79fa32e60be672c28461132683610db8565b61135a61133285611f37565b602060405194859416960135839092916020906040830194835263ffffffff60e01b16910152565b0390a2016112a6565b60405190611370826102fa565b81608060609182815282602082015282604082015282808201520152565b6001600160401b0381116103155760051b60200190565b906113af8261138e565b6040906113bf604051918261039a565b83815280936113d0601f199161138e565b01915f5b8381106113e15750505050565b60209082516113ef8161031a565b60608082525f8491818385015281878501528301525f60808301525f60a08301525f60c08301525f60e08301528286010152016113d4565b919081101561112a5760051b810135906101fe198136030182121561013f570190565b1561145157565b60405162461bcd60e51b815260206004820152601d60248201527f747261646573206e6f74206f72646572656420627920746f546f6b656e0000006044820152606490fd5b95949095939192936114a6611363565b966114b08361209f565b956114ba846113a5565b60808a019081526114c9612140565b915f97895f995b888b1061152157509850505050505050505051608082015181528352602081015160a082015181526060840152604081015160c08201518152602084015260e0606082015191015181526040830152565b61155e8b89600194898b8f8f611555878c928e9461155060209d8e611547868686611427565b0135101561144a565b611427565b928d5196612298565b6115698b8a8c611427565b01359901988a906114d0565b80511561112a5760200190565b805182101561112a5760209160051b010190565b6040513d5f823e3d90fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316925f5b82518110156116c1576115e18184611582565b519060608201918251156116b757602081018051611621916112df91611614906001600160a01b03166124b3565b6124b3565b516001600160a01b031690565b81516001600160a01b03166040928301519091906001600160a01b0316945192893b1561013f575163052f523360e11b81526001600160a01b039182166004820152918116602483015293909316604484015260648301525f82608481838a5af19182156116b257600192611699575b505b016115ce565b806116a66116ac92610336565b80610183565b5f611691565b611596565b5060019150611693565b509190505f5b8151811015611790576116da8183611582565b5190604080830192835115611785576117176117096112df6020840161161461160f825160018060a01b031690565b91516001600160a01b031690565b935193873b1561013f57915163052f523360e11b81526001600160a01b0391821660048201529116602482015230604482015260648101929092525f8260848183895af19182156116b257600192611772575b505b016116c7565b806116a661177f92610336565b5f61176a565b50506001915061176c565b50509050565b905f5b82518110156117f157806117af60019285611582565b5160608101908151156117ea576117e491848060a01b036117d2818451166124b3565b6020818451169301511690519161255f565b01611799565b50506117e4565b509050565b906001820180921161077857565b9190820180921161077857565b9081602091031261013f575190565b9061182a8261138e565b611837604051918261039a565b8281528092610fa7601f199161138e565b5f1981146107785760010190565b9291938151948515611be157606094611882606061187386611575565b5101516001600160a01b031690565b60a09560a061189087611575565b510151986001995b818b108a8c82611bb9575b5050156118cc576118c46001918a6118bb8e8c611582565b51015190611804565b9a0199611898565b9294969899979091939599828914611afe576118f06118eb8a8561110c565b6117f6565b9361191f61190661190087611820565b96611820565b9761191087611575565b6001600160a01b039091169052565b61192887611575565b526001985b8a848210611a2a5750505050505f5b86811061194d575050505050505050565b61195a6116148284611582565b906119658186611582565b516001600160a01b0383169273eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee84036119c3576001935047915b8083106119a4575b5050500161193c565b6119bb926119b19161110c565b90868a8d8b61269c565b5f808061199b565b6040516370a0823160e01b81523060048201526020948590829060249082905afa9081156116b2576001955f926119fd575b505091611993565b611a1c9250803d10611a23575b611a14818361039a565b810190611811565b5f806119f5565b503d611a0a565b8261187383611a3893611582565b8a908c906001600160a01b0381165f89855b8210611ac4575b5050508c8314611a93575b5090611a8c611a8586611a728660019796611582565b510151611a7f848d611582565b51611804565b918a611582565b520161192d565b928c8694611aa48395949f8b611582565b6001600160a01b039091169052611aba90611848565b9c91929350611a5c565b91611adc6112df6112df611614858598999697611582565b14611af05750600101908e9291898f611a4a565b9293509050915f8089611a51565b50919794965092949193919250506001600160a01b03841673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee8103611b65575047955b808710611b46575b50505050505050565b611b5996611b539161110c565b9461269c565b5f808080808080611b3d565b6040516370a0823160e01b815230600482015290602090829060249082905afa9081156116b2575f91611b9a575b5095611b35565b611bb3915060203d602011611a2357611a14818361039a565b5f611b93565b611bcc9250906118736112df928c611582565b6001600160a01b038581169116148a8c6118a3565b509350505050565b905f5b82518110156117f15780611c0260019285611582565b5160408101518015611c2e57611c2891848060a01b03806020830151169151169061255f565b01611bec565b5050611c28565b929192611c428151611820565b938251908251158015611d51575b611d4b576001937fa22590d89a282e4a4cb338bbac16a503583641111dac8ed65da19c682b55daab6001815c01905d611c90611c8b84610f25565b611820565b935f94865f5b868110611cd45750505f5b868110611cb2575050505050505050565b8790611cce878c888888611cc9611614888b611582565b612bcd565b01611ca1565b611ce360606118738388611582565b611cec81612b6d565b611d35575b50611d0160406118738388611582565b611d0a81612b6d565b611d18575b50018790611c96565b611d2f90611910611d288b611848565b9a86611582565b5f611d0f565b611d4590611910611d288b611848565b5f611cf1565b50505050565b508115611c50565b6104559392606092825260208201528160408201520190610534565b9190915f5b8151811015611d4b57611d8d8183611582565b5160e00151611d9c8284611582565b51602001516001600160a01b031660409182611db88587611582565b5101516001600160a01b031692611dcf8587611582565b51606001516001600160a01b0316611de78688611582565b51608001519282611df8828c611582565b51015190611e06908a611582565b51611e1091611804565b92611e1b8789611582565b515192516001600160a01b03928316968316959092169391928392611e409284611d59565b037fd65443291bb59863c3ddfe64892356e9f0c3888a4c99efd97df5c028cb5db26791a4600101611d7a565b6002546001600160a01b03163303611e8057565b606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b903590601e198136030182121561013f57018035906001600160401b03821161013f5760200191813603831361013f57565b5f602081928035611f068161012e565b611f136040830183611ec4565b939092846040519481860160405285370135905af115611f2f57565b3d5f803e3d5ffd5b906004611f495f936040810190611ec4565b9190911015611f555750565b359150565b90611f648261138e565b604090611f74604051918261039a565b8381528093611f85601f199161138e565b01915f5b838110611f965750505050565b6020908251611fa481610349565b5f8152825f818301525f85830152828601015201611f89565b90611fc78261138e565b604090611fd7604051918261039a565b8381528093611fe8601f199161138e565b01915f5b838110611ff95750505050565b602090825161200781610364565b5f8152825f818301525f858301525f6060830152828601015201611fec565b60405190612033826102fa565b5f6080838281528260208201528260408201528260608201520152565b9061205a8261138e565b612067604051918261039a565b8281528092612078601f199161138e565b01905f5b82811061208857505050565b602090612093612026565b8282850101520161207c565b90604051916120ad8361031a565b6060835260208301606081526040840190606082526060850192606084525f60808701525f60a08701525f60c08701525f60e0870152856120ed82611f5a565b905260058102918115928281046005148417156107785761210d90611f5a565b90528060021b9181830460041417156107785761213c9261213061213793611fbd565b9052610f3b565b612050565b9052565b6040519061214d82610364565b60405161016081018181106001600160401b03821117610315576040525f81525f60208201525f60408201525f60608201525f60808201525f60a08201525f60c08201525f60e08201525f6101008201525f610120820152606061014082015282526020820191606083525f60408201525f60608201529161213c610f64565b156121d457565b60405162461bcd60e51b81526020600482015260116024820152701bdc99195c881a5b9d985b1a59185d1959607a1b6044820152606490fd5b1561221457565b60405162461bcd60e51b815260206004820152600c60248201526b1bdc99195c88199a5b1b195960a21b6044820152606490fd5b1561224f57565b60405162461bcd60e51b815260206004820152601b60248201527f746f546f6b656e416d6f756e74206e6f742072657370656374656400000000006044820152606490fd5b0390fd5b84809394926122ad929a999a989798896130fe565b8551926122b99361342c565b919093805191608083015191829161014080950151906101a00192836122de9261379d565b9687516122eb908561110c565b956122f69187613af8565b9381510151918660808901938287865161230f90151590565b9161231993613b64565b936123278a83858988613c11565b51151590612336928785613e6d565b60209182820190815161234890610490565b54856123575f198314156121cd565b61236091611804565b8351608001518111156123729061220d565b825161237d90610490565b556040830180518451519a860151919a6001600160a01b03918216929116906123a6908861110c565b906123b1928b614020565b60a088015160608401519098906001600160a01b031684518601516001600160a01b03166123df848a61110c565b916123e993614071565b6123f3908661110c565b825160a00151111561240490612248565b5196604051809884820161241791610479565b03601f1981018952612429908961039a565b516001600160a01b03169051805190919083906001600160a01b03169201516001600160a01b03169261245a6103bb565b9889526001600160a01b03909116908801526001600160a01b031660408701526001600160a01b03166060860152608085015260a084015260c083015260e08201526124a68284611582565b526124b091611582565b50565b6001600160a01b031673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee146124d857565b60405162461bcd60e51b815260206004820152601a60248201527f63616e6e6f74207472616e73666572206e6174697665204554480000000000006044820152606490fd5b1561252457565b60405162461bcd60e51b8152602060048201526013602482015272115512081d1c985b9cd9995c8819985a5b1959606a1b6044820152606490fd5b8215612654576001600160a01b0390811673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee81036125a65750505f80806103c89481945af16125a0610b8c565b5061251d565b5f80612626946103c89660405195602087019263a9059cbb60e01b84521660248701526044860152604485526125db85610364565b604051946125e88661037f565b602086527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65646020870152519082855af1612620610b8c565b91614bc0565b805190811591821561263a575b5050614591565b61264d925060208091830101910161457c565b5f80612633565b505050565b1561266057565b634e487b7160e01b5f52600160045260245ffd5b909261268d606093969594608084526080840190610534565b95602083015260408201520152565b94939190948551946126ad86611820565b6126b687611820565b906126c088611820565b925f9081808a89898f8f5b8510612a8257505050505081116129ff5780939293915f5b8c8c82106129315750505050805b6127d1575050505f5b86811061270b575050505050505050565b8061271860019284611582565b5187868b8484156127c75761276d6101406127a76127bd937f06a90a58a0537157735f3daafad32f14398feec4680f0c032ca6659590e161b6978d604095869160e0612764868c611582565b51015190611582565b510161277a8b825161110c565b90526127a16127988360a061278f828c611582565b51015199611582565b51519a8861110c565b97611427565b013590519384938d8a8060a01b03169785612674565b0390a25b016126fa565b50505050506127c1565b9197985f9a919593979a9694969a5f5b8b81106128f957506127f48c1515612659565b839584955f955b8d8710806128f0575b156128ce5789908f8d908f8c9061281b8c87611582565b51156128bf57612841612896959361289c97959361283a8f8095611582565b5190613af8565b9361284c8282611582565b5185116128ab575b50508183116128a2575b6128768b61287085611a7f8386611582565b92611582565b528c6128908b6128708561288a8386611582565b5161110c565b5261110c565b96611848565b956127fb565b9150809161285e565b6128b6929450611582565b51918a8e612854565b505050509661289c9150611848565b939c9b949d5097945097955097936128e882918210612659565b9291926126f1565b50801515612804565b6129038189611582565b51612911575b6001016127e1565b9b6129296001916129228f8e611582565b5190611804565b9c9050612909565b6112df606061187384612946949a999a611582565b6001600160a01b038b81169116036129f7575f84612991575b9061297c82600193612971848c611582565b5261288a838a611582565b6129868289611582565b525b019493946126e3565b506129a7826129a08388611582565b5185613af8565b936129b28288611582565b5185116129e4575b8085116129dc575b9061297c6129d28660019461110c565b959192505061295f565b9350836129c2565b93506129f08187611582565b51936129ba565b600190612988565b11612a495760405162461bcd60e51b815260206004820152601b60248201527f746f546f6b656e416d6f756e74206e6f742072657370656374656400000000006044820152606490fd5b60405162461bcd60e51b81526020600482015260116024820152701d1a1c995cda1bdb19081b9bdd081b595d607a1b6044820152606490fd5b8d612a996112df606061187389869d999a9d611582565b6001600160a01b03918216911603612b605791878096949281969460a0948c86612ac38685611582565b510151612ad1868a89611427565b6101400135612adf916140ff565b612aeb819b8293611582565b52612af591611804565b9a612aff91611582565b5160e00151612b0d91611582565b516040015193612b1c92611427565b0135612b279161110c565b600192612b4b929180821015612b585750905b81612b45868b611582565b52611804565b915b018a89898f8f6126cb565b905090612b3a565b5050509360019150612b4d565b7fa22590d89a282e4a4cb338bbac16a503583641111dac8ed65da19c682b55daab90815c915f5260205260405f2081815c145f14612bab5750505f90565b5d600190565b929190612bc8602091604086526040860190610534565b930152565b9294929392916001600160a01b03851673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee036130685747935b8415611b3d57612c08612026565b945f5b858110612f9557508551158015612f89575b612f7f575f5b858110612cbd57505050505050604090833580612c5e575b5001519081612c4957505050565b612c5860206103c89401610db8565b9061255f565b612c6a60208601610db8565b83830151845192835260208301528584013560408301526001600160a01b0390811691908516907fc9f4d19c8ac046a3a12343782e2e80055bdc4bac7ae4b036a6f0ac1078a1c85790606090a35f612c3b565b6001906001600160a01b038916612cdd6112df806040611873868b611582565b14612e63575b886060838060a01b038216612d026112df6112df84611873888d611582565b14612d10575b505001612c23565b60e0906040612d2c83612d23878c611582565b5101518b611582565b51015180612d3c575b5050612d08565b60808c01612d4a8151611848565b80915260208d0151145f14612e515750612d67818c01518761110c565b905b8b01612d76828251611804565b905280612d84575b80612d35565b612d90908d35906141f2565b612da260408d94939401918251611804565b9052612dae8489611582565b51015190612dcd612dbf838b611582565b51516001600160a01b031690565b91612de6612ddf83611a7f848c611582565b9189611582565b528015612d7e5780612e1a7f5dbb2734760ca87f88f85ddae0e69ff340c5ac48e4315b17e8a9b24c75251c4d92848661255f565b612e24858a611582565b515192612e46604051928392898060a01b031696898060a01b03169583612bb1565b0390a3885f80612d7e565b8b51612e5d918861416c565b90612d69565b60c0612e6f8287611582565b51015180612e7e575b50612ce3565b6080890190612e8d8251611848565b809252602091828b0151145f14612f6e5750612ead60608a01518561110c565b60608a01612ebc828251611804565b905280612eca575b50612e78565b612ed6908c35906141f2565b612ee860408c94939401918251611804565b90528115612ec457612f0882612f0283611873878c611582565b8d61255f565b7f3e41ecc1db67fa019fbdb227cfb7872d3b8b4c2aefa07717335ec5100111ce47612f338489611582565b515191612f4a868060a01b0391611873878c611582565b16928c612f64604051928392898060a01b03169583612bb1565b0390a35f80612ec4565b8951612f7a918661416c565b612ead565b5050505050505050565b50602086015115612c1d565b60019060406001600160a01b038a16612fb66112df8084611873878c611582565b1461302a575b828060a01b038a16612fd96112df6112df6060611873878c611582565b14612fe6575b5001612c0b565b612ffe60e0612ff58489611582565b51015188611582565b5101518015612fdf57613012908951611804565b8852602088016130228151611848565b90525f612fdf565b60c06130368388611582565b51015180613045575b50612fbc565b613050908a51611804565b8952602089016130608151611848565b90525f61303f565b6040516370a0823160e01b81523060048201526020816024816001600160a01b038a165afa9081156116b2575f916130a2575b5093612bfa565b6130bb915060203d602011611a2357611a14818361039a565b5f61309b565b156130c857565b60405162461bcd60e51b815260206004820152600e60248201526d0deeedccae440dad2e6dac2e8c6d60931b6044820152606490fd5b9161323d613277916132636103c89661315b61314b61312e6060988a519661314061313361312e8835848661338e565b610db8565b6001600160a01b03168952565b60208601359161338e565b6001600160a01b03166020850152565b613178613169878301610db8565b6001600160a01b031684880152565b6080810135608084015260a081013560a084015261325061319b60c08301614211565b63ffffffff1660c085019081529160e081013560e08601526132296131c260408301610db8565b6001600160a01b031660408701908152916131ea6131e4610160830183614222565b906145f0565b6101408801526132226101009161321461320684830135614652565b9015156101208d0152949091565b8a0152610180810190611ec4565b9188614275565b91519196879391926001600160a01b031690565b6001600160a01b038481169116146130c1565b6020890151925163ffffffff169261444b565b6001600160a01b03821660408601526144ad565b6001600160a01b0316910152565b1561328c57565b60405162461bcd60e51b815260206004820152600d60248201526c1bdc99195c88195e1c1a5c9959609a1b6044820152606490fd5b156132c857565b60405162461bcd60e51b815260206004820152600f60248201526e073616d6520746f6b656e207377617608c1b6044820152606490fd5b1561330657565b60405162461bcd60e51b81526020600482015260146024820152731e995c9bc8199c9bdb551bdad95b905b5bdd5b9d60621b6044820152606490fd5b1561334957565b60405162461bcd60e51b815260206004820152601960248201527f696e76616c6964207468726573686f6c642070657263656e74000000000000006044820152606490fd5b919081101561112a5760051b0190565b156133a557565b60405162461bcd60e51b81526020600482015260136024820152727a65726f20636c656172696e6720707269636560681b6044820152606490fd5b156133e757565b60405162461bcd60e51b815260206004820152601960248201527f6c696d6974207072696365206e6f7420726573706563746564000000000000006044820152606490fd5b6135036020959360a06134fb6134df6103c89661346261345360c089015163ffffffff1690565b63ffffffff4291161015613285565b86516134a19061347a906001600160a01b03166112df565b888d0151613492906112df906001600160a01b031681565b90600180881b031614156132c1565b60808701946134b2865115156132ff565b6134c7633b9aca006101408d01351115613342565b6134d38b35828461338e565b359b8c9b01359161338e565b359788938115158061350a575b6134f59061339e565b51610f51565b930151610f51565b11156133e0565b508415156134ec565b1561351a57565b60405162461bcd60e51b815260206004820152601960248201527f746f6f206d616e7920636f6d6d697373696f6e20696e666f73000000000000006044820152606490fd5b1561356657565b60405162461bcd60e51b815260206004820152601c60248201527f696e76616c696420636f6d6d697373696f6e20646972656374696f6e000000006044820152606490fd5b156135b257565b60405162461bcd60e51b81526020600482015260126024820152711e995c9bc8199959481c9958da5c1a595b9d60721b6044820152606490fd5b156135f357565b60405162461bcd60e51b815260206004820152601b60248201527f636f6d6d697373696f6e2070657263656e7420746f6f206869676800000000006044820152606490fd5b1561363f57565b60405162461bcd60e51b815260206004820152601b60248201527f6d6978656420636f6d6d697373696f6e20646972656374696f6e7300000000006044820152606490fd5b1561368b57565b60405162461bcd60e51b81526020600482015260116024820152706d69786564206973546f4220666c61677360781b6044820152606490fd5b156136cb57565b60405162461bcd60e51b815260206004820152601060248201526f3d32b9379039b7b63b32b91030b2323960811b6044820152606490fd5b1561370a57565b60405162461bcd60e51b815260206004820152602660248201527f736f6c7665722f726566657272616c2066656520646972656374696f6e206d696044820152650e6dac2e8c6d60d31b6064820152608490fd5b1561376557565b60405162461bcd60e51b815260206004820152601060248201526f66656573206578636565642066726f6d60801b6044820152606490fd5b90916137a7612026565b906137b6600384511115613513565b5f925f955f955f905f985f5b8551811015613918576137e26137d88288611582565b51998a5190611804565b60408a01519099600160fd1b82161591600160fe1b8116151591600160ff1b90911615801591908280613911575b15806138f9575b613821915061355f565b80516138db575b51918215159081613892575b50906001949392918161388a575b50613850575b5050016137c2565b61385a908a6144c8565b90613866828c51611804565b8b52613873575b80613848565b61388260208b01918251611804565b90525f61386d565b90505f613842565b829891986138d2575b6138c9575b836138b9575090600193929184975b9091929394613834565b969d50906001939291849e6138af565b60019d506138a0565b6001965061389b565b60208101516138f4906001600160a01b031615156135ab565b613828565b50829061390a575b61382190613817565b5082613901565b5083613810565b5092979093506103c89661395b836139be9497989b61393d6301c9c3808511156135ec565b8680613add575b61394e9015613638565b81613ad5575b5015613684565b61396b604096878c019015159052565b84359384151592839283613ac2575b8c85613ab0575b6060613991910195869015159052565b8380613a9d575b8d85613a8b575b60806139af910195869015159052565b613a13575b5050505051151590565b6139cf575b5050508351111561375e565b6139d990846144c8565b916139e5838851611804565b87520135600160fd1b16156139fc575b80806139c3565b613a0b60208601918251611804565b90525f6139f5565b613a326001600160a01b03613a2a60208b01610db8565b1615156136c4565b613a3d575b806139b4565b613a559282613a79575b8215613a5d575b5050613703565b5f8080613a37565b90915081613a6e575b505f80613a4e565b51151590505f613a66565b9150613a858451151590565b91613a47565b898b0135600160ff1b1615955061399f565b888a0135600160fe1b1615159450613998565b888a0135600160fe1b16159550613981565b87890135600160ff1b161515945061397a565b90505f613954565b5084613944565b634e487b7160e01b5f52601260045260245ffd5b9190613b0582828561416c565b928215613b225709613b145790565b600181018091116107785790565b613ae4565b15613b2e57565b60405162461bcd60e51b815260206004820152600e60248201526d666565732065786365656420746f60901b6044820152606490fd5b5f949091855b8351871015613bda57600160fe1b6040613b848987611582565b51015116158015613bc7575b613bbe57613ba9613ba18886611582565b5151866144c8565b810180911161077857600190965b0195613b6a565b95600190613bb7565b50613bd28785611582565b515115613b90565b9550915092613bf1575b506103c890831115613b27565b6103c89193613c04613c0a9235866144c8565b90611804565b9290613be4565b80516101408101519051929693956001600160a01b039384169594919286929091905f5b8551811015613d955760019085898b898f898d6040928960ff1b84613c5a8b88611582565b51015116158015613d82575b613d7557613c8090613c788a87611582565b5151906144c8565b947f02b4603e6be0c4002f11c4445116c51a20adeecb33e1434306ec55378f75a0996020809401519286613ce58c8a89613cd4613ccb84613cc58d611873838b611582565b97611582565b5151938d611582565b510151918a51958695169885612674565b0390a38315613d6a57868b613cfc848d0151151590565b15613d3a5750613d349691611873613d149286611582565b91613d2b88613d238187611582565b515195611582565b51015194614530565b01613c35565b9290920151613d65969495506001600160a01b03169392613d5e9261187391611582565b918d6144e7565b613d34565b505050505050613d34565b5050505050505050613d34565b50613d8d8986611582565b515115613c66565b5098949197969593506060613dab910151151590565b613db85750505050505050565b613dc4863580956144c8565b946020880151907fc6d99ee7574d9d88cc700f01e1ecbcc9cfed97d50310b48abc3a6dfde3ae2dc060208901936040613dfc86610db8565b9a013599613e148b8b8b604051958695169885612674565b0390a38415611b3d57600160fd1b861615613e3d57611b599650613e3790610db8565b91614530565b919394509150613e62613e5c6040613e6897015160018060a01b031690565b91610db8565b926144e7565b611b59565b80516101408101516020918201516001600160a01b03989196939590891694859290915f5b8951811015613f84576001908a8a888f888a9160408860fe1b81613eb68a8a611582565b51015116158015613f71575b613f6557613f33613f0a86613efc7f02b4603e6be0c4002f11c4445116c51a20adeecb33e1434306ec55378f75a09996613c788d8d611582565b980151966118738b8b611582565b9187613f168b8b611582565b515182613f238d8d611582565b5101519251958695169885612674565b0390a38a838a8315613f5b57611873613f4f92613f5596611582565b8b614071565b01613e92565b5050505050613f55565b50505050505050613f55565b50613f7c8888611582565b515115613ec2565b5094959697509890919297613f9d575050505050505050565b7fc6d99ee7574d9d88cc700f01e1ecbcc9cfed97d50310b48abc3a6dfde3ae2dc091613ff389613fcf873580946144c8565b9901519986019989613fe08c610db8565b9360408051968796169901359285612674565b0390a382614005575b80808080612f7f565b61401161401794610db8565b90614071565b5f808080613ffc565b90926124b0936040519361403385610349565b6001600160a01b0391821685521660208401526040830152805160809091018051929061405f84611848565b905261406b8383611582565b52611582565b90926124b0936040519361408485610349565b60018060a01b038092168552166020840152604083015260a0602082015191019182519261405f84611848565b8115613b22570490565b156140c257565b60405162461bcd60e51b81526020600482015260156024820152744d6174683a206d756c446976206f766572666c6f7760581b6044820152606490fd5b5f198282098282029182808310920391808303921461415f577f88f2cfb83100cb4e69e7c79c58b316e597157d372fb9787e8e47ce423a2e9c6d93633b9aca009161414b8484116140bb565b0990828211900360f71b910360091c170290565b5050633b9aca0091500490565b90915f1983830992808302928380861095039480860395146141e5579082916141968684116140bb565b0960018219018216809204600280826003021880830282030280830282030280830282030280830282030280830282030280920290030293600183805f03040190848311900302920304170290565b50509061045592506140b1565b90614202633b9aca009183610f51565b04908181039081116107785791565b3563ffffffff8116810361013f5790565b903590601e198136030182121561013f57018035906001600160401b03821161013f5760200191606082023603831361013f57565b6004111561426157565b634e487b7160e01b5f52602160045260245ffd5b9160426142fb939594929561428861100d565b815190919061429f906001600160a01b03166112df565b60208201519091906143be906142bd906001600160a01b03166112df565b604083015161116d906001600160a01b031660608501519094906001600160a01b031690608081015160a082015160c083019d8e5163ffffffff1690565b60e0840151916101008501519361432461014061431c610120890151151590565b970151614962565b966040519b8c9a60208c019e8f80999795939c9b9a989694919c61018082019d7fc70e289c8e7a87f3aeb5bfa5b860828276fa66d7f73bc34926b2e0383bfab5748352600160a01b600190039485938480931690602001521660408c01521660608a015216608088015260a087015260c086015263ffffffff1660e085015261010084015261012083015215156101408201526101600152565b5190206040519183830160405261190160f01b83526002830152602282015220946143e881614257565b806143f95750610455925084614ae4565b61440281614257565b6001810361441657506104559250846148eb565b80614422600292614257565b036144325761045592508461484c565b90614444610455935163ffffffff1690565b9185614715565b909291603882510361446857602092603883015260348201520152565b60405162461bcd60e51b815260206004820152601a60248201527f4f726465723a2075696420627566666572206f766572666c6f770000000000006044820152606490fd5b606001516001600160a01b0316806144c3575090565b905090565b81156144e157633b9aca00916144dd91610f51565b0490565b50505f90565b916124b0949193604051946144fb86610364565b60018060a01b0392838092168752166020860152166040840152606083015260c0604082015191019182519261405f84611848565b926124b09592949160405195614545876102fa565b60018060a01b03809216875216602086015260408501526060840152608083015260e0606082015191019182519261405f84611848565b9081602091031261013f57516104558161090b565b1561459857565b60405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608490fd5b916145fe6003831115613513565b6040519160209360208260071b8501016040528184526005908260051b8501915f5b848110614631575050505050909150565b60019060608082028a8188010190818c85881b8d0101528601903701614620565b600181166146d7577f39124995febcd74fadbdf9bbad44826dab79bc9478b4965fd0d2381c0d649b2c9160028216614692575f9160051c61045581614257565b60405162461bcd60e51b815260206004820152601a60248201527f7061727469616c2066696c6c206e6f7420737570706f727465640000000000006044820152606490fd5b60405162461bcd60e51b81526020600482015260166024820152751bdb9b1e48195e1858dd125b881cdd5c1c1bdc9d195960521b6044820152606490fd5b92939291601319016147a2577f26cef0249cc767b3c21945b2779e1c35f139ab0e0f59dec08842c20f717c448a9161088b61475f923560601c9586614758610f64565b938461444b565b540361476757565b60405162461bcd60e51b81526020600482015260136024820152721bdc99195c881b9bdd081c1c995cda59db9959606a1b6044820152606490fd5b60405162461bcd60e51b81526020600482015260166024820152756d616c666f726d6564207072657369676e617475726560501b6044820152606490fd5b9081602091031261013f57516001600160e01b03198116810361013f5790565b1561480757565b60405162461bcd60e51b815260206004820152601960248201527f696e76616c69642065697031323731207369676e6174757265000000000000006044820152606490fd5b813560601c9392916014831061013f57614895926020916040519485928392630b135d3f60e11b9687855260048501526040602485015260146044850192601319019101610b5b565b0381875afa80156116b2576103c8925f916148bc575b506001600160e01b03191614614800565b6148de915060203d6020116148e4575b6148d6818361039a565b8101906147e0565b5f6148ab565b503d6148cc565b90610455929160405160208101917f19457468657265756d205369676e6564204d6573736167653a0a3332000000008352603c820152603c815261492e81610349565b519020614ae4565b80516020809201915f5b82811061494e575050505090565b835185529381019392810192600101614940565b80519161496e8361138e565b9061498a604094614982604051948561039a565b80845261138e565b92602091601f198095013660208601375f5b8251811015614a1e57806149b260019285611582565b5180519089848060a01b0388830151169101518a5191888301937f383c49be8b10b90a55f1289bd1243f7250baff231facaad7e486d2391903bf5a85528c8401526060830152608090818301528152614a0a816102fa565b519020614a178288611582565b520161499c565b509450505090614a466040519182614a3a602082018096614936565b0390810183528261039a565b51902090565b15614a5357565b60405162461bcd60e51b815260206004820152601960248201527f696e76616c6964207369676e617475726520732076616c7565000000000000006044820152606490fd5b15614a9f57565b60405162461bcd60e51b815260206004820152601760248201527f696e76616c6964206563647361207369676e61747572650000000000000000006044820152606490fd5b9091604103614b7b57815f91614b56602080950135614b257f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0821115614a4c565b6040519384936040823592013560f81c90859094939260ff6060936080840197845216602083015260408201520152565b838052039060015afa156116b2575f51906103c86001600160a01b0383161515614a98565b60405162461bcd60e51b815260206004820152601960248201527f6d616c666f726d6564206563647361207369676e6174757265000000000000006044820152606490fd5b91929015614c225750815115614bd4575090565b3b15614bdd5790565b60405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606490fd5b825190915015614c355750805190602001fd5b60405162461bcd60e51b8152908190612294906004830161055956fea264697066735822122024ace53c249472874991aa562d0a7cb021bc95c24e340c16e6d7a8ccbd5eb51d64736f6c63430008180033","sourceMap":"714:36129:7:-:0;;;;;;;;;-1:-1:-1;714:36129:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;-1:-1:-1;;;;;714:36129:7;;;;;:::o;:::-;;;;;;;;;;-1:-1:-1;;714:36129:7;;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;714:36129:7;4220:7;714:36129;;;;;-1:-1:-1;714:36129:7;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;-1:-1:-1;;714:36129:7;;;;;;1374:42;-1:-1:-1;;;;;714:36129:7;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;714:36129:7;;;;;;;;;;;;;;;:::o;:::-;;;;;;-1:-1:-1;;714:36129:7;;;;;;-1:-1:-1;;;;;714:36129:7;;;;;;;;;;;:::i;:::-;7064:32;;;;;:::i;:::-;-1:-1:-1;;;;;;714:36129:7;;7128:10;-1:-1:-1;7128:10:7;7114:24;;714:36129;;7235:38;714:36129;7178:42;714:36129;;;;;;;;;;;;;;;;;;7203:17;;714:36129;;;7178:42;7235:38;714:36129;;7235:38;;;;;:::i;:::-;;;;714:36129;;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;714:36129:7;;;;;;;:::o;:::-;;:::i;:::-;;;;;;;-1:-1:-1;;;;;714:36129:7;;;;;;;:::o;:::-;-1:-1:-1;;;;;714:36129:7;;;;;;:::o;:::-;;;;;;;-1:-1:-1;;;;;714:36129:7;;;;;;;:::o;:::-;517:1:11;714:36129:7;;;;;-1:-1:-1;;;;;714:36129:7;;;;;;;:::o;:::-;;;;;;;-1:-1:-1;;;;;714:36129:7;;;;;;;:::o;:::-;;;;;;;;;;;;;-1:-1:-1;;;;;714:36129:7;;;;;;;:::o;:::-;;;;;;;:::i;:::-;:::o;:::-;-1:-1:-1;;;;;714:36129:7;;;;;;-1:-1:-1;;714:36129:7;;;;:::o;:::-;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;-1:-1:-1;714:36129:7;;;;;;;;;;;;;;:::o;:::-;;-1:-1:-1;;714:36129:7;;;;;;;;-1:-1:-1;;;;;714:36129:7;;;;;;;;;:::i;:::-;;:::o;:::-;;;;;;;;-1:-1:-1;;714:36129:7;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;:::i;:::-;;;-1:-1:-1;714:36129:7;;;;;;;:::o;:::-;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;714:36129:7;;;;;;;;;;:::i;:::-;;;;;-1:-1:-1;;;;;714:36129:7;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;:::i;:::-;;;-1:-1:-1;;714:36129:7;;;;:::o;:::-;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;714:36129:7;;;;:::i;:::-;3936:44:19;;;;;;;;;;;:::i;:::-;714:36129:7;4001:35:19;;714:36129:7;;4001:35:19;;3936:44;714:36129:7;4001:35:19;;;714:36129:7;;;;;;;;;:::i;:::-;;;;;;;;3936:44:19;714:36129:7;;;4001:35:19;714:36129:7;4001:35:19;;;;;;;:::i;:::-;4173:93;;;714:36129:7;;;;;;;;;;;;;-1:-1:-1;;;;;714:36129:7;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;:::o;:::-;;;;;;;;;;;:::o;:::-;;;;;;-1:-1:-1;;714:36129:7;;;;-1:-1:-1;;;;;714:36129:7;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;4881:2082;714:36129;;;;;;:::i;:::-;;;;;:::i;:::-;;;;4881:2082;:::i;714:36129::-;;;;;;-1:-1:-1;;714:36129:7;;;;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;-1:-1:-1;;714:36129:7;;;;;;;;;;;;;;;;;;;;;;;;1728:22:19;;;:::i;:::-;1765:17;-1:-1:-1;1784:14:19;;;;;;714:36129:7;;;;;;;:::i;1800:7:19:-;1883:165;;;;;;;;;;;;714:36129:7;;1765:17:19;;714:36129:7;;:::i;:::-;;;;;;-1:-1:-1;;714:36129:7;;;;1063:62:0;;:::i;:::-;2518:6;714:36129:7;;-1:-1:-1;;;;;;714:36129:7;;;;;;;-1:-1:-1;;;;;714:36129:7;2566:40:0;714:36129:7;;2566:40:0;714:36129:7;;;;;;;-1:-1:-1;;714:36129:7;;;;1273:6:0;714:36129:7;;;-1:-1:-1;;;;;714:36129:7;;;;;;;;;;;;;;-1:-1:-1;;714:36129:7;;;;4736:21;714:36129;;;;;;:::i;:::-;1063:62:0;;:::i;:::-;-1:-1:-1;;;;;714:36129:7;4643:45;4651:20;;;4643:45;:::i;:::-;714:36129;-1:-1:-1;714:36129:7;4698:7;714:36129;;;-1:-1:-1;714:36129:7;;;;;;;;;;;;;4736:21;714:36129;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;-1:-1:-1;;714:36129:7;;;;4477:19;714:36129;;;;;;:::i;:::-;1063:62:0;;:::i;:::-;-1:-1:-1;;;;;714:36129:7;4385:45;4393:20;;;4385:45;:::i;:::-;714:36129;-1:-1:-1;714:36129:7;4440:7;714:36129;;;-1:-1:-1;714:36129:7;4458:4;714:36129;;;;;;;;;;;;;4477:19;714:36129;;;;;;;;:::o;:::-;;;;;;-1:-1:-1;;714:36129:7;;;;;;-1:-1:-1;;;;;714:36129:7;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;3492:32:18;;;;:::i;:::-;-1:-1:-1;;;;;;714:36129:7;;3551:10:18;-1:-1:-1;3551:10:18;3542:19;;714:36129:7;;3739:37:18;3596:129;3739:37;3596:129;;;;;3622:35;714:36129:7;;;;:::i;:::-;1328:35:18;714:36129:7;;;3622:35:18;714:36129:7;;3739:37:18;;;;;:::i;3596:129::-;3713:1;714:36129:7;;;;:::i;:::-;;3596:129:18;;714:36129:7;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;;;-1:-1:-1;;714:36129:7;;;;;;;;;:::i;:::-;1063:62:0;;:::i;:::-;-1:-1:-1;;;;;714:36129:7;;;;2162:22:0;;714:36129:7;;2518:6:0;714:36129:7;;;;;;;;2518:6:0;714:36129:7;;2566:40:0;-1:-1:-1;2566:40:0;;714:36129:7;;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;;;;;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;;;-1:-1:-1;;714:36129:7;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;:::i;:::-;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;3713:1:18;714:36129:7;;;;;;;:::o;:::-;;;;;;;;;;;;;-1:-1:-1;714:36129:7;;;;;;;;-1:-1:-1;;714:36129:7;;;;:::o;:::-;;;;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;-1:-1:-1;714:36129:7;;;;:::o;:::-;;;:::o;2372:445:17:-;;;;;;1906:1;2485:7;714:36129:7;2485:19:17;1906:1;;;2485:7;714:36129:7;3921:10;-1:-1:-1;714:36129:7;3913:7;714:36129;;;;-1:-1:-1;714:36129:7;;;;;;6315:6;5688:52;714:36129;;6900:7;714:36129;6777:15;714:36129;6777:15;714:36129;6613:83;714:36129;5571:15;714:36129;5571:15;714:36129;;;5210:72;5247:3;5218:32;;;5210:72;:::i;:::-;5300:30;:75;;;;2372:445:17;5292:109:7;;;:::i;:::-;5411:80;5419:38;;;5411:80;:::i;:::-;5571:15;:::i;:::-;;;:::i;:::-;5688:52;:::i;:::-;5840:31;5873:18;714:36129;5840:31;;;5873:18;;;;:::i;:::-;6003:31;714:36129;6003:31;;;;:::i;:::-;6115:15;;;;:::i;:::-;6275:19;;;;6296:17;6275:19;;6296:17;;;;;6315:6;;:::i;:::-;6422:19;;;;:::i;:::-;6641;;6662:17;;6613:83;;:::i;:::-;6777:15;;:::i;:::-;6860:17;6879:19;;6900:7;;:::i;:::-;3921:10;6924:32;-1:-1:-1;6924:32:7;;2788:22:17;2485:7;714:36129:7;;;5300:75;-1:-1:-1;5292:109:7;-1:-1:-1;;;;;5334:27:7;714:36129;5334:27;;;:::i;:::-;714:36129;5334:41;;5300:75;;;;714:36129;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;;-1:-1:-1;;;714:36129:7;;;;;;;1906:1:17;714:36129:7;;-1:-1:-1;;;1906:1:17;;;;;;;;;;;714:36129:7;1906:1:17;714:36129:7;;;1906:1:17;;;;714:36129:7;;;;:::o;:::-;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;:::o;:::-;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;714:36129:7;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;714:36129:7;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;714:36129:7;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;23297:1;714:36129;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;:::i;:::-;3883:2:13;714:36129:7;;;;;;;;:::o;:::-;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;;;:::i;:::-;;;;;;;;:::o;:::-;;;;:::o;:::-;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;;-1:-1:-1;;;714:36129:7;;;;;;;1320:44:18;;;;;;;;;;;;;;;;;:::i;:::-;714:36129:7;;;1320:44:18;;714:36129:7;1320:44:18:o;2719:221::-;2807:15;2790:13;:32;2786:93;;714:36129:7;;3054:81:18;;;714:36129:7;818:95:18;714:36129:7;;1037:28:18;714:36129:7;1195:19:18;;714:36129:7;1195:19:18;;;;714:36129:7;2790:13:18;1195:19;;;714:36129:7;3129:4:18;1195:19;;;714:36129:7;1195:19:18;3054:81;;1195:19;714:36129:7;;;;;-1:-1:-1;;;;;714:36129:7;;;;;;;;3044:92:18;;2719:221;:::o;2786:93::-;2845:23;2838:30;:::o;714:36129:7:-;-1:-1:-1;;714:36129:7;;;;;;;;:::o;:::-;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;:::o;:::-;;:::i;2524:644:19:-;-1:-1:-1;2524:644:19;;714:36129:7;2714:99:19;2524:644;;714:36129:7;;2714:99:19;;;;;;714:36129:7;;;;2714:99:19;;714:36129:7;;;;;;2714:99:19;;;714:36129:7;;;;;;;;;;;:::i;:::-;2714:99:19;714:36129:7;;2714:99:19;;;;;;:::i;:::-;2897:29;2905:4;;;2897:29;;;;;:::i;:::-;714:36129:7;;;;;;2956:29:19;;2965:19;714:36129:7;;2965:19:19;:::i;:::-;2956:29;;:::i;:::-;714:36129:7;-1:-1:-1;;;;;;714:36129:7;;;2956:29:19;714:36129:7;2956:37:19;3023:19;714:36129:7;;3023:19:19;:::i;:::-;566:42:16;;3053:109:19;;;3085:15;:::o;3053:109::-;3142:8;:::i;9965:599:13:-;;3883:2;10142:29;3883:2;;10324:234;;;;;;;;;;;;;;;9965:599;:::o;3883:2::-;714:36129:7;;-1:-1:-1;;;3883:2:13;;;;;;;;;;;714:36129:7;-1:-1:-1;;;714:36129:7;;;3883:2:13;;;;4050:222:19;4173:93;;;;;;714:36129:7;;;;:::o;:::-;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;;-1:-1:-1;;;714:36129:7;;;;;;;35432:421;;-1:-1:-1;;;;;35673:17:7;714:36129;;;35542:1;35545:23;;;;;;35432:421;;;;;:::o;35570:3::-;714:36129;;;;;;;;;;;;;;;;;;;;;;35652:64;35660:9;:30;:9;;;:::i;:::-;-1:-1:-1;;;;;714:36129:7;;;35660:30;;;35652:64;:::i;:::-;35753:2;;;:::i;:::-;35775:61;35787:9;;;;:::i;:::-;35775:61;35808:27;;;:::i;:::-;35798:8;714:36129;;;;;;35798:8;;714:36129;35775:61;714:36129;;;;;;;;;;;;;;;;;;;35775:61;;;;714:36129;35530:13;;714:36129;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;-1:-1:-1;;;;;714:36129:7;;;;;;;;;:::o;:::-;;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;;;;;:::i;:::-;;;-1:-1:-1;714:36129:7;;;;;;;;;;:::o;:::-;;;;;;;;:::i;:::-;;;;;-1:-1:-1;714:36129:7;;;;;;;;;;;;;;;-1:-1:-1;714:36129:7;;;;-1:-1:-1;714:36129:7;;;;-1:-1:-1;714:36129:7;;;;-1:-1:-1;714:36129:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;:::o;:::-;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;;;;;;;;;;8570:1224;;;;;;;;;714:36129;;:::i;:::-;8883:23;;;;:::i;:::-;8936:34;;;;:::i;:::-;8916:17;;;:54;;;9011:24;;:::i;:::-;9046:28;9073:1;9089:13;;9073:1;9084:316;9104:5;;;;;;9446:19;;;;;;;;;;;;8916:17;9467:15;;714:36129;19656:72;;9410:73;;9138:29;9530:20;;;9552:16;;;714:36129;19656:72;;9493:19;;;:76;9631:24;;;;9657:20;;;714:36129;19656:72;;9138:29;9579:31;;:99;9766:20;9493:19;9740:24;;;9766:20;;714:36129;19656:72;;9631:24;9688:31;;:99;8570:1224::o;9111:3::-;9325:1;9138:29;;714:36129;9138:29;;;;;9279:9;9138:29;;;;;9130:91;9138:29;:9;;;;;;;:::i;:::-;:29;714:36129;9138:49;;9130:91;:::i;:::-;9279:9;:::i;:::-;9306:17;;;9325:1;;:::i;:::-;9360:9;;;;;:::i;:::-;:29;714:36129;9111:3;714:36129;9089:13;;;;;714:36129;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;20561:957;20780:17;-1:-1:-1;;;;;714:36129:7;;20877:1;20909:3;714:36129;;20880:27;;;;;20979:19;;;;:::i;:::-;;21016:8;;;;714:36129;;;21016:13;21012:27;;21074:7;;;714:36129;;21114:16;;714:36129;;21074:7;;-1:-1:-1;;;;;714:36129:7;21074:7;:::i;714:36129::-;21074:7;:::i;:::-;714:36129;-1:-1:-1;;;;;714:36129:7;;;21114:16;714:36129;;-1:-1:-1;;;;;714:36129:7;21141:11;;;;714:36129;21141:11;;;-1:-1:-1;;;;;714:36129:7;;;21096:67;;;;;;714:36129;-1:-1:-1;;;21096:67:7;;-1:-1:-1;;;;;714:36129:7;;;21096:67;;;714:36129;;;;;;;;;;;;;;;;;;;;-1:-1:-1;714:36129:7;;;-1:-1:-1;21096:67:7;;;;;;;;714:36129;21096:67;;;20909:3;;20865:13;714:36129;20865:13;;21096:67;;;;;;:::i;:::-;;;:::i;:::-;;;;;;:::i;21012:27::-;21031:8;714:36129;21031:8;;;;20880:27;;;;;20877:1;21271:3;714:36129;;21247:22;;;;;21318:14;;;;:::i;:::-;;21141:11;;21350:8;;;714:36129;;;21350:13;21346:27;;714:36129;21448:16;714:36129;21074:7;21408;;;714:36129;;;;;;;;;;;21448:16;714:36129;;-1:-1:-1;;;;;714:36129:7;;;;;;21430:71;;;;;;714:36129;;-1:-1:-1;;;21430:71:7;;-1:-1:-1;;;;;714:36129:7;;;21096:67;21430:71;;714:36129;;;;;;;21485:4;714:36129;;;;;;;;;;;-1:-1:-1;714:36129:7;;;-1:-1:-1;21430:71:7;;;;;;;;714:36129;21430:71;;;21271:3;;21232:13;714:36129;21232:13;;21430:71;;;;;;:::i;:::-;;;;21346:27;21365:8;;714:36129;21365:8;;;;21247:22;;;;;20561:957::o;21575:400::-;;21697:1;21722:3;714:36129;;21700:20;;;;;21792:12;;714:36129;21792:12;;;:::i;:::-;;21822:8;;;714:36129;;;21822:13;21818:27;;21949:8;714:36129;;;;;;21880:7;714:36129;;;;21880:7;:::i;:::-;21936:11;714:36129;;;;21936:11;;714:36129;;;;21949:8;;:::i;:::-;714:36129;21685:13;;21818:27;21837:8;;;;21700:20;;;;21575:400::o;714:36129::-;;29350:1;714:36129;;;;;;;:::o;:::-;;;;;;;;;;:::o;566:42:16:-;;;;;;;;;;;:::o;:::-;;714:36129:7;;;:::i;:::-;;;;;;;:::i;:::-;;;;566:42:16;714:36129:7;566:42:16;714:36129:7;;566:42:16;;:::i;:::-;-1:-1:-1;;566:42:16;;;;;;;:::o;28857:2527:7:-;;;;714:36129;;29097:6;;;29093:19;;29242:28;:13;:28;;:13;;;:::i;:::-;;:28;714:36129;-1:-1:-1;;;;;714:36129:7;;;29242:28;29304:21;:13;:21;:13;;;:::i;:::-;;:21;714:36129;29335:16;29350:1;29361:212;;29368:8;;;;;;:75;;29361:212;29368:75;;;;;29459:41;29350:1;29476:16;;;;;;:::i;:::-;;:24;714:36129;29459:41;;:::i;:::-;714:36129;;29361:212;;;29368:75;;;;;;;;;;;;29586:9;;;29582:376;;29992:12;:8;;;;:::i;:::-;:12;:::i;:::-;30044:27;30152;30114:28;30044:27;;;:::i;:::-;30114:28;;:::i;:::-;30152:27;;;;:::i;:::-;-1:-1:-1;;;;;714:36129:7;;;566:42:16;;;30152:27:7;30189:32;;;:::i;:::-;566:42:16;29350:1:7;30376:16;30394:5;;;;;;;30950:13;;;;;29102:1;30965:14;;;;;;28857:2527;;;;;;;;:::o;30981:3::-;31015:14;;;;;:::i;:::-;31062:16;;;;;:::i;:::-;714:36129;-1:-1:-1;;;;;714:36129:7;;;566:42:16;31122:45:7;;566:42:16;;29350:1:7;31170:21;;;31122:102;;31242:14;;;31238:130;;31122:102;30981:3;;;714:36129;30950:13;;31238:130;31338:14;;;;;:::i;:::-;;;;;;;:::i;:::-;31238:130;;;;;31122:102;714:36129;;-1:-1:-1;;;31194:30:7;;31218:4;31194:30;;;714:36129;31194:30;;;;714:36129;;;;;;31194:30;;;;;;;29350:1;31194:30;29102:1;31194:30;;;31122:102;;;;;;31194:30;;;;;;-1:-1:-1;31194:30:7;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;;30401:3;30435:13;;;:28;:13;;:::i;:28::-;30477:31;;;;-1:-1:-1;;;;;714:36129:7;;29102:1;714:36129;30477:31;30542:14;;;;;30522:202;30741:24;;;;;;30737:124;;30522:202;30903:13;;30874:50;;30903:13;;;29350:1;30903:13;;;:::i;:::-;;:21;714:36129;30874:50;;;;:::i;:::-;714:36129;30874:50;:::i;:::-;;;;:::i;:::-;566:42:16;714:36129:7;30376:16;;30737:124;30785:31;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;714:36129:7;;;566:42:16;;30834:12:7;;;:::i;:::-;30737:124;;;;;;;30558:3;30593:14;30585:41;:23;30593:14;;;;;;;;;:::i;30585:41::-;;30581:129;;30558:3;29350:1;714:36129;30527:13;;;;;;;;30581:129;30650:14;;;;;30686:5;;;;;;29582:376;-1:-1:-1;714:36129:7;;;;-1:-1:-1;714:36129:7;;;;;;-1:-1:-1;;;;;;;714:36129:7;;566:42:16;29625:50:7;;566:42:16;;29694:21:7;;29625:144;;29787:19;;;29783:145;;29625:144;29941:7;;;;;;;:::o;29783:145::-;29893:19;;;;;:::i;:::-;;;:::i;:::-;29783:145;;;;;;;;;29625:144;714:36129;;-1:-1:-1;;;29734:35:7;;29763:4;29734:35;;;714:36129;;29734:35;;714:36129;;;;;;29734:35;;;;;;;29102:1;29734:35;;;29625:144;;;;;29734:35;;;;;;;;;;;;;;:::i;:::-;;;;29368:75;29380:40;29388:16;;;;:31;:16;;;:::i;29380:40::-;-1:-1:-1;;;;;714:36129:7;;;;;29380:63;29368:75;;;;29093:19;29105:7;;;;;;:::o;22021:307::-;;22118:1;22143:3;714:36129;;22121:20;;;;;22190:12;;714:36129;22190:12;;;:::i;:::-;;22220:8;;;714:36129;22220:13;;22216:27;;22302:8;714:36129;;;;;;22282:7;;;;714:36129;;;;;22302:8;;:::i;:::-;714:36129;22106:13;;22216:27;22235:8;;;;22585:1435;;;;22855:34;714:36129;;22855:34;:::i;:::-;714:36129;;;;;;22942:24;:34;;;;22585:1435;22938:54;;23068:100;;;;;;;;;23280:19;23293:5;;;:::i;:::-;23280:19;:::i;:::-;23309:22;22965:1;23444:13;;22965:1;23459:5;;;;;;23849:13;;22965:1;23864:14;;;;;;22585:1435;;;;;;;;:::o;23880:3::-;23938:13;;24001:1;23938:13;;;;;;;;;;:::i;:::-;24001:1;:::i;:::-;714:36129;23849:13;;23466:3;23502:28;;:13;;;;:::i;:28::-;23548:27;;;:::i;:::-;23544:100;;23466:3;23676:13;:30;;:13;;;;:::i;:30::-;23724:29;;;:::i;:::-;23720:104;;23466:3;;714:36129;23444:13;;;;23720:104;23773:36;23784:12;23773:36;23784:12;;;:::i;:::-;23773:36;;;:::i;:::-;23720:104;;;23544:100;23595:34;23606:12;23595:34;23606:12;;;:::i;23595:34::-;23544:100;;;22938:54;22978:14;;;;:::o;22942:34::-;22970:6;;;22942:34;;714:36129;;;;;;;;;;;;;;;;;;;;:::i;36263:578::-;;;;36462:1;36483:3;714:36129;;36465:16;;;;;36516:8;;;;:::i;:::-;;:20;;714:36129;36578:8;;;;:::i;:::-;;:14;;714:36129;-1:-1:-1;;;;;714:36129:7;36610:25;:8;;;;;;:::i;:::-;;:25;714:36129;-1:-1:-1;;;;;714:36129:7;36653:8;;;;;:::i;:::-;;:23;;714:36129;-1:-1:-1;;;;;714:36129:7;36694:8;;;;:::i;:::-;;:24;;714:36129;36736:17;;;;;;:::i;:::-;;:24;714:36129;36763:12;;;;;:::i;:::-;714:36129;36736:39;;;:::i;:::-;36793:8;;;;;:::i;:::-;;:17;714:36129;;-1:-1:-1;;;;;714:36129:7;;;;;;;;;;;;;;;36555:269;;714:36129;36555:269;:::i;:::-;;;;;714:36129;;36450:13;;1359:130:0;1273:6;714:36129:7;-1:-1:-1;;;;;714:36129:7;734:10:5;1422:23:0;714:36129:7;;1359:130:0:o;714:36129:7:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;714:36129:7;;;;;;;;;;;;;;:::o;414:1070:12:-;-1:-1:-1;538:17:12;414:1070;;714:36129:7;;;;;:::i;:::-;591:20:12;;;;;;:::i;:::-;1042:436;;;;591:20;1042:436;;;;;591:20;1042:436;;;538:17;714:36129:7;1042:436:12;;;;;;414:1070::o;1042:436::-;;-1:-1:-1;1042:436:12;;;-1:-1:-1;1042:436:12;1723:895;;1895:1;1842:20;714:36129:7;1842:20:12;;;;;;:::i;:::-;1876;;;;;1872:740;;1723:895;:::o;1872:740::-;2506:96;;-1:-1:-1;1723:895:12:o;714:36129:7:-;;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;;;;;:::i;:::-;;;-1:-1:-1;714:36129:7;;;;;;;;;;:::o;:::-;;;;;;;;:::i;:::-;-1:-1:-1;714:36129:7;;;-1:-1:-1;714:36129:7;;;;-1:-1:-1;714:36129:7;;;;;;;;;;;;517:1:11;;714:36129:7;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;517:1:11;714:36129:7;517:1:11;714:36129:7;;517:1:11;;:::i;:::-;;;-1:-1:-1;517:1:11;;;;;;;;;;:::o;:::-;;714:36129:7;;;;;;:::i;:::-;-1:-1:-1;517:1:11;;;-1:-1:-1;517:1:11;;;;-1:-1:-1;517:1:11;;;;-1:-1:-1;517:1:11;;;;;;;;;;;;;714:36129:7;;;;;;:::i;:::-;-1:-1:-1;517:1:11;;;;;;;;;;;714:36129:7;517:1:11;;;;;;;;;;:::o;:::-;;714:36129:7;;;:::i;:::-;;;;;;;:::i;:::-;;;;517:1:11;714:36129:7;517:1:11;714:36129:7;;517:1:11;;:::i;:::-;;;-1:-1:-1;517:1:11;;;;;;;;;:::o;:::-;;;;;:::i;:::-;;;;;;;;;;17454:834:7;;714:36129;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;714:36129:7;;;;-1:-1:-1;714:36129:7;;;;-1:-1:-1;714:36129:7;;;;-1:-1:-1;714:36129:7;;;;17526:40;17594:34;;;:::i;:::-;17578:50;;714:36129;;;;;;;;;;;;;;;;;17929:76;;;:::i;:::-;17912:93;;714:36129;;;;;;;;;;;;;18186:95;18048;;18232:48;18048:95;;:::i;:::-;18015:128;;18232:48;:::i;:::-;18186:95;:::i;:::-;18153:128;;17454:834::o;3977:163:18:-;714:36129:7;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;;;;;714:36129:7;;;;;;;-1:-1:-1;714:36129:7;;-1:-1:-1;714:36129:7;;;;-1:-1:-1;714:36129:7;;;;-1:-1:-1;714:36129:7;;;;-1:-1:-1;517:1:11;714:36129:7;;;-1:-1:-1;714:36129:7;;;;-1:-1:-1;714:36129:7;;;;-1:-1:-1;714:36129:7;;;;-1:-1:-1;714:36129:7;;;;-1:-1:-1;714:36129:7;;;;;;;;;;;;;;;;;;-1:-1:-1;714:36129:7;;;;-1:-1:-1;714:36129:7;;;;4103:30:18;;;:::i;714:36129:7:-;;;;:::o;:::-;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;;;;;;;;;;;;;;9886:2691;;;;;;10268:5;9886:2691;;;;;;;10268:5;;:::i;:::-;10393:10;;10378:49;;;;:::i;:::-;10457:10;;;;;:26;;;;714:36129;10627:26;;;;;;;;10655:19;;;10593:93;;;;;:::i;:::-;714:36129;;;10721:30;;;;:::i;:::-;10868:65;;;;;:::i;:::-;11002:10;;;:26;;11060:20;;10457:26;11060:20;;714:36129;;;;;;;;;;;;10976:105;;;;:::i;:::-;11223:9;;;;;;;;:::i;:::-;714:36129;;;11315:20;;;;;;:::i;:::-;11439:9;;;;;;;;714:36129;;;:::i;:::-;;7203:17;11459:64;-1:-1:-1;;11467:34:7;;;11459:64;:::i;:::-;11553:25;;;:::i;:::-;11609:10;;10457:26;11609;714:36129;11596:39;;;11588:64;;;:::i;:::-;11675:9;;714:36129;;;:::i;:::-;;11732:11;;;714:36129;;11745:10;;714:36129;11786:16;;;714:36129;11732:11;;-1:-1:-1;;;;;714:36129:7;;;;;;;11774:28;;;;:::i;:::-;;;;;;:::i;:::-;11839:16;;;714:36129;11890:14;;;714:36129;;;11839:16;-1:-1:-1;;;;;714:36129:7;11906:10;;:25;;714:36129;-1:-1:-1;;;;;714:36129:7;11933:20;;;;:::i;:::-;;;;;:::i;:::-;12064;;;;:::i;:::-;12088:10;;11839:16;12088:24;714:36129;-1:-1:-1;12064:48:7;12056:88;;;:::i;:::-;12247:9;714:36129;11732:11;714:36129;12230:27;;;;;714:36129;;;:::i;:::-;12230:27;714:36129;;12230:27;;;;;;;;:::i;:::-;714:36129;-1:-1:-1;;;;;714:36129:7;12321:10;;714:36129;;12321:10;;;714:36129;;-1:-1:-1;;;;;714:36129:7;12378:25;;714:36129;-1:-1:-1;;;;;714:36129:7;;;;:::i;:::-;566:42:16;;;-1:-1:-1;;;;;714:36129:7;;;12180:390;;;566:42:16;-1:-1:-1;;;;;714:36129:7;11732:11;12180:390;;566:42:16;-1:-1:-1;;;;;714:36129:7;11890:14;12180:390;;566:42:16;10457:26:7;12180:390;;566:42:16;11839:16:7;12180:390;;566:42:16;12180:390:7;;;566:42:16;12180:390:7;;;566:42:16;12155:415:7;;;;:::i;:::-;;;;;:::i;:::-;;9886:2691::o;36099:158::-;-1:-1:-1;;;;;714:36129:7;566:42:16;36174:45:7;714:36129;;36099:158::o;714:36129::-;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;;-1:-1:-1;;;714:36129:7;;;;;;;831:375:16;918:11;;914:24;;-1:-1:-1;;;;;714:36129:7;;;566:42:16;951:33;;566:42;;1018:26;;928:1;1018:26;;1058:39;1018:26;;;;;;;:::i;:::-;;1058:39;:::i;947:253::-;928:1;714:36129:7;5535:69:4;714:36129:7;5720:111:3;714:36129:7;;;1050:58:3;;;;714:36129:7;;;;1050:58:3;;714:36129:7;1050:58:3;;;714:36129:7;;;;;;1050:58:3;;;;;:::i;:::-;714:36129:7;;;;;;:::i;:::-;1050:58:3;714:36129:7;;;1050:58:3;714:36129:7;;;5487:31:4;;;;;;;;:::i;:::-;5535:69;;:::i;:::-;714:36129:7;;5728:22:3;;;:56;;;;;947:253:16;5720:111:3;;;:::i;5728:56::-;5754:30;;;1050:58;5754:30;;;;;;;;:::i;:::-;5728:56;;;;914:24:16;931:7;;;:::o;361:3:11:-;;;;:::o;:::-;714:36129:7;;;361:3:11;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;714:36129:7;361:3:11;;;714:36129:7;361:3:11;714:36129:7;361:3:11:o;31607:3736:7:-;;;;;;714:36129;;31930:16;;;;:::i;:::-;31986;;;:::i;:::-;32038;;;;:::i;:::-;32064:34;32097:1;;;;32108:25;;;;;32269:5;;;;;32947:25;;;;;;;32943:206;;33254:29;;;;33298:13;32097:1;33313:5;;;;;;;33945:874;;;;;33952:13;;;34911;;;32097:1;34926:5;;;;;;31607:3736;;;;;;;;:::o;34933:3::-;34968:9;;714:36129;34968:9;;;:::i;:::-;714:36129;34995:10;;;;;;34991:24;;35083:17;32458:26;35286:9;35189:137;32663:46;35189:137;32663:46;;;35044:13;;;32676:25;35044:13;;;;:::i;:::-;;:25;714:36129;35083:17;;:::i;:::-;;:24;:33;714:36129;;;35083:33;:::i;:::-;566:42:16;;35269:15:7;35220:13;35149;32435:21;35149:13;;;;:::i;:::-;;:21;714:36129;35220:13;;:::i;:::-;;:22;35269:15;;;:::i;:::-;35286:9;;:::i;:::-;:26;714:36129;;;;;;;;;;;;;35189:137;;;:::i;:::-;;;;34911:13;714:36129;34911:13;;34991:24;35007:8;;;;;;;33945:874;33981:24;;;32097:1;33981:24;;;;;;;;;34024:13;32097:1;34039:5;;;;;;34162:16;34155:24;34162:16;;;34155:24;:::i;:::-;34194:31;34239:40;;34298:13;32097:1;34293:462;34337:3;34313:5;;;:22;;;34337:3;34313:22;;;34364:13;;;;;;;;;;;;:::i;:::-;714:36129;34364:18;34360:32;;34427:77;34722:18;34452:19;;34337:3;34452:19;;;;;;;;:::i;:::-;714:36129;34427:77;;:::i;:::-;34534:13;;;;;:::i;:::-;714:36129;34526:21;;34522:48;;34337:3;34592:17;;;;;34588:40;;34337:3;34646:18;;;;;;;;:::i;:::-;;;:::i;:::-;566:42:16;34682:22:7;;;;;;;;;:::i;:::-;714:36129;34682:22;:::i;:::-;566:42:16;34722:18:7;:::i;:::-;34337:3;;:::i;:::-;34298:13;;;34588:40;34611:17;;;34588:40;;;34522:48;34557:13;;;;;:::i;:::-;714:36129;34522:48;;;;;34360:32;34384:8;;;;;34337:3;34384:8;;34337:3;:::i;34313:22::-;;;;;;;;;;;;;;;34768:40;34313:22;;34775:32;;34768:40;:::i;:::-;33945:874;;;;;34313:22;34322:13;;;;34313:22;;34046:3;34073:13;;;;:::i;:::-;714:36129;34069:58;;34046:3;714:36129;;34024:13;;34069:58;34108:19;34092:35;714:36129;34108:19;;;;;:::i;:::-;714:36129;34092:35;;:::i;:::-;34069:58;;;;;33320:3;33351:28;32307;33351:13;;33343:37;33351:13;;;;;:::i;33343:37::-;-1:-1:-1;;;;;714:36129:7;;;;;33343:55;33339:69;;32097:1;33458:13;33454:305;;33320:3;33772:17;33803:22;33772:17;714:36129;33772:17;;;;;:::i;:::-;566:42:16;33803:22:7;;;;:::i;:::-;;;;;:::i;:::-;566:42:16;33298:13:7;714:36129;33298:13;;;;;33454:305;33522:19;33499:85;33522:19;;;;;:::i;:::-;714:36129;33499:85;;:::i;:::-;33614:13;;;;;:::i;:::-;714:36129;33606:21;;33602:48;;33454:305;33672:17;;;33668:40;;33454:305;33726:18;33803:22;33726:18;;714:36129;33726:18;;:::i;:::-;33454:305;;;;;;;33668:40;33691:17;-1:-1:-1;33691:17:7;33668:40;;33602:48;33637:13;;;;;;:::i;:::-;714:36129;33602:48;;;33339:69;714:36129;33400:8;;;32943:206;32992:34;32988:100;;32663:46;714:36129;-1:-1:-1;;;33101:37:7;;714:36129;33101:37;;;714:36129;;;;;;;;;;;;;;32988:100;32663:46;714:36129;-1:-1:-1;;;33046:27:7;;361:3:11;33046:27:7;;;361:3:11;;;;;714:36129:7;-1:-1:-1;;;714:36129:7;;;361:3:11;;;714:36129:7;32276:3;32307:13;32299:37;32307:28;;:13;;;;;;;;:::i;32299:37::-;-1:-1:-1;;;;;714:36129:7;;;;;32299:55;32295:69;;32435:21;;;;;;;;;;:13;;;;;;;:::i;:::-;;:21;714:36129;32458:9;;;;;:::i;:::-;:26;;714:36129;32423:87;;;:::i;:::-;32524:39;;;;;;:::i;:::-;566:42:16;32577:43:7;;;:::i;:::-;32676:13;;;;:::i;:::-;;:25;;714:36129;32663:39;;;:::i;:::-;;:46;;714:36129;32712:9;;;;:::i;:::-;:23;714:36129;32663:72;;;:::i;:::-;714:36129;;32897:25;;32768:77;:37;;;;;;:77;;;32859:24;;;;;:::i;:::-;566:42:16;32897:25:7;:::i;:::-;32276:3;32254:13;714:36129;32254:13;;;;;;;32768:77;;;;;;32295:69;32356:8;;;;714:36129;32356:8;;;;7914:471;7998:381;;;;;;;;;;;;;;;;;;;;;;;;7914:471::o;7998:381::-;;;;7914:471::o;714:36129::-;;;;;;;;;;;;;;;:::i;:::-;;;;:::o;24026:4437::-;;;;;;;-1:-1:-1;;;;;714:36129:7;;566:42:16;24448:45:7;566:42:16;;24496:21:7;24448:102;;24564:9;;24560:22;;714:36129;;:::i;:::-;24769:13;-1:-1:-1;24784:5:7;;;;;;714:36129;;;25449:20;:49;;;;24764:672;25445:62;;-1:-1:-1;25802:5:7;;;;;;714:36129;;;;;;24822:30;714:36129;;;28126:26;28122:205;;25782:2330;28341:13;;714:36129;28341:17;;28337:120;;24026:4437;;;:::o;28337:120::-;28406:24;;28432:13;28406:24;;;:::i;:::-;28432:13;;:::i;28122:205::-;28221:24;;;;;:::i;:::-;28271:13;;;714:36129;;;;;;;;;;28286:16;;;714:36129;;;;;-1:-1:-1;;;;;714:36129:7;;;;;;;;28173:143;;714:36129;;28173:143;28122:205;;;25809:3;714:36129;;-1:-1:-1;;;;;714:36129:7;;25832:57;:39;;24822:30;25840:13;714:36129;25840:13;;:::i;25832:57::-;;25828:1074;;25809:3;25132:28;;714:36129;;;;;;;26920:55;:37;26928:28;:13;;;;;:::i;26920:55::-;;26916:1186;;25809:3;;;714:36129;25787:13;;26916:1186;27027:25;:13;24822:30;27014:39;27027:13;;;;;:::i;:::-;;:25;714:36129;27014:39;;:::i;:::-;;:46;714:36129;27082:12;27078:1010;;26916:1186;;;;;27078:1010;27118:8;;;:10;714:36129;;27118:10;:::i;:::-;566:42:16;;;27184:20:7;;;714:36129;27172:32;27171:161;;;;27240:20;27233:27;27240:20;;;714:36129;27233:27;;:::i;:::-;27171:161;;27354:20;;:34;714:36129;;;27354:34;:::i;:::-;566:42:16;;27414:14:7;27410:660;;27171:161;27078:1010;;;27410:660;27490:52;714:36129;;;27490:52;;:::i;:::-;27568:20;24822:30;27568:13;;;;;714:36129;;;27568:20;:::i;:::-;566:42:16;;27628:13:7;;;;:::i;:::-;;:25;714:36129;27699:17;:25;:17;;;;:::i;:::-;;714:36129;-1:-1:-1;;;;;714:36129:7;;;27699:25;27750:24;;;;;;;;:::i;:::-;;;;:::i;:::-;566:42:16;27804:12:7;27800:248;27410:660;27800:248;27891:8;;27935:86;27891:8;;;;:::i;:::-;27961:13;;;;:::i;:::-;;:22;714:36129;27935:86;24822:30;714:36129;;;;;;;;;;;;;;;;;27935:86;;;:::i;:::-;;;;27800:248;;;27410:660;;27171:161;714:36129;;27288:44;;;;:::i;:::-;27171:161;;;25828:1074;25930:28;:13;;;;:::i;:::-;;:28;714:36129;25980:14;25976:912;;25828:1074;;;;25976:912;26018:8;;;714:36129;26018:10;714:36129;;26018:10;:::i;:::-;566:42:16;;;26084:20:7;;;;;714:36129;26072:32;26071:163;;;;26140:20;26133:27;25132:28;26140:20;;714:36129;26133:27;;:::i;:::-;25132:28;26256:20;;:34;714:36129;;;26256:34;:::i;:::-;566:42:16;;26316:14:7;26312:558;;26071:163;25976:912;;;26312:558;26392:52;714:36129;;;26392:52;;:::i;:::-;26470:20;24822:30;26470:13;;;;;714:36129;;;26470:20;:::i;:::-;566:42:16;;26520:12:7;26516:332;26312:558;26516:332;26617:8;26596:13;:19;:13;;;;;:::i;:19::-;26617:8;;:::i;:::-;26661:160;26722:13;;;;:::i;:::-;;:22;714:36129;26762:19;714:36129;;;;;26762:13;;;;;:::i;:19::-;714:36129;;;26661:160;24822:30;714:36129;;;;;;;;;;26661:160;;;:::i;:::-;;;;26516:332;;26312:558;;26071:163;714:36129;;26188:46;;;;:::i;:::-;26071:163;;25445:62;25500:7;;;;;;;;:::o;25449:49::-;25473:20;;;;714:36129;25473:25;25449:49;;24791:3;714:36129;;24822:30;-1:-1:-1;;;;;714:36129:7;;24814:57;:39;;24822:30;:13;:30;:13;;:::i;24814:57::-;;24810:296;;24791:3;714:36129;;;;;;;25124:55;:37;25132:28;;:13;;;;:::i;25124:55::-;;25120:306;;24791:3;;714:36129;24769:13;;25120:306;25218:39;25231:25;:13;;;;:::i;:::-;;:25;714:36129;25218:39;;:::i;:::-;;:46;714:36129;25286:12;25282:130;25120:306;25282:130;25322:27;714:36129;;;25322:27;:::i;:::-;566:42:16;;25371:20:7;;;:22;714:36129;;25371:22;:::i;:::-;566:42:16;;25282:130:7;25120:306;;24810:296;24912:28;:13;;;;:::i;:::-;;:28;714:36129;24962:14;24958:134;;24810:296;;;;24958:134;25000:29;714:36129;;;25000:29;:::i;:::-;566:42:16;;25051:20:7;;;:22;714:36129;;25051:22;:::i;:::-;566:42:16;;24958:134:7;;;24448:102;714:36129;;-1:-1:-1;;;24520:30:7;;24544:4;24520:30;;;714:36129;24520:30;714:36129;;;-1:-1:-1;;;;;714:36129:7;;24520:30;;;;;;;-1:-1:-1;24520:30:7;;;24448:102;;;;;24520:30;;;;;;;;;;;;;;:::i;:::-;;;;714:36129;;;;:::o;:::-;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;;-1:-1:-1;;;714:36129:7;;;;;;;4550:659:18;;714:36129:7;5175:27:18;4550:659;5087:13;5149:53;4550:659;1576:56:15;1599:33;;1659:14;4550:659:18;4758:19;;714:36129:7;1506:60:15;1531:35;;714:36129:7;;1531:35:15;;;:::i;:::-;;:::i;:::-;-1:-1:-1;;;;;714:36129:7;566:42:16;;;1506:60:15;1606:25;;;714:36129:7;1599:33:15;;:::i;:::-;-1:-1:-1;;;;;714:36129:7;1606:25:15;1576:20;;566:42:16;;1576:56:15;1642:31;1659:14;;;;;:::i;:::-;-1:-1:-1;;;;;714:36129:7;1642:14:15;;;566:42:16;;1642:31:15;1707:21;;;714:36129:7;1707:21:15;1683;;566:42:16;1760:19:15;;;714:36129:7;1760:19:15;1738;;566:42:16;4971:47:18;1805:13:15;;;;;:::i;:::-;714:36129:7;;1805:13:15;1789;;714:36129:7;;;1789:13:15;1844;;;714:36129:7;1844:13:15;1828;;566:42:16;4903:57:18;1881:11:15;;;;;:::i;:::-;-1:-1:-1;;;;;714:36129:7;1881:11:15;1867;;566:42:16;;;1867:11:15;1926:42;1946:21;;;;;;:::i;:::-;1926:42;;:::i;:::-;1902:21;;;:66;4944:15:18;2050:11:15;;1978:84;2037:25;2050:11;;;714:36129:7;2037:25:15;:::i;:::-;714:36129:7;;;1995:23:15;;;427:10:11;1995:23:15;;;427:10:11;1978:84:15;1979:14;;566:42:16;4944:15:18;;;;;:::i;:::-;4903:57;;;:::i;:::-;714:36129:7;;;;;;;;-1:-1:-1;;;;;714:36129:7;;;;-1:-1:-1;;;;;714:36129:7;;;;;4979:20:18;4971:47;:::i;:::-;1606:25:15;5029:18:18;;;714:36129:7;;;;5087:13:18;;:::i;:::-;-1:-1:-1;;;;;714:36129:7;;1881:11:15;5111:20:18;;566:42:16;5175:27:18;:::i;:::-;-1:-1:-1;;;;;714:36129:7;5149:23:18;;566:42:16;;714:36129:7;;;;:::o;:::-;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;:::o;:::-;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;;;;;;;;;;12913:849;13697:28;13242:19;12913:849;;13697:18;13661:32;13532:41;13653:102;12913:849;13125:57;714:36129;13133:12;;;714:36129;;;;;;;13149:15;714:36129;;13133:31;;13125:57;:::i;:::-;714:36129;;13192:90;;13200:30;;-1:-1:-1;;;;;714:36129:7;;;13200:30;13242:19;;;714:36129;13200:62;;13234:28;;-1:-1:-1;;;;;714:36129:7;13234:28;714:36129;13200:62;714:36129;;;;;;;13200:62;;13192:90;:::i;:::-;13300:20;;;714:36129;13292:57;714:36129;;13300:24;;13292:57;:::i;:::-;13359:87;361:3:11;13367:22:7;;;714:36129;13367:49;;13359:87;:::i;:::-;13469:43;714:36129;;13469:43;;;:::i;:::-;714:36129;13547:25;;;;714:36129;13532:41;;:::i;:::-;714:36129;13591:13;;;;;;:28;;;12913:849;13583:60;;;:::i;:::-;714:36129;13661:32;:::i;:::-;13697:18;;714:36129;13697:28;:::i;:::-;-1:-1:-1;13661:64:7;13653:102;:::i;13591:28::-;-1:-1:-1;13608:11:7;;;13591:28;;714:36129;;;;:::o;:::-;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;;;;;;;;;;743:8:11;;;;:::o;:::-;714:36129:7;;-1:-1:-1;;;743:8:11;;;;;;;;;;;714:36129:7;743:8:11;714:36129:7;;;743:8:11;;;;;;;;:::o;:::-;714:36129:7;;-1:-1:-1;;;743:8:11;;;;;;;;;;;714:36129:7;-1:-1:-1;;;714:36129:7;;;743:8:11;;;;427:10;;;;:::o;:::-;714:36129:7;;-1:-1:-1;;;427:10:11;;;;;;;;;;;714:36129:7;427:10:11;714:36129:7;;;427:10:11;;;;;;;;:::o;:::-;714:36129:7;;-1:-1:-1;;;427:10:11;;;;;;;;;;;714:36129:7;427:10:11;714:36129:7;;;427:10:11;;;;;;;;:::o;:::-;714:36129:7;;-1:-1:-1;;;427:10:11;;;;;;;;;;;714:36129:7;-1:-1:-1;;;714:36129:7;;;427:10:11;;;;;;;;:::o;:::-;714:36129:7;;-1:-1:-1;;;427:10:11;;;;;;;;;;;714:36129:7;-1:-1:-1;;;714:36129:7;;;427:10:11;;;;;;;;:::o;:::-;714:36129:7;;-1:-1:-1;;;427:10:11;;;;;;;;;;;714:36129:7;427:10:11;714:36129:7;;;427:10:11;-1:-1:-1;;;427:10:11;;;;;;;;;;;:::o;:::-;714:36129:7;;-1:-1:-1;;;427:10:11;;;;;;;;;;;714:36129:7;-1:-1:-1;;;714:36129:7;;;427:10:11;;;;1370:3138;;;714:36129:7;;:::i;:::-;;1604:76:11;517:1;714:36129:7;;1612:38:11;;1604:76;:::i;:::-;-1:-1:-1;1721:13:11;-1:-1:-1;1744:11:11;-1:-1:-1;1765:12:11;-1:-1:-1;1787:12:11;-1:-1:-1;1873:13:11;-1:-1:-1;1906:3:11;714:36129:7;;1888:16:11;;;;;1985:31;1963:8;;;;:::i;:::-;;714:36129:7;;;1985:31:11;;:::i;:::-;2046:9;;;714:36129:7;2046:9:11;;-1:-1:-1;;;2177:19:11;;2176:26;;-1:-1:-1;;;2112:31:11;;2111:38;;;-1:-1:-1;;;2046:33:11;;;2045:40;;;;2046:9;2045:40;;2227:14;;1906:3;2225:17;:37;;;1906:3;2217:78;;;;:::i;:::-;714:36129:7;;2309:129:11;;1906:3;714:36129:7;2522:19:11;;;;2518:206;;;;1906:3;2832:29;;714:36129:7;2832:29:11;;;;;;;1906:3;2828:212;;;1906:3;;;714:36129:7;1873:13:11;;2828:212;2895:40;;;;:::i;:::-;714:36129:7;2953:22:11;714:36129:7;;;2953:22:11;:::i;:::-;566:42:16;;2993:32:11;;2828:212;;;;2993:32;3005:20;:13;;;714:36129:7;;;3005:20:11;:::i;:::-;566:42:16;;2993:32:11;;;2832:29;;;;;;2518:206;2561:27;;;;;;2518:206;2606:23;;2518:206;2176:26;;;2658:14;;714:36129:7;2658:14:11;;;;2647:62;;2518:206;;;;;;;2647:62;2695:14;;;;714:36129:7;2695:14:11;;;;2647:62;;;2606:23;714:36129:7;;-1:-1:-1;2606:23:11;;2561:27;714:36129:7;;-1:-1:-1;2561:27:11;;2309:129;2360:26;;;714:36129:7;2352:71:11;;-1:-1:-1;;;;;714:36129:7;2360:40:11;;2352:71;:::i;:::-;2309:129;;2225:37;2247:14;;;;;2225:37;2217:78;2225:37;;;2247:14;-1:-1:-1;2247:14:11;;;2227;;;;;1888:16;;;;;;;4444:57;1888:16;3225:51;1888:16;714:36129:7;1888:16:11;;;;3060:84;427:10;3068:44;;;3060:84;:::i;:::-;3164:18;;;;1868:1182;3154:61;3162:21;;3154:61;:::i;:::-;3235:18;;;1868:1182;3233:21;;3225:51;:::i;:::-;3287:22;2046:9;3287:12;;;;427:10;714:36129:7;;427:10:11;;;3287:22;714:36129:7;;3466:28:11;;;;:81;;;;;;1868:1182;3466:144;;;;1868:1182;3444:19;:166;:19;;:166;;427:10;714:36129:7;;427:10:11;;;3444:166;3640:79;;;;1868:1182;3640:144;;;;1868:1182;3620:17;:164;:17;;:164;;427:10;714:36129:7;;427:10:11;;;3620:164;3795:369;;1868:1182;714:36129:7;;;;;;;;;;4210:224:11;;1868:1182;714:36129:7;;;;;4452:28:11;;4444:57;:::i;4210:224::-;4263:49;;;;:::i;:::-;714:36129:7;4326:22:11;714:36129:7;;;4326:22:11;:::i;:::-;566:42:16;;4367:18:11;714:36129:7;-1:-1:-1;;;4367:28:11;4366:35;4362:61;;4210:224;;;;;4362:61;4403:20;:13;;;714:36129:7;;;4403:20:11;:::i;:::-;566:42:16;;4362:61:11;;;3795:369;3843:67;-1:-1:-1;;;;;3851:24:11;;;;;:::i;:::-;714:36129:7;3851:38:11;;3843:67;:::i;:::-;3924:230;;3795:369;;;;3924:230;3964:175;3994:31;;;;3924:230;3993:66;;;;3924:230;3964:175;;;:::i;:::-;3924:230;;;;;3993:66;4031:27;;-1:-1:-1;4031:27:11;;;3993:66;;;;;;4031:27;714:36129:7;;;;-1:-1:-1;4031:27:11;;;3994:31;714:36129:7;;;;;;;;;;3994:31:11;;;3640:144;3736:18;;;714:36129:7;-1:-1:-1;;;3736:42:11;3735:49;;-1:-1:-1;3640:144:11;;:79;3673:18;;;714:36129:7;-1:-1:-1;;;3673:40:11;3672:47;;;-1:-1:-1;3640:79:11;;3466:144;3564:18;;;714:36129:7;-1:-1:-1;;;3564:40:11;3563:47;;-1:-1:-1;3466:144:11;;:81;3499:18;;;714:36129:7;-1:-1:-1;;;3499:42:11;3498:49;;;-1:-1:-1;3466:81:11;;3235:18;;;;;;3164;-1:-1:-1;3164:18:11;;;714:36129:7;;;;;;;;;;;;6012:299:6;;;6149:25;;;;;:::i;:::-;6215;;;;;;6184:98;;6012:299;:::o;6184:98::-;10916:16:7;714:36129;;;;;;;6012:299:6;:::o;6215:25::-;;:::i;714:36129:7:-;;;;:::o;:::-;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;;-1:-1:-1;;;714:36129:7;;;;;;;4575:629:11;714:36129:7;;4575:629:11;;714:36129:7;4851:3:11;714:36129:7;;4833:16:11;;;;;-1:-1:-1;;;4875:13:11;:8;;;;:::i;:::-;;:13;714:36129:7;4875:35:11;4874:42;:70;;;;4851:3;4870:84;;4980:42;5002:8;;;;:::i;:::-;;714:36129:7;4980:42:11;;:::i;:::-;714:36129:7;;;;;;;;4968:54:11;4851:3;4818:13;714:36129:7;4818:13:11;;;4870:84;4946:8;714:36129:7;4946:8:11;;;4874:70;4920:8;;;;;:::i;:::-;;714:36129:7;4920:24:11;4874:70;;4833:16;;;;;;5042:100;;4813:220;5159:19;5151:46;5159:19;;;;5151:46;:::i;5042:100::-;5151:46;714:36129:7;;5084:47:11;5072:59;714:36129:7;;5084:47:11;;:::i;:::-;5072:59;;:::i;:::-;5042:100;;;;14022:2043:7;14346:10;;:26;;;;714:36129;;14022:2043;;;;-1:-1:-1;;;;;714:36129:7;;;;14022:2043;14346:26;;714:36129;;14346:10;;14022:2043;14346:10;14473:3;714:36129;;14455:16;;;;;714:36129;14497:13;;;;;;;;;631:8:11;;;;14497::7;;;;;:::i;:::-;;:13;714:36129;14497:44;14496:51;:79;;;;14473:3;14492:93;;14613:51;14644:8;;;;;:::i;:::-;;714:36129;14613:51;;:::i;:::-;14718:9;14683:147;14718:9;;;;;14745:8;;14683:147;14745:8;;;14803;14777;14745;:30;:8;;;;;:::i;:30::-;14777:8;;:::i;:::-;;714:36129;14803:8;;;:::i;:::-;;:13;714:36129;;;;;;;;14683:147;;;:::i;:::-;;;;14848:8;;14844:22;;14885:15;;714:36129;14885:15;;;714:36129;;;;;;14497:13;;;14977:8;15035:13;14977:8;;;:30;:8;;;:::i;:30::-;15009:8;15035;15009;;;;;:::i;:::-;;714:36129;15035:8;;:::i;:::-;;:13;714:36129;15035:13;;:::i;:::-;714:36129;14440:13;;14881:320;15130:11;;;;714:36129;15182:3;;15130:11;;-1:-1:-1;;;;;;714:36129:7;;15182:3;15150:30;;:8;;;:::i;:30::-;15182:3;;;:::i;:::-;14881:320;;14844:22;14858:8;;;;;;;;14492:93;14577:8;;;;;;;;;;14496:79;14551:8;;;;;:::i;:::-;;714:36129;14551:24;14496:79;;14455:16;;;;;;;;;;15257:22;714:36129;14455:16;15257:22;714:36129;;;;;;15253:806;;14022:2043;;;;;;;:::o;15253:806::-;15309:56;714:36129;;15309:56;;;:::i;:::-;15398:9;14718;15398;;;15425:24;15384:117;14718:9;15425:24;;;14497:13;15425:24;;;:::i;:::-;15482:18;;714:36129;;15384:117;714:36129;;;14497:13;714:36129;;;;;15384:117;;;:::i;:::-;;;;15519:7;15515:534;15253:806;15515:534;-1:-1:-1;;;15551:35:7;;15550:42;714:36129;;15854:18;15725:24;;;;;:::i;:::-;15854:18;;:::i;15546:489::-;15966:11;;;;;;15986:24;714:36129;14497:13;16012:3;15966:11;;714:36129;;;;;;;;;;15986:24;;:::i;:::-;16012:3;;:::i;:::-;15546:489;;16131:1317;16429:10;;:26;;;;16480:25;;;;714:36129;-1:-1:-1;;;;;714:36129:7;16429:26;;:10;;714:36129;;;;;;16521:13;;16429:10;16554:3;714:36129;;16536:16;;;;;714:36129;16578:13;;;;;;;;;693:8:11;;;16578::7;;;;;:::i;:::-;;:13;714:36129;16578:42;16577:49;:77;;;;16554:3;16573:91;;16760:147;16822:30;16721:8;16692:49;16760:147;16721:8;;;;;:::i;16692:49::-;16795:9;;;16822:8;;;;;:::i;:30::-;16854:8;;;;;;:::i;:::-;;714:36129;16880:8;;;;;:::i;:::-;;:13;714:36129;;;;;;;16760:147;;;:::i;:::-;;;;16925:8;;;;;16921:22;;16982:8;:30;:8;17021:3;16982:8;;:::i;:30::-;17021:3;;:::i;:::-;714:36129;16521:13;;16921:22;16935:8;;;;;;;16573:91;16656:8;;;;;;;;;16577:77;16630:8;;;;;:::i;:::-;;714:36129;16630:24;16577:77;;16536:16;;;;;;;;;;;;17076:366;;16131:1317;;;;;;;;:::o;17076:366::-;17193:117;714:36129;17193:117;714:36129;17120:54;714:36129;;17120:54;;;:::i;:::-;17207:9;;;17234:24;;;;;;;;:::i;:::-;714:36129;16578:13;714:36129;;;;;;17291:18;;714:36129;17193:117;;;:::i;:::-;;;;17328:7;17324:108;;17076:366;;;;;;;17324:108;17380:24;17413:3;17380:24;;:::i;:::-;17413:3;;:::i;:::-;17324:108;;;;;;18294:232;;;18450:69;18294:232;714:36129;;;;;;:::i;:::-;-1:-1:-1;;;;;714:36129:7;;;566:42:16;;714:36129:7;18479:40;;;566:42:16;714:36129:7;18479:40;;566:42:16;18450:13:7;;18464:9;;;;714:36129;;;566:42:16;18464:11:7;714:36129;18464:11;:::i;:::-;566:42:16;;18450:69:7;;;;:::i;:::-;;;:::i;18532:235::-;;;18689:71;18532:235;714:36129;;;;;;:::i;:::-;;;;;;;;;566:42:16;;714:36129:7;18720:40;;;566:42:16;714:36129:7;18720:40;;566:42:16;18704:10:7;18720:40;18689:14;;;18704:10;;714:36129;;;18704:12;;;;:::i;714:36129::-;;;;;;;:::o;:::-;;;;:::o;:::-;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;;-1:-1:-1;;;714:36129:7;;;;;;;1667:4213:6;-1:-1:-1;;2239:166:6;;;;;;;;;;;;;;;;;2486:10;;2482:368;;714:36129:7;361:3:11;;2960:19:6;2952:53;2960:19;;;2952:53;:::i;:::-;3292:300;;;;;;;714:36129:7;;3292:300:6;;3960:371;;4397:21;714:36129:7;1667:4213:6;:::o;2482:368::-;714:36129:7;;361:3:11;714:36129:7;;;2809:26:6;:::o;1667:4213::-;;;-1:-1:-1;;1667:4213:6;;2239:166;;;;;;;;;;;;;;;;2486:10;;2482:368;;2960:19;;;2952:53;2960:19;;;2952:53;:::i;:::-;3292:300;3944:1;3929:12;;714:36129:7;3914:32:6;;3960:371;;;4774:1;714:36129:7;;4755:1:6;714:36129:7;4754:21:6;714:36129:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3960:371:6;3944:1;3960:371;;-1:-1:-1;3960:371:6;;;3292:300;;;;;;714:36129:7;3292:300:6;;3960:371;4397:21;714:36129:7;1667:4213:6;:::o;2482:368::-;2816:19;;;;;;;:::i;12583:258:7:-;;12747:23;361:3:11;12583:258:7;12747:23;;:::i;:::-;714:36129;;;;;;;;;;12583:258;:::o;714:36129::-;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;714:36129:7;;;;;;;;;;;;;;;;:::o;:::-;;-1:-1:-1;714:36129:7;;;:::o;:::-;;;;;;;;;;;;5718:753:18;;5845:370:13;714:36129:7;5718:753:18;;;;;5944:17;;:::i;:::-;714:36129:7;;;;;4915:31:13;;-1:-1:-1;;;;;714:36129:7;;;4915:31:13;4972:20;;;714:36129:7;4972:20:13;;;4860:479;;4964:29;;-1:-1:-1;;;;;714:36129:7;;;4964:29:13;5011:11;;;714:36129:7;4860:479:13;;-1:-1:-1;;;;;714:36129:7;5040:14:13;;;714:36129:7;5040:14:13;;;-1:-1:-1;;;;;714:36129:7;5072:21:13;;;;714:36129:7;5111:19:13;;;714:36129:7;5148:13:13;;;714:36129:7;;;;;;;;5179:13:13;;;2157:339;5210:14;;;;2157:339;5242:23;5283:42;5303:21;714:36129:7;5242:23:13;;;714:36129:7;;;;;;5303:21:13;;;5283:42;:::i;:::-;714:36129:7;5011:11:13;714:36129:7;4860:479:13;;;4972:20;4860:479;;;;2157:339;;;;;;;;;;;;;;;;714:36129:7;2157:339:13;714:36129:7;;;;;;;;;;;;;;;2157:339:13;;;714:36129:7;;2157:339:13;;;714:36129:7;;2157:339:13;;;714:36129:7;;2157:339:13;;;714:36129:7;2157:339:13;;;714:36129:7;2157:339:13;;;714:36129:7;;;2157:339:13;;;;;;;714:36129:7;2157:339:13;;;714:36129:7;;;2157:339:13;;;714:36129:7;2157:339:13;;714:36129:7;2157:339:13;4860:479;714:36129:7;4837:512:13;;5011:11;5845:370;;;;;5011:11;5845:370;-1:-1:-1;;;5845:370:13;;;;;;;;;;;714:36129:7;;;;:::i;:::-;5976:30:18;;;8767:43;;;;;;:::i;5972:493::-;714:36129:7;;;:::i;:::-;6111:14:18;6094:31;;6111:14;;6149:44;;;;;;:::i;6090:375::-;714:36129:7;;5845:370:13;714:36129:7;;:::i;:::-;6214:31:18;5845:370:13;;6269:44:18;;;;;:::i;6210:255::-;714:36129:7;;6399:55:18;714:36129:7;;;;;;;6399:55:18;;;:::i;7511:1735:13:-;;;;3883:2;714:36129:7;;7666:29:13;714:36129:7;;9061:179:13;;3883:2;9061:179;;;;;;;;;7511:1735::o;714:36129:7:-;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;;;;;;;;;;4161:258:13;4274:14;;714:36129:7;-1:-1:-1;;;;;714:36129:7;4274:40:13;714:36129:7;;4330:16:13;4270:143;4161:258::o;4270:143::-;4377:25;;4270:143;4161:258::o;5444:216:11:-;5562:15;;5558:29;;361:3;5610:23;;;;:::i;:::-;714:36129:7;5444:216:11;:::o;5558:29::-;5579:8;;5576:1;5579:8;:::o;18773:340:7:-;;18978:128;18773:340;;;714:36129;;;;;;:::i;:::-;;;;;;;;;;;566:42:16;;714:36129:7;19029:77;;;566:42:16;714:36129:7;;19029:77;;566:42:16;19029:77:7;;;566:42:16;18997:14:7;714:36129;18978:18;;;18997:14;;714:36129;;;18997:16;;;;:::i;19119:372::-;;19350:134;19119:372;;;;714:36129;;;;;;:::i;:::-;;;;;;;;;566:42:16;;714:36129:7;19401:83;;;566:42:16;714:36129:7;19401:83;;566:42:16;19401:83:7;;;566:42:16;19401:83:7;;;566:42:16;19369:14:7;19401:83;19350:18;;;19369:14;;714:36129;;;19369:16;;;;:::i;714:36129::-;;;;;;;;;;;;;:::i;:::-;;;;:::o;:::-;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;;;;;;;-1:-1:-1;;;714:36129:7;;;;;;;4550:1474:15;;4722:83;517:1:11;4730:45:15;;;4722:83;:::i;:::-;4815:1203;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4550:1474;;;;;;;;:::o;4815:1203::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3749:795;4009:4;4001:12;;714:36129:7;;;4177:12:15;4185:4;4177:12;;3050:69:13;;4017:1:15;714:36129:7;;;;;;:::i;3050:69:13:-;714:36129:7;;-1:-1:-1;;;3050:69:13;;;;;;;;;;;714:36129:7;3050:69:13;714:36129:7;;;3050:69:13;;;;714:36129:7;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;;-1:-1:-1;;;714:36129:7;;;;;;;11982:778:18;;;;;-1:-1:-1;;12162:29:18;714:36129:7;;1328:35:18;12385:159;12666:7;714:36129:7;12385:159:18;;;;12578:30;;;;:::i;:::-;12666:7;;;:::i;714:36129:7:-;;12693:36:18;714:36129:7;;11982:778:18:o;714:36129:7:-;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;714:36129:7;;;;;;;:::o;370:10:8:-;;;;:::o;:::-;714:36129:7;;-1:-1:-1;;;370:10:8;;;;;;;;;;;714:36129:7;370:10:8;714:36129:7;;;370:10:8;;;;10710:860:18;11030:159;;;;;10710:860;;11391:2;714:36129:7;-1:-1:-1;714:36129:7;;;;11427:63:18;714:36129:7;;;;;;;;;;;11427:63:18;;;;;;;714:36129:7;;;;;;11391:2:18;714:36129:7;;;;;;;;;;:::i;:::-;11427:63:18;;;;;;;;;11406:157;11427:63;-1:-1:-1;11427:63:18;;;10710:860;-1:-1:-1;;;;;;;714:36129:7;11427:85:18;11406:157;:::i;11427:63::-;;;;;;;;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;9463:548;;9959:45;9463:548;;714:36129:7;;9874:65:18;;;714:36129:7;;;;;;;;;9874:65:18;;;;;:::i;:::-;714:36129:7;9864:76:18;;9959:45;:::i;714:36129:7:-;;;1195:19:18;;;;714:36129:7;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;6449:422:13;714:36129:7;;;;;;:::i;:::-;;;;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;;;;;;-1:-1:-1;6741:3:13;714:36129:7;;6723:16:13;;;;;6791:8;;714:36129:7;6791:8:13;;;:::i;:::-;;714:36129:7;;;;;;;;;6397:26:13;;;714:36129:7;;6425:9:13;;714:36129:7;;;6342:93:13;;;;714:36129:7;2565:90:13;714:36129:7;;2565:90:13;;;714:36129:7;2565:90:13;;;714:36129:7;2565:90:13;;;;;714:36129:7;6342:93:13;;;;;:::i;:::-;714:36129:7;6332:104:13;;6760:40;;;;:::i;:::-;566:42:16;714:36129:7;6708:13:13;;6723:16;;;;;;;6839:24;714:36129:7;;6839:24:13;;714:36129:7;;6839:24:13;;714:36129:7;;;:::i;:::-;6839:24:13;;;;;;;;:::i;:::-;714:36129:7;6829:35:13;;6449:422;:::o;5340:2:18:-;;;;:::o;:::-;714:36129:7;;-1:-1:-1;;;5340:2:18;;;;;;;;;;;714:36129:7;5340:2:18;714:36129:7;;;5340:2:18;;;;;;;;:::o;:::-;714:36129:7;;-1:-1:-1;;;5340:2:18;;;;;;;;;;;714:36129:7;5340:2:18;714:36129:7;;;5340:2:18;;;;6896:1059;;;5340:2;7025:49;5340:2;;7295:379;-1:-1:-1;7295:379:18;7855:27;7295:379;;;;;7684:152;7719:66;7705:80;;;7684:152;:::i;:::-;7295:379;714:36129:7;7295:379:18;;;;;;;;;;;7855:27;;5340:2;;;;714:36129:7;5340:2:18;;;;;714:36129:7;;;;5340:2:18;;;;;;;714:36129:7;5340:2:18;714:36129:7;5340:2:18;7855:27;;;;;;;;;;;;-1:-1:-1;7855:27:18;;7892:56;-1:-1:-1;;;;;714:36129:7;;7900:20:18;;7892:56;:::i;5340:2::-;714:36129:7;;-1:-1:-1;;;5340:2:18;;;;;;;;;;;714:36129:7;5340:2:18;714:36129:7;;;5340:2:18;;;;7671:628:4;;;;7875:418;;;714:36129:7;;;7906:22:4;7902:286;;8201:17;;:::o;7902:286::-;1702:19;:23;714:36129:7;;8201:17:4;:::o;714:36129:7:-;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;;;;;;;;;;7875:418:4;714:36129:7;;;;-1:-1:-1;8980:21:4;:17;;9152:142;;;;;;;8976:379;714:36129:7;;-1:-1:-1;;;9324:20:4;;714:36129:7;;;9324:20:4;;;;;;:::i","linkReferences":{},"cborAuxdata":{"1":{"value":"0xa264697066735822122024ace53c249472874991aa562d0a7cb021bc95c24e340c16e6d7a8ccbd5eb51d64736f6c63430008180033","offset":19538}},"immutableReferences":{"1870":[{"start":418,"length":32},{"start":4738,"length":32},{"start":5539,"length":32}],"6556":[{"start":4111,"length":32}],"6559":[{"start":4316,"length":32}]},"transformations":[{"id":"1870","type":"replace","offset":418,"reason":"immutable"},{"id":"6556","type":"replace","offset":4111,"reason":"immutable"},{"id":"6559","type":"replace","offset":4316,"reason":"immutable"},{"id":"1870","type":"replace","offset":4738,"reason":"immutable"},{"id":"1870","type":"replace","offset":5539,"reason":"immutable"}],"transformationValues":{"immutables":{"1870":"0x00000000000000000000000070cbb871e8f30fc8ce23609e9e0ea87b6b222f58","6556":"0x0000000000000000000000000000000000000000000000000000000000000001","6559":"0x6973a78f3ae083ae97b75f3f210bcaa3267610c9e5d5f2c363487696daa1dd26"}}},"deployment":{"transactionHash":"0x703ad99e75c37f698e68b002aa1540253440bffd31a6f7f1a76a473d2afcebf3","blockNumber":"25889382","transactionIndex":"75","deployer":"0x1fc4f6d3C91cC14E5946D0C460816916ae098B4b"},"sources":{"src/Settlement.sol":{"content":"// SPDX-License-Identifier: LGPL-3.0-or-later\npragma solidity 0.8.24;\n\nimport \"./interfaces/IERC20.sol\";\nimport \"./interfaces/ITokenApproveProxy.sol\";\nimport \"./libraries/InteractionLib.sol\";\nimport \"./libraries/OrderLib.sol\";\nimport \"./libraries/TradeLib.sol\";\nimport \"./libraries/TransferLib.sol\";\nimport \"./libraries/FeeLib.sol\";\nimport \"./libraries/SettlementTypes.sol\";\nimport \"./mixins/Signing.sol\";\nimport \"./mixins/ReentrancyGuard.sol\";\nimport \"./mixins/StorageAccessible.sol\";\nimport \"@openzeppelin/contracts/access/Ownable.sol\";\nimport {Math} from \"@openzeppelin/contracts/utils/math/Math.sol\";\n\n/// @title Settlement Contract\n/// @notice Handles batch settlement of signed orders with fee distribution.\ncontract Settlement is Signing, ReentrancyGuard, StorageAccessible, Ownable {\n    using OrderLib for bytes;\n    \n    // ============ Constants ============\n\n    string public constant version = \"v2.0.0-threshold-uncapped-surplus\";\n\n    /// @dev Transient-storage namespace for token dedup set.\n    /// bytes32(uint256(keccak256(\"Settlement.uniqueTokenSet\")) - 1)\n    bytes32 private constant _TOKEN_SET_NS = 0xa22590d89a282e4a4cb338bbac16a503583641111dac8ed65da19c682b55daab;\n\n    // ============ Access Control ============\n\n    /// @dev Allowed solvers mapping.\n    mapping(address => bool) private solvers;\n\n    // ============ Immutables ============\n\n    address public immutable tokenApproveProxy;\n\n    // ============ State ============\n\n    mapping(bytes => uint256) public filledAmount;\n\n    struct SurplusAccumulator {\n        uint256 totalWeight;\n        uint256 participantCount;\n        uint256 trimTotal;\n        uint256 distributedGross;\n        uint256 seen;\n    }\n\n    // ============ Events ============\n\n    event Trade(\n        address indexed owner,\n        IERC20 indexed fromTokenAddress,\n        IERC20 indexed toTokenAddress,\n        uint256 fromTokenAmount,\n        uint256 toTokenAmount,\n        bytes orderUid\n    );\n\n    event Interaction(address indexed target, uint256 value, bytes4 selector);\n    event Settlement(address indexed solver, uint256 indexed settleId);\n    event OrderInvalidated(address indexed owner, bytes orderUid);\n\n    event SolverAdded(address solver);\n    event SolverRemoved(address solver);\n\n    event CommissionFeePaid(\n        bytes orderUid,\n        address indexed token,\n        address indexed referral,\n        uint256 feePercent,\n        uint256 feeAmount,\n        uint256 flag\n    );\n\n    event SolverFeePaid(\n        bytes orderUid,\n        address indexed token,\n        address indexed solverAddr,\n        uint256 feePercent,\n        uint256 feeAmount,\n        uint256 flag\n    );\n\n    event SurplusFeePaid(\n        address indexed token, address indexed trimAddress, uint256 feePercent, uint256 feeAmount, uint256 flag\n    );\n\n    event SurplusFeeUserFromTokenPaid(\n        bytes orderUid, address indexed token, address indexed userAddress, uint256 feeAmount\n    );\n\n    event SurplusFeeUserToTokenPaid(\n        bytes orderUid, address indexed token, address indexed userAddress, uint256 feeAmount\n    );\n\n    /// @notice Emitted when an order settles with a non-zero output shortfall within its settlement limits.\n    /// @dev Amounts are nominal gross values before output-token fees and surplus, not observed balance changes.\n    /// `thresholdPercent` records the backend-provided Trade value and is not part of the signed order.\n    event ThresholdFill(\n        bytes orderUid,\n        address indexed toToken,\n        uint256 expectedToGross,\n        uint256 actualToGross,\n        uint256 thresholdPercent\n    );\n\n    // ============ Constructor ============\n\n    constructor(address tokenApproveProxy_) Ownable() {\n        require(tokenApproveProxy_ != address(0), \"zero proxy\");\n        tokenApproveProxy = tokenApproveProxy_;\n    }\n\n    // ============ Modifiers ============\n\n    modifier onlySolver() {\n        require(solvers[msg.sender], \"not a solver\");\n        _;\n    }\n\n    // ============ External Functions ============\n\n    receive() external payable {}\n\n    /// @notice Returns whether an address is an authorized solver.\n    function isSolver(address prospectiveSolver) external view returns (bool) {\n        return solvers[prospectiveSolver];\n    }\n\n    /// @notice Add an address to the set of allowed solvers.\n    function addSolver(address solver) external onlyOwner {\n        require(solver != address(0), \"zero address\");\n        solvers[solver] = true;\n        emit SolverAdded(solver);\n    }\n\n    /// @notice Remove an address from the set of allowed solvers.\n    function removeSolver(address solver) external onlyOwner {\n        require(solver != address(0), \"zero address\");\n        solvers[solver] = false;\n        emit SolverRemoved(solver);\n    }\n\n    /// @notice Main settlement entry point.\n    /// @dev Orchestrates the settlement flow in distinct phases.\n    function settle(\n        uint256 settleId,\n        IERC20[] calldata tokens,\n        uint256[] calldata clearingPrices,\n        TradeLib.Data[] calldata trades,\n        InteractionLib.Data[][3] calldata interactions,\n        SettlementTypes.SurplusFeeInfo calldata surplusFeeInfo\n    ) external nonReentrant onlySolver {\n        require(surplusFeeInfo.feePercent <= 5e8, \"invalid surplus fee percent\");\n        require(surplusFeeInfo.feePercent == 0 || surplusFeeInfo.trimReceiver != address(0), \"trimReceiver required\");\n        require(tokens.length == clearingPrices.length, \"tokens/prices length mismatch\");\n\n        // Phase 1: Pre-settlement interactions\n        _executeInteractions(interactions[0]);\n\n        // Phase 2: Compute all transfers\n        SettlementTypes.ExecutionResult memory result = _computeAllTransfers(tokens, clearingPrices, trades);\n\n        // Phase 3: Execute fund pulls (USER -> Settlement/recipients)\n        _executeFundPulls(result.tocFromTokenFeeTransfers, result.inTransfers);\n\n        // Phase 4: Execute ToB fromToken fees (Settlement -> ToB fee recipients)\n        _executeTransfers(result.tobFromTokenFeeTransfers);\n\n        // Phase 5: Mid-settlement interactions\n        _executeInteractions(interactions[1]);\n\n        // Phase 6: Reconcile output shortfalls against backend-provided thresholds and signed minReturn floors.\n        _applyThresholdGate(result.outTransfers, result.tradeInfos, trades);\n\n        // Phase 7: Execute payouts (Settlement -> users/fee recipients)\n        _executePayouts(result.outTransfers);\n\n        // Phase 8: Distribute surplus pool (all remaining token balances) to batch participants by execution-weighted contribution.\n        uint256[] memory bonuses = _executeSurplusDistribution(result.outTransfers, result.tradeInfos, surplusFeeInfo);\n\n        // Phase 9: Post-settlement interactions\n        _executeInteractions(interactions[2]);\n\n        // Phase 10: Emit trade events\n        _emitTradeEvents(result.tradeInfos, result.outTransfers, bonuses);\n\n        emit Settlement(msg.sender, settleId);\n    }\n\n    function invalidateOrder(bytes calldata orderUid) external {\n        (, address orderOwner,) = orderUid.extractOrderUidParams();\n        require(orderOwner == msg.sender, \"caller does not own order\");\n        filledAmount[orderUid] = type(uint256).max;\n        emit OrderInvalidated(orderOwner, orderUid);\n    }\n\n    // ============================================================================\n    // COMPUTATION & VALIDATION LAYER\n    // ============================================================================\n\n    /// @dev Inserts a token into a transient-storage set, keyed by the current nonce.\n    /// Uses keccak256(namespace, token) as the tstore slot — O(1) with no memory allocation.\n    /// The nonce is stored at _TOKEN_SET_NS itself and incremented per settle(),\n    /// automatically invalidating previous entries without explicit cleanup.\n    /// @return inserted True if token was not present and has been inserted.\n    function _insertUniqueToken(IERC20 token) private returns (bool inserted) {\n        assembly (\"memory-safe\") {\n            let nonce := tload(_TOKEN_SET_NS)\n            mstore(0x00, _TOKEN_SET_NS)\n            mstore(0x20, token)\n            let slot := keccak256(0x00, 0x40)\n            switch eq(tload(slot), nonce)\n            case 0 {\n                tstore(slot, nonce)\n                inserted := 1\n            }\n            default { inserted := 0 }\n        }\n    }\n\n    /// @dev Iterates all trades: validates orders, computes fees, updates filledAmount,\n    /// emits fee events, and aggregates transfer arrays for subsequent execution phases.\n    function _computeAllTransfers(\n        IERC20[] calldata tokens,\n        uint256[] calldata clearingPrices,\n        TradeLib.Data[] calldata trades\n    ) internal returns (SettlementTypes.ExecutionResult memory result) {\n        uint256 n = trades.length;\n        SettlementTypes.TransferBuilder memory builder = _initTransferBuilder(n);\n        result.tradeInfos = new SettlementTypes.TradeInfo[](n);\n\n        RecoveredOrder memory order = allocateRecoveredOrder();\n\n        uint256 prevToTokenIndex = 0;\n        for (uint256 i = 0; i < n; ++i) {\n            require(trades[i].toTokenAddressIndex >= prevToTokenIndex, \"trades not ordered by toToken\");\n            _processSingleTrade(tokens, clearingPrices, trades[i], order, builder, result.tradeInfos, i);\n            prevToTokenIndex = trades[i].toTokenAddressIndex;\n        }\n\n        result.inTransfers = _finalizeArray(builder.inTransfers, builder.inCount);\n        result.outTransfers = _finalizeArray(builder.outTransfers, builder.outCount);\n        result.tocFromTokenFeeTransfers = _finalizeToCArray(builder.tocFromTransfers, builder.tocFromCount);\n        result.tobFromTokenFeeTransfers = _finalizeToBArray(builder.tobFromTransfers, builder.tobFromCount);\n    }\n\n    /// @dev Processes a single trade: validates, computes amounts, builds transfers.\n    function _processSingleTrade(\n        IERC20[] calldata tokens,\n        uint256[] calldata clearingPrices,\n        TradeLib.Data calldata trade,\n        RecoveredOrder memory order,\n        SettlementTypes.TransferBuilder memory builder,\n        SettlementTypes.TradeInfo[] memory tradeInfos,\n        uint256 tradeIndex\n    ) internal {\n        recoverOrderFromTrade(order, tokens, trade);\n\n        // Step 1: Validate order and compute amounts\n        (uint256 fromPrice, uint256 toPrice) = _validateOrder(order.data, clearingPrices, trade);\n        uint256 fromGross = order.data.fromTokenAmount;\n\n        // Step 2: Compute all fees via FeeLib\n        FeeLib.FromFeeResult memory feeResult =\n            FeeLib.validateAndComputeFromFees(order.data.commissionInfos, trade.solverFeeInfo, fromGross);\n        uint256 netFromForSwap = fromGross - feeResult.totalFee;\n        // Round up in user's favor: ensures toGross is never truncated below fair value\n        uint256 toGross = Math.mulDiv(netFromForSwap, fromPrice, toPrice, Math.Rounding.Up);\n        uint256 totalToFee =\n            FeeLib.computeToTokenFees(order.data.commissionInfos, trade.solverFeeInfo, toGross, feeResult.solverIsTo);\n\n        // Step 3: Build fee transfers and emit events\n        _buildFromTokenFeeTransfers(order, fromGross, trade.solverFeeInfo, builder, feeResult);\n        _buildToTokenFeeTransfers(order, toGross, trade.solverFeeInfo, builder, feeResult.solverIsTo);\n\n        // Step 4: Update filled amount, then finalize\n        uint256 currentFilled = filledAmount[order.uid];\n        require(currentFilled != type(uint256).max, \"order invalidated\");\n        uint256 newFilled = currentFilled + fromGross;\n        require(newFilled <= order.data.fromTokenAmount, \"order filled\");\n        filledAmount[order.uid] = newFilled;\n\n        _addInTransfer(builder, order.owner, order.data.fromTokenAddress, fromGross - feeResult.tocFee);\n        uint256 userPayoutIndex = builder.outCount;\n        _addOutTransfer(builder, order.receiver, order.data.toTokenAddress, toGross - totalToFee);\n        // User protection: net payout after all toToken fees must meet the signed minimum.\n        require(toGross - totalToFee >= order.data.toTokenAmount, \"toTokenAmount not respected\");\n\n        tradeInfos[tradeIndex] = SettlementTypes.TradeInfo({\n            orderUid: abi.encodePacked(order.uid),\n            owner: order.owner,\n            fromTokenAddress: order.data.fromTokenAddress,\n            toTokenAddress: order.data.toTokenAddress,\n            fromTokenAmount: fromGross,\n            toGross: toGross,\n            netFromForSwap: netFromForSwap,\n            payoutIndex: userPayoutIndex\n        });\n    }\n\n    function _computeNetShare(uint256 grossShare, uint256 feePercent)\n        private\n        pure\n        returns (uint256 netShare, uint256 fee)\n    {\n        fee = (grossShare * feePercent) / FeeLib.COMMISSION_DENOM;\n        netShare = grossShare - fee;\n    }\n\n    /// @dev Validates order basics and returns computed amounts.\n    function _validateOrder(OrderLib.Data memory data, uint256[] calldata clearingPrices, TradeLib.Data calldata trade)\n        private\n        view\n        returns (uint256 fromPrice, uint256 toPrice)\n    {\n        require(data.validTo >= block.timestamp, \"order expired\");\n        require(address(data.fromTokenAddress) != address(data.toTokenAddress), \"same token swap\");\n        require(data.fromTokenAmount > 0, \"zero fromTokenAmount\");\n        require(trade.thresholdPercent <= FeeLib.COMMISSION_DENOM, \"invalid threshold percent\");\n\n        fromPrice = clearingPrices[trade.fromTokenAddressIndex];\n        toPrice = clearingPrices[trade.toTokenAddressIndex];\n        require(fromPrice > 0 && toPrice > 0, \"zero clearing price\");\n        require(data.fromTokenAmount * fromPrice >= data.toTokenAmount * toPrice, \"limit price not respected\");\n    }\n\n    // ============================================================================\n    // BUILDER HELPERS\n    // ============================================================================\n\n    /// @dev Builds fromToken fee transfers and emits events.\n    function _buildFromTokenFeeTransfers(\n        RecoveredOrder memory order,\n        uint256 fromGross,\n        TradeLib.SolverFeeInfo calldata solverFeeInfo,\n        SettlementTypes.TransferBuilder memory builder,\n        FeeLib.FromFeeResult memory feeResult\n    ) private {\n        OrderLib.CommissionInfo[] memory infos = order.data.commissionInfos;\n        IERC20 token = order.data.fromTokenAddress;\n\n        for (uint256 i = 0; i < infos.length; i++) {\n            if ((infos[i].flag & FeeLib.FROM_TOKEN_COMMISSION) == 0 || infos[i].feePercent == 0) continue;\n            uint256 fee = FeeLib.calculateFee(fromGross, infos[i].feePercent);\n            emit CommissionFeePaid(\n                order.uid, address(token), infos[i].referrerWalletAddress, infos[i].feePercent, fee, infos[i].flag\n            );\n            if (fee == 0) continue;\n\n            if (feeResult.isToB) {\n                _addToBFromTransfer(\n                    builder, token, infos[i].referrerWalletAddress, infos[i].feePercent, fee, infos[i].flag\n                );\n            } else {\n                _addToCTransfer(builder, order.owner, token, infos[i].referrerWalletAddress, fee);\n            }\n        }\n\n        // Solver fromToken fee\n        if (feeResult.solverIsFrom) {\n            uint256 fee = FeeLib.calculateFee(fromGross, solverFeeInfo.feePercent);\n            emit SolverFeePaid(order.uid, address(token), solverFeeInfo.solverAddr, solverFeeInfo.feePercent, fee, solverFeeInfo.flag);\n            if (fee > 0) {\n                if ((solverFeeInfo.flag & FeeLib.IS_TO_B) != 0) {\n                    _addToBFromTransfer(\n                        builder,\n                        token,\n                        solverFeeInfo.solverAddr,\n                        solverFeeInfo.feePercent,\n                        fee,\n                        solverFeeInfo.flag\n                    );\n                } else {\n                    _addToCTransfer(builder, order.owner, token, solverFeeInfo.solverAddr, fee);\n                }\n            }\n        }\n    }\n\n    /// @dev Builds toToken fee transfers and emits events.\n    function _buildToTokenFeeTransfers(\n        RecoveredOrder memory order,\n        uint256 toGross,\n        TradeLib.SolverFeeInfo calldata solverFeeInfo,\n        SettlementTypes.TransferBuilder memory builder,\n        bool solverIsTo\n    ) private {\n        OrderLib.CommissionInfo[] memory infos = order.data.commissionInfos;\n        IERC20 token = order.data.toTokenAddress;\n\n        for (uint256 i = 0; i < infos.length; i++) {\n            if ((infos[i].flag & FeeLib.TO_TOKEN_COMMISSION) == 0 || infos[i].feePercent == 0) continue;\n            uint256 fee = FeeLib.calculateFee(toGross, infos[i].feePercent);\n            emit CommissionFeePaid(\n                order.uid, address(token), infos[i].referrerWalletAddress, infos[i].feePercent, fee, infos[i].flag\n            );\n            if (fee == 0) continue;\n            _addOutTransfer(builder, infos[i].referrerWalletAddress, token, fee);\n        }\n\n        // Solver toToken fee\n        if (solverIsTo) {\n            uint256 fee = FeeLib.calculateFee(toGross, solverFeeInfo.feePercent);\n            emit SolverFeePaid(order.uid, address(token), solverFeeInfo.solverAddr, solverFeeInfo.feePercent, fee, solverFeeInfo.flag);\n            if (fee > 0) {\n                _addOutTransfer(builder, solverFeeInfo.solverAddr, token, fee);\n            }\n        }\n    }\n\n    function _initTransferBuilder(uint256 tradeCount) private pure returns (SettlementTypes.TransferBuilder memory b) {\n        b.inTransfers = new TransferLib.Data[](tradeCount);\n        // - outTransfers per trade: 1 user payout + up to FeeLib.MAX_COMMISSION_ENTRIES toToken commissions + up to 1 toToken solver fee\n        // - fromToken fee transfers per trade (ToC/ToB arrays): up to FeeLib.MAX_COMMISSION_ENTRIES referral fees + up to 1 solver fee\n        b.outTransfers = new TransferLib.Data[](tradeCount * (1 + FeeLib.MAX_COMMISSION_ENTRIES + 1));\n        b.tocFromTransfers =\n            new SettlementTypes.ToCFromTokenFeeTransfer[](tradeCount * (FeeLib.MAX_COMMISSION_ENTRIES + 1));\n        b.tobFromTransfers =\n            new SettlementTypes.ToBFromTokenFeeTransfer[](tradeCount * (FeeLib.MAX_COMMISSION_ENTRIES + 1));\n    }\n\n    function _addInTransfer(SettlementTypes.TransferBuilder memory b, address account, IERC20 token, uint256 amount)\n        private\n        pure\n    {\n        b.inTransfers[b.inCount++] = TransferLib.Data(account, token, amount);\n    }\n\n    function _addOutTransfer(SettlementTypes.TransferBuilder memory b, address account, IERC20 token, uint256 amount)\n        private\n        pure\n    {\n        b.outTransfers[b.outCount++] = TransferLib.Data(account, token, amount);\n    }\n\n    function _addToCTransfer(\n        SettlementTypes.TransferBuilder memory b,\n        address tradeOwner,\n        IERC20 token,\n        address recipient,\n        uint256 amount\n    ) private pure {\n        b.tocFromTransfers[b.tocFromCount++] =\n            SettlementTypes.ToCFromTokenFeeTransfer(tradeOwner, token, recipient, amount);\n    }\n\n    function _addToBFromTransfer(\n        SettlementTypes.TransferBuilder memory b,\n        IERC20 token,\n        address recipient,\n        uint256 feePercent,\n        uint256 amount,\n        uint256 flag\n    ) private pure {\n        b.tobFromTransfers[b.tobFromCount++] =\n            SettlementTypes.ToBFromTokenFeeTransfer(token, recipient, feePercent, amount, flag);\n    }\n\n    function _finalizeArray(TransferLib.Data[] memory src, uint256 len)\n        private\n        pure\n        returns (TransferLib.Data[] memory dst)\n    {\n        assembly {\n            dst := src\n            mstore(dst, len)\n        }\n    }\n\n    function _finalizeToCArray(SettlementTypes.ToCFromTokenFeeTransfer[] memory src, uint256 len)\n        private\n        pure\n        returns (SettlementTypes.ToCFromTokenFeeTransfer[] memory dst)\n    {\n        assembly {\n            dst := src\n            mstore(dst, len)\n        }\n    }\n\n    function _finalizeToBArray(SettlementTypes.ToBFromTokenFeeTransfer[] memory src, uint256 len)\n        private\n        pure\n        returns (SettlementTypes.ToBFromTokenFeeTransfer[] memory dst)\n    {\n        assembly {\n            dst := src\n            mstore(dst, len)\n        }\n    }\n\n    // ============================================================================\n    // EXECUTION LAYER\n    // ============================================================================\n\n    /// @dev Executes fund pulls from users.\n    function _executeFundPulls(\n        SettlementTypes.ToCFromTokenFeeTransfer[] memory tocFromTransfers,\n        TransferLib.Data[] memory inTransfers\n    ) private {\n        ITokenApproveProxy proxy = ITokenApproveProxy(tokenApproveProxy);\n\n        // ToC direct payments (USER -> recipient)\n        for (uint256 i = 0; i < tocFromTransfers.length; i++) {\n            SettlementTypes.ToCFromTokenFeeTransfer memory t = tocFromTransfers[i];\n            if (t.amount == 0) continue;\n            _requireNotNativeETH(t.token);\n            proxy.claimTokens(address(t.token), t.owner, t.recipient, t.amount);\n        }\n\n        // Main pulls (USER -> Settlement)\n        for (uint256 i = 0; i < inTransfers.length; i++) {\n            TransferLib.Data memory t = inTransfers[i];\n            if (t.amount == 0) continue;\n            _requireNotNativeETH(t.token);\n            proxy.claimTokens(address(t.token), t.account, address(this), t.amount);\n        }\n    }\n\n    /// @dev Executes ToB fromToken fee transfers.\n    function _executeTransfers(SettlementTypes.ToBFromTokenFeeTransfer[] memory transfers) private {\n        for (uint256 i = 0; i < transfers.length; i++) {\n            SettlementTypes.ToBFromTokenFeeTransfer memory t = transfers[i];\n            if (t.amount == 0) continue;\n            _requireNotNativeETH(t.token);\n            TransferLib.safeTransfer(t.token, t.recipient, t.amount);\n        }\n    }\n\n    /// @dev Executes payout transfers.\n    function _executePayouts(TransferLib.Data[] memory transfers) private {\n        for (uint256 i = 0; i < transfers.length; i++) {\n            TransferLib.Data memory t = transfers[i];\n            if (t.amount == 0) continue;\n            TransferLib.safeTransfer(t.token, t.account, t.amount);\n        }\n    }\n\n    /// @dev Distributes all remaining token balances as a surplus pool.\n    /// Participants for each token are all executed trades that involve the token\n    /// on either side (from-side weighted by netFromForSwap, to-side weighted by net payout).\n    function _executeSurplusDistribution(\n        TransferLib.Data[] memory outTransfers,\n        SettlementTypes.TradeInfo[] memory tradeInfos,\n        SettlementTypes.SurplusFeeInfo calldata surplusInfo\n    ) private returns (uint256[] memory bonuses) {\n        bonuses = new uint256[](outTransfers.length);\n        uint256 n = tradeInfos.length;\n        if (outTransfers.length == 0 || n == 0) return bonuses;\n\n        // Increment nonce to invalidate previous dedup entries.\n        assembly (\"memory-safe\") {\n            tstore(_TOKEN_SET_NS, add(tload(_TOKEN_SET_NS), 1))\n        }\n\n        // Collect unique settlement tokens participating in this batch.\n        IERC20[] memory poolTokens = new IERC20[](n * 2);\n        uint256 tokenCount = 0;\n\n        // Single pass: for each trade, try inserting its output token and then its input token.\n        for (uint256 i = 0; i < n; i++) {\n            IERC20 toToken = tradeInfos[i].toTokenAddress;\n            if (_insertUniqueToken(toToken)) {\n                poolTokens[tokenCount++] = toToken;\n            }\n            IERC20 fromToken = tradeInfos[i].fromTokenAddress;\n            if (_insertUniqueToken(fromToken)) {\n                poolTokens[tokenCount++] = fromToken;\n            }\n        }\n\n        for (uint256 t = 0; t < tokenCount; t++) {\n            _executeSingleTokenSurplusDistribution(poolTokens[t], outTransfers, tradeInfos, surplusInfo, bonuses, n);\n        }\n    }\n\n    function _executeSingleTokenSurplusDistribution(\n        IERC20 token,\n        TransferLib.Data[] memory outTransfers,\n        SettlementTypes.TradeInfo[] memory tradeInfos,\n        SettlementTypes.SurplusFeeInfo calldata surplusInfo,\n        uint256[] memory bonuses,\n        uint256 n\n    ) private {\n        // Pool is the token's current on-contract balance after mandatory payouts.\n        uint256 pool =\n            address(token) == TransferLib.BUY_ETH_ADDRESS ? address(this).balance : token.balanceOf(address(this));\n        if (pool == 0) return;\n\n        // First pass: collect participant weights.\n        // from-side weight uses netFromForSwap; to-side weight uses userPayout.\n        SurplusAccumulator memory acc;\n        for (uint256 i = 0; i < n; i++) {\n            if (address(tradeInfos[i].fromTokenAddress) == address(token)) {\n                uint256 fromWeight = tradeInfos[i].netFromForSwap;\n                if (fromWeight > 0) {\n                    acc.totalWeight += fromWeight;\n                    acc.participantCount++;\n                }\n            }\n\n            if (address(tradeInfos[i].toTokenAddress) == address(token)) {\n                uint256 toWeight = outTransfers[tradeInfos[i].payoutIndex].amount;\n                if (toWeight > 0) {\n                    acc.totalWeight += toWeight;\n                    acc.participantCount++;\n                }\n            }\n        }\n        if (acc.totalWeight == 0 || acc.participantCount == 0) return;\n\n        // Second pass: allocate gross pool pro-rata by weight, then apply\n        // per-participant trim cap:\n        // fee_i = min(grossShare_i * feePercent, weight_i * capPercent)\n        // Last participant absorbs rounding dust for gross share conservation.\n        for (uint256 i = 0; i < n; i++) {\n            if (address(tradeInfos[i].fromTokenAddress) == address(token)) {\n                uint256 fromWeight = tradeInfos[i].netFromForSwap;\n                if (fromWeight > 0) {\n                    acc.seen++;\n                    uint256 grossShare = (acc.seen == acc.participantCount)\n                        ? (pool - acc.distributedGross)\n                        : Math.mulDiv(pool, fromWeight, acc.totalWeight);\n                    acc.distributedGross += grossShare;\n                    if (grossShare > 0) {\n                        (uint256 netShare, uint256 fee) = _computeNetShare(grossShare, surplusInfo.feePercent);\n                        acc.trimTotal += fee;\n                        if (netShare > 0) {\n                            TransferLib.safeTransfer(token, tradeInfos[i].owner, netShare);\n                            emit SurplusFeeUserFromTokenPaid(\n                                tradeInfos[i].orderUid, address(token), tradeInfos[i].owner, netShare\n                            );\n                        }\n                    }\n                }\n            }\n\n            if (address(tradeInfos[i].toTokenAddress) == address(token)) {\n                uint256 toWeight = outTransfers[tradeInfos[i].payoutIndex].amount;\n                if (toWeight > 0) {\n                    acc.seen++;\n                    uint256 grossShare = (acc.seen == acc.participantCount)\n                        ? (pool - acc.distributedGross)\n                        : Math.mulDiv(pool, toWeight, acc.totalWeight);\n                    acc.distributedGross += grossShare;\n                    if (grossShare > 0) {\n                        (uint256 netShare, uint256 fee) = _computeNetShare(grossShare, surplusInfo.feePercent);\n                        acc.trimTotal += fee;\n                        uint256 idx = tradeInfos[i].payoutIndex;\n                        address recipient = outTransfers[idx].account;\n                        bonuses[idx] += netShare;\n                        if (netShare > 0) {\n                            TransferLib.safeTransfer(token, recipient, netShare);\n                            emit SurplusFeeUserToTokenPaid(tradeInfos[i].orderUid, address(token), recipient, netShare);\n                        }\n                    }\n                }\n            }\n        }\n\n        if (surplusInfo.feePercent > 0) {\n            emit SurplusFeePaid(\n                address(token), surplusInfo.trimReceiver, surplusInfo.feePercent, acc.trimTotal, surplusInfo.flag\n            );\n        }\n\n        if (acc.trimTotal > 0) {\n            TransferLib.safeTransfer(token, surplusInfo.trimReceiver, acc.trimTotal);\n        }\n    }\n\n    // ============================================================================\n    // OUTPUT SHORTFALL GATE\n    // ============================================================================\n\n    /// @dev Aggregates gross targets by actual output-token address and applies any shortfall before payouts.\n    /// The same address may appear at multiple, non-contiguous token indices.\n    function _applyThresholdGate(\n        TransferLib.Data[] memory outTransfers,\n        SettlementTypes.TradeInfo[] memory tradeInfos,\n        TradeLib.Data[] calldata trades\n    ) private {\n        uint256 n = tradeInfos.length;\n        if (n == 0) return;\n\n        // Keep output-token grouping allocation-free when the entire batch uses one token address.\n        IERC20 batchToken = tradeInfos[0].toTokenAddress;\n        uint256 batchRequired = tradeInfos[0].toGross;\n        uint256 scan = 1;\n        while (scan < n && address(tradeInfos[scan].toTokenAddress) == address(batchToken)) {\n            batchRequired += tradeInfos[scan].toGross;\n            unchecked {\n                ++scan;\n            }\n        }\n        if (scan == n) {\n            uint256 bal = address(batchToken) == TransferLib.BUY_ETH_ADDRESS\n                ? address(this).balance\n                : batchToken.balanceOf(address(this));\n            if (bal < batchRequired) {\n                _applyGroupShortfall(outTransfers, tradeInfos, trades, batchToken, batchRequired - bal);\n            }\n            return;\n        }\n\n        uint256 maxGroupCount = n - scan + 1;\n        IERC20[] memory groupTokens = new IERC20[](maxGroupCount);\n        uint256[] memory groupRequired = new uint256[](maxGroupCount);\n        groupTokens[0] = batchToken;\n        groupRequired[0] = batchRequired;\n        uint256 groupCount = 1;\n\n        // The prefix [0, scan) is already aggregated into group 0. Group the remaining trades by address.\n        for (uint256 i = scan; i < n; ++i) {\n            IERC20 token = tradeInfos[i].toTokenAddress;\n            uint256 groupIndex = groupCount;\n            for (uint256 g = 0; g < groupCount; ++g) {\n                if (address(groupTokens[g]) == address(token)) {\n                    groupIndex = g;\n                    break;\n                }\n            }\n            if (groupIndex == groupCount) {\n                groupTokens[groupCount] = token;\n                ++groupCount;\n            }\n            groupRequired[groupIndex] += tradeInfos[i].toGross;\n        }\n\n        for (uint256 g = 0; g < groupCount; ++g) {\n            IERC20 token = groupTokens[g];\n            uint256 required = groupRequired[g];\n            uint256 bal =\n                address(token) == TransferLib.BUY_ETH_ADDRESS ? address(this).balance : token.balanceOf(address(this));\n            if (bal < required) {\n                _applyGroupShortfall(outTransfers, tradeInfos, trades, token, required - bal);\n            }\n        }\n    }\n\n    /// @dev Allocates a group's shortfall by normalized threshold capacity (`toGross * thresholdPercent`),\n    /// capped by each order's minimum return. Any unallocated remainder goes to orders with spare capacity.\n    function _applyGroupShortfall(\n        TransferLib.Data[] memory outTransfers,\n        SettlementTypes.TradeInfo[] memory tradeInfos,\n        TradeLib.Data[] calldata trades,\n        IERC20 token,\n        uint256 shortfall\n    ) private {\n        uint256 n = tradeInfos.length;\n\n        uint256[] memory thresholdWeights = new uint256[](n);\n        uint256[] memory capacities = new uint256[](n);\n        uint256[] memory shares = new uint256[](n);\n        uint256 totalThresholdCapacity = 0;\n        uint256 totalCapacity = 0;\n\n        // tradeInfos preserves the original trade order. Compute each order's effective capacity first.\n        for (uint256 k = 0; k < n; ++k) {\n            if (address(tradeInfos[k].toTokenAddress) != address(token)) continue;\n\n            uint256 thresholdCapacity =\n                Math.mulDiv(tradeInfos[k].toGross, trades[k].thresholdPercent, FeeLib.COMMISSION_DENOM);\n            thresholdWeights[k] = thresholdCapacity;\n            totalThresholdCapacity += thresholdCapacity;\n\n            uint256 minReturnCapacity = outTransfers[tradeInfos[k].payoutIndex].amount - trades[k].toTokenAmount;\n            uint256 capacity = thresholdCapacity < minReturnCapacity ? thresholdCapacity : minReturnCapacity;\n            capacities[k] = capacity;\n            totalCapacity += capacity;\n        }\n\n        if (shortfall > totalCapacity) {\n            if (shortfall > totalThresholdCapacity) {\n                revert(\"threshold not met\");\n            }\n            revert(\"toTokenAmount not respected\");\n        }\n\n        // First round: allocate proportionally to each order's normalized threshold capacity.\n        uint256 remaining = shortfall;\n        for (uint256 k = 0; k < n; ++k) {\n            if (address(tradeInfos[k].toTokenAddress) != address(token)) continue;\n\n            uint256 share = 0;\n            if (remaining > 0) {\n                share = Math.mulDiv(shortfall, thresholdWeights[k], totalThresholdCapacity, Math.Rounding.Up);\n                if (share > capacities[k]) share = capacities[k];\n                if (share > remaining) share = remaining;\n                remaining -= share;\n            }\n            shares[k] = share;\n            capacities[k] -= share;\n        }\n\n        // Slow path: redistribute any capacity-capped remainder among orders with spare capacity.\n        while (remaining > 0) {\n            uint256 activeWeight = 0;\n            for (uint256 i = 0; i < n; ++i) {\n                if (capacities[i] > 0) activeWeight += thresholdWeights[i];\n            }\n            assert(activeWeight > 0);\n\n            uint256 roundAmount = remaining;\n            uint256 remainingBeforeRound = remaining;\n            for (uint256 i = 0; i < n && remaining > 0; ++i) {\n                if (capacities[i] == 0) continue;\n\n                uint256 extra = Math.mulDiv(roundAmount, thresholdWeights[i], activeWeight, Math.Rounding.Up);\n                if (extra > capacities[i]) extra = capacities[i];\n                if (extra > remaining) extra = remaining;\n                shares[i] += extra;\n                capacities[i] -= extra;\n                remaining -= extra;\n            }\n            assert(remaining < remainingBeforeRound);\n        }\n\n        // Apply the final allocation and emit one event per affected order.\n        for (uint256 k = 0; k < n; ++k) {\n            uint256 share = shares[k];\n            if (share == 0) continue;\n\n            uint256 idx = tradeInfos[k].payoutIndex;\n            outTransfers[idx].amount -= share;\n\n            uint256 toGross = tradeInfos[k].toGross;\n            emit ThresholdFill(\n                tradeInfos[k].orderUid, address(token), toGross, toGross - share, trades[k].thresholdPercent\n            );\n        }\n    }\n\n    /// @dev Executes interaction calls (used for pre/mid/post-settlement phases).\n    function _executeInteractions(InteractionLib.Data[] calldata interactions) private {\n        for (uint256 i = 0; i < interactions.length; ++i) {\n            InteractionLib.Data calldata ix = interactions[i];\n            require(ix.target != tokenApproveProxy, \"forbidden interaction\");\n            InteractionLib.execute(ix);\n            emit Interaction(ix.target, ix.value, InteractionLib.selector(ix));\n        }\n    }\n\n    // ============================================================================\n    // UTILITIES\n    // ============================================================================\n\n    /// @dev ETH-out is supported, but ETH-in is not.\n    function _requireNotNativeETH(IERC20 token) private pure {\n        require(address(token) != TransferLib.BUY_ETH_ADDRESS, \"cannot transfer native ETH\");\n    }\n\n    function _emitTradeEvents(\n        SettlementTypes.TradeInfo[] memory infos,\n        TransferLib.Data[] memory outTransfers,\n        uint256[] memory bonuses\n    ) private {\n        for (uint256 i = 0; i < infos.length; i++) {\n            uint256 idx = infos[i].payoutIndex;\n            emit Trade(\n                infos[i].owner,\n                infos[i].fromTokenAddress,\n                infos[i].toTokenAddress,\n                infos[i].fromTokenAmount,\n                outTransfers[idx].amount + bonuses[idx],\n                infos[i].orderUid\n            );\n        }\n    }\n}\n"},"src/interfaces/IERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n\n// Vendored from OpenZeppelin contracts with minor modifications:\n// - Modified Solidity version\n// - Formatted code\n// - Added `name`, `symbol` and `decimals` function declarations\n// <https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v3.4.0/contracts/token/ERC20/IERC20.sol>\n\npragma solidity 0.8.24;\n\n/**\n * @dev Interface of the ERC20 standard as defined in the EIP.\n */\ninterface IERC20 {\n    /**\n     * @dev Returns the name of the token.\n     */\n    function name() external view returns (string memory);\n\n    /**\n     * @dev Returns the symbol of the token.\n     */\n    function symbol() external view returns (string memory);\n\n    /**\n     * @dev Returns the number of decimals the token uses.\n     */\n    function decimals() external view returns (uint8);\n\n    /**\n     * @dev Returns the amount of tokens in existence.\n     */\n    function totalSupply() external view returns (uint256);\n\n    /**\n     * @dev Returns the amount of tokens owned by `account`.\n     */\n    function balanceOf(address account) external view returns (uint256);\n\n    /**\n     * @dev Moves `amount` tokens from the caller's account to `recipient`.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * Emits a {Transfer} event.\n     */\n    function transfer(address recipient, uint256 amount) external returns (bool);\n\n    /**\n     * @dev Returns the remaining number of tokens that `spender` will be\n     * allowed to spend on behalf of `owner` through {transferFrom}. This is\n     * zero by default.\n     *\n     * This value changes when {approve} or {transferFrom} are called.\n     */\n    function allowance(address owner, address spender) external view returns (uint256);\n\n    /**\n     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * IMPORTANT: Beware that changing an allowance with this method brings the risk\n     * that someone may use both the old and the new allowance by unfortunate\n     * transaction ordering. One possible solution to mitigate this race\n     * condition is to first reduce the spender's allowance to 0 and set the\n     * desired value afterwards:\n     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\n     *\n     * Emits an {Approval} event.\n     */\n    function approve(address spender, uint256 amount) external returns (bool);\n\n    /**\n     * @dev Moves `amount` tokens from `sender` to `recipient` using the\n     * allowance mechanism. `amount` is then deducted from the caller's\n     * allowance.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * Emits a {Transfer} event.\n     */\n    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);\n\n    /**\n     * @dev Emitted when `value` tokens are moved from one account (`from`) to\n     * another (`to`).\n     *\n     * Note that `value` may be zero.\n     */\n    event Transfer(address indexed from, address indexed to, uint256 value);\n\n    /**\n     * @dev Emitted when the allowance of a `spender` for an `owner` is set by\n     * a call to {approve}. `value` is the new allowance.\n     */\n    event Approval(address indexed owner, address indexed spender, uint256 value);\n}\n"},"src/interfaces/ITokenApproveProxy.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.24;\n\ninterface ITokenApproveProxy {\n    function claimTokens(address token, address who, address dest, uint256 amount) external;\n}\n"},"src/libraries/InteractionLib.sol":{"content":"// SPDX-License-Identifier: LGPL-3.0-or-later\npragma solidity 0.8.24;\n\n/// @title Interaction Library\nlibrary InteractionLib {\n    /// @dev Interaction data for performing arbitrary contract interactions.\n    struct Data {\n        address target;\n        uint256 value;\n        bytes callData;\n    }\n\n    /// @dev Execute an arbitrary contract interaction.\n    ///\n    /// @param interaction Interaction data.\n    function execute(Data calldata interaction) internal {\n        address target = interaction.target;\n        uint256 value = interaction.value;\n        bytes calldata callData = interaction.callData;\n\n        // NOTE: Use assembly to call the interaction instead of a low level\n        // call for two reasons:\n        // - We don't want to copy the return data, since we discard it for\n        // interactions.\n        // - Solidity will under certain conditions generate code to copy input\n        // calldata twice to memory (the second being a \"memcopy loop\").\n        // solhint-disable-next-line no-inline-assembly\n        assembly (\"memory-safe\") {\n            let freeMemoryPointer := mload(0x40)\n            mstore(0x40, add(freeMemoryPointer, callData.length))\n            calldatacopy(freeMemoryPointer, callData.offset, callData.length)\n            if iszero(call(gas(), target, value, freeMemoryPointer, callData.length, 0, 0)) {\n                returndatacopy(0, 0, returndatasize())\n                revert(0, returndatasize())\n            }\n        }\n    }\n\n    /// @dev Extracts the Solidity ABI selector for the specified interaction.\n    ///\n    /// @param interaction Interaction data.\n    /// @return result The 4 byte function selector of the call encoded in\n    /// this interaction.\n    function selector(Data calldata interaction) internal pure returns (bytes4 result) {\n        bytes calldata callData = interaction.callData;\n        if (callData.length >= 4) {\n            // NOTE: Read the first word of the interaction's calldata. The\n            // value does not need to be shifted since `bytesN` values are left\n            // aligned, and the value does not need to be masked since masking\n            // occurs when the value is accessed and not stored:\n            // <https://docs.soliditylang.org/en/v0.8.24/abi-spec.html#encoding-of-indexed-event-parameters>\n            // <https://docs.soliditylang.org/en/v0.8.24/assembly.html#access-to-external-variables-functions-and-libraries>\n            // solhint-disable-next-line no-inline-assembly\n            assembly (\"memory-safe\") {\n                result := calldataload(callData.offset)\n            }\n        }\n    }\n}\n"},"src/libraries/OrderLib.sol":{"content":"// SPDX-License-Identifier: LGPL-3.0-or-later\npragma solidity 0.8.24;\n\nimport \"../interfaces/IERC20.sol\";\n\n/// @title Order Library\nlibrary OrderLib {\n    /// @dev Commission configuration signed by the user as part of the order.\n    /// @notice Key data structure (offchain + onchain shared semantics).\n    /// - feePercent: commission rate in 1e9 precision (decimal 9). The total commission rate per\n    ///   order is capped at 3% (see FeeLib.COMMISSION_MAX_TOTAL_PERCENT).\n    /// - referrerWalletAddress: commission receiver address.\n    /// - flag: compact bitmask (direction + fund-flow + offchain labels). The contract enforces\n    ///   direction/fund-flow consistency, while label bits are only parsed offchain.\n    struct CommissionInfo {\n        uint256 feePercent;\n        address referrerWalletAddress;\n        uint256 flag;\n    }\n\n    /// @dev The complete data for an order. This struct contains all order parameters that are signed for submitting to the protocol.\n    struct Data {\n        IERC20 fromTokenAddress;\n        IERC20 toTokenAddress;\n        address owner;\n        address receiver;\n        uint256 fromTokenAmount;\n        uint256 toTokenAmount;\n        uint32 validTo;\n        bytes32 appData;\n        bytes32 swapMode;\n        bool partiallyFillable;\n        CommissionInfo[] commissionInfos;\n    }\n\n    /// @dev The order EIP-712 type hash for the `Data` struct.\n    ///\n    /// This value is pre-computed from the following expression:\n    /// ```\n    /// keccak256(\n    ///     \"Order(\" +\n    ///         \"address fromTokenAddress,\" +\n    ///         \"address toTokenAddress,\" +\n    ///         \"address owner,\" +\n    ///         \"address receiver,\" +\n    ///         \"uint256 fromTokenAmount,\" +\n    ///         \"uint256 toTokenAmount,\" +\n    ///         \"uint32 validTo,\" +\n    ///         \"bytes32 appData,\" +\n    ///         \"bytes32 swapMode,\" +\n    ///         \"bool partiallyFillable,\" +\n    ///         \"CommissionInfo[] commissionInfos\" +\n    ///     \")\" +\n    ///     \"CommissionInfo(uint256 feePercent,address referrerWalletAddress,uint256 flag)\"\n    /// )\n    /// ```\n    bytes32 internal constant TYPE_HASH = keccak256(\n        \"Order(address fromTokenAddress,address toTokenAddress,address owner,address receiver,uint256 fromTokenAmount,uint256 toTokenAmount,uint32 validTo,bytes32 appData,bytes32 swapMode,bool partiallyFillable,CommissionInfo[] commissionInfos)CommissionInfo(uint256 feePercent,address referrerWalletAddress,uint256 flag)\"\n    );\n\n    bytes32 internal constant COMMISSION_INFO_TYPE_HASH =\n        keccak256(\"CommissionInfo(uint256 feePercent,address referrerWalletAddress,uint256 flag)\");\n\n    /// @dev The marker value for an exactIn swapMode for computing the order\n    /// struct hash. This allows EIP-712 compatible wallets to display a\n    /// descriptive string for the swapMode (instead of 0 or 1).\n    ///\n    /// This value is pre-computed from the following expression:\n    /// ```\n    /// keccak256(\"exactIn\")\n    /// ```\n    bytes32 internal constant SWAPMODE_EXACTIN = hex\"39124995febcd74fadbdf9bbad44826dab79bc9478b4965fd0d2381c0d649b2c\";\n\n    /// @dev The swapMode marker value for a buy order for computing the order\n    /// struct hash.\n    ///\n    /// This value is pre-computed from the following expression:\n    /// ```\n    /// keccak256(\"buy\")\n    /// ```\n    bytes32 internal constant SWAPMODE_BUY = hex\"6ed88e868af0a1983e3886d5f3e95a2fafbd6c3450bc229e27342283dc429ccc\";\n\n    /// @dev Marker address used to indicate that the receiver of the trade\n    /// proceeds should be the owner of the order.\n    ///\n    /// This is chosen to be `address(0)` for gas efficiency as it is expected\n    /// to be the most common case.\n    address internal constant RECEIVER_SAME_AS_OWNER = address(0);\n\n    /// @dev The byte length of an order unique identifier.\n    uint256 internal constant UID_LENGTH = 56;\n\n    /// @dev Returns the actual receiver for an order. This function checks\n    /// whether or not the `receiver` field uses the marker value to indicate\n    /// it is the same as the order owner.\n    ///\n    /// @return receiver The actual receiver of trade proceeds.\n    function actualReceiver(Data memory order, address owner) internal pure returns (address receiver) {\n        if (order.receiver == RECEIVER_SAME_AS_OWNER) {\n            receiver = owner;\n        } else {\n            receiver = order.receiver;\n        }\n    }\n\n    /// @dev Return the EIP-712 signing hash for the specified order.\n    ///\n    /// @param order The order to compute the EIP-712 signing hash for.\n    /// @param domainSeparator The EIP-712 domain separator to use.\n    /// @return orderDigest The 32 byte EIP-712 struct hash.\n    function hash(Data memory order, bytes32 domainSeparator) internal pure returns (bytes32 orderDigest) {\n        bytes32 structHash = keccak256(\n            abi.encode(\n                TYPE_HASH,\n                address(order.fromTokenAddress),\n                address(order.toTokenAddress),\n                order.owner,\n                order.receiver,\n                order.fromTokenAmount,\n                order.toTokenAmount,\n                order.validTo,\n                order.appData,\n                order.swapMode,\n                order.partiallyFillable,\n                commissionInfosHash(order.commissionInfos)\n            )\n        );\n\n        // NOTE: Now that we have the struct hash, compute the EIP-712 signing\n        // hash using scratch memory past the free memory pointer. The signing\n        // hash is computed from `\"\\x19\\x01\" || domainSeparator || structHash`.\n        // <https://docs.soliditylang.org/en/v0.8.24/internals/layout_in_memory.html#layout-in-memory>\n        // <https://github.com/ethereum/EIPs/blob/master/EIPS/eip-712.md#specification>\n        // solhint-disable-next-line no-inline-assembly\n        assembly (\"memory-safe\") {\n            let freeMemoryPointer := mload(0x40)\n            mstore(0x40, add(freeMemoryPointer, 66))\n            mstore(freeMemoryPointer, \"\\x19\\x01\")\n            mstore(add(freeMemoryPointer, 2), domainSeparator)\n            mstore(add(freeMemoryPointer, 34), structHash)\n            orderDigest := keccak256(freeMemoryPointer, 66)\n        }\n    }\n\n    function commissionInfoHash(CommissionInfo memory info) internal pure returns (bytes32) {\n        return keccak256(abi.encode(COMMISSION_INFO_TYPE_HASH, info.feePercent, info.referrerWalletAddress, info.flag));\n    }\n\n    function commissionInfosHash(CommissionInfo[] memory infos) internal pure returns (bytes32 result) {\n        // EIP-712: array values are encoded as keccak256(concat(elementHash...))\n        bytes32[] memory hashes = new bytes32[](infos.length);\n        for (uint256 i = 0; i < infos.length; i++) {\n            hashes[i] = commissionInfoHash(infos[i]);\n        }\n        result = keccak256(abi.encodePacked(hashes));\n    }\n\n    /// @dev Packs order UID parameters into the specified memory location. The\n    /// result is equivalent to `abi.encodePacked(...)` with the difference that\n    /// it allows re-using the memory for packing the order UID.\n    ///\n    /// This function reverts if the order UID buffer is not the correct size.\n    ///\n    /// @param orderUid The buffer pack the order UID parameters into.\n    /// @param orderDigest The EIP-712 struct digest derived from the order\n    /// parameters.\n    /// @param owner The address of the user who owns this order.\n    /// @param validTo The epoch time at which the order will stop being valid.\n    function packOrderUidParams(bytes memory orderUid, bytes32 orderDigest, address owner, uint32 validTo)\n        internal\n        pure\n    {\n        require(orderUid.length == UID_LENGTH, \"Order: uid buffer overflow\");\n\n        // NOTE: Write the order UID to the allocated memory buffer. The order\n        // parameters are written to memory in **reverse order** as memory\n        // operations write 32-bytes at a time and we want to use a packed\n        // encoding. This means, for example, that after writing the value of\n        // `owner` to bytes `20:52`, writing the `orderDigest` to bytes `0:32`\n        // will **overwrite** bytes `20:32`. This is desirable as addresses are\n        // only 20 bytes and `20:32` should be `0`s:\n        //\n        //        |           1111111111222222222233333333334444444444555555\n        //   byte | 01234567890123456789012345678901234567890123456789012345\n        // -------+---------------------------------------------------------\n        //  field | [.........orderDigest..........][......owner.......][vT]\n        // -------+---------------------------------------------------------\n        // mstore |                         [000000000000000000000000000.vT]\n        //        |                     [00000000000.......owner.......]\n        //        | [.........orderDigest..........]\n        //\n        // Additionally, since Solidity `bytes memory` are length prefixed,\n        // 32 needs to be added to all the offsets.\n        //\n        // solhint-disable-next-line no-inline-assembly\n        assembly (\"memory-safe\") {\n            mstore(add(orderUid, 56), validTo)\n            mstore(add(orderUid, 52), owner)\n            mstore(add(orderUid, 32), orderDigest)\n        }\n    }\n\n    /// @dev Extracts specific order information from the standardized unique\n    /// order id of the protocol.\n    ///\n    /// @param orderUid The unique identifier used to represent an order in\n    /// the protocol. This uid is the packed concatenation of the order digest,\n    /// the owner address and the validTo order parameter. It is used by the\n    /// user to interface with the contract directly, and not by calls that are\n    /// triggered by the solvers.\n    /// @return orderDigest The EIP-712 signing digest derived from the order\n    /// parameters.\n    /// @return owner The address of the user who owns this order.\n    /// @return validTo The epoch time at which the order will stop being valid.\n    function extractOrderUidParams(bytes calldata orderUid)\n        internal\n        pure\n        returns (bytes32 orderDigest, address owner, uint32 validTo)\n    {\n        require(orderUid.length == UID_LENGTH, \"Order: invalid uid\");\n\n        // Use assembly to efficiently decode packed calldata.\n        // solhint-disable-next-line no-inline-assembly\n        assembly (\"memory-safe\") {\n            orderDigest := calldataload(orderUid.offset)\n            owner := shr(96, calldataload(add(orderUid.offset, 32)))\n            validTo := shr(224, calldataload(add(orderUid.offset, 52)))\n        }\n    }\n}\n"},"src/libraries/TradeLib.sol":{"content":"// SPDX-License-Identifier: LGPL-3.0-or-later\npragma solidity 0.8.24;\n\nimport \"../interfaces/IERC20.sol\";\nimport \"../mixins/Signing.sol\";\nimport \"./OrderLib.sol\";\nimport \"./FeeLib.sol\";\n\n/// @title Trade Library\nlibrary TradeLib {\n    using OrderLib for OrderLib.Data;\n    using OrderLib for bytes;\n\n    struct SolverFeeInfo {\n        uint256 feePercent;\n        address solverAddr;\n        uint256 flag;\n    }\n\n    /// @dev A struct representing a trade to be executed as part of a batch\n    /// settlement.\n    struct Data {\n        uint256 fromTokenAddressIndex;\n        uint256 toTokenAddressIndex;\n        address owner;\n        address receiver;\n        uint256 fromTokenAmount;\n        uint256 toTokenAmount;\n        uint32 validTo;\n        bytes32 appData;\n        uint256 flags;\n        uint256 executedAmount;\n        uint256 thresholdPercent;\n        OrderLib.CommissionInfo[] commissionInfos;\n        bytes signature;\n        SolverFeeInfo solverFeeInfo;\n    }\n\n    /// @dev Extracts the order data and signing scheme for the specified trade.\n    ///\n    /// @param trade The trade.\n    /// @param tokens The list of tokens included in the settlement. The token\n    /// indices in the trade parameters map to tokens in this array.\n    /// @param order The memory location to extract the order data to.\n    function extractOrder(Data calldata trade, IERC20[] calldata tokens, OrderLib.Data memory order)\n        internal\n        pure\n        returns (Signing.Scheme signingScheme)\n    {\n        order.fromTokenAddress = tokens[trade.fromTokenAddressIndex];\n        order.toTokenAddress = tokens[trade.toTokenAddressIndex];\n        order.receiver = trade.receiver;\n        order.fromTokenAmount = trade.fromTokenAmount;\n        order.toTokenAmount = trade.toTokenAmount;\n        order.validTo = trade.validTo;\n        order.appData = trade.appData;\n        order.owner = trade.owner;\n        order.commissionInfos = copyCommissionInfos(trade.commissionInfos);\n        (order.swapMode, order.partiallyFillable, signingScheme) = extractFlags(trade.flags);\n    }\n\n    /// @dev Decodes trade flags.\n    ///\n    /// Trade flags are used to tightly encode order metadata required by the\n    /// current implementation:\n    /// - bit0: swap mode check (must be exactIn in this contract)\n    /// - bit1: partial fill flag\n    /// - bits5~: signature scheme\n    ///\n    /// Bits 2~4 are currently reserved and are not interpreted here. The\n    /// flags are chosen such that `0x00` represents a fill-or-kill exactIn\n    /// order signed with EIP-712. The flags byte uses the following format:\n    ///\n    /// ```\n    /// bit | 31 ...   | 6 | 5 | 4 | 3 | 2 | 1 | 0 |\n    /// ----+----------+-------+---+-------+---+---+\n    ///     | reserved | *   * | * | *   * | * | * |\n    ///                  |   |   |   |   |   |   |\n    ///                  |   |   |   |   |   |   +---- order swapMode bit, 0 for exactIn\n    ///                  |   |   |   |   |   |         and 1 for a buy order\n    ///                  |   |   |   |   |   |\n    ///                  |   |   |   |   |   +-------- order fill bit, 0 for fill-or-kill\n    ///                  |   |   |   |   |             and 1 for a partially fillable order\n    ///                  |   |   |   |   |\n    ///                  |   |   +---+---------------- reserved (ignored by this contract)\n    ///                  |   |\n    ///                  +---+------------------------ signature scheme bits:\n    ///                                                00: EIP-712\n    ///                                                01: eth_sign\n    ///                                                10: EIP-1271\n    ///                                                11: pre_sign\n    /// ```\n    function extractFlags(uint256 flags)\n        internal\n        pure\n        returns (bytes32 swapMode, bool partiallyFillable, Signing.Scheme signingScheme)\n    {\n        // NOTE: Only exactIn orders are supported by the current design.\n        require(flags & 0x01 == 0, \"only exactIn supported\");\n        swapMode = OrderLib.SWAPMODE_EXACTIN;\n        // NOTE: Partial fills are disabled. Reject if bit1 is set.\n        require(flags & 0x02 == 0, \"partial fill not supported\");\n        partiallyFillable = false;\n\n        // NOTE: Take advantage of the fact that Solidity will revert if the\n        // following expression does not produce a valid enum value. This means\n        // we check here that the leading reserved bits must be 0.\n        signingScheme = Signing.Scheme(flags >> 5);\n    }\n\n    function copyCommissionInfos(OrderLib.CommissionInfo[] calldata infos)\n        private\n        pure\n        returns (OrderLib.CommissionInfo[] memory copied)\n    {\n        require(infos.length <= FeeLib.MAX_COMMISSION_ENTRIES, \"too many commission infos\");\n        assembly {\n            let length := infos.length\n\n            // Get free memory pointer\n            copied := mload(0x40)\n\n            // Memory layout for struct[] memory:\n            // [0..32): array length\n            // [32..32+length*32): pointer array (each points to a struct)\n            // [32+length*32..end): struct data (each struct = 96 bytes)\n            // Total size = 32 + length * 32 + length * 96 = 32 + length * 128\n            mstore(0x40, add(copied, add(32, mul(length, 128))))\n\n            // Store length\n            mstore(copied, length)\n\n            // Calculate positions\n            let ptrArrayStart := add(copied, 32)\n            let dataStart := add(ptrArrayStart, mul(length, 32))\n\n            // Copy each struct\n            for { let i := 0 } lt(i, length) { i := add(i, 1) } {\n                // Position of struct data in memory\n                let structPtr := add(dataStart, mul(i, 96))\n\n                // Store pointer in pointer array\n                mstore(add(ptrArrayStart, mul(i, 32)), structPtr)\n\n                // Copy 96 bytes from calldata to memory\n                calldatacopy(structPtr, add(infos.offset, mul(i, 96)), 96)\n            }\n        }\n    }\n}\n"},"src/libraries/TransferLib.sol":{"content":"// SPDX-License-Identifier: LGPL-3.0-or-later\npragma solidity 0.8.24;\n\nimport \"../interfaces/IERC20.sol\";\nimport {SafeERC20} from \"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\";\nimport {IERC20 as OZ_IERC20} from \"@openzeppelin/contracts/token/ERC20/IERC20.sol\";\n\n/// @title Transfer Library\nlibrary TransferLib {\n    /// @dev Transfer data.\n    struct Data {\n        address account;\n        IERC20 token;\n        uint256 amount;\n    }\n\n    /// @dev Ether marker address used to indicate an Ether transfer.\n    address internal constant BUY_ETH_ADDRESS = 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE;\n\n    /// @dev Safely transfers tokens or native ETH.\n    /// @param token The token to transfer (BUY_ETH_ADDRESS for native ETH).\n    /// @param to The recipient address.\n    /// @param amount The amount to transfer.\n    function safeTransfer(IERC20 token, address to, uint256 amount) internal {\n        if (amount == 0) return;\n        if (address(token) == BUY_ETH_ADDRESS) {\n            (bool success,) = to.call{value: amount}(\"\");\n            require(success, \"ETH transfer failed\");\n        } else {\n            SafeERC20.safeTransfer(OZ_IERC20(address(token)), to, amount);\n        }\n    }\n}\n"},"src/libraries/FeeLib.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.24;\n\nimport \"./OrderLib.sol\";\nimport \"./TradeLib.sol\";\n\n/// @title Fee Library\n/// @notice Encapsulates all fee calculation logic for Settlement contract.\n/// @dev Centralizes fee computation to ensure consistency and reduce code duplication.\nlibrary FeeLib {\n    uint256 internal constant COMMISSION_DENOM = 1e9;\n    uint256 internal constant COMMISSION_MAX_TOTAL_PERCENT = 30_000_000; // 3% in 1e9 precision\n    uint256 internal constant MAX_COMMISSION_ENTRIES = 3;\n\n    // Flag bit masks (shared with offchain components)\n    uint256 internal constant FROM_TOKEN_COMMISSION = 1 << 255;\n    uint256 internal constant TO_TOKEN_COMMISSION = 1 << 254;\n    uint256 internal constant IS_TO_B = 1 << 253;\n\n    /// @dev Result of fromToken fee computation.\n    struct FromFeeResult {\n        uint256 totalFee; // Total fromToken fees (commission + solver)\n        uint256 tocFee; // ToC fees (user direct pay, deducted from pull)\n        bool isToB; // Fee fund-flow mode\n        bool solverIsFrom; // Solver fee is fromToken\n        bool solverIsTo; // Solver fee is toToken\n    }\n\n    /// @notice Validates commission config and computes fromToken fees in one pass.\n    /// @dev Enforces: max MAX_COMMISSION_ENTRIES entries, total <= 3%, consistent direction/fund-flow.\n    /// @return result Fee computation result.\n    function validateAndComputeFromFees(\n        OrderLib.CommissionInfo[] memory infos,\n        TradeLib.SolverFeeInfo calldata solverFeeInfo,\n        uint256 fromGross\n    ) internal pure returns (FromFeeResult memory result) {\n        require(infos.length <= MAX_COMMISSION_ENTRIES, \"too many commission infos\");\n\n        uint256 totalPercent;\n        bool seenFrom;\n        bool seenTo;\n        bool seenToB;\n        bool seenToC;\n\n        // Single pass: validate + compute fromToken fees\n        for (uint256 i = 0; i < infos.length; i++) {\n            OrderLib.CommissionInfo memory info = infos[i];\n            totalPercent += info.feePercent;\n\n            bool isFrom = (info.flag & FROM_TOKEN_COMMISSION) != 0;\n            bool isTo = (info.flag & TO_TOKEN_COMMISSION) != 0;\n            bool isToB = (info.flag & IS_TO_B) != 0;\n\n            require(!(isFrom && isTo) && (isFrom || isTo), \"invalid commission direction\");\n            if (info.feePercent > 0) {\n                require(info.referrerWalletAddress != address(0), \"zero fee recipient\");\n            }\n\n            // Only track direction/fund-flow when feePercent > 0\n            if (info.feePercent > 0) {\n                if (isFrom) seenFrom = true;\n                if (isTo) seenTo = true;\n                if (isToB) seenToB = true;\n                else seenToC = true;\n            }\n\n            // Compute fromToken fee (fee may be 0 due to small amount, which is allowed)\n            if (isFrom && info.feePercent > 0) {\n                uint256 fee = calculateFee(fromGross, info.feePercent);\n                result.totalFee += fee;\n                if (!isToB) result.tocFee += fee;\n            }\n        }\n\n        require(totalPercent <= COMMISSION_MAX_TOTAL_PERCENT, \"commission percent too high\");\n        require(!(seenFrom && seenTo), \"mixed commission directions\");\n        require(!(seenToB && seenToC), \"mixed isToB flags\");\n\n        result.isToB = seenToB;\n\n        // Validate and compute solver fee\n        // Solver fee is market-driven. Greedy solvers lose to competitive ones.\n        result.solverIsFrom = solverFeeInfo.feePercent > 0 && (solverFeeInfo.flag & FROM_TOKEN_COMMISSION) != 0\n            && (solverFeeInfo.flag & TO_TOKEN_COMMISSION) == 0;\n        result.solverIsTo = solverFeeInfo.feePercent > 0 && (solverFeeInfo.flag & TO_TOKEN_COMMISSION) != 0\n            && (solverFeeInfo.flag & FROM_TOKEN_COMMISSION) == 0;\n\n        if (solverFeeInfo.feePercent > 0) {\n            require(solverFeeInfo.solverAddr != address(0), \"zero solver addr\");\n            if (totalPercent > 0) {\n                require(\n                    (seenFrom && result.solverIsFrom) || (seenTo && result.solverIsTo),\n                    \"solver/referral fee direction mismatch\"\n                );\n            }\n        }\n\n        // Add solver fromToken fee\n        if (result.solverIsFrom) {\n            uint256 fee = calculateFee(fromGross, solverFeeInfo.feePercent);\n            result.totalFee += fee;\n            if ((solverFeeInfo.flag & IS_TO_B) == 0) result.tocFee += fee;\n        }\n\n        require(result.totalFee <= fromGross, \"fees exceed from\");\n    }\n\n    /// @notice Computes toToken fees (commission + solver).\n    function computeToTokenFees(\n        OrderLib.CommissionInfo[] memory infos,\n        TradeLib.SolverFeeInfo calldata solverFeeInfo,\n        uint256 toGross,\n        bool solverIsTo\n    ) internal pure returns (uint256 totalFee) {\n        for (uint256 i = 0; i < infos.length; i++) {\n            if ((infos[i].flag & TO_TOKEN_COMMISSION) == 0 || infos[i].feePercent == 0) continue;\n            totalFee += calculateFee(toGross, infos[i].feePercent);\n        }\n        if (solverIsTo) {\n            totalFee += calculateFee(toGross, solverFeeInfo.feePercent);\n        }\n        require(totalFee <= toGross, \"fees exceed to\");\n    }\n\n    /// @notice Calculates fee amount from base amount and fee rate.\n    /// @param baseAmount The base amount to calculate fee from.\n    /// @param feePercent Fee rate in 1e9 precision.\n    /// @return feeAmount Computed fee amount.\n    function calculateFee(uint256 baseAmount, uint256 feePercent) internal pure returns (uint256 feeAmount) {\n        if (feePercent == 0) return 0;\n        feeAmount = (baseAmount * feePercent) / COMMISSION_DENOM;\n    }\n}\n"},"src/libraries/SettlementTypes.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.24;\n\nimport \"../interfaces/IERC20.sol\";\nimport \"./TransferLib.sol\";\n\n/// @title Settlement Types\n/// @notice Centralized type definitions for Settlement contract.\nlibrary SettlementTypes {\n    // ============ Fee Transfer Types ============\n\n    /// @dev ToC fromToken fee transfer (USER -> referral/solver, pre-swap).\n    struct ToCFromTokenFeeTransfer {\n        address owner;\n        IERC20 token;\n        address recipient;\n        uint256 amount;\n    }\n\n    /// @dev ToB fromToken fee transfer (Settlement -> referral/solver, pre-swap).\n    struct ToBFromTokenFeeTransfer {\n        IERC20 token;\n        address recipient;\n        uint256 feePercent;\n        uint256 amount;\n        uint256 flag;\n    }\n\n    // ============ Configuration Types ============\n\n    /// @dev Surplus fee distribution configuration.\n    struct SurplusFeeInfo {\n        uint256 feePercent;\n        address trimReceiver;\n        uint256 flag; // reserved for future use.\n    }\n\n    // ============ Result Types ============\n\n    /// @dev Complete result of trade execution computation.\n    struct ExecutionResult {\n        TransferLib.Data[] inTransfers;\n        ToCFromTokenFeeTransfer[] tocFromTokenFeeTransfers;\n        ToBFromTokenFeeTransfer[] tobFromTokenFeeTransfers;\n        TransferLib.Data[] outTransfers;\n        TradeInfo[] tradeInfos;\n    }\n\n    /// @dev Per-trade metadata for surplus distribution and event emission.\n    struct TradeInfo {\n        bytes orderUid;\n        address owner;\n        IERC20 fromTokenAddress;\n        IERC20 toTokenAddress;\n        uint256 fromTokenAmount;\n        uint256 toGross;\n        uint256 netFromForSwap;\n        uint256 payoutIndex;\n    }\n\n    // ============ Internal Processing Types ============\n\n    /// @dev Builder for accumulating transfers during batch processing.\n    struct TransferBuilder {\n        TransferLib.Data[] inTransfers;\n        TransferLib.Data[] outTransfers;\n        ToCFromTokenFeeTransfer[] tocFromTransfers;\n        ToBFromTokenFeeTransfer[] tobFromTransfers;\n        uint256 inCount;\n        uint256 outCount;\n        uint256 tocFromCount;\n        uint256 tobFromCount;\n    }\n}\n"},"src/mixins/Signing.sol":{"content":"// SPDX-License-Identifier: LGPL-3.0-or-later\npragma solidity 0.8.24;\n\nimport \"../interfaces/EIP1271.sol\";\nimport \"../libraries/OrderLib.sol\";\nimport \"../libraries/TradeLib.sol\";\n\n/// @title Signing\nabstract contract Signing {\n    using OrderLib for OrderLib.Data;\n    using OrderLib for bytes;\n\n    /// @dev Recovered trade data containing the extracted order and the\n    /// recovered owner address.\n    struct RecoveredOrder {\n        OrderLib.Data data;\n        bytes uid;\n        address owner;\n        address receiver;\n    }\n\n    /// @dev Signing scheme used for recovery.\n    enum Scheme {\n        Eip712,\n        EthSign,\n        Eip1271,\n        PreSign\n    }\n\n    /// @dev The EIP-712 domain type hash used for computing the domain\n    /// separator.\n    bytes32 private constant DOMAIN_TYPE_HASH =\n        keccak256(\"EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)\");\n\n    /// @dev The EIP-712 domain name used for computing the domain separator.\n    bytes32 private constant DOMAIN_NAME = keccak256(\"OKX Intent Swap\");\n\n    /// @dev The EIP-712 domain version used for computing the domain separator.\n    bytes32 private constant DOMAIN_VERSION = keccak256(\"v1.0.0\");\n\n    /// @dev Marker value indicating an order is pre-signed.\n    uint256 private constant PRE_SIGNED = uint256(keccak256(\"Signing.Scheme.PreSign\"));\n\n    /// @dev Cached chain id used for domain separator.\n    uint256 private immutable CACHED_CHAIN_ID;\n\n    /// @dev Cached domain separator for the deployment chain.\n    /// The domain separator used for signing orders that gets mixed in\n    /// making signatures for different domains incompatible. This domain\n    /// separator is computed following the EIP-712 standard and has replay\n    /// protection mixed in so that signed orders are only valid for specific\n    /// contracts.\n    bytes32 private immutable CACHED_DOMAIN_SEPARATOR;\n\n    /// @dev Storage indicating whether or not an order has been signed by a\n    /// particular address.\n    mapping(bytes => uint256) public preSignature;\n\n    /// @dev Event that is emitted when an account either pre-signs an order or\n    /// revokes an existing pre-signature.\n    event PreSignature(address indexed owner, bytes orderUid, bool signed);\n\n    constructor() {\n        uint256 chainId;\n        // solhint-disable-next-line no-inline-assembly\n        assembly (\"memory-safe\") {\n            chainId := chainid()\n        }\n\n        CACHED_CHAIN_ID = chainId;\n        CACHED_DOMAIN_SEPARATOR = _computeDomainSeparator(chainId);\n    }\n\n    /// @notice Returns the EIP-712 domain separator used for signing orders.\n    /// @dev Returns cached value on the deployment chain, otherwise recomputes.\n    function domainSeparator() public view returns (bytes32) {\n        if (block.chainid == CACHED_CHAIN_ID) {\n            return CACHED_DOMAIN_SEPARATOR;\n        }\n        return _computeDomainSeparator(block.chainid);\n    }\n\n    function _computeDomainSeparator(uint256 chainId) private view returns (bytes32) {\n        return keccak256(abi.encode(DOMAIN_TYPE_HASH, DOMAIN_NAME, DOMAIN_VERSION, chainId, address(this)));\n    }\n\n    /// @dev Sets a presignature for the specified order UID.\n    ///\n    /// @param orderUid The unique identifier of the order to pre-sign.\n    /// @param signed True to set the order as tradable with pre-sign, false to\n    /// unset it.\n    function setPreSignature(bytes calldata orderUid, bool signed) external {\n        (, address owner,) = orderUid.extractOrderUidParams();\n        require(owner == msg.sender, \"cannot presign order\");\n        if (signed) {\n            preSignature[orderUid] = PRE_SIGNED;\n        } else {\n            preSignature[orderUid] = 0;\n        }\n        emit PreSignature(owner, orderUid, signed);\n    }\n\n    /// @dev Returns an empty recovered order with a pre-allocated buffer for\n    /// packing the unique identifier.\n    ///\n    /// @return recoveredOrder The empty recovered order data.\n    function allocateRecoveredOrder() internal pure returns (RecoveredOrder memory recoveredOrder) {\n        recoveredOrder.uid = new bytes(OrderLib.UID_LENGTH);\n    }\n\n    /// @dev Extracts order data and recovers the signer from the specified\n    /// trade.\n    ///\n    /// @param recoveredOrder Memory location used for writing the recovered order data.\n    /// @param tokens The list of tokens included in the settlement. The token\n    /// indices in the trade parameters map to tokens in this array.\n    /// @param trade The trade data to recover the order data from.\n    function recoverOrderFromTrade(\n        RecoveredOrder memory recoveredOrder,\n        IERC20[] calldata tokens,\n        TradeLib.Data calldata trade\n    ) internal view {\n        OrderLib.Data memory order = recoveredOrder.data;\n\n        Scheme signingScheme = TradeLib.extractOrder(trade, tokens, order);\n        (bytes32 orderDigest, address owner) = recoverOrderSigner(order, signingScheme, trade.signature);\n\n        require(order.owner == owner, \"owner mismatch\");\n\n        recoveredOrder.uid.packOrderUidParams(orderDigest, owner, order.validTo);\n        recoveredOrder.owner = owner;\n        recoveredOrder.receiver = order.actualReceiver(owner);\n    }\n\n    /// @dev The length of any signature from an externally owned account.\n    uint256 private constant ECDSA_SIGNATURE_LENGTH = 65;\n\n    /// @dev Recovers an order's signer from the specified order and signature.\n    ///\n    /// @param order The order to recover a signature for.\n    /// @param signingScheme The signing scheme.\n    /// @param signature The signature bytes.\n    /// @return orderDigest The computed order hash.\n    /// @return owner The recovered address from the specified signature.\n    function recoverOrderSigner(OrderLib.Data memory order, Scheme signingScheme, bytes calldata signature)\n        internal\n        view\n        returns (bytes32 orderDigest, address owner)\n    {\n        orderDigest = order.hash(domainSeparator());\n        if (signingScheme == Scheme.Eip712) {\n            owner = recoverEip712Signer(orderDigest, signature);\n        } else if (signingScheme == Scheme.EthSign) {\n            owner = recoverEthsignSigner(orderDigest, signature);\n        } else if (signingScheme == Scheme.Eip1271) {\n            owner = recoverEip1271Signer(orderDigest, signature);\n        } else {\n            // signingScheme == Scheme.PreSign\n            owner = recoverPreSigner(orderDigest, signature, order.validTo);\n        }\n    }\n\n    /// @dev Perform an ECDSA recover for the specified message and calldata\n    /// signature.\n    ///\n    /// The signature is encoded by tightly packing the following struct:\n    /// ```\n    /// struct EncodedSignature {\n    ///     bytes32 r;\n    ///     bytes32 s;\n    ///     uint8 v;\n    /// }\n    /// ```\n    ///\n    /// @param message The signed message.\n    /// @param encodedSignature The encoded signature.\n    function ecdsaRecover(bytes32 message, bytes calldata encodedSignature) internal pure returns (address signer) {\n        require(encodedSignature.length == ECDSA_SIGNATURE_LENGTH, \"malformed ecdsa signature\");\n\n        bytes32 r;\n        bytes32 s;\n        uint8 v;\n\n        // NOTE: Use assembly to efficiently decode signature data.\n        // solhint-disable-next-line no-inline-assembly\n        assembly (\"memory-safe\") {\n            // r = uint256(encodedSignature[0:32])\n            r := calldataload(encodedSignature.offset)\n            // s = uint256(encodedSignature[32:64])\n            s := calldataload(add(encodedSignature.offset, 32))\n            // v = uint8(encodedSignature[64])\n            v := shr(248, calldataload(add(encodedSignature.offset, 64)))\n        }\n\n        require(\n            uint256(s) <= 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0,\n            \"invalid signature s value\"\n        );\n        signer = ecrecover(message, v, r, s);\n        require(signer != address(0), \"invalid ecdsa signature\");\n    }\n\n    /// @dev Decodes signature bytes originating from an EIP-712-encoded\n    /// signature.\n    ///\n    /// EIP-712 signs typed data. The specifications are described in the\n    /// related EIP (<https://eips.ethereum.org/EIPS/eip-712>).\n    ///\n    /// EIP-712 signatures are encoded as standard ECDSA signatures as described\n    /// in the corresponding decoding function [`ecdsaRecover`].\n    ///\n    /// @param orderDigest The EIP-712 signing digest derived from the order\n    /// parameters.\n    /// @param encodedSignature Calldata pointing to tightly packed signature\n    /// bytes.\n    /// @return owner The address of the signer.\n    function recoverEip712Signer(bytes32 orderDigest, bytes calldata encodedSignature)\n        internal\n        pure\n        returns (address owner)\n    {\n        owner = ecdsaRecover(orderDigest, encodedSignature);\n    }\n\n    /// @dev Decodes signature bytes originating from the output of the eth_sign\n    /// RPC call.\n    ///\n    /// The specifications are described in the Ethereum documentation\n    /// (<https://eth.wiki/json-rpc/API#eth_sign>).\n    ///\n    /// eth_sign signatures are encoded as standard ECDSA signatures as\n    /// described in the corresponding decoding function\n    /// [`ecdsaRecover`].\n    ///\n    /// @param orderDigest The EIP-712 signing digest derived from the order\n    /// parameters.\n    /// @param encodedSignature Calldata pointing to tightly packed signature\n    /// bytes.\n    /// @return owner The address of the signer.\n    function recoverEthsignSigner(bytes32 orderDigest, bytes calldata encodedSignature)\n        internal\n        pure\n        returns (address owner)\n    {\n        // The signed message is encoded as:\n        // `\"\\x19Ethereum Signed Message:\\n\" || length || data`, where\n        // the length is a constant (32 bytes) and the data is defined as:\n        // `orderDigest`.\n        bytes32 ethsignDigest = keccak256(abi.encodePacked(\"\\x19Ethereum Signed Message:\\n32\", orderDigest));\n\n        owner = ecdsaRecover(ethsignDigest, encodedSignature);\n    }\n\n    /// @dev Verifies the input calldata as an EIP-1271 contract signature and\n    /// returns the address of the signer.\n    ///\n    /// The encoded signature tightly packs the following struct:\n    ///\n    /// ```\n    /// struct EncodedEip1271Signature {\n    ///     address owner;\n    ///     bytes signature;\n    /// }\n    /// ```\n    ///\n    /// This function enforces that the encoded data stores enough bytes to\n    /// cover the full length of the decoded signature.\n    ///\n    /// @param encodedSignature The encoded EIP-1271 signature.\n    /// @param orderDigest The EIP-712 signing digest derived from the order\n    /// parameters.\n    /// @return owner The address of the signer.\n    function recoverEip1271Signer(bytes32 orderDigest, bytes calldata encodedSignature)\n        internal\n        view\n        returns (address owner)\n    {\n        // NOTE: Use assembly to read the verifier address from the encoded\n        // signature bytes.\n        // solhint-disable-next-line no-inline-assembly\n        assembly (\"memory-safe\") {\n            // owner = address(encodedSignature[0:20])\n            owner := shr(96, calldataload(encodedSignature.offset))\n        }\n\n        // NOTE: Configure prettier to ignore the following line as it causes\n        // a panic in the Solidity plugin.\n        // prettier-ignore\n        bytes calldata signature = encodedSignature[20:];\n\n        require(\n            EIP1271Verifier(owner).isValidSignature(orderDigest, signature) == EIP1271.MAGICVALUE,\n            \"invalid eip1271 signature\"\n        );\n    }\n\n    /// @dev Verifies the order has been pre-signed. The signature is the\n    /// address of the signer of the order.\n    ///\n    /// @param orderDigest The EIP-712 signing digest derived from the order\n    /// parameters.\n    /// @param encodedSignature The pre-sign signature representing the order UID.\n    /// @param validTo The order expiry timestamp.\n    /// @return owner The address of the signer.\n    function recoverPreSigner(bytes32 orderDigest, bytes calldata encodedSignature, uint32 validTo)\n        internal\n        view\n        returns (address owner)\n    {\n        require(encodedSignature.length == 20, \"malformed presignature\");\n        // NOTE: Use assembly to read the owner address from the encoded\n        // signature bytes.\n        // solhint-disable-next-line no-inline-assembly\n        assembly (\"memory-safe\") {\n            // owner = address(encodedSignature[0:20])\n            owner := shr(96, calldataload(encodedSignature.offset))\n        }\n\n        bytes memory orderUid = new bytes(OrderLib.UID_LENGTH);\n        orderUid.packOrderUidParams(orderDigest, owner, validTo);\n\n        require(preSignature[orderUid] == PRE_SIGNED, \"order not presigned\");\n    }\n}\n"},"src/mixins/ReentrancyGuard.sol":{"content":"// SPDX-License-Identifier: MIT\n\n// Vendored from OpenZeppelin contracts with minor modifications:\n// - Modified Solidity version\n// - Formatted code\n// <https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v3.4.0/contracts/utils/ReentrancyGuard.sol>\n\npragma solidity 0.8.24;\n\n/**\n * @dev Contract module that helps prevent reentrant calls to a function.\n *\n * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier\n * available, which can be applied to functions to make sure there are no nested\n * (reentrant) calls to them.\n *\n * Note that because there is a single `nonReentrant` guard, functions marked as\n * `nonReentrant` may not call one another. This can be worked around by making\n * those functions `private`, and then adding `external` `nonReentrant` entry\n * points to them.\n *\n * TIP: If you would like to learn more about reentrancy and alternative ways\n * to protect against it, check out our blog post\n * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].\n */\nabstract contract ReentrancyGuard {\n    // Booleans are more expensive than uint256 or any type that takes up a full\n    // word because each write operation emits an extra SLOAD to first read the\n    // slot's contents, replace the bits taken up by the boolean, and then write\n    // back. This is the compiler's defense against contract upgrades and\n    // pointer aliasing, and it cannot be disabled.\n\n    // The values being non-zero value makes deployment a bit more expensive,\n    // but in exchange the refund on every call to nonReentrant will be lower in\n    // amount. Since refunds are capped to a percentage of the total\n    // transaction's gas, it is best to keep them low in cases like this one, to\n    // increase the likelihood of the full refund coming into effect.\n    uint256 private constant _NOT_ENTERED = 1;\n    uint256 private constant _ENTERED = 2;\n\n    uint256 private _status;\n\n    constructor() {\n        _status = _NOT_ENTERED;\n    }\n\n    /**\n     * @dev Prevents a contract from calling itself, directly or indirectly.\n     * Calling a `nonReentrant` function from another `nonReentrant`\n     * function is not supported. It is possible to prevent this from happening\n     * by making the `nonReentrant` function external, and make it call a\n     * `private` function that does the actual work.\n     */\n    modifier nonReentrant() {\n        // On the first call to nonReentrant, _notEntered will be true\n        require(_status != _ENTERED, \"ReentrancyGuard: reentrant call\");\n\n        // Any calls to nonReentrant after this point will fail\n        _status = _ENTERED;\n\n        _;\n\n        // By storing the original value once again, a refund is triggered (see\n        // https://eips.ethereum.org/EIPS/eip-2200)\n        _status = _NOT_ENTERED;\n    }\n}\n"},"src/mixins/StorageAccessible.sol":{"content":"// SPDX-License-Identifier: LGPL-3.0-only\n\n// Vendored from Gnosis utility contracts with minor modifications:\n// - Modified Solidity version\n// - Formatted code\n// - Added linter directives to ignore low level call and assembly warnings\n// <https://github.com/gnosis/util-contracts/blob/v3.1.0-solc-7/contracts/StorageAccessible.sol>\n\npragma solidity 0.8.24;\n\n/// @title ViewStorageAccessible - Interface on top of StorageAccessible base class to allow simulations from view functions\ninterface ViewStorageAccessible {\n    /**\n     * @dev Same as `simulateDelegatecall` on StorageAccessible. Marked as view so that it can be called from external contracts\n     * that want to run simulations from within view functions. Will revert if the invoked simulation attempts to change state.\n     */\n    function simulateDelegatecall(address targetContract, bytes memory calldataPayload)\n        external\n        view\n        returns (bytes memory);\n\n    /**\n     * @dev Same as `getStorageAt` on StorageAccessible. This method allows reading arbitrary ranges of storage.\n     */\n    function getStorageAt(uint256 offset, uint256 length) external view returns (bytes memory);\n}\n\n/// @title StorageAccessible - generic base contract that allows callers to access all internal storage.\ncontract StorageAccessible {\n    /**\n     * @dev Reads `length` words of storage in the current contract.\n     * @param offset - the offset in the current contract's storage in words to start reading from\n     * @param length - the number of words (32 bytes) of data to read\n     * @return the bytes that were read.\n     */\n    function getStorageAt(uint256 offset, uint256 length) external view returns (bytes memory) {\n        bytes memory result = new bytes(length * 32);\n        for (uint256 index = 0; index < length; index++) {\n            // solhint-disable-next-line no-inline-assembly\n            assembly (\"memory-safe\") {\n                let word := sload(add(offset, index))\n                mstore(add(add(result, 0x20), mul(index, 0x20)), word)\n            }\n        }\n        return result;\n    }\n\n    /**\n     * @dev Performs a delegatecall on a target contract in the context of self.\n     * Internally reverts execution to avoid side effects (making it static). Catches revert and returns encoded result as bytes.\n     * @param targetContract Address of the contract containing the code to execute.\n     * @param calldataPayload Calldata that should be sent to the target contract (encoded method name and arguments).\n     */\n    function simulateDelegatecall(address targetContract, bytes memory calldataPayload)\n        public\n        returns (bytes memory response)\n    {\n        bytes memory innerCall =\n            abi.encodeWithSelector(this.simulateDelegatecallInternal.selector, targetContract, calldataPayload);\n        // solhint-disable-next-line avoid-low-level-calls\n        (, response) = address(this).call(innerCall);\n        bool innerSuccess = response[response.length - 1] == 0x01;\n        setLength(response, response.length - 1);\n        if (innerSuccess) {\n            return response;\n        } else {\n            revertWith(response);\n        }\n    }\n\n    /**\n     * @dev Performs a delegatecall on a target contract in the context of self.\n     * Internally reverts execution to avoid side effects (making it static). Returns encoded result as revert message\n     * concatenated with the success flag of the inner call as a last byte.\n     * @param targetContract Address of the contract containing the code to execute.\n     * @param calldataPayload Calldata that should be sent to the target contract (encoded method name and arguments).\n     */\n    function simulateDelegatecallInternal(address targetContract, bytes memory calldataPayload)\n        external\n        returns (bytes memory response)\n    {\n        bool success;\n        // solhint-disable-next-line avoid-low-level-calls\n        (success, response) = targetContract.delegatecall(calldataPayload);\n        revertWith(abi.encodePacked(response, success));\n    }\n\n    function revertWith(bytes memory response) internal pure {\n        // solhint-disable-next-line no-inline-assembly\n        assembly (\"memory-safe\") {\n            revert(add(response, 0x20), mload(response))\n        }\n    }\n\n    function setLength(bytes memory buffer, uint256 length) internal pure {\n        // solhint-disable-next-line no-inline-assembly\n        assembly (\"memory-safe\") {\n            mstore(buffer, length)\n        }\n    }\n}\n"},"lib/openzeppelin-contracts/contracts/access/Ownable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol)\n\npragma solidity ^0.8.0;\n\nimport \"../utils/Context.sol\";\n\n/**\n * @dev Contract module which provides a basic access control mechanism, where\n * there is an account (an owner) that can be granted exclusive access to\n * specific functions.\n *\n * By default, the owner account will be the one that deploys the contract. This\n * can later be changed with {transferOwnership}.\n *\n * This module is used through inheritance. It will make available the modifier\n * `onlyOwner`, which can be applied to your functions to restrict their use to\n * the owner.\n */\nabstract contract Ownable is Context {\n    address private _owner;\n\n    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\n\n    /**\n     * @dev Initializes the contract setting the deployer as the initial owner.\n     */\n    constructor() {\n        _transferOwnership(_msgSender());\n    }\n\n    /**\n     * @dev Throws if called by any account other than the owner.\n     */\n    modifier onlyOwner() {\n        _checkOwner();\n        _;\n    }\n\n    /**\n     * @dev Returns the address of the current owner.\n     */\n    function owner() public view virtual returns (address) {\n        return _owner;\n    }\n\n    /**\n     * @dev Throws if the sender is not the owner.\n     */\n    function _checkOwner() internal view virtual {\n        require(owner() == _msgSender(), \"Ownable: caller is not the owner\");\n    }\n\n    /**\n     * @dev Leaves the contract without owner. It will not be possible to call\n     * `onlyOwner` functions. Can only be called by the current owner.\n     *\n     * NOTE: Renouncing ownership will leave the contract without an owner,\n     * thereby disabling any functionality that is only available to the owner.\n     */\n    function renounceOwnership() public virtual onlyOwner {\n        _transferOwnership(address(0));\n    }\n\n    /**\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\n     * Can only be called by the current owner.\n     */\n    function transferOwnership(address newOwner) public virtual onlyOwner {\n        require(newOwner != address(0), \"Ownable: new owner is the zero address\");\n        _transferOwnership(newOwner);\n    }\n\n    /**\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\n     * Internal function without access restriction.\n     */\n    function _transferOwnership(address newOwner) internal virtual {\n        address oldOwner = _owner;\n        _owner = newOwner;\n        emit OwnershipTransferred(oldOwner, newOwner);\n    }\n}\n"},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.9.0) (utils/math/Math.sol)\n\npragma solidity ^0.8.0;\n\n/**\n * @dev Standard math utilities missing in the Solidity language.\n */\nlibrary Math {\n    enum Rounding {\n        Down, // Toward negative infinity\n        Up, // Toward infinity\n        Zero // Toward zero\n    }\n\n    /**\n     * @dev Returns the largest of two numbers.\n     */\n    function max(uint256 a, uint256 b) internal pure returns (uint256) {\n        return a > b ? a : b;\n    }\n\n    /**\n     * @dev Returns the smallest of two numbers.\n     */\n    function min(uint256 a, uint256 b) internal pure returns (uint256) {\n        return a < b ? a : b;\n    }\n\n    /**\n     * @dev Returns the average of two numbers. The result is rounded towards\n     * zero.\n     */\n    function average(uint256 a, uint256 b) internal pure returns (uint256) {\n        // (a + b) / 2 can overflow.\n        return (a & b) + (a ^ b) / 2;\n    }\n\n    /**\n     * @dev Returns the ceiling of the division of two numbers.\n     *\n     * This differs from standard division with `/` in that it rounds up instead\n     * of rounding down.\n     */\n    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {\n        // (a + b - 1) / b can overflow on addition, so we distribute.\n        return a == 0 ? 0 : (a - 1) / b + 1;\n    }\n\n    /**\n     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0\n     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv)\n     * with further edits by Uniswap Labs also under MIT license.\n     */\n    function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) {\n        unchecked {\n            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use\n            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256\n            // variables such that product = prod1 * 2^256 + prod0.\n            uint256 prod0; // Least significant 256 bits of the product\n            uint256 prod1; // Most significant 256 bits of the product\n            assembly {\n                let mm := mulmod(x, y, not(0))\n                prod0 := mul(x, y)\n                prod1 := sub(sub(mm, prod0), lt(mm, prod0))\n            }\n\n            // Handle non-overflow cases, 256 by 256 division.\n            if (prod1 == 0) {\n                // Solidity will revert if denominator == 0, unlike the div opcode on its own.\n                // The surrounding unchecked block does not change this fact.\n                // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.\n                return prod0 / denominator;\n            }\n\n            // Make sure the result is less than 2^256. Also prevents denominator == 0.\n            require(denominator > prod1, \"Math: mulDiv overflow\");\n\n            ///////////////////////////////////////////////\n            // 512 by 256 division.\n            ///////////////////////////////////////////////\n\n            // Make division exact by subtracting the remainder from [prod1 prod0].\n            uint256 remainder;\n            assembly {\n                // Compute remainder using mulmod.\n                remainder := mulmod(x, y, denominator)\n\n                // Subtract 256 bit number from 512 bit number.\n                prod1 := sub(prod1, gt(remainder, prod0))\n                prod0 := sub(prod0, remainder)\n            }\n\n            // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1.\n            // See https://cs.stackexchange.com/q/138556/92363.\n\n            // Does not overflow because the denominator cannot be zero at this stage in the function.\n            uint256 twos = denominator & (~denominator + 1);\n            assembly {\n                // Divide denominator by twos.\n                denominator := div(denominator, twos)\n\n                // Divide [prod1 prod0] by twos.\n                prod0 := div(prod0, twos)\n\n                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.\n                twos := add(div(sub(0, twos), twos), 1)\n            }\n\n            // Shift in bits from prod1 into prod0.\n            prod0 |= prod1 * twos;\n\n            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such\n            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for\n            // four bits. That is, denominator * inv = 1 mod 2^4.\n            uint256 inverse = (3 * denominator) ^ 2;\n\n            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works\n            // in modular arithmetic, doubling the correct bits in each step.\n            inverse *= 2 - denominator * inverse; // inverse mod 2^8\n            inverse *= 2 - denominator * inverse; // inverse mod 2^16\n            inverse *= 2 - denominator * inverse; // inverse mod 2^32\n            inverse *= 2 - denominator * inverse; // inverse mod 2^64\n            inverse *= 2 - denominator * inverse; // inverse mod 2^128\n            inverse *= 2 - denominator * inverse; // inverse mod 2^256\n\n            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.\n            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is\n            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1\n            // is no longer required.\n            result = prod0 * inverse;\n            return result;\n        }\n    }\n\n    /**\n     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.\n     */\n    function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) {\n        uint256 result = mulDiv(x, y, denominator);\n        if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) {\n            result += 1;\n        }\n        return result;\n    }\n\n    /**\n     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down.\n     *\n     * Inspired by Henry S. Warren, Jr.'s \"Hacker's Delight\" (Chapter 11).\n     */\n    function sqrt(uint256 a) internal pure returns (uint256) {\n        if (a == 0) {\n            return 0;\n        }\n\n        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.\n        //\n        // We know that the \"msb\" (most significant bit) of our target number `a` is a power of 2 such that we have\n        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.\n        //\n        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`\n        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`\n        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`\n        //\n        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.\n        uint256 result = 1 << (log2(a) >> 1);\n\n        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,\n        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at\n        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision\n        // into the expected uint128 result.\n        unchecked {\n            result = (result + a / result) >> 1;\n            result = (result + a / result) >> 1;\n            result = (result + a / result) >> 1;\n            result = (result + a / result) >> 1;\n            result = (result + a / result) >> 1;\n            result = (result + a / result) >> 1;\n            result = (result + a / result) >> 1;\n            return min(result, a / result);\n        }\n    }\n\n    /**\n     * @notice Calculates sqrt(a), following the selected rounding direction.\n     */\n    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {\n        unchecked {\n            uint256 result = sqrt(a);\n            return result + (rounding == Rounding.Up && result * result < a ? 1 : 0);\n        }\n    }\n\n    /**\n     * @dev Return the log in base 2, rounded down, of a positive value.\n     * Returns 0 if given 0.\n     */\n    function log2(uint256 value) internal pure returns (uint256) {\n        uint256 result = 0;\n        unchecked {\n            if (value >> 128 > 0) {\n                value >>= 128;\n                result += 128;\n            }\n            if (value >> 64 > 0) {\n                value >>= 64;\n                result += 64;\n            }\n            if (value >> 32 > 0) {\n                value >>= 32;\n                result += 32;\n            }\n            if (value >> 16 > 0) {\n                value >>= 16;\n                result += 16;\n            }\n            if (value >> 8 > 0) {\n                value >>= 8;\n                result += 8;\n            }\n            if (value >> 4 > 0) {\n                value >>= 4;\n                result += 4;\n            }\n            if (value >> 2 > 0) {\n                value >>= 2;\n                result += 2;\n            }\n            if (value >> 1 > 0) {\n                result += 1;\n            }\n        }\n        return result;\n    }\n\n    /**\n     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.\n     * Returns 0 if given 0.\n     */\n    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {\n        unchecked {\n            uint256 result = log2(value);\n            return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0);\n        }\n    }\n\n    /**\n     * @dev Return the log in base 10, rounded down, of a positive value.\n     * Returns 0 if given 0.\n     */\n    function log10(uint256 value) internal pure returns (uint256) {\n        uint256 result = 0;\n        unchecked {\n            if (value >= 10 ** 64) {\n                value /= 10 ** 64;\n                result += 64;\n            }\n            if (value >= 10 ** 32) {\n                value /= 10 ** 32;\n                result += 32;\n            }\n            if (value >= 10 ** 16) {\n                value /= 10 ** 16;\n                result += 16;\n            }\n            if (value >= 10 ** 8) {\n                value /= 10 ** 8;\n                result += 8;\n            }\n            if (value >= 10 ** 4) {\n                value /= 10 ** 4;\n                result += 4;\n            }\n            if (value >= 10 ** 2) {\n                value /= 10 ** 2;\n                result += 2;\n            }\n            if (value >= 10 ** 1) {\n                result += 1;\n            }\n        }\n        return result;\n    }\n\n    /**\n     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.\n     * Returns 0 if given 0.\n     */\n    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {\n        unchecked {\n            uint256 result = log10(value);\n            return result + (rounding == Rounding.Up && 10 ** result < value ? 1 : 0);\n        }\n    }\n\n    /**\n     * @dev Return the log in base 256, rounded down, of a positive value.\n     * Returns 0 if given 0.\n     *\n     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.\n     */\n    function log256(uint256 value) internal pure returns (uint256) {\n        uint256 result = 0;\n        unchecked {\n            if (value >> 128 > 0) {\n                value >>= 128;\n                result += 16;\n            }\n            if (value >> 64 > 0) {\n                value >>= 64;\n                result += 8;\n            }\n            if (value >> 32 > 0) {\n                value >>= 32;\n                result += 4;\n            }\n            if (value >> 16 > 0) {\n                value >>= 16;\n                result += 2;\n            }\n            if (value >> 8 > 0) {\n                result += 1;\n            }\n        }\n        return result;\n    }\n\n    /**\n     * @dev Return the log in base 256, following the selected rounding direction, of a positive value.\n     * Returns 0 if given 0.\n     */\n    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {\n        unchecked {\n            uint256 result = log256(value);\n            return result + (rounding == Rounding.Up && 1 << (result << 3) < value ? 1 : 0);\n        }\n    }\n}\n"},"lib/openzeppelin-contracts/contracts/token/ERC20/utils/SafeERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.9.3) (token/ERC20/utils/SafeERC20.sol)\n\npragma solidity ^0.8.0;\n\nimport \"../IERC20.sol\";\nimport \"../extensions/IERC20Permit.sol\";\nimport \"../../../utils/Address.sol\";\n\n/**\n * @title SafeERC20\n * @dev Wrappers around ERC20 operations that throw on failure (when the token\n * contract returns false). Tokens that return no value (and instead revert or\n * throw on failure) are also supported, non-reverting calls are assumed to be\n * successful.\n * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,\n * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.\n */\nlibrary SafeERC20 {\n    using Address for address;\n\n    /**\n     * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value,\n     * non-reverting calls are assumed to be successful.\n     */\n    function safeTransfer(IERC20 token, address to, uint256 value) internal {\n        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));\n    }\n\n    /**\n     * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the\n     * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful.\n     */\n    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {\n        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));\n    }\n\n    /**\n     * @dev Deprecated. This function has issues similar to the ones found in\n     * {IERC20-approve}, and its usage is discouraged.\n     *\n     * Whenever possible, use {safeIncreaseAllowance} and\n     * {safeDecreaseAllowance} instead.\n     */\n    function safeApprove(IERC20 token, address spender, uint256 value) internal {\n        // safeApprove should only be called when setting an initial allowance,\n        // or when resetting it to zero. To increase and decrease it, use\n        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'\n        require(\n            (value == 0) || (token.allowance(address(this), spender) == 0),\n            \"SafeERC20: approve from non-zero to non-zero allowance\"\n        );\n        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));\n    }\n\n    /**\n     * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value,\n     * non-reverting calls are assumed to be successful.\n     */\n    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {\n        uint256 oldAllowance = token.allowance(address(this), spender);\n        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance + value));\n    }\n\n    /**\n     * @dev Decrease the calling contract's allowance toward `spender` by `value`. If `token` returns no value,\n     * non-reverting calls are assumed to be successful.\n     */\n    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {\n        unchecked {\n            uint256 oldAllowance = token.allowance(address(this), spender);\n            require(oldAllowance >= value, \"SafeERC20: decreased allowance below zero\");\n            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance - value));\n        }\n    }\n\n    /**\n     * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value,\n     * non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval\n     * to be set to zero before setting it to a non-zero value, such as USDT.\n     */\n    function forceApprove(IERC20 token, address spender, uint256 value) internal {\n        bytes memory approvalCall = abi.encodeWithSelector(token.approve.selector, spender, value);\n\n        if (!_callOptionalReturnBool(token, approvalCall)) {\n            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, 0));\n            _callOptionalReturn(token, approvalCall);\n        }\n    }\n\n    /**\n     * @dev Use a ERC-2612 signature to set the `owner` approval toward `spender` on `token`.\n     * Revert on invalid signature.\n     */\n    function safePermit(\n        IERC20Permit token,\n        address owner,\n        address spender,\n        uint256 value,\n        uint256 deadline,\n        uint8 v,\n        bytes32 r,\n        bytes32 s\n    ) internal {\n        uint256 nonceBefore = token.nonces(owner);\n        token.permit(owner, spender, value, deadline, v, r, s);\n        uint256 nonceAfter = token.nonces(owner);\n        require(nonceAfter == nonceBefore + 1, \"SafeERC20: permit did not succeed\");\n    }\n\n    /**\n     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement\n     * on the return value: the return value is optional (but if data is returned, it must not be false).\n     * @param token The token targeted by the call.\n     * @param data The call data (encoded using abi.encode or one of its variants).\n     */\n    function _callOptionalReturn(IERC20 token, bytes memory data) private {\n        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since\n        // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that\n        // the target address contains contract code and also asserts for success in the low-level call.\n\n        bytes memory returndata = address(token).functionCall(data, \"SafeERC20: low-level call failed\");\n        require(returndata.length == 0 || abi.decode(returndata, (bool)), \"SafeERC20: ERC20 operation did not succeed\");\n    }\n\n    /**\n     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement\n     * on the return value: the return value is optional (but if data is returned, it must not be false).\n     * @param token The token targeted by the call.\n     * @param data The call data (encoded using abi.encode or one of its variants).\n     *\n     * This is a variant of {_callOptionalReturn} that silents catches all reverts and returns a bool instead.\n     */\n    function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) {\n        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since\n        // we're implementing it ourselves. We cannot use {Address-functionCall} here since this should return false\n        // and not revert is the subcall reverts.\n\n        (bool success, bytes memory returndata) = address(token).call(data);\n        return\n            success && (returndata.length == 0 || abi.decode(returndata, (bool))) && Address.isContract(address(token));\n    }\n}\n"},"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol)\n\npragma solidity ^0.8.0;\n\n/**\n * @dev Interface of the ERC20 standard as defined in the EIP.\n */\ninterface IERC20 {\n    /**\n     * @dev Emitted when `value` tokens are moved from one account (`from`) to\n     * another (`to`).\n     *\n     * Note that `value` may be zero.\n     */\n    event Transfer(address indexed from, address indexed to, uint256 value);\n\n    /**\n     * @dev Emitted when the allowance of a `spender` for an `owner` is set by\n     * a call to {approve}. `value` is the new allowance.\n     */\n    event Approval(address indexed owner, address indexed spender, uint256 value);\n\n    /**\n     * @dev Returns the amount of tokens in existence.\n     */\n    function totalSupply() external view returns (uint256);\n\n    /**\n     * @dev Returns the amount of tokens owned by `account`.\n     */\n    function balanceOf(address account) external view returns (uint256);\n\n    /**\n     * @dev Moves `amount` tokens from the caller's account to `to`.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * Emits a {Transfer} event.\n     */\n    function transfer(address to, uint256 amount) external returns (bool);\n\n    /**\n     * @dev Returns the remaining number of tokens that `spender` will be\n     * allowed to spend on behalf of `owner` through {transferFrom}. This is\n     * zero by default.\n     *\n     * This value changes when {approve} or {transferFrom} are called.\n     */\n    function allowance(address owner, address spender) external view returns (uint256);\n\n    /**\n     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * IMPORTANT: Beware that changing an allowance with this method brings the risk\n     * that someone may use both the old and the new allowance by unfortunate\n     * transaction ordering. One possible solution to mitigate this race\n     * condition is to first reduce the spender's allowance to 0 and set the\n     * desired value afterwards:\n     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\n     *\n     * Emits an {Approval} event.\n     */\n    function approve(address spender, uint256 amount) external returns (bool);\n\n    /**\n     * @dev Moves `amount` tokens from `from` to `to` using the\n     * allowance mechanism. `amount` is then deducted from the caller's\n     * allowance.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * Emits a {Transfer} event.\n     */\n    function transferFrom(address from, address to, uint256 amount) external returns (bool);\n}\n"},"src/interfaces/EIP1271.sol":{"content":"// SPDX-License-Identifier: LGPL-3.0-or-later\npragma solidity 0.8.24;\n\n/// @title EIP1271 Constants\nlibrary EIP1271 {\n    /// @dev Value returned by a call to `isValidSignature` if the signature\n    /// was verified successfully. The value is defined in EIP-1271 as:\n    /// bytes4(keccak256(\"isValidSignature(bytes32,bytes)\"))\n    bytes4 internal constant MAGICVALUE = 0x1626ba7e;\n}\n\n/// @title EIP1271 Interface\n/// @dev Standardized interface for an implementation of smart contract\n/// signatures as described in EIP-1271. The code that follows is identical to\n/// the code in the standard with the exception of formatting and syntax\n/// changes to adapt the code to our Solidity version.\ninterface EIP1271Verifier {\n    /// @dev Should return whether the signature provided is valid for the\n    /// provided data\n    /// @param _hash      Hash of the data to be signed\n    /// @param _signature Signature byte array associated with _data\n    ///\n    /// MUST return the bytes4 magic value 0x1626ba7e when function passes.\n    /// MUST NOT modify state (using STATICCALL for solc < 0.5, view modifier for\n    /// solc > 0.5)\n    /// MUST allow external calls\n    ///\n    function isValidSignature(bytes32 _hash, bytes memory _signature) external view returns (bytes4 magicValue);\n}\n"},"lib/openzeppelin-contracts/contracts/utils/Context.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.9.4) (utils/Context.sol)\n\npragma solidity ^0.8.0;\n\n/**\n * @dev Provides information about the current execution context, including the\n * sender of the transaction and its data. While these are generally available\n * via msg.sender and msg.data, they should not be accessed in such a direct\n * manner, since when dealing with meta-transactions the account sending and\n * paying for execution may not be the actual sender (as far as an application\n * is concerned).\n *\n * This contract is only required for intermediate, library-like contracts.\n */\nabstract contract Context {\n    function _msgSender() internal view virtual returns (address) {\n        return msg.sender;\n    }\n\n    function _msgData() internal view virtual returns (bytes calldata) {\n        return msg.data;\n    }\n\n    function _contextSuffixLength() internal view virtual returns (uint256) {\n        return 0;\n    }\n}\n"},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Permit.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.9.4) (token/ERC20/extensions/IERC20Permit.sol)\n\npragma solidity ^0.8.0;\n\n/**\n * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in\n * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].\n *\n * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by\n * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't\n * need to send a transaction, and thus is not required to hold Ether at all.\n *\n * ==== Security Considerations\n *\n * There are two important considerations concerning the use of `permit`. The first is that a valid permit signature\n * expresses an allowance, and it should not be assumed to convey additional meaning. In particular, it should not be\n * considered as an intention to spend the allowance in any specific way. The second is that because permits have\n * built-in replay protection and can be submitted by anyone, they can be frontrun. A protocol that uses permits should\n * take this into consideration and allow a `permit` call to fail. Combining these two aspects, a pattern that may be\n * generally recommended is:\n *\n * ```solidity\n * function doThingWithPermit(..., uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public {\n *     try token.permit(msg.sender, address(this), value, deadline, v, r, s) {} catch {}\n *     doThing(..., value);\n * }\n *\n * function doThing(..., uint256 value) public {\n *     token.safeTransferFrom(msg.sender, address(this), value);\n *     ...\n * }\n * ```\n *\n * Observe that: 1) `msg.sender` is used as the owner, leaving no ambiguity as to the signer intent, and 2) the use of\n * `try/catch` allows the permit to fail and makes the code tolerant to frontrunning. (See also\n * {SafeERC20-safeTransferFrom}).\n *\n * Additionally, note that smart contract wallets (such as Argent or Safe) are not able to produce permit signatures, so\n * contracts should have entry points that don't rely on permit.\n */\ninterface IERC20Permit {\n    /**\n     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,\n     * given ``owner``'s signed approval.\n     *\n     * IMPORTANT: The same issues {IERC20-approve} has related to transaction\n     * ordering also apply here.\n     *\n     * Emits an {Approval} event.\n     *\n     * Requirements:\n     *\n     * - `spender` cannot be the zero address.\n     * - `deadline` must be a timestamp in the future.\n     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`\n     * over the EIP712-formatted function arguments.\n     * - the signature must use ``owner``'s current nonce (see {nonces}).\n     *\n     * For more information on the signature format, see the\n     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP\n     * section].\n     *\n     * CAUTION: See Security Considerations above.\n     */\n    function permit(\n        address owner,\n        address spender,\n        uint256 value,\n        uint256 deadline,\n        uint8 v,\n        bytes32 r,\n        bytes32 s\n    ) external;\n\n    /**\n     * @dev Returns the current nonce for `owner`. This value must be\n     * included whenever a signature is generated for {permit}.\n     *\n     * Every successful call to {permit} increases ``owner``'s nonce by one. This\n     * prevents a signature from being used multiple times.\n     */\n    function nonces(address owner) external view returns (uint256);\n\n    /**\n     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.\n     */\n    // solhint-disable-next-line func-name-mixedcase\n    function DOMAIN_SEPARATOR() external view returns (bytes32);\n}\n"},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol)\n\npragma solidity ^0.8.1;\n\n/**\n * @dev Collection of functions related to the address type\n */\nlibrary Address {\n    /**\n     * @dev Returns true if `account` is a contract.\n     *\n     * [IMPORTANT]\n     * ====\n     * It is unsafe to assume that an address for which this function returns\n     * false is an externally-owned account (EOA) and not a contract.\n     *\n     * Among others, `isContract` will return false for the following\n     * types of addresses:\n     *\n     *  - an externally-owned account\n     *  - a contract in construction\n     *  - an address where a contract will be created\n     *  - an address where a contract lived, but was destroyed\n     *\n     * Furthermore, `isContract` will also return true if the target contract within\n     * the same transaction is already scheduled for destruction by `SELFDESTRUCT`,\n     * which only has an effect at the end of a transaction.\n     * ====\n     *\n     * [IMPORTANT]\n     * ====\n     * You shouldn't rely on `isContract` to protect against flash loan attacks!\n     *\n     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets\n     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract\n     * constructor.\n     * ====\n     */\n    function isContract(address account) internal view returns (bool) {\n        // This method relies on extcodesize/address.code.length, which returns 0\n        // for contracts in construction, since the code is only stored at the end\n        // of the constructor execution.\n\n        return account.code.length > 0;\n    }\n\n    /**\n     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\n     * `recipient`, forwarding all available gas and reverting on errors.\n     *\n     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\n     * of certain opcodes, possibly making contracts go over the 2300 gas limit\n     * imposed by `transfer`, making them unable to receive funds via\n     * `transfer`. {sendValue} removes this limitation.\n     *\n     * https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more].\n     *\n     * IMPORTANT: because control is transferred to `recipient`, care must be\n     * taken to not create reentrancy vulnerabilities. Consider using\n     * {ReentrancyGuard} or the\n     * https://solidity.readthedocs.io/en/v0.8.0/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\n     */\n    function sendValue(address payable recipient, uint256 amount) internal {\n        require(address(this).balance >= amount, \"Address: insufficient balance\");\n\n        (bool success, ) = recipient.call{value: amount}(\"\");\n        require(success, \"Address: unable to send value, recipient may have reverted\");\n    }\n\n    /**\n     * @dev Performs a Solidity function call using a low level `call`. A\n     * plain `call` is an unsafe replacement for a function call: use this\n     * function instead.\n     *\n     * If `target` reverts with a revert reason, it is bubbled up by this\n     * function (like regular Solidity function calls).\n     *\n     * Returns the raw returned data. To convert to the expected return value,\n     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\n     *\n     * Requirements:\n     *\n     * - `target` must be a contract.\n     * - calling `target` with `data` must not revert.\n     *\n     * _Available since v3.1._\n     */\n    function functionCall(address target, bytes memory data) internal returns (bytes memory) {\n        return functionCallWithValue(target, data, 0, \"Address: low-level call failed\");\n    }\n\n    /**\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\n     * `errorMessage` as a fallback revert reason when `target` reverts.\n     *\n     * _Available since v3.1._\n     */\n    function functionCall(\n        address target,\n        bytes memory data,\n        string memory errorMessage\n    ) internal returns (bytes memory) {\n        return functionCallWithValue(target, data, 0, errorMessage);\n    }\n\n    /**\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n     * but also transferring `value` wei to `target`.\n     *\n     * Requirements:\n     *\n     * - the calling contract must have an ETH balance of at least `value`.\n     * - the called Solidity function must be `payable`.\n     *\n     * _Available since v3.1._\n     */\n    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {\n        return functionCallWithValue(target, data, value, \"Address: low-level call with value failed\");\n    }\n\n    /**\n     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\n     * with `errorMessage` as a fallback revert reason when `target` reverts.\n     *\n     * _Available since v3.1._\n     */\n    function functionCallWithValue(\n        address target,\n        bytes memory data,\n        uint256 value,\n        string memory errorMessage\n    ) internal returns (bytes memory) {\n        require(address(this).balance >= value, \"Address: insufficient balance for call\");\n        (bool success, bytes memory returndata) = target.call{value: value}(data);\n        return verifyCallResultFromTarget(target, success, returndata, errorMessage);\n    }\n\n    /**\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n     * but performing a static call.\n     *\n     * _Available since v3.3._\n     */\n    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\n        return functionStaticCall(target, data, \"Address: low-level static call failed\");\n    }\n\n    /**\n     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n     * but performing a static call.\n     *\n     * _Available since v3.3._\n     */\n    function functionStaticCall(\n        address target,\n        bytes memory data,\n        string memory errorMessage\n    ) internal view returns (bytes memory) {\n        (bool success, bytes memory returndata) = target.staticcall(data);\n        return verifyCallResultFromTarget(target, success, returndata, errorMessage);\n    }\n\n    /**\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n     * but performing a delegate call.\n     *\n     * _Available since v3.4._\n     */\n    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\n        return functionDelegateCall(target, data, \"Address: low-level delegate call failed\");\n    }\n\n    /**\n     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n     * but performing a delegate call.\n     *\n     * _Available since v3.4._\n     */\n    function functionDelegateCall(\n        address target,\n        bytes memory data,\n        string memory errorMessage\n    ) internal returns (bytes memory) {\n        (bool success, bytes memory returndata) = target.delegatecall(data);\n        return verifyCallResultFromTarget(target, success, returndata, errorMessage);\n    }\n\n    /**\n     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling\n     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.\n     *\n     * _Available since v4.8._\n     */\n    function verifyCallResultFromTarget(\n        address target,\n        bool success,\n        bytes memory returndata,\n        string memory errorMessage\n    ) internal view returns (bytes memory) {\n        if (success) {\n            if (returndata.length == 0) {\n                // only check isContract if the call was successful and the return data is empty\n                // otherwise we already know that it was a contract\n                require(isContract(target), \"Address: call to non-contract\");\n            }\n            return returndata;\n        } else {\n            _revert(returndata, errorMessage);\n        }\n    }\n\n    /**\n     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the\n     * revert reason or using the provided one.\n     *\n     * _Available since v4.3._\n     */\n    function verifyCallResult(\n        bool success,\n        bytes memory returndata,\n        string memory errorMessage\n    ) internal pure returns (bytes memory) {\n        if (success) {\n            return returndata;\n        } else {\n            _revert(returndata, errorMessage);\n        }\n    }\n\n    function _revert(bytes memory returndata, string memory errorMessage) private pure {\n        // Look for revert reason and bubble it up if present\n        if (returndata.length > 0) {\n            // The easiest way to bubble the revert reason is using memory via assembly\n            /// @solidity memory-safe-assembly\n            assembly {\n                let returndata_size := mload(returndata)\n                revert(add(32, returndata), returndata_size)\n            }\n        } else {\n            revert(errorMessage);\n        }\n    }\n}\n"}},"compilation":{"language":"Solidity","compiler":"solc","compilerVersion":"0.8.24+commit.e11b9ed9","compilerSettings":{"viaIR":true,"metadata":{"appendCBOR":true,"bytecodeHash":"ipfs","useLiteralContent":false},"libraries":{},"optimizer":{"runs":200,"enabled":true},"evmVersion":"cancun","remappings":["@openzeppelin/=lib/openzeppelin-contracts/","ds-test/=lib/openzeppelin-contracts/lib/forge-std/lib/ds-test/src/","erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/","forge-std/=lib/forge-std/src/","openzeppelin-contracts/=lib/openzeppelin-contracts/","openzeppelin/=lib/openzeppelin-contracts/contracts/"]},"name":"Settlement","fullyQualifiedName":"src/Settlement.sol:Settlement"},"abi":[{"type":"constructor","inputs":[{"name":"tokenApproveProxy_","type":"address","internalType":"address"}],"stateMutability":"nonpayable"},{"name":"CommissionFeePaid","type":"event","inputs":[{"name":"orderUid","type":"bytes","indexed":false,"internalType":"bytes"},{"name":"token","type":"address","indexed":true,"internalType":"address"},{"name":"referral","type":"address","indexed":true,"internalType":"address"},{"name":"feePercent","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"feeAmount","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"flag","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"Interaction","type":"event","inputs":[{"name":"target","type":"address","indexed":true,"internalType":"address"},{"name":"value","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"selector","type":"bytes4","indexed":false,"internalType":"bytes4"}],"anonymous":false},{"name":"OrderInvalidated","type":"event","inputs":[{"name":"owner","type":"address","indexed":true,"internalType":"address"},{"name":"orderUid","type":"bytes","indexed":false,"internalType":"bytes"}],"anonymous":false},{"name":"OwnershipTransferred","type":"event","inputs":[{"name":"previousOwner","type":"address","indexed":true,"internalType":"address"},{"name":"newOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"PreSignature","type":"event","inputs":[{"name":"owner","type":"address","indexed":true,"internalType":"address"},{"name":"orderUid","type":"bytes","indexed":false,"internalType":"bytes"},{"name":"signed","type":"bool","indexed":false,"internalType":"bool"}],"anonymous":false},{"name":"Settlement","type":"event","inputs":[{"name":"solver","type":"address","indexed":true,"internalType":"address"},{"name":"settleId","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"name":"SolverAdded","type":"event","inputs":[{"name":"solver","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"name":"SolverFeePaid","type":"event","inputs":[{"name":"orderUid","type":"bytes","indexed":false,"internalType":"bytes"},{"name":"token","type":"address","indexed":true,"internalType":"address"},{"name":"solverAddr","type":"address","indexed":true,"internalType":"address"},{"name":"feePercent","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"feeAmount","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"flag","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"SolverRemoved","type":"event","inputs":[{"name":"solver","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"name":"SurplusFeePaid","type":"event","inputs":[{"name":"token","type":"address","indexed":true,"internalType":"address"},{"name":"trimAddress","type":"address","indexed":true,"internalType":"address"},{"name":"feePercent","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"feeAmount","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"flag","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"SurplusFeeUserFromTokenPaid","type":"event","inputs":[{"name":"orderUid","type":"bytes","indexed":false,"internalType":"bytes"},{"name":"token","type":"address","indexed":true,"internalType":"address"},{"name":"userAddress","type":"address","indexed":true,"internalType":"address"},{"name":"feeAmount","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"SurplusFeeUserToTokenPaid","type":"event","inputs":[{"name":"orderUid","type":"bytes","indexed":false,"internalType":"bytes"},{"name":"token","type":"address","indexed":true,"internalType":"address"},{"name":"userAddress","type":"address","indexed":true,"internalType":"address"},{"name":"feeAmount","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"ThresholdFill","type":"event","inputs":[{"name":"orderUid","type":"bytes","indexed":false,"internalType":"bytes"},{"name":"toToken","type":"address","indexed":true,"internalType":"address"},{"name":"expectedToGross","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"actualToGross","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"thresholdPercent","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"Trade","type":"event","inputs":[{"name":"owner","type":"address","indexed":true,"internalType":"address"},{"name":"fromTokenAddress","type":"address","indexed":true,"internalType":"contract IERC20"},{"name":"toTokenAddress","type":"address","indexed":true,"internalType":"contract IERC20"},{"name":"fromTokenAmount","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"toTokenAmount","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"orderUid","type":"bytes","indexed":false,"internalType":"bytes"}],"anonymous":false},{"name":"addSolver","type":"function","inputs":[{"name":"solver","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"domainSeparator","type":"function","inputs":[],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"name":"filledAmount","type":"function","inputs":[{"name":"","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"getStorageAt","type":"function","inputs":[{"name":"offset","type":"uint256","internalType":"uint256"},{"name":"length","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bytes","internalType":"bytes"}],"stateMutability":"view"},{"name":"invalidateOrder","type":"function","inputs":[{"name":"orderUid","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"isSolver","type":"function","inputs":[{"name":"prospectiveSolver","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"owner","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"preSignature","type":"function","inputs":[{"name":"","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"removeSolver","type":"function","inputs":[{"name":"solver","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"renounceOwnership","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"setPreSignature","type":"function","inputs":[{"name":"orderUid","type":"bytes","internalType":"bytes"},{"name":"signed","type":"bool","internalType":"bool"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"settle","type":"function","inputs":[{"name":"settleId","type":"uint256","internalType":"uint256"},{"name":"tokens","type":"address[]","internalType":"contract IERC20[]"},{"name":"clearingPrices","type":"uint256[]","internalType":"uint256[]"},{"name":"trades","type":"tuple[]","components":[{"name":"fromTokenAddressIndex","type":"uint256","internalType":"uint256"},{"name":"toTokenAddressIndex","type":"uint256","internalType":"uint256"},{"name":"owner","type":"address","internalType":"address"},{"name":"receiver","type":"address","internalType":"address"},{"name":"fromTokenAmount","type":"uint256","internalType":"uint256"},{"name":"toTokenAmount","type":"uint256","internalType":"uint256"},{"name":"validTo","type":"uint32","internalType":"uint32"},{"name":"appData","type":"bytes32","internalType":"bytes32"},{"name":"flags","type":"uint256","internalType":"uint256"},{"name":"executedAmount","type":"uint256","internalType":"uint256"},{"name":"thresholdPercent","type":"uint256","internalType":"uint256"},{"name":"commissionInfos","type":"tuple[]","components":[{"name":"feePercent","type":"uint256","internalType":"uint256"},{"name":"referrerWalletAddress","type":"address","internalType":"address"},{"name":"flag","type":"uint256","internalType":"uint256"}],"internalType":"struct OrderLib.CommissionInfo[]"},{"name":"signature","type":"bytes","internalType":"bytes"},{"name":"solverFeeInfo","type":"tuple","components":[{"name":"feePercent","type":"uint256","internalType":"uint256"},{"name":"solverAddr","type":"address","internalType":"address"},{"name":"flag","type":"uint256","internalType":"uint256"}],"internalType":"struct TradeLib.SolverFeeInfo"}],"internalType":"struct TradeLib.Data[]"},{"name":"interactions","type":"tuple[][3]","components":[{"name":"target","type":"address","internalType":"address"},{"name":"value","type":"uint256","internalType":"uint256"},{"name":"callData","type":"bytes","internalType":"bytes"}],"internalType":"struct InteractionLib.Data[][3]"},{"name":"surplusFeeInfo","type":"tuple","components":[{"name":"feePercent","type":"uint256","internalType":"uint256"},{"name":"trimReceiver","type":"address","internalType":"address"},{"name":"flag","type":"uint256","internalType":"uint256"}],"internalType":"struct SettlementTypes.SurplusFeeInfo"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"simulateDelegatecall","type":"function","inputs":[{"name":"targetContract","type":"address","internalType":"address"},{"name":"calldataPayload","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"response","type":"bytes","internalType":"bytes"}],"stateMutability":"nonpayable"},{"name":"simulateDelegatecallInternal","type":"function","inputs":[{"name":"targetContract","type":"address","internalType":"address"},{"name":"calldataPayload","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"response","type":"bytes","internalType":"bytes"}],"stateMutability":"nonpayable"},{"name":"tokenApproveProxy","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"transferOwnership","type":"function","inputs":[{"name":"newOwner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"version","type":"function","inputs":[],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"view"},{"type":"receive","stateMutability":"payable"}],"metadata":{"compiler":{"version":"0.8.24+commit.e11b9ed9"},"language":"Solidity","output":{"abi":[{"inputs":[{"internalType":"address","name":"tokenApproveProxy_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes","name":"orderUid","type":"bytes"},{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":true,"internalType":"address","name":"referral","type":"address"},{"indexed":false,"internalType":"uint256","name":"feePercent","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"feeAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"flag","type":"uint256"}],"name":"CommissionFeePaid","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"target","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"},{"indexed":false,"internalType":"bytes4","name":"selector","type":"bytes4"}],"name":"Interaction","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"bytes","name":"orderUid","type":"bytes"}],"name":"OrderInvalidated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"bytes","name":"orderUid","type":"bytes"},{"indexed":false,"internalType":"bool","name":"signed","type":"bool"}],"name":"PreSignature","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"solver","type":"address"},{"indexed":true,"internalType":"uint256","name":"settleId","type":"uint256"}],"name":"Settlement","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"solver","type":"address"}],"name":"SolverAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes","name":"orderUid","type":"bytes"},{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":true,"internalType":"address","name":"solverAddr","type":"address"},{"indexed":false,"internalType":"uint256","name":"feePercent","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"feeAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"flag","type":"uint256"}],"name":"SolverFeePaid","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"solver","type":"address"}],"name":"SolverRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":true,"internalType":"address","name":"trimAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"feePercent","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"feeAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"flag","type":"uint256"}],"name":"SurplusFeePaid","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes","name":"orderUid","type":"bytes"},{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":true,"internalType":"address","name":"userAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"feeAmount","type":"uint256"}],"name":"SurplusFeeUserFromTokenPaid","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes","name":"orderUid","type":"bytes"},{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":true,"internalType":"address","name":"userAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"feeAmount","type":"uint256"}],"name":"SurplusFeeUserToTokenPaid","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes","name":"orderUid","type":"bytes"},{"indexed":true,"internalType":"address","name":"toToken","type":"address"},{"indexed":false,"internalType":"uint256","name":"expectedToGross","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"actualToGross","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"thresholdPercent","type":"uint256"}],"name":"ThresholdFill","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"contract IERC20","name":"fromTokenAddress","type":"address"},{"indexed":true,"internalType":"contract IERC20","name":"toTokenAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"fromTokenAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenAmount","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"orderUid","type":"bytes"}],"name":"Trade","type":"event"},{"inputs":[{"internalType":"address","name":"solver","type":"address"}],"name":"addSolver","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"domainSeparator","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"","type":"bytes"}],"name":"filledAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"offset","type":"uint256"},{"internalType":"uint256","name":"length","type":"uint256"}],"name":"getStorageAt","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"orderUid","type":"bytes"}],"name":"invalidateOrder","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"prospectiveSolver","type":"address"}],"name":"isSolver","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"","type":"bytes"}],"name":"preSignature","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"solver","type":"address"}],"name":"removeSolver","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes","name":"orderUid","type":"bytes"},{"internalType":"bool","name":"signed","type":"bool"}],"name":"setPreSignature","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"settleId","type":"uint256"},{"internalType":"contract IERC20[]","name":"tokens","type":"address[]"},{"internalType":"uint256[]","name":"clearingPrices","type":"uint256[]"},{"components":[{"internalType":"uint256","name":"fromTokenAddressIndex","type":"uint256"},{"internalType":"uint256","name":"toTokenAddressIndex","type":"uint256"},{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"fromTokenAmount","type":"uint256"},{"internalType":"uint256","name":"toTokenAmount","type":"uint256"},{"internalType":"uint32","name":"validTo","type":"uint32"},{"internalType":"bytes32","name":"appData","type":"bytes32"},{"internalType":"uint256","name":"flags","type":"uint256"},{"internalType":"uint256","name":"executedAmount","type":"uint256"},{"internalType":"uint256","name":"thresholdPercent","type":"uint256"},{"components":[{"internalType":"uint256","name":"feePercent","type":"uint256"},{"internalType":"address","name":"referrerWalletAddress","type":"address"},{"internalType":"uint256","name":"flag","type":"uint256"}],"internalType":"struct OrderLib.CommissionInfo[]","name":"commissionInfos","type":"tuple[]"},{"internalType":"bytes","name":"signature","type":"bytes"},{"components":[{"internalType":"uint256","name":"feePercent","type":"uint256"},{"internalType":"address","name":"solverAddr","type":"address"},{"internalType":"uint256","name":"flag","type":"uint256"}],"internalType":"struct TradeLib.SolverFeeInfo","name":"solverFeeInfo","type":"tuple"}],"internalType":"struct TradeLib.Data[]","name":"trades","type":"tuple[]"},{"components":[{"internalType":"address","name":"target","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"bytes","name":"callData","type":"bytes"}],"internalType":"struct InteractionLib.Data[][3]","name":"interactions","type":"tuple[][3]"},{"components":[{"internalType":"uint256","name":"feePercent","type":"uint256"},{"internalType":"address","name":"trimReceiver","type":"address"},{"internalType":"uint256","name":"flag","type":"uint256"}],"internalType":"struct SettlementTypes.SurplusFeeInfo","name":"surplusFeeInfo","type":"tuple"}],"name":"settle","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"targetContract","type":"address"},{"internalType":"bytes","name":"calldataPayload","type":"bytes"}],"name":"simulateDelegatecall","outputs":[{"internalType":"bytes","name":"response","type":"bytes"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"targetContract","type":"address"},{"internalType":"bytes","name":"calldataPayload","type":"bytes"}],"name":"simulateDelegatecallInternal","outputs":[{"internalType":"bytes","name":"response","type":"bytes"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"tokenApproveProxy","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}],"devdoc":{"events":{"PreSignature(address,bytes,bool)":{"details":"Event that is emitted when an account either pre-signs an order or revokes an existing pre-signature."},"ThresholdFill(bytes,address,uint256,uint256,uint256)":{"details":"Amounts are nominal gross values before output-token fees and surplus, not observed balance changes. `thresholdPercent` records the backend-provided Trade value and is not part of the signed order."}},"kind":"dev","methods":{"domainSeparator()":{"details":"Returns cached value on the deployment chain, otherwise recomputes."},"getStorageAt(uint256,uint256)":{"details":"Reads `length` words of storage in the current contract.","params":{"length":"- the number of words (32 bytes) of data to read","offset":"- the offset in the current contract's storage in words to start reading from"},"returns":{"_0":"the bytes that were read."}},"owner()":{"details":"Returns the address of the current owner."},"renounceOwnership()":{"details":"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby disabling any functionality that is only available to the owner."},"setPreSignature(bytes,bool)":{"details":"Sets a presignature for the specified order UID.","params":{"orderUid":"The unique identifier of the order to pre-sign.","signed":"True to set the order as tradable with pre-sign, false to unset it."}},"settle(uint256,address[],uint256[],(uint256,uint256,address,address,uint256,uint256,uint32,bytes32,uint256,uint256,uint256,(uint256,address,uint256)[],bytes,(uint256,address,uint256))[],(address,uint256,bytes)[][3],(uint256,address,uint256))":{"details":"Orchestrates the settlement flow in distinct phases."},"simulateDelegatecall(address,bytes)":{"details":"Performs a delegatecall on a target contract in the context of self. Internally reverts execution to avoid side effects (making it static). Catches revert and returns encoded result as bytes.","params":{"calldataPayload":"Calldata that should be sent to the target contract (encoded method name and arguments).","targetContract":"Address of the contract containing the code to execute."}},"simulateDelegatecallInternal(address,bytes)":{"details":"Performs a delegatecall on a target contract in the context of self. Internally reverts execution to avoid side effects (making it static). Returns encoded result as revert message concatenated with the success flag of the inner call as a last byte.","params":{"calldataPayload":"Calldata that should be sent to the target contract (encoded method name and arguments).","targetContract":"Address of the contract containing the code to execute."}},"transferOwnership(address)":{"details":"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."}},"stateVariables":{"_TOKEN_SET_NS":{"details":"Transient-storage namespace for token dedup set. bytes32(uint256(keccak256(\"Settlement.uniqueTokenSet\")) - 1)"},"solvers":{"details":"Allowed solvers mapping."}},"title":"Settlement Contract","version":1},"userdoc":{"events":{"ThresholdFill(bytes,address,uint256,uint256,uint256)":{"notice":"Emitted when an order settles with a non-zero output shortfall within its settlement limits."}},"kind":"user","methods":{"addSolver(address)":{"notice":"Add an address to the set of allowed solvers."},"domainSeparator()":{"notice":"Returns the EIP-712 domain separator used for signing orders."},"isSolver(address)":{"notice":"Returns whether an address is an authorized solver."},"removeSolver(address)":{"notice":"Remove an address from the set of allowed solvers."},"settle(uint256,address[],uint256[],(uint256,uint256,address,address,uint256,uint256,uint32,bytes32,uint256,uint256,uint256,(uint256,address,uint256)[],bytes,(uint256,address,uint256))[],(address,uint256,bytes)[][3],(uint256,address,uint256))":{"notice":"Main settlement entry point."}},"notice":"Handles batch settlement of signed orders with fee distribution.","version":1}},"settings":{"compilationTarget":{"src/Settlement.sol":"Settlement"},"evmVersion":"cancun","libraries":{},"metadata":{"bytecodeHash":"ipfs"},"optimizer":{"enabled":true,"runs":200},"remappings":[":@openzeppelin/=lib/openzeppelin-contracts/",":ds-test/=lib/openzeppelin-contracts/lib/forge-std/lib/ds-test/src/",":erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/",":forge-std/=lib/forge-std/src/",":openzeppelin-contracts/=lib/openzeppelin-contracts/",":openzeppelin/=lib/openzeppelin-contracts/contracts/"],"viaIR":true},"sources":{"lib/openzeppelin-contracts/contracts/access/Ownable.sol":{"keccak256":"0xba43b97fba0d32eb4254f6a5a297b39a19a247082a02d6e69349e071e2946218","license":"MIT","urls":["bzz-raw://fc980984badf3984b6303b377711220e067722bbd6a135b24669ff5069ef9f32","dweb:/ipfs/QmPHXMSXj99XjSVM21YsY6aNtLLjLVXDbyN76J5HQYvvrz"]},"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol":{"keccak256":"0x287b55befed2961a7eabd7d7b1b2839cbca8a5b80ef8dcbb25ed3d4c2002c305","license":"MIT","urls":["bzz-raw://bd39944e8fc06be6dbe2dd1d8449b5336e23c6a7ba3e8e9ae5ae0f37f35283f5","dweb:/ipfs/QmPV3FGYjVwvKSgAXKUN3r9T9GwniZz83CxBpM7vyj2G53"]},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Permit.sol":{"keccak256":"0xb264c03a3442eb37a68ad620cefd1182766b58bee6cec40343480392d6b14d69","license":"MIT","urls":["bzz-raw://28879d01fd22c07b44f006612775f8577defbe459cb01685c5e25cd518c91a71","dweb:/ipfs/QmVgfkwv2Fxw6hhTcDUZhE7NkoSKjab3ipM7UaRbt6uXb5"]},"lib/openzeppelin-contracts/contracts/token/ERC20/utils/SafeERC20.sol":{"keccak256":"0xabefac93435967b4d36a4fabcbdbb918d1f0b7ae3c3d85bc30923b326c927ed1","license":"MIT","urls":["bzz-raw://9d213d3befca47da33f6db0310826bcdb148299805c10d77175ecfe1d06a9a68","dweb:/ipfs/QmRgCn6SP1hbBkExUADFuDo8xkT4UU47yjNF5FhCeRbQmS"]},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{"keccak256":"0x006dd67219697fe68d7fbfdea512e7c4cb64a43565ed86171d67e844982da6fa","license":"MIT","urls":["bzz-raw://2455248c8ddd9cc6a7af76a13973cddf222072427e7b0e2a7d1aff345145e931","dweb:/ipfs/QmfYjnjRbWqYpuxurqveE6HtzsY1Xx323J428AKQgtBJZm"]},"lib/openzeppelin-contracts/contracts/utils/Context.sol":{"keccak256":"0xa92e4fa126feb6907daa0513ddd816b2eb91f30a808de54f63c17d0e162c3439","license":"MIT","urls":["bzz-raw://a367861093b74443b137564d3f3c472f70bcf114739e62059c939f25e315706c","dweb:/ipfs/Qmd7JMpcxD9RuQjK3uM3EzJUgSqdN8vzp8eytEiuwxQJ6h"]},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{"keccak256":"0xe4455ac1eb7fc497bb7402579e7b4d64d928b846fce7d2b6fde06d366f21c2b3","license":"MIT","urls":["bzz-raw://cc8841b3cd48ad125e2f46323c8bad3aa0e88e399ec62acb9e57efa7e7c8058c","dweb:/ipfs/QmSqE4mXHA2BXW58deDbXE8MTcsL5JSKNDbm23sVQxRLPS"]},"src/Settlement.sol":{"keccak256":"0xa7fa13628fb3c68bcb8b2589e83c0e00becc82dff5d2af6a0ff36182999234e8","license":"LGPL-3.0-or-later","urls":["bzz-raw://6a641e0e0ed981387d1c75bbc736e6cedd355e032e41b9917c7d72a3b17e8033","dweb:/ipfs/Qmcx3tAHPiE2WazAUAwqCgHeWPi4gXQtZatuxFpaaXRJSg"]},"src/interfaces/EIP1271.sol":{"keccak256":"0xc5616beb06b8534db0ca49216245bd2a336a209a1e0680a0f50bffe68458d717","license":"LGPL-3.0-or-later","urls":["bzz-raw://7a1fa07dad38cc2d73cbb0fe683f43286769661349e0e9ce055be2a76314b44f","dweb:/ipfs/QmXLBsDyzAsDgu4jmzfe7iYbWcMjV5F1Lcox3YuEzbgnTU"]},"src/interfaces/IERC20.sol":{"keccak256":"0xb395db97c6129130899318803351495b9c4ea99e6128903e95669ff2a26853d7","license":"MIT","urls":["bzz-raw://d48e3987f45a47b8865ca474d590e5e04d8defc838c9d5523bc8d85baf3e09d2","dweb:/ipfs/QmNVE3vYbzc72uhCXE89G4vNSQW23cVWa4dbLgho83Xuws"]},"src/interfaces/ITokenApproveProxy.sol":{"keccak256":"0xa39e6bb96b2779f28e546d6ee447172b23da0fc55a30467bd6d10ccd976a4213","license":"MIT","urls":["bzz-raw://01a474082c8f8bd8a99ea596323e57a46acb0e03ed33d7f622d3a0c2e5283951","dweb:/ipfs/QmdzHSGKwda67EyFJdFzHiLpvV3eSSTsm8CAeBLsGmE7QQ"]},"src/libraries/FeeLib.sol":{"keccak256":"0x22a4ae83bb49e49c091a71fb63532dcdaf50c475cc6cbf904f5eb210023bb672","license":"MIT","urls":["bzz-raw://7e17aa5f1b068b11c6a7929c3212abf4b814548a3db2c5d57ccabae21b74b605","dweb:/ipfs/QmUKAmUqteZyhDUuxayQePZmetFdY75rHrhTyxSwmdp553"]},"src/libraries/InteractionLib.sol":{"keccak256":"0x9f8e5636e9e1ecd5fc8a3cbd7ddf8f4512f8b2d4a9f1726d43007e878c2bee2a","license":"LGPL-3.0-or-later","urls":["bzz-raw://f3d5c1224d8216cce1b42f74eff646c845973028204c9d06a4c94aad9cb9e692","dweb:/ipfs/QmcTabdeVfSxby1fowCkiocdwnq8kxxnGVaSZuTp5EDmxV"]},"src/libraries/OrderLib.sol":{"keccak256":"0x6bda6b83da6f10ebc58411dcbd9a1c7954e75ee3ed05fd3c52b23eba407a0e30","license":"LGPL-3.0-or-later","urls":["bzz-raw://bce9ed09a3161ae5b9a1d5775ccb4f62224d0be7cd6fe457159ced6f48cd20eb","dweb:/ipfs/QmRvCz4WUmRLentNXsAztS7mGKD8nkD6RuruHwEUjW8b9N"]},"src/libraries/SettlementTypes.sol":{"keccak256":"0x69b9c61c7fc283bf5837934471bdd587e8adcd45b55d00855e6db55dfae47568","license":"MIT","urls":["bzz-raw://6f63ba247736384758101d6863afbdbae458f26790889a49040bb2b00b25b85f","dweb:/ipfs/QmZf8AyULWK7DxHH4K6Ae4W4PMVhK5xe5irNConFsJfvYs"]},"src/libraries/TradeLib.sol":{"keccak256":"0xb046436b90d12384c89f96b2d56415dc5090c54e1e8550db60c60b3dc7be3ece","license":"LGPL-3.0-or-later","urls":["bzz-raw://e94685edece4df350492c5a1209ac4241760bb89e2c0a0b91dd30779f68392a3","dweb:/ipfs/QmRqQi6Q3jYEjkpSXkB7sAtD5JQG5dvn8BxjNnXtRnExpu"]},"src/libraries/TransferLib.sol":{"keccak256":"0x22a3a45c5f6714659079cf50774a0a1d944cbbf7497b4d0be181bc3d81af4bbb","license":"LGPL-3.0-or-later","urls":["bzz-raw://5964a440e0e0171cde3fc55e1aaa9d133f6cd474a7845b3b1031b23c0254ee63","dweb:/ipfs/QmVqkFxkrodGCY7CeZLyw9KHJKSpfKCYsK4QXfVvQkeBWr"]},"src/mixins/ReentrancyGuard.sol":{"keccak256":"0x17900dceca4fde441a2f705aad94c11caac77f20370f000cf03811f60ecd31b8","license":"MIT","urls":["bzz-raw://e10d79e2631f9253f0d7aea15cfa4324f46e84bae7bb754b37e3a9af2c0376af","dweb:/ipfs/QmQFmUJSoFq2SJVDQhAcreYz24Q5BoosrYftGs1Tdxw8LB"]},"src/mixins/Signing.sol":{"keccak256":"0x521422035a213dcacaf12a4172f319238cd4374cdae315b521f8b429ebbae335","license":"LGPL-3.0-or-later","urls":["bzz-raw://afb0558de9d5e7cd36156aa751664d57bcbcb247af0b8a95700405ee2f419482","dweb:/ipfs/QmaJ3rpJDLotDoX1J1figiqysNFqdLviR4wvaZKRMaxKFs"]},"src/mixins/StorageAccessible.sol":{"keccak256":"0x6bed244170b20bbf401d657de054ad4bd58de2565e0aaeb259f040f3f8a91bcc","license":"LGPL-3.0-only","urls":["bzz-raw://e79c8bad273a087663ccdc1512f0212fe1490621bd53a8b002fc008b03bc69ee","dweb:/ipfs/QmR65zYKYx6ZCrybfWdsniZ9WSGLTSQuWzJEYNBcS9y2tN"]}},"version":1},"storageLayout":{"types":{"t_bool":{"label":"bool","encoding":"inplace","numberOfBytes":"1"},"t_address":{"label":"address","encoding":"inplace","numberOfBytes":"20"},"t_uint256":{"label":"uint256","encoding":"inplace","numberOfBytes":"32"},"t_bytes_memory_ptr":{"label":"bytes","encoding":"bytes","numberOfBytes":"32"},"t_mapping(t_address,t_bool)":{"key":"t_address","label":"mapping(address => bool)","value":"t_bool","encoding":"mapping","numberOfBytes":"32"},"t_mapping(t_bytes_memory_ptr,t_uint256)":{"key":"t_bytes_memory_ptr","label":"mapping(bytes => uint256)","value":"t_uint256","encoding":"mapping","numberOfBytes":"32"}},"storage":[{"slot":"0","type":"t_mapping(t_bytes_memory_ptr,t_uint256)","astId":6564,"label":"preSignature","offset":0,"contract":"src/Settlement.sol:Settlement"},{"slot":"1","type":"t_uint256","astId":6467,"label":"_status","offset":0,"contract":"src/Settlement.sol:Settlement"},{"slot":"2","type":"t_address","astId":7,"label":"_owner","offset":0,"contract":"src/Settlement.sol:Settlement"},{"slot":"3","type":"t_mapping(t_address,t_bool)","astId":1868,"label":"solvers","offset":0,"contract":"src/Settlement.sol:Settlement"},{"slot":"4","type":"t_mapping(t_bytes_memory_ptr,t_uint256)","astId":1874,"label":"filledAmount","offset":0,"contract":"src/Settlement.sol:Settlement"}]},"transientStorageLayout":null,"userdoc":{"kind":"user","events":{"ThresholdFill(bytes,address,uint256,uint256,uint256)":{"notice":"Emitted when an order settles with a non-zero output shortfall within its settlement limits."}},"notice":"Handles batch settlement of signed orders with fee distribution.","methods":{"domainSeparator()":{"notice":"Returns the EIP-712 domain separator used for signing orders."},"isSolver(address)":{"notice":"Returns whether an address is an authorized solver."},"addSolver(address)":{"notice":"Add an address to the set of allowed solvers."},"removeSolver(address)":{"notice":"Remove an address from the set of allowed solvers."},"settle(uint256,address[],uint256[],(uint256,uint256,address,address,uint256,uint256,uint32,bytes32,uint256,uint256,uint256,(uint256,address,uint256)[],bytes,(uint256,address,uint256))[],(address,uint256,bytes)[][3],(uint256,address,uint256))":{"notice":"Main settlement entry point."}},"version":1},"devdoc":{"kind":"dev","title":"Settlement Contract","events":{"PreSignature(address,bytes,bool)":{"details":"Event that is emitted when an account either pre-signs an order or revokes an existing pre-signature."},"ThresholdFill(bytes,address,uint256,uint256,uint256)":{"details":"Amounts are nominal gross values before output-token fees and surplus, not observed balance changes. `thresholdPercent` records the backend-provided Trade value and is not part of the signed order."}},"methods":{"owner()":{"details":"Returns the address of the current owner."},"domainSeparator()":{"details":"Returns cached value on the deployment chain, otherwise recomputes."},"renounceOwnership()":{"details":"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby disabling any functionality that is only available to the owner."},"transferOwnership(address)":{"details":"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."},"setPreSignature(bytes,bool)":{"params":{"signed":"True to set the order as tradable with pre-sign, false to unset it.","orderUid":"The unique identifier of the order to pre-sign."},"details":"Sets a presignature for the specified order UID."},"getStorageAt(uint256,uint256)":{"params":{"length":"- the number of words (32 bytes) of data to read","offset":"- the offset in the current contract's storage in words to start reading from"},"details":"Reads `length` words of storage in the current contract.","returns":{"_0":"the bytes that were read."}},"simulateDelegatecall(address,bytes)":{"params":{"targetContract":"Address of the contract containing the code to execute.","calldataPayload":"Calldata that should be sent to the target contract (encoded method name and arguments)."},"details":"Performs a delegatecall on a target contract in the context of self. Internally reverts execution to avoid side effects (making it static). Catches revert and returns encoded result as bytes."},"simulateDelegatecallInternal(address,bytes)":{"params":{"targetContract":"Address of the contract containing the code to execute.","calldataPayload":"Calldata that should be sent to the target contract (encoded method name and arguments)."},"details":"Performs a delegatecall on a target contract in the context of self. Internally reverts execution to avoid side effects (making it static). Returns encoded result as revert message concatenated with the success flag of the inner call as a last byte."},"settle(uint256,address[],uint256[],(uint256,uint256,address,address,uint256,uint256,uint32,bytes32,uint256,uint256,uint256,(uint256,address,uint256)[],bytes,(uint256,address,uint256))[],(address,uint256,bytes)[][3],(uint256,address,uint256))":{"details":"Orchestrates the settlement flow in distinct phases."}},"version":1,"stateVariables":{"solvers":{"details":"Allowed solvers mapping."},"_TOKEN_SET_NS":{"details":"Transient-storage namespace for token dedup set. bytes32(uint256(keccak256(\"Settlement.uniqueTokenSet\")) - 1)"}}},"sourceIds":{"src/Settlement.sol":{"id":7},"src/mixins/Signing.sol":{"id":18},"src/libraries/FeeLib.sol":{"id":11},"src/interfaces/IERC20.sol":{"id":9},"src/interfaces/EIP1271.sol":{"id":8},"src/libraries/OrderLib.sol":{"id":13},"src/libraries/TradeLib.sol":{"id":15},"src/libraries/TransferLib.sol":{"id":16},"src/mixins/ReentrancyGuard.sol":{"id":17},"src/libraries/InteractionLib.sol":{"id":12},"src/mixins/StorageAccessible.sol":{"id":19},"src/libraries/SettlementTypes.sol":{"id":14},"src/interfaces/ITokenApproveProxy.sol":{"id":10},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{"id":4},"lib/openzeppelin-contracts/contracts/utils/Context.sol":{"id":5},"lib/openzeppelin-contracts/contracts/access/Ownable.sol":{"id":0},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{"id":6},"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol":{"id":1},"lib/openzeppelin-contracts/contracts/token/ERC20/utils/SafeERC20.sol":{"id":3},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Permit.sol":{"id":2}},"additionalInput":null,"stdJsonInput":{"sources":{"src/Settlement.sol":{"content":"// SPDX-License-Identifier: LGPL-3.0-or-later\npragma solidity 0.8.24;\n\nimport \"./interfaces/IERC20.sol\";\nimport \"./interfaces/ITokenApproveProxy.sol\";\nimport \"./libraries/InteractionLib.sol\";\nimport \"./libraries/OrderLib.sol\";\nimport \"./libraries/TradeLib.sol\";\nimport \"./libraries/TransferLib.sol\";\nimport \"./libraries/FeeLib.sol\";\nimport \"./libraries/SettlementTypes.sol\";\nimport \"./mixins/Signing.sol\";\nimport \"./mixins/ReentrancyGuard.sol\";\nimport \"./mixins/StorageAccessible.sol\";\nimport \"@openzeppelin/contracts/access/Ownable.sol\";\nimport {Math} from \"@openzeppelin/contracts/utils/math/Math.sol\";\n\n/// @title Settlement Contract\n/// @notice Handles batch settlement of signed orders with fee distribution.\ncontract Settlement is Signing, ReentrancyGuard, StorageAccessible, Ownable {\n    using OrderLib for bytes;\n    \n    // ============ Constants ============\n\n    string public constant version = \"v2.0.0-threshold-uncapped-surplus\";\n\n    /// @dev Transient-storage namespace for token dedup set.\n    /// bytes32(uint256(keccak256(\"Settlement.uniqueTokenSet\")) - 1)\n    bytes32 private constant _TOKEN_SET_NS = 0xa22590d89a282e4a4cb338bbac16a503583641111dac8ed65da19c682b55daab;\n\n    // ============ Access Control ============\n\n    /// @dev Allowed solvers mapping.\n    mapping(address => bool) private solvers;\n\n    // ============ Immutables ============\n\n    address public immutable tokenApproveProxy;\n\n    // ============ State ============\n\n    mapping(bytes => uint256) public filledAmount;\n\n    struct SurplusAccumulator {\n        uint256 totalWeight;\n        uint256 participantCount;\n        uint256 trimTotal;\n        uint256 distributedGross;\n        uint256 seen;\n    }\n\n    // ============ Events ============\n\n    event Trade(\n        address indexed owner,\n        IERC20 indexed fromTokenAddress,\n        IERC20 indexed toTokenAddress,\n        uint256 fromTokenAmount,\n        uint256 toTokenAmount,\n        bytes orderUid\n    );\n\n    event Interaction(address indexed target, uint256 value, bytes4 selector);\n    event Settlement(address indexed solver, uint256 indexed settleId);\n    event OrderInvalidated(address indexed owner, bytes orderUid);\n\n    event SolverAdded(address solver);\n    event SolverRemoved(address solver);\n\n    event CommissionFeePaid(\n        bytes orderUid,\n        address indexed token,\n        address indexed referral,\n        uint256 feePercent,\n        uint256 feeAmount,\n        uint256 flag\n    );\n\n    event SolverFeePaid(\n        bytes orderUid,\n        address indexed token,\n        address indexed solverAddr,\n        uint256 feePercent,\n        uint256 feeAmount,\n        uint256 flag\n    );\n\n    event SurplusFeePaid(\n        address indexed token, address indexed trimAddress, uint256 feePercent, uint256 feeAmount, uint256 flag\n    );\n\n    event SurplusFeeUserFromTokenPaid(\n        bytes orderUid, address indexed token, address indexed userAddress, uint256 feeAmount\n    );\n\n    event SurplusFeeUserToTokenPaid(\n        bytes orderUid, address indexed token, address indexed userAddress, uint256 feeAmount\n    );\n\n    /// @notice Emitted when an order settles with a non-zero output shortfall within its settlement limits.\n    /// @dev Amounts are nominal gross values before output-token fees and surplus, not observed balance changes.\n    /// `thresholdPercent` records the backend-provided Trade value and is not part of the signed order.\n    event ThresholdFill(\n        bytes orderUid,\n        address indexed toToken,\n        uint256 expectedToGross,\n        uint256 actualToGross,\n        uint256 thresholdPercent\n    );\n\n    // ============ Constructor ============\n\n    constructor(address tokenApproveProxy_) Ownable() {\n        require(tokenApproveProxy_ != address(0), \"zero proxy\");\n        tokenApproveProxy = tokenApproveProxy_;\n    }\n\n    // ============ Modifiers ============\n\n    modifier onlySolver() {\n        require(solvers[msg.sender], \"not a solver\");\n        _;\n    }\n\n    // ============ External Functions ============\n\n    receive() external payable {}\n\n    /// @notice Returns whether an address is an authorized solver.\n    function isSolver(address prospectiveSolver) external view returns (bool) {\n        return solvers[prospectiveSolver];\n    }\n\n    /// @notice Add an address to the set of allowed solvers.\n    function addSolver(address solver) external onlyOwner {\n        require(solver != address(0), \"zero address\");\n        solvers[solver] = true;\n        emit SolverAdded(solver);\n    }\n\n    /// @notice Remove an address from the set of allowed solvers.\n    function removeSolver(address solver) external onlyOwner {\n        require(solver != address(0), \"zero address\");\n        solvers[solver] = false;\n        emit SolverRemoved(solver);\n    }\n\n    /// @notice Main settlement entry point.\n    /// @dev Orchestrates the settlement flow in distinct phases.\n    function settle(\n        uint256 settleId,\n        IERC20[] calldata tokens,\n        uint256[] calldata clearingPrices,\n        TradeLib.Data[] calldata trades,\n        InteractionLib.Data[][3] calldata interactions,\n        SettlementTypes.SurplusFeeInfo calldata surplusFeeInfo\n    ) external nonReentrant onlySolver {\n        require(surplusFeeInfo.feePercent <= 5e8, \"invalid surplus fee percent\");\n        require(surplusFeeInfo.feePercent == 0 || surplusFeeInfo.trimReceiver != address(0), \"trimReceiver required\");\n        require(tokens.length == clearingPrices.length, \"tokens/prices length mismatch\");\n\n        // Phase 1: Pre-settlement interactions\n        _executeInteractions(interactions[0]);\n\n        // Phase 2: Compute all transfers\n        SettlementTypes.ExecutionResult memory result = _computeAllTransfers(tokens, clearingPrices, trades);\n\n        // Phase 3: Execute fund pulls (USER -> Settlement/recipients)\n        _executeFundPulls(result.tocFromTokenFeeTransfers, result.inTransfers);\n\n        // Phase 4: Execute ToB fromToken fees (Settlement -> ToB fee recipients)\n        _executeTransfers(result.tobFromTokenFeeTransfers);\n\n        // Phase 5: Mid-settlement interactions\n        _executeInteractions(interactions[1]);\n\n        // Phase 6: Reconcile output shortfalls against backend-provided thresholds and signed minReturn floors.\n        _applyThresholdGate(result.outTransfers, result.tradeInfos, trades);\n\n        // Phase 7: Execute payouts (Settlement -> users/fee recipients)\n        _executePayouts(result.outTransfers);\n\n        // Phase 8: Distribute surplus pool (all remaining token balances) to batch participants by execution-weighted contribution.\n        uint256[] memory bonuses = _executeSurplusDistribution(result.outTransfers, result.tradeInfos, surplusFeeInfo);\n\n        // Phase 9: Post-settlement interactions\n        _executeInteractions(interactions[2]);\n\n        // Phase 10: Emit trade events\n        _emitTradeEvents(result.tradeInfos, result.outTransfers, bonuses);\n\n        emit Settlement(msg.sender, settleId);\n    }\n\n    function invalidateOrder(bytes calldata orderUid) external {\n        (, address orderOwner,) = orderUid.extractOrderUidParams();\n        require(orderOwner == msg.sender, \"caller does not own order\");\n        filledAmount[orderUid] = type(uint256).max;\n        emit OrderInvalidated(orderOwner, orderUid);\n    }\n\n    // ============================================================================\n    // COMPUTATION & VALIDATION LAYER\n    // ============================================================================\n\n    /// @dev Inserts a token into a transient-storage set, keyed by the current nonce.\n    /// Uses keccak256(namespace, token) as the tstore slot — O(1) with no memory allocation.\n    /// The nonce is stored at _TOKEN_SET_NS itself and incremented per settle(),\n    /// automatically invalidating previous entries without explicit cleanup.\n    /// @return inserted True if token was not present and has been inserted.\n    function _insertUniqueToken(IERC20 token) private returns (bool inserted) {\n        assembly (\"memory-safe\") {\n            let nonce := tload(_TOKEN_SET_NS)\n            mstore(0x00, _TOKEN_SET_NS)\n            mstore(0x20, token)\n            let slot := keccak256(0x00, 0x40)\n            switch eq(tload(slot), nonce)\n            case 0 {\n                tstore(slot, nonce)\n                inserted := 1\n            }\n            default { inserted := 0 }\n        }\n    }\n\n    /// @dev Iterates all trades: validates orders, computes fees, updates filledAmount,\n    /// emits fee events, and aggregates transfer arrays for subsequent execution phases.\n    function _computeAllTransfers(\n        IERC20[] calldata tokens,\n        uint256[] calldata clearingPrices,\n        TradeLib.Data[] calldata trades\n    ) internal returns (SettlementTypes.ExecutionResult memory result) {\n        uint256 n = trades.length;\n        SettlementTypes.TransferBuilder memory builder = _initTransferBuilder(n);\n        result.tradeInfos = new SettlementTypes.TradeInfo[](n);\n\n        RecoveredOrder memory order = allocateRecoveredOrder();\n\n        uint256 prevToTokenIndex = 0;\n        for (uint256 i = 0; i < n; ++i) {\n            require(trades[i].toTokenAddressIndex >= prevToTokenIndex, \"trades not ordered by toToken\");\n            _processSingleTrade(tokens, clearingPrices, trades[i], order, builder, result.tradeInfos, i);\n            prevToTokenIndex = trades[i].toTokenAddressIndex;\n        }\n\n        result.inTransfers = _finalizeArray(builder.inTransfers, builder.inCount);\n        result.outTransfers = _finalizeArray(builder.outTransfers, builder.outCount);\n        result.tocFromTokenFeeTransfers = _finalizeToCArray(builder.tocFromTransfers, builder.tocFromCount);\n        result.tobFromTokenFeeTransfers = _finalizeToBArray(builder.tobFromTransfers, builder.tobFromCount);\n    }\n\n    /// @dev Processes a single trade: validates, computes amounts, builds transfers.\n    function _processSingleTrade(\n        IERC20[] calldata tokens,\n        uint256[] calldata clearingPrices,\n        TradeLib.Data calldata trade,\n        RecoveredOrder memory order,\n        SettlementTypes.TransferBuilder memory builder,\n        SettlementTypes.TradeInfo[] memory tradeInfos,\n        uint256 tradeIndex\n    ) internal {\n        recoverOrderFromTrade(order, tokens, trade);\n\n        // Step 1: Validate order and compute amounts\n        (uint256 fromPrice, uint256 toPrice) = _validateOrder(order.data, clearingPrices, trade);\n        uint256 fromGross = order.data.fromTokenAmount;\n\n        // Step 2: Compute all fees via FeeLib\n        FeeLib.FromFeeResult memory feeResult =\n            FeeLib.validateAndComputeFromFees(order.data.commissionInfos, trade.solverFeeInfo, fromGross);\n        uint256 netFromForSwap = fromGross - feeResult.totalFee;\n        // Round up in user's favor: ensures toGross is never truncated below fair value\n        uint256 toGross = Math.mulDiv(netFromForSwap, fromPrice, toPrice, Math.Rounding.Up);\n        uint256 totalToFee =\n            FeeLib.computeToTokenFees(order.data.commissionInfos, trade.solverFeeInfo, toGross, feeResult.solverIsTo);\n\n        // Step 3: Build fee transfers and emit events\n        _buildFromTokenFeeTransfers(order, fromGross, trade.solverFeeInfo, builder, feeResult);\n        _buildToTokenFeeTransfers(order, toGross, trade.solverFeeInfo, builder, feeResult.solverIsTo);\n\n        // Step 4: Update filled amount, then finalize\n        uint256 currentFilled = filledAmount[order.uid];\n        require(currentFilled != type(uint256).max, \"order invalidated\");\n        uint256 newFilled = currentFilled + fromGross;\n        require(newFilled <= order.data.fromTokenAmount, \"order filled\");\n        filledAmount[order.uid] = newFilled;\n\n        _addInTransfer(builder, order.owner, order.data.fromTokenAddress, fromGross - feeResult.tocFee);\n        uint256 userPayoutIndex = builder.outCount;\n        _addOutTransfer(builder, order.receiver, order.data.toTokenAddress, toGross - totalToFee);\n        // User protection: net payout after all toToken fees must meet the signed minimum.\n        require(toGross - totalToFee >= order.data.toTokenAmount, \"toTokenAmount not respected\");\n\n        tradeInfos[tradeIndex] = SettlementTypes.TradeInfo({\n            orderUid: abi.encodePacked(order.uid),\n            owner: order.owner,\n            fromTokenAddress: order.data.fromTokenAddress,\n            toTokenAddress: order.data.toTokenAddress,\n            fromTokenAmount: fromGross,\n            toGross: toGross,\n            netFromForSwap: netFromForSwap,\n            payoutIndex: userPayoutIndex\n        });\n    }\n\n    function _computeNetShare(uint256 grossShare, uint256 feePercent)\n        private\n        pure\n        returns (uint256 netShare, uint256 fee)\n    {\n        fee = (grossShare * feePercent) / FeeLib.COMMISSION_DENOM;\n        netShare = grossShare - fee;\n    }\n\n    /// @dev Validates order basics and returns computed amounts.\n    function _validateOrder(OrderLib.Data memory data, uint256[] calldata clearingPrices, TradeLib.Data calldata trade)\n        private\n        view\n        returns (uint256 fromPrice, uint256 toPrice)\n    {\n        require(data.validTo >= block.timestamp, \"order expired\");\n        require(address(data.fromTokenAddress) != address(data.toTokenAddress), \"same token swap\");\n        require(data.fromTokenAmount > 0, \"zero fromTokenAmount\");\n        require(trade.thresholdPercent <= FeeLib.COMMISSION_DENOM, \"invalid threshold percent\");\n\n        fromPrice = clearingPrices[trade.fromTokenAddressIndex];\n        toPrice = clearingPrices[trade.toTokenAddressIndex];\n        require(fromPrice > 0 && toPrice > 0, \"zero clearing price\");\n        require(data.fromTokenAmount * fromPrice >= data.toTokenAmount * toPrice, \"limit price not respected\");\n    }\n\n    // ============================================================================\n    // BUILDER HELPERS\n    // ============================================================================\n\n    /// @dev Builds fromToken fee transfers and emits events.\n    function _buildFromTokenFeeTransfers(\n        RecoveredOrder memory order,\n        uint256 fromGross,\n        TradeLib.SolverFeeInfo calldata solverFeeInfo,\n        SettlementTypes.TransferBuilder memory builder,\n        FeeLib.FromFeeResult memory feeResult\n    ) private {\n        OrderLib.CommissionInfo[] memory infos = order.data.commissionInfos;\n        IERC20 token = order.data.fromTokenAddress;\n\n        for (uint256 i = 0; i < infos.length; i++) {\n            if ((infos[i].flag & FeeLib.FROM_TOKEN_COMMISSION) == 0 || infos[i].feePercent == 0) continue;\n            uint256 fee = FeeLib.calculateFee(fromGross, infos[i].feePercent);\n            emit CommissionFeePaid(\n                order.uid, address(token), infos[i].referrerWalletAddress, infos[i].feePercent, fee, infos[i].flag\n            );\n            if (fee == 0) continue;\n\n            if (feeResult.isToB) {\n                _addToBFromTransfer(\n                    builder, token, infos[i].referrerWalletAddress, infos[i].feePercent, fee, infos[i].flag\n                );\n            } else {\n                _addToCTransfer(builder, order.owner, token, infos[i].referrerWalletAddress, fee);\n            }\n        }\n\n        // Solver fromToken fee\n        if (feeResult.solverIsFrom) {\n            uint256 fee = FeeLib.calculateFee(fromGross, solverFeeInfo.feePercent);\n            emit SolverFeePaid(order.uid, address(token), solverFeeInfo.solverAddr, solverFeeInfo.feePercent, fee, solverFeeInfo.flag);\n            if (fee > 0) {\n                if ((solverFeeInfo.flag & FeeLib.IS_TO_B) != 0) {\n                    _addToBFromTransfer(\n                        builder,\n                        token,\n                        solverFeeInfo.solverAddr,\n                        solverFeeInfo.feePercent,\n                        fee,\n                        solverFeeInfo.flag\n                    );\n                } else {\n                    _addToCTransfer(builder, order.owner, token, solverFeeInfo.solverAddr, fee);\n                }\n            }\n        }\n    }\n\n    /// @dev Builds toToken fee transfers and emits events.\n    function _buildToTokenFeeTransfers(\n        RecoveredOrder memory order,\n        uint256 toGross,\n        TradeLib.SolverFeeInfo calldata solverFeeInfo,\n        SettlementTypes.TransferBuilder memory builder,\n        bool solverIsTo\n    ) private {\n        OrderLib.CommissionInfo[] memory infos = order.data.commissionInfos;\n        IERC20 token = order.data.toTokenAddress;\n\n        for (uint256 i = 0; i < infos.length; i++) {\n            if ((infos[i].flag & FeeLib.TO_TOKEN_COMMISSION) == 0 || infos[i].feePercent == 0) continue;\n            uint256 fee = FeeLib.calculateFee(toGross, infos[i].feePercent);\n            emit CommissionFeePaid(\n                order.uid, address(token), infos[i].referrerWalletAddress, infos[i].feePercent, fee, infos[i].flag\n            );\n            if (fee == 0) continue;\n            _addOutTransfer(builder, infos[i].referrerWalletAddress, token, fee);\n        }\n\n        // Solver toToken fee\n        if (solverIsTo) {\n            uint256 fee = FeeLib.calculateFee(toGross, solverFeeInfo.feePercent);\n            emit SolverFeePaid(order.uid, address(token), solverFeeInfo.solverAddr, solverFeeInfo.feePercent, fee, solverFeeInfo.flag);\n            if (fee > 0) {\n                _addOutTransfer(builder, solverFeeInfo.solverAddr, token, fee);\n            }\n        }\n    }\n\n    function _initTransferBuilder(uint256 tradeCount) private pure returns (SettlementTypes.TransferBuilder memory b) {\n        b.inTransfers = new TransferLib.Data[](tradeCount);\n        // - outTransfers per trade: 1 user payout + up to FeeLib.MAX_COMMISSION_ENTRIES toToken commissions + up to 1 toToken solver fee\n        // - fromToken fee transfers per trade (ToC/ToB arrays): up to FeeLib.MAX_COMMISSION_ENTRIES referral fees + up to 1 solver fee\n        b.outTransfers = new TransferLib.Data[](tradeCount * (1 + FeeLib.MAX_COMMISSION_ENTRIES + 1));\n        b.tocFromTransfers =\n            new SettlementTypes.ToCFromTokenFeeTransfer[](tradeCount * (FeeLib.MAX_COMMISSION_ENTRIES + 1));\n        b.tobFromTransfers =\n            new SettlementTypes.ToBFromTokenFeeTransfer[](tradeCount * (FeeLib.MAX_COMMISSION_ENTRIES + 1));\n    }\n\n    function _addInTransfer(SettlementTypes.TransferBuilder memory b, address account, IERC20 token, uint256 amount)\n        private\n        pure\n    {\n        b.inTransfers[b.inCount++] = TransferLib.Data(account, token, amount);\n    }\n\n    function _addOutTransfer(SettlementTypes.TransferBuilder memory b, address account, IERC20 token, uint256 amount)\n        private\n        pure\n    {\n        b.outTransfers[b.outCount++] = TransferLib.Data(account, token, amount);\n    }\n\n    function _addToCTransfer(\n        SettlementTypes.TransferBuilder memory b,\n        address tradeOwner,\n        IERC20 token,\n        address recipient,\n        uint256 amount\n    ) private pure {\n        b.tocFromTransfers[b.tocFromCount++] =\n            SettlementTypes.ToCFromTokenFeeTransfer(tradeOwner, token, recipient, amount);\n    }\n\n    function _addToBFromTransfer(\n        SettlementTypes.TransferBuilder memory b,\n        IERC20 token,\n        address recipient,\n        uint256 feePercent,\n        uint256 amount,\n        uint256 flag\n    ) private pure {\n        b.tobFromTransfers[b.tobFromCount++] =\n            SettlementTypes.ToBFromTokenFeeTransfer(token, recipient, feePercent, amount, flag);\n    }\n\n    function _finalizeArray(TransferLib.Data[] memory src, uint256 len)\n        private\n        pure\n        returns (TransferLib.Data[] memory dst)\n    {\n        assembly {\n            dst := src\n            mstore(dst, len)\n        }\n    }\n\n    function _finalizeToCArray(SettlementTypes.ToCFromTokenFeeTransfer[] memory src, uint256 len)\n        private\n        pure\n        returns (SettlementTypes.ToCFromTokenFeeTransfer[] memory dst)\n    {\n        assembly {\n            dst := src\n            mstore(dst, len)\n        }\n    }\n\n    function _finalizeToBArray(SettlementTypes.ToBFromTokenFeeTransfer[] memory src, uint256 len)\n        private\n        pure\n        returns (SettlementTypes.ToBFromTokenFeeTransfer[] memory dst)\n    {\n        assembly {\n            dst := src\n            mstore(dst, len)\n        }\n    }\n\n    // ============================================================================\n    // EXECUTION LAYER\n    // ============================================================================\n\n    /// @dev Executes fund pulls from users.\n    function _executeFundPulls(\n        SettlementTypes.ToCFromTokenFeeTransfer[] memory tocFromTransfers,\n        TransferLib.Data[] memory inTransfers\n    ) private {\n        ITokenApproveProxy proxy = ITokenApproveProxy(tokenApproveProxy);\n\n        // ToC direct payments (USER -> recipient)\n        for (uint256 i = 0; i < tocFromTransfers.length; i++) {\n            SettlementTypes.ToCFromTokenFeeTransfer memory t = tocFromTransfers[i];\n            if (t.amount == 0) continue;\n            _requireNotNativeETH(t.token);\n            proxy.claimTokens(address(t.token), t.owner, t.recipient, t.amount);\n        }\n\n        // Main pulls (USER -> Settlement)\n        for (uint256 i = 0; i < inTransfers.length; i++) {\n            TransferLib.Data memory t = inTransfers[i];\n            if (t.amount == 0) continue;\n            _requireNotNativeETH(t.token);\n            proxy.claimTokens(address(t.token), t.account, address(this), t.amount);\n        }\n    }\n\n    /// @dev Executes ToB fromToken fee transfers.\n    function _executeTransfers(SettlementTypes.ToBFromTokenFeeTransfer[] memory transfers) private {\n        for (uint256 i = 0; i < transfers.length; i++) {\n            SettlementTypes.ToBFromTokenFeeTransfer memory t = transfers[i];\n            if (t.amount == 0) continue;\n            _requireNotNativeETH(t.token);\n            TransferLib.safeTransfer(t.token, t.recipient, t.amount);\n        }\n    }\n\n    /// @dev Executes payout transfers.\n    function _executePayouts(TransferLib.Data[] memory transfers) private {\n        for (uint256 i = 0; i < transfers.length; i++) {\n            TransferLib.Data memory t = transfers[i];\n            if (t.amount == 0) continue;\n            TransferLib.safeTransfer(t.token, t.account, t.amount);\n        }\n    }\n\n    /// @dev Distributes all remaining token balances as a surplus pool.\n    /// Participants for each token are all executed trades that involve the token\n    /// on either side (from-side weighted by netFromForSwap, to-side weighted by net payout).\n    function _executeSurplusDistribution(\n        TransferLib.Data[] memory outTransfers,\n        SettlementTypes.TradeInfo[] memory tradeInfos,\n        SettlementTypes.SurplusFeeInfo calldata surplusInfo\n    ) private returns (uint256[] memory bonuses) {\n        bonuses = new uint256[](outTransfers.length);\n        uint256 n = tradeInfos.length;\n        if (outTransfers.length == 0 || n == 0) return bonuses;\n\n        // Increment nonce to invalidate previous dedup entries.\n        assembly (\"memory-safe\") {\n            tstore(_TOKEN_SET_NS, add(tload(_TOKEN_SET_NS), 1))\n        }\n\n        // Collect unique settlement tokens participating in this batch.\n        IERC20[] memory poolTokens = new IERC20[](n * 2);\n        uint256 tokenCount = 0;\n\n        // Single pass: for each trade, try inserting its output token and then its input token.\n        for (uint256 i = 0; i < n; i++) {\n            IERC20 toToken = tradeInfos[i].toTokenAddress;\n            if (_insertUniqueToken(toToken)) {\n                poolTokens[tokenCount++] = toToken;\n            }\n            IERC20 fromToken = tradeInfos[i].fromTokenAddress;\n            if (_insertUniqueToken(fromToken)) {\n                poolTokens[tokenCount++] = fromToken;\n            }\n        }\n\n        for (uint256 t = 0; t < tokenCount; t++) {\n            _executeSingleTokenSurplusDistribution(poolTokens[t], outTransfers, tradeInfos, surplusInfo, bonuses, n);\n        }\n    }\n\n    function _executeSingleTokenSurplusDistribution(\n        IERC20 token,\n        TransferLib.Data[] memory outTransfers,\n        SettlementTypes.TradeInfo[] memory tradeInfos,\n        SettlementTypes.SurplusFeeInfo calldata surplusInfo,\n        uint256[] memory bonuses,\n        uint256 n\n    ) private {\n        // Pool is the token's current on-contract balance after mandatory payouts.\n        uint256 pool =\n            address(token) == TransferLib.BUY_ETH_ADDRESS ? address(this).balance : token.balanceOf(address(this));\n        if (pool == 0) return;\n\n        // First pass: collect participant weights.\n        // from-side weight uses netFromForSwap; to-side weight uses userPayout.\n        SurplusAccumulator memory acc;\n        for (uint256 i = 0; i < n; i++) {\n            if (address(tradeInfos[i].fromTokenAddress) == address(token)) {\n                uint256 fromWeight = tradeInfos[i].netFromForSwap;\n                if (fromWeight > 0) {\n                    acc.totalWeight += fromWeight;\n                    acc.participantCount++;\n                }\n            }\n\n            if (address(tradeInfos[i].toTokenAddress) == address(token)) {\n                uint256 toWeight = outTransfers[tradeInfos[i].payoutIndex].amount;\n                if (toWeight > 0) {\n                    acc.totalWeight += toWeight;\n                    acc.participantCount++;\n                }\n            }\n        }\n        if (acc.totalWeight == 0 || acc.participantCount == 0) return;\n\n        // Second pass: allocate gross pool pro-rata by weight, then apply\n        // per-participant trim cap:\n        // fee_i = min(grossShare_i * feePercent, weight_i * capPercent)\n        // Last participant absorbs rounding dust for gross share conservation.\n        for (uint256 i = 0; i < n; i++) {\n            if (address(tradeInfos[i].fromTokenAddress) == address(token)) {\n                uint256 fromWeight = tradeInfos[i].netFromForSwap;\n                if (fromWeight > 0) {\n                    acc.seen++;\n                    uint256 grossShare = (acc.seen == acc.participantCount)\n                        ? (pool - acc.distributedGross)\n                        : Math.mulDiv(pool, fromWeight, acc.totalWeight);\n                    acc.distributedGross += grossShare;\n                    if (grossShare > 0) {\n                        (uint256 netShare, uint256 fee) = _computeNetShare(grossShare, surplusInfo.feePercent);\n                        acc.trimTotal += fee;\n                        if (netShare > 0) {\n                            TransferLib.safeTransfer(token, tradeInfos[i].owner, netShare);\n                            emit SurplusFeeUserFromTokenPaid(\n                                tradeInfos[i].orderUid, address(token), tradeInfos[i].owner, netShare\n                            );\n                        }\n                    }\n                }\n            }\n\n            if (address(tradeInfos[i].toTokenAddress) == address(token)) {\n                uint256 toWeight = outTransfers[tradeInfos[i].payoutIndex].amount;\n                if (toWeight > 0) {\n                    acc.seen++;\n                    uint256 grossShare = (acc.seen == acc.participantCount)\n                        ? (pool - acc.distributedGross)\n                        : Math.mulDiv(pool, toWeight, acc.totalWeight);\n                    acc.distributedGross += grossShare;\n                    if (grossShare > 0) {\n                        (uint256 netShare, uint256 fee) = _computeNetShare(grossShare, surplusInfo.feePercent);\n                        acc.trimTotal += fee;\n                        uint256 idx = tradeInfos[i].payoutIndex;\n                        address recipient = outTransfers[idx].account;\n                        bonuses[idx] += netShare;\n                        if (netShare > 0) {\n                            TransferLib.safeTransfer(token, recipient, netShare);\n                            emit SurplusFeeUserToTokenPaid(tradeInfos[i].orderUid, address(token), recipient, netShare);\n                        }\n                    }\n                }\n            }\n        }\n\n        if (surplusInfo.feePercent > 0) {\n            emit SurplusFeePaid(\n                address(token), surplusInfo.trimReceiver, surplusInfo.feePercent, acc.trimTotal, surplusInfo.flag\n            );\n        }\n\n        if (acc.trimTotal > 0) {\n            TransferLib.safeTransfer(token, surplusInfo.trimReceiver, acc.trimTotal);\n        }\n    }\n\n    // ============================================================================\n    // OUTPUT SHORTFALL GATE\n    // ============================================================================\n\n    /// @dev Aggregates gross targets by actual output-token address and applies any shortfall before payouts.\n    /// The same address may appear at multiple, non-contiguous token indices.\n    function _applyThresholdGate(\n        TransferLib.Data[] memory outTransfers,\n        SettlementTypes.TradeInfo[] memory tradeInfos,\n        TradeLib.Data[] calldata trades\n    ) private {\n        uint256 n = tradeInfos.length;\n        if (n == 0) return;\n\n        // Keep output-token grouping allocation-free when the entire batch uses one token address.\n        IERC20 batchToken = tradeInfos[0].toTokenAddress;\n        uint256 batchRequired = tradeInfos[0].toGross;\n        uint256 scan = 1;\n        while (scan < n && address(tradeInfos[scan].toTokenAddress) == address(batchToken)) {\n            batchRequired += tradeInfos[scan].toGross;\n            unchecked {\n                ++scan;\n            }\n        }\n        if (scan == n) {\n            uint256 bal = address(batchToken) == TransferLib.BUY_ETH_ADDRESS\n                ? address(this).balance\n                : batchToken.balanceOf(address(this));\n            if (bal < batchRequired) {\n                _applyGroupShortfall(outTransfers, tradeInfos, trades, batchToken, batchRequired - bal);\n            }\n            return;\n        }\n\n        uint256 maxGroupCount = n - scan + 1;\n        IERC20[] memory groupTokens = new IERC20[](maxGroupCount);\n        uint256[] memory groupRequired = new uint256[](maxGroupCount);\n        groupTokens[0] = batchToken;\n        groupRequired[0] = batchRequired;\n        uint256 groupCount = 1;\n\n        // The prefix [0, scan) is already aggregated into group 0. Group the remaining trades by address.\n        for (uint256 i = scan; i < n; ++i) {\n            IERC20 token = tradeInfos[i].toTokenAddress;\n            uint256 groupIndex = groupCount;\n            for (uint256 g = 0; g < groupCount; ++g) {\n                if (address(groupTokens[g]) == address(token)) {\n                    groupIndex = g;\n                    break;\n                }\n            }\n            if (groupIndex == groupCount) {\n                groupTokens[groupCount] = token;\n                ++groupCount;\n            }\n            groupRequired[groupIndex] += tradeInfos[i].toGross;\n        }\n\n        for (uint256 g = 0; g < groupCount; ++g) {\n            IERC20 token = groupTokens[g];\n            uint256 required = groupRequired[g];\n            uint256 bal =\n                address(token) == TransferLib.BUY_ETH_ADDRESS ? address(this).balance : token.balanceOf(address(this));\n            if (bal < required) {\n                _applyGroupShortfall(outTransfers, tradeInfos, trades, token, required - bal);\n            }\n        }\n    }\n\n    /// @dev Allocates a group's shortfall by normalized threshold capacity (`toGross * thresholdPercent`),\n    /// capped by each order's minimum return. Any unallocated remainder goes to orders with spare capacity.\n    function _applyGroupShortfall(\n        TransferLib.Data[] memory outTransfers,\n        SettlementTypes.TradeInfo[] memory tradeInfos,\n        TradeLib.Data[] calldata trades,\n        IERC20 token,\n        uint256 shortfall\n    ) private {\n        uint256 n = tradeInfos.length;\n\n        uint256[] memory thresholdWeights = new uint256[](n);\n        uint256[] memory capacities = new uint256[](n);\n        uint256[] memory shares = new uint256[](n);\n        uint256 totalThresholdCapacity = 0;\n        uint256 totalCapacity = 0;\n\n        // tradeInfos preserves the original trade order. Compute each order's effective capacity first.\n        for (uint256 k = 0; k < n; ++k) {\n            if (address(tradeInfos[k].toTokenAddress) != address(token)) continue;\n\n            uint256 thresholdCapacity =\n                Math.mulDiv(tradeInfos[k].toGross, trades[k].thresholdPercent, FeeLib.COMMISSION_DENOM);\n            thresholdWeights[k] = thresholdCapacity;\n            totalThresholdCapacity += thresholdCapacity;\n\n            uint256 minReturnCapacity = outTransfers[tradeInfos[k].payoutIndex].amount - trades[k].toTokenAmount;\n            uint256 capacity = thresholdCapacity < minReturnCapacity ? thresholdCapacity : minReturnCapacity;\n            capacities[k] = capacity;\n            totalCapacity += capacity;\n        }\n\n        if (shortfall > totalCapacity) {\n            if (shortfall > totalThresholdCapacity) {\n                revert(\"threshold not met\");\n            }\n            revert(\"toTokenAmount not respected\");\n        }\n\n        // First round: allocate proportionally to each order's normalized threshold capacity.\n        uint256 remaining = shortfall;\n        for (uint256 k = 0; k < n; ++k) {\n            if (address(tradeInfos[k].toTokenAddress) != address(token)) continue;\n\n            uint256 share = 0;\n            if (remaining > 0) {\n                share = Math.mulDiv(shortfall, thresholdWeights[k], totalThresholdCapacity, Math.Rounding.Up);\n                if (share > capacities[k]) share = capacities[k];\n                if (share > remaining) share = remaining;\n                remaining -= share;\n            }\n            shares[k] = share;\n            capacities[k] -= share;\n        }\n\n        // Slow path: redistribute any capacity-capped remainder among orders with spare capacity.\n        while (remaining > 0) {\n            uint256 activeWeight = 0;\n            for (uint256 i = 0; i < n; ++i) {\n                if (capacities[i] > 0) activeWeight += thresholdWeights[i];\n            }\n            assert(activeWeight > 0);\n\n            uint256 roundAmount = remaining;\n            uint256 remainingBeforeRound = remaining;\n            for (uint256 i = 0; i < n && remaining > 0; ++i) {\n                if (capacities[i] == 0) continue;\n\n                uint256 extra = Math.mulDiv(roundAmount, thresholdWeights[i], activeWeight, Math.Rounding.Up);\n                if (extra > capacities[i]) extra = capacities[i];\n                if (extra > remaining) extra = remaining;\n                shares[i] += extra;\n                capacities[i] -= extra;\n                remaining -= extra;\n            }\n            assert(remaining < remainingBeforeRound);\n        }\n\n        // Apply the final allocation and emit one event per affected order.\n        for (uint256 k = 0; k < n; ++k) {\n            uint256 share = shares[k];\n            if (share == 0) continue;\n\n            uint256 idx = tradeInfos[k].payoutIndex;\n            outTransfers[idx].amount -= share;\n\n            uint256 toGross = tradeInfos[k].toGross;\n            emit ThresholdFill(\n                tradeInfos[k].orderUid, address(token), toGross, toGross - share, trades[k].thresholdPercent\n            );\n        }\n    }\n\n    /// @dev Executes interaction calls (used for pre/mid/post-settlement phases).\n    function _executeInteractions(InteractionLib.Data[] calldata interactions) private {\n        for (uint256 i = 0; i < interactions.length; ++i) {\n            InteractionLib.Data calldata ix = interactions[i];\n            require(ix.target != tokenApproveProxy, \"forbidden interaction\");\n            InteractionLib.execute(ix);\n            emit Interaction(ix.target, ix.value, InteractionLib.selector(ix));\n        }\n    }\n\n    // ============================================================================\n    // UTILITIES\n    // ============================================================================\n\n    /// @dev ETH-out is supported, but ETH-in is not.\n    function _requireNotNativeETH(IERC20 token) private pure {\n        require(address(token) != TransferLib.BUY_ETH_ADDRESS, \"cannot transfer native ETH\");\n    }\n\n    function _emitTradeEvents(\n        SettlementTypes.TradeInfo[] memory infos,\n        TransferLib.Data[] memory outTransfers,\n        uint256[] memory bonuses\n    ) private {\n        for (uint256 i = 0; i < infos.length; i++) {\n            uint256 idx = infos[i].payoutIndex;\n            emit Trade(\n                infos[i].owner,\n                infos[i].fromTokenAddress,\n                infos[i].toTokenAddress,\n                infos[i].fromTokenAmount,\n                outTransfers[idx].amount + bonuses[idx],\n                infos[i].orderUid\n            );\n        }\n    }\n}\n"},"src/mixins/Signing.sol":{"content":"// SPDX-License-Identifier: LGPL-3.0-or-later\npragma solidity 0.8.24;\n\nimport \"../interfaces/EIP1271.sol\";\nimport \"../libraries/OrderLib.sol\";\nimport \"../libraries/TradeLib.sol\";\n\n/// @title Signing\nabstract contract Signing {\n    using OrderLib for OrderLib.Data;\n    using OrderLib for bytes;\n\n    /// @dev Recovered trade data containing the extracted order and the\n    /// recovered owner address.\n    struct RecoveredOrder {\n        OrderLib.Data data;\n        bytes uid;\n        address owner;\n        address receiver;\n    }\n\n    /// @dev Signing scheme used for recovery.\n    enum Scheme {\n        Eip712,\n        EthSign,\n        Eip1271,\n        PreSign\n    }\n\n    /// @dev The EIP-712 domain type hash used for computing the domain\n    /// separator.\n    bytes32 private constant DOMAIN_TYPE_HASH =\n        keccak256(\"EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)\");\n\n    /// @dev The EIP-712 domain name used for computing the domain separator.\n    bytes32 private constant DOMAIN_NAME = keccak256(\"OKX Intent Swap\");\n\n    /// @dev The EIP-712 domain version used for computing the domain separator.\n    bytes32 private constant DOMAIN_VERSION = keccak256(\"v1.0.0\");\n\n    /// @dev Marker value indicating an order is pre-signed.\n    uint256 private constant PRE_SIGNED = uint256(keccak256(\"Signing.Scheme.PreSign\"));\n\n    /// @dev Cached chain id used for domain separator.\n    uint256 private immutable CACHED_CHAIN_ID;\n\n    /// @dev Cached domain separator for the deployment chain.\n    /// The domain separator used for signing orders that gets mixed in\n    /// making signatures for different domains incompatible. This domain\n    /// separator is computed following the EIP-712 standard and has replay\n    /// protection mixed in so that signed orders are only valid for specific\n    /// contracts.\n    bytes32 private immutable CACHED_DOMAIN_SEPARATOR;\n\n    /// @dev Storage indicating whether or not an order has been signed by a\n    /// particular address.\n    mapping(bytes => uint256) public preSignature;\n\n    /// @dev Event that is emitted when an account either pre-signs an order or\n    /// revokes an existing pre-signature.\n    event PreSignature(address indexed owner, bytes orderUid, bool signed);\n\n    constructor() {\n        uint256 chainId;\n        // solhint-disable-next-line no-inline-assembly\n        assembly (\"memory-safe\") {\n            chainId := chainid()\n        }\n\n        CACHED_CHAIN_ID = chainId;\n        CACHED_DOMAIN_SEPARATOR = _computeDomainSeparator(chainId);\n    }\n\n    /// @notice Returns the EIP-712 domain separator used for signing orders.\n    /// @dev Returns cached value on the deployment chain, otherwise recomputes.\n    function domainSeparator() public view returns (bytes32) {\n        if (block.chainid == CACHED_CHAIN_ID) {\n            return CACHED_DOMAIN_SEPARATOR;\n        }\n        return _computeDomainSeparator(block.chainid);\n    }\n\n    function _computeDomainSeparator(uint256 chainId) private view returns (bytes32) {\n        return keccak256(abi.encode(DOMAIN_TYPE_HASH, DOMAIN_NAME, DOMAIN_VERSION, chainId, address(this)));\n    }\n\n    /// @dev Sets a presignature for the specified order UID.\n    ///\n    /// @param orderUid The unique identifier of the order to pre-sign.\n    /// @param signed True to set the order as tradable with pre-sign, false to\n    /// unset it.\n    function setPreSignature(bytes calldata orderUid, bool signed) external {\n        (, address owner,) = orderUid.extractOrderUidParams();\n        require(owner == msg.sender, \"cannot presign order\");\n        if (signed) {\n            preSignature[orderUid] = PRE_SIGNED;\n        } else {\n            preSignature[orderUid] = 0;\n        }\n        emit PreSignature(owner, orderUid, signed);\n    }\n\n    /// @dev Returns an empty recovered order with a pre-allocated buffer for\n    /// packing the unique identifier.\n    ///\n    /// @return recoveredOrder The empty recovered order data.\n    function allocateRecoveredOrder() internal pure returns (RecoveredOrder memory recoveredOrder) {\n        recoveredOrder.uid = new bytes(OrderLib.UID_LENGTH);\n    }\n\n    /// @dev Extracts order data and recovers the signer from the specified\n    /// trade.\n    ///\n    /// @param recoveredOrder Memory location used for writing the recovered order data.\n    /// @param tokens The list of tokens included in the settlement. The token\n    /// indices in the trade parameters map to tokens in this array.\n    /// @param trade The trade data to recover the order data from.\n    function recoverOrderFromTrade(\n        RecoveredOrder memory recoveredOrder,\n        IERC20[] calldata tokens,\n        TradeLib.Data calldata trade\n    ) internal view {\n        OrderLib.Data memory order = recoveredOrder.data;\n\n        Scheme signingScheme = TradeLib.extractOrder(trade, tokens, order);\n        (bytes32 orderDigest, address owner) = recoverOrderSigner(order, signingScheme, trade.signature);\n\n        require(order.owner == owner, \"owner mismatch\");\n\n        recoveredOrder.uid.packOrderUidParams(orderDigest, owner, order.validTo);\n        recoveredOrder.owner = owner;\n        recoveredOrder.receiver = order.actualReceiver(owner);\n    }\n\n    /// @dev The length of any signature from an externally owned account.\n    uint256 private constant ECDSA_SIGNATURE_LENGTH = 65;\n\n    /// @dev Recovers an order's signer from the specified order and signature.\n    ///\n    /// @param order The order to recover a signature for.\n    /// @param signingScheme The signing scheme.\n    /// @param signature The signature bytes.\n    /// @return orderDigest The computed order hash.\n    /// @return owner The recovered address from the specified signature.\n    function recoverOrderSigner(OrderLib.Data memory order, Scheme signingScheme, bytes calldata signature)\n        internal\n        view\n        returns (bytes32 orderDigest, address owner)\n    {\n        orderDigest = order.hash(domainSeparator());\n        if (signingScheme == Scheme.Eip712) {\n            owner = recoverEip712Signer(orderDigest, signature);\n        } else if (signingScheme == Scheme.EthSign) {\n            owner = recoverEthsignSigner(orderDigest, signature);\n        } else if (signingScheme == Scheme.Eip1271) {\n            owner = recoverEip1271Signer(orderDigest, signature);\n        } else {\n            // signingScheme == Scheme.PreSign\n            owner = recoverPreSigner(orderDigest, signature, order.validTo);\n        }\n    }\n\n    /// @dev Perform an ECDSA recover for the specified message and calldata\n    /// signature.\n    ///\n    /// The signature is encoded by tightly packing the following struct:\n    /// ```\n    /// struct EncodedSignature {\n    ///     bytes32 r;\n    ///     bytes32 s;\n    ///     uint8 v;\n    /// }\n    /// ```\n    ///\n    /// @param message The signed message.\n    /// @param encodedSignature The encoded signature.\n    function ecdsaRecover(bytes32 message, bytes calldata encodedSignature) internal pure returns (address signer) {\n        require(encodedSignature.length == ECDSA_SIGNATURE_LENGTH, \"malformed ecdsa signature\");\n\n        bytes32 r;\n        bytes32 s;\n        uint8 v;\n\n        // NOTE: Use assembly to efficiently decode signature data.\n        // solhint-disable-next-line no-inline-assembly\n        assembly (\"memory-safe\") {\n            // r = uint256(encodedSignature[0:32])\n            r := calldataload(encodedSignature.offset)\n            // s = uint256(encodedSignature[32:64])\n            s := calldataload(add(encodedSignature.offset, 32))\n            // v = uint8(encodedSignature[64])\n            v := shr(248, calldataload(add(encodedSignature.offset, 64)))\n        }\n\n        require(\n            uint256(s) <= 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0,\n            \"invalid signature s value\"\n        );\n        signer = ecrecover(message, v, r, s);\n        require(signer != address(0), \"invalid ecdsa signature\");\n    }\n\n    /// @dev Decodes signature bytes originating from an EIP-712-encoded\n    /// signature.\n    ///\n    /// EIP-712 signs typed data. The specifications are described in the\n    /// related EIP (<https://eips.ethereum.org/EIPS/eip-712>).\n    ///\n    /// EIP-712 signatures are encoded as standard ECDSA signatures as described\n    /// in the corresponding decoding function [`ecdsaRecover`].\n    ///\n    /// @param orderDigest The EIP-712 signing digest derived from the order\n    /// parameters.\n    /// @param encodedSignature Calldata pointing to tightly packed signature\n    /// bytes.\n    /// @return owner The address of the signer.\n    function recoverEip712Signer(bytes32 orderDigest, bytes calldata encodedSignature)\n        internal\n        pure\n        returns (address owner)\n    {\n        owner = ecdsaRecover(orderDigest, encodedSignature);\n    }\n\n    /// @dev Decodes signature bytes originating from the output of the eth_sign\n    /// RPC call.\n    ///\n    /// The specifications are described in the Ethereum documentation\n    /// (<https://eth.wiki/json-rpc/API#eth_sign>).\n    ///\n    /// eth_sign signatures are encoded as standard ECDSA signatures as\n    /// described in the corresponding decoding function\n    /// [`ecdsaRecover`].\n    ///\n    /// @param orderDigest The EIP-712 signing digest derived from the order\n    /// parameters.\n    /// @param encodedSignature Calldata pointing to tightly packed signature\n    /// bytes.\n    /// @return owner The address of the signer.\n    function recoverEthsignSigner(bytes32 orderDigest, bytes calldata encodedSignature)\n        internal\n        pure\n        returns (address owner)\n    {\n        // The signed message is encoded as:\n        // `\"\\x19Ethereum Signed Message:\\n\" || length || data`, where\n        // the length is a constant (32 bytes) and the data is defined as:\n        // `orderDigest`.\n        bytes32 ethsignDigest = keccak256(abi.encodePacked(\"\\x19Ethereum Signed Message:\\n32\", orderDigest));\n\n        owner = ecdsaRecover(ethsignDigest, encodedSignature);\n    }\n\n    /// @dev Verifies the input calldata as an EIP-1271 contract signature and\n    /// returns the address of the signer.\n    ///\n    /// The encoded signature tightly packs the following struct:\n    ///\n    /// ```\n    /// struct EncodedEip1271Signature {\n    ///     address owner;\n    ///     bytes signature;\n    /// }\n    /// ```\n    ///\n    /// This function enforces that the encoded data stores enough bytes to\n    /// cover the full length of the decoded signature.\n    ///\n    /// @param encodedSignature The encoded EIP-1271 signature.\n    /// @param orderDigest The EIP-712 signing digest derived from the order\n    /// parameters.\n    /// @return owner The address of the signer.\n    function recoverEip1271Signer(bytes32 orderDigest, bytes calldata encodedSignature)\n        internal\n        view\n        returns (address owner)\n    {\n        // NOTE: Use assembly to read the verifier address from the encoded\n        // signature bytes.\n        // solhint-disable-next-line no-inline-assembly\n        assembly (\"memory-safe\") {\n            // owner = address(encodedSignature[0:20])\n            owner := shr(96, calldataload(encodedSignature.offset))\n        }\n\n        // NOTE: Configure prettier to ignore the following line as it causes\n        // a panic in the Solidity plugin.\n        // prettier-ignore\n        bytes calldata signature = encodedSignature[20:];\n\n        require(\n            EIP1271Verifier(owner).isValidSignature(orderDigest, signature) == EIP1271.MAGICVALUE,\n            \"invalid eip1271 signature\"\n        );\n    }\n\n    /// @dev Verifies the order has been pre-signed. The signature is the\n    /// address of the signer of the order.\n    ///\n    /// @param orderDigest The EIP-712 signing digest derived from the order\n    /// parameters.\n    /// @param encodedSignature The pre-sign signature representing the order UID.\n    /// @param validTo The order expiry timestamp.\n    /// @return owner The address of the signer.\n    function recoverPreSigner(bytes32 orderDigest, bytes calldata encodedSignature, uint32 validTo)\n        internal\n        view\n        returns (address owner)\n    {\n        require(encodedSignature.length == 20, \"malformed presignature\");\n        // NOTE: Use assembly to read the owner address from the encoded\n        // signature bytes.\n        // solhint-disable-next-line no-inline-assembly\n        assembly (\"memory-safe\") {\n            // owner = address(encodedSignature[0:20])\n            owner := shr(96, calldataload(encodedSignature.offset))\n        }\n\n        bytes memory orderUid = new bytes(OrderLib.UID_LENGTH);\n        orderUid.packOrderUidParams(orderDigest, owner, validTo);\n\n        require(preSignature[orderUid] == PRE_SIGNED, \"order not presigned\");\n    }\n}\n"},"src/libraries/FeeLib.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.24;\n\nimport \"./OrderLib.sol\";\nimport \"./TradeLib.sol\";\n\n/// @title Fee Library\n/// @notice Encapsulates all fee calculation logic for Settlement contract.\n/// @dev Centralizes fee computation to ensure consistency and reduce code duplication.\nlibrary FeeLib {\n    uint256 internal constant COMMISSION_DENOM = 1e9;\n    uint256 internal constant COMMISSION_MAX_TOTAL_PERCENT = 30_000_000; // 3% in 1e9 precision\n    uint256 internal constant MAX_COMMISSION_ENTRIES = 3;\n\n    // Flag bit masks (shared with offchain components)\n    uint256 internal constant FROM_TOKEN_COMMISSION = 1 << 255;\n    uint256 internal constant TO_TOKEN_COMMISSION = 1 << 254;\n    uint256 internal constant IS_TO_B = 1 << 253;\n\n    /// @dev Result of fromToken fee computation.\n    struct FromFeeResult {\n        uint256 totalFee; // Total fromToken fees (commission + solver)\n        uint256 tocFee; // ToC fees (user direct pay, deducted from pull)\n        bool isToB; // Fee fund-flow mode\n        bool solverIsFrom; // Solver fee is fromToken\n        bool solverIsTo; // Solver fee is toToken\n    }\n\n    /// @notice Validates commission config and computes fromToken fees in one pass.\n    /// @dev Enforces: max MAX_COMMISSION_ENTRIES entries, total <= 3%, consistent direction/fund-flow.\n    /// @return result Fee computation result.\n    function validateAndComputeFromFees(\n        OrderLib.CommissionInfo[] memory infos,\n        TradeLib.SolverFeeInfo calldata solverFeeInfo,\n        uint256 fromGross\n    ) internal pure returns (FromFeeResult memory result) {\n        require(infos.length <= MAX_COMMISSION_ENTRIES, \"too many commission infos\");\n\n        uint256 totalPercent;\n        bool seenFrom;\n        bool seenTo;\n        bool seenToB;\n        bool seenToC;\n\n        // Single pass: validate + compute fromToken fees\n        for (uint256 i = 0; i < infos.length; i++) {\n            OrderLib.CommissionInfo memory info = infos[i];\n            totalPercent += info.feePercent;\n\n            bool isFrom = (info.flag & FROM_TOKEN_COMMISSION) != 0;\n            bool isTo = (info.flag & TO_TOKEN_COMMISSION) != 0;\n            bool isToB = (info.flag & IS_TO_B) != 0;\n\n            require(!(isFrom && isTo) && (isFrom || isTo), \"invalid commission direction\");\n            if (info.feePercent > 0) {\n                require(info.referrerWalletAddress != address(0), \"zero fee recipient\");\n            }\n\n            // Only track direction/fund-flow when feePercent > 0\n            if (info.feePercent > 0) {\n                if (isFrom) seenFrom = true;\n                if (isTo) seenTo = true;\n                if (isToB) seenToB = true;\n                else seenToC = true;\n            }\n\n            // Compute fromToken fee (fee may be 0 due to small amount, which is allowed)\n            if (isFrom && info.feePercent > 0) {\n                uint256 fee = calculateFee(fromGross, info.feePercent);\n                result.totalFee += fee;\n                if (!isToB) result.tocFee += fee;\n            }\n        }\n\n        require(totalPercent <= COMMISSION_MAX_TOTAL_PERCENT, \"commission percent too high\");\n        require(!(seenFrom && seenTo), \"mixed commission directions\");\n        require(!(seenToB && seenToC), \"mixed isToB flags\");\n\n        result.isToB = seenToB;\n\n        // Validate and compute solver fee\n        // Solver fee is market-driven. Greedy solvers lose to competitive ones.\n        result.solverIsFrom = solverFeeInfo.feePercent > 0 && (solverFeeInfo.flag & FROM_TOKEN_COMMISSION) != 0\n            && (solverFeeInfo.flag & TO_TOKEN_COMMISSION) == 0;\n        result.solverIsTo = solverFeeInfo.feePercent > 0 && (solverFeeInfo.flag & TO_TOKEN_COMMISSION) != 0\n            && (solverFeeInfo.flag & FROM_TOKEN_COMMISSION) == 0;\n\n        if (solverFeeInfo.feePercent > 0) {\n            require(solverFeeInfo.solverAddr != address(0), \"zero solver addr\");\n            if (totalPercent > 0) {\n                require(\n                    (seenFrom && result.solverIsFrom) || (seenTo && result.solverIsTo),\n                    \"solver/referral fee direction mismatch\"\n                );\n            }\n        }\n\n        // Add solver fromToken fee\n        if (result.solverIsFrom) {\n            uint256 fee = calculateFee(fromGross, solverFeeInfo.feePercent);\n            result.totalFee += fee;\n            if ((solverFeeInfo.flag & IS_TO_B) == 0) result.tocFee += fee;\n        }\n\n        require(result.totalFee <= fromGross, \"fees exceed from\");\n    }\n\n    /// @notice Computes toToken fees (commission + solver).\n    function computeToTokenFees(\n        OrderLib.CommissionInfo[] memory infos,\n        TradeLib.SolverFeeInfo calldata solverFeeInfo,\n        uint256 toGross,\n        bool solverIsTo\n    ) internal pure returns (uint256 totalFee) {\n        for (uint256 i = 0; i < infos.length; i++) {\n            if ((infos[i].flag & TO_TOKEN_COMMISSION) == 0 || infos[i].feePercent == 0) continue;\n            totalFee += calculateFee(toGross, infos[i].feePercent);\n        }\n        if (solverIsTo) {\n            totalFee += calculateFee(toGross, solverFeeInfo.feePercent);\n        }\n        require(totalFee <= toGross, \"fees exceed to\");\n    }\n\n    /// @notice Calculates fee amount from base amount and fee rate.\n    /// @param baseAmount The base amount to calculate fee from.\n    /// @param feePercent Fee rate in 1e9 precision.\n    /// @return feeAmount Computed fee amount.\n    function calculateFee(uint256 baseAmount, uint256 feePercent) internal pure returns (uint256 feeAmount) {\n        if (feePercent == 0) return 0;\n        feeAmount = (baseAmount * feePercent) / COMMISSION_DENOM;\n    }\n}\n"},"src/interfaces/IERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n\n// Vendored from OpenZeppelin contracts with minor modifications:\n// - Modified Solidity version\n// - Formatted code\n// - Added `name`, `symbol` and `decimals` function declarations\n// <https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v3.4.0/contracts/token/ERC20/IERC20.sol>\n\npragma solidity 0.8.24;\n\n/**\n * @dev Interface of the ERC20 standard as defined in the EIP.\n */\ninterface IERC20 {\n    /**\n     * @dev Returns the name of the token.\n     */\n    function name() external view returns (string memory);\n\n    /**\n     * @dev Returns the symbol of the token.\n     */\n    function symbol() external view returns (string memory);\n\n    /**\n     * @dev Returns the number of decimals the token uses.\n     */\n    function decimals() external view returns (uint8);\n\n    /**\n     * @dev Returns the amount of tokens in existence.\n     */\n    function totalSupply() external view returns (uint256);\n\n    /**\n     * @dev Returns the amount of tokens owned by `account`.\n     */\n    function balanceOf(address account) external view returns (uint256);\n\n    /**\n     * @dev Moves `amount` tokens from the caller's account to `recipient`.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * Emits a {Transfer} event.\n     */\n    function transfer(address recipient, uint256 amount) external returns (bool);\n\n    /**\n     * @dev Returns the remaining number of tokens that `spender` will be\n     * allowed to spend on behalf of `owner` through {transferFrom}. This is\n     * zero by default.\n     *\n     * This value changes when {approve} or {transferFrom} are called.\n     */\n    function allowance(address owner, address spender) external view returns (uint256);\n\n    /**\n     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * IMPORTANT: Beware that changing an allowance with this method brings the risk\n     * that someone may use both the old and the new allowance by unfortunate\n     * transaction ordering. One possible solution to mitigate this race\n     * condition is to first reduce the spender's allowance to 0 and set the\n     * desired value afterwards:\n     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\n     *\n     * Emits an {Approval} event.\n     */\n    function approve(address spender, uint256 amount) external returns (bool);\n\n    /**\n     * @dev Moves `amount` tokens from `sender` to `recipient` using the\n     * allowance mechanism. `amount` is then deducted from the caller's\n     * allowance.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * Emits a {Transfer} event.\n     */\n    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);\n\n    /**\n     * @dev Emitted when `value` tokens are moved from one account (`from`) to\n     * another (`to`).\n     *\n     * Note that `value` may be zero.\n     */\n    event Transfer(address indexed from, address indexed to, uint256 value);\n\n    /**\n     * @dev Emitted when the allowance of a `spender` for an `owner` is set by\n     * a call to {approve}. `value` is the new allowance.\n     */\n    event Approval(address indexed owner, address indexed spender, uint256 value);\n}\n"},"src/interfaces/EIP1271.sol":{"content":"// SPDX-License-Identifier: LGPL-3.0-or-later\npragma solidity 0.8.24;\n\n/// @title EIP1271 Constants\nlibrary EIP1271 {\n    /// @dev Value returned by a call to `isValidSignature` if the signature\n    /// was verified successfully. The value is defined in EIP-1271 as:\n    /// bytes4(keccak256(\"isValidSignature(bytes32,bytes)\"))\n    bytes4 internal constant MAGICVALUE = 0x1626ba7e;\n}\n\n/// @title EIP1271 Interface\n/// @dev Standardized interface for an implementation of smart contract\n/// signatures as described in EIP-1271. The code that follows is identical to\n/// the code in the standard with the exception of formatting and syntax\n/// changes to adapt the code to our Solidity version.\ninterface EIP1271Verifier {\n    /// @dev Should return whether the signature provided is valid for the\n    /// provided data\n    /// @param _hash      Hash of the data to be signed\n    /// @param _signature Signature byte array associated with _data\n    ///\n    /// MUST return the bytes4 magic value 0x1626ba7e when function passes.\n    /// MUST NOT modify state (using STATICCALL for solc < 0.5, view modifier for\n    /// solc > 0.5)\n    /// MUST allow external calls\n    ///\n    function isValidSignature(bytes32 _hash, bytes memory _signature) external view returns (bytes4 magicValue);\n}\n"},"src/libraries/OrderLib.sol":{"content":"// SPDX-License-Identifier: LGPL-3.0-or-later\npragma solidity 0.8.24;\n\nimport \"../interfaces/IERC20.sol\";\n\n/// @title Order Library\nlibrary OrderLib {\n    /// @dev Commission configuration signed by the user as part of the order.\n    /// @notice Key data structure (offchain + onchain shared semantics).\n    /// - feePercent: commission rate in 1e9 precision (decimal 9). The total commission rate per\n    ///   order is capped at 3% (see FeeLib.COMMISSION_MAX_TOTAL_PERCENT).\n    /// - referrerWalletAddress: commission receiver address.\n    /// - flag: compact bitmask (direction + fund-flow + offchain labels). The contract enforces\n    ///   direction/fund-flow consistency, while label bits are only parsed offchain.\n    struct CommissionInfo {\n        uint256 feePercent;\n        address referrerWalletAddress;\n        uint256 flag;\n    }\n\n    /// @dev The complete data for an order. This struct contains all order parameters that are signed for submitting to the protocol.\n    struct Data {\n        IERC20 fromTokenAddress;\n        IERC20 toTokenAddress;\n        address owner;\n        address receiver;\n        uint256 fromTokenAmount;\n        uint256 toTokenAmount;\n        uint32 validTo;\n        bytes32 appData;\n        bytes32 swapMode;\n        bool partiallyFillable;\n        CommissionInfo[] commissionInfos;\n    }\n\n    /// @dev The order EIP-712 type hash for the `Data` struct.\n    ///\n    /// This value is pre-computed from the following expression:\n    /// ```\n    /// keccak256(\n    ///     \"Order(\" +\n    ///         \"address fromTokenAddress,\" +\n    ///         \"address toTokenAddress,\" +\n    ///         \"address owner,\" +\n    ///         \"address receiver,\" +\n    ///         \"uint256 fromTokenAmount,\" +\n    ///         \"uint256 toTokenAmount,\" +\n    ///         \"uint32 validTo,\" +\n    ///         \"bytes32 appData,\" +\n    ///         \"bytes32 swapMode,\" +\n    ///         \"bool partiallyFillable,\" +\n    ///         \"CommissionInfo[] commissionInfos\" +\n    ///     \")\" +\n    ///     \"CommissionInfo(uint256 feePercent,address referrerWalletAddress,uint256 flag)\"\n    /// )\n    /// ```\n    bytes32 internal constant TYPE_HASH = keccak256(\n        \"Order(address fromTokenAddress,address toTokenAddress,address owner,address receiver,uint256 fromTokenAmount,uint256 toTokenAmount,uint32 validTo,bytes32 appData,bytes32 swapMode,bool partiallyFillable,CommissionInfo[] commissionInfos)CommissionInfo(uint256 feePercent,address referrerWalletAddress,uint256 flag)\"\n    );\n\n    bytes32 internal constant COMMISSION_INFO_TYPE_HASH =\n        keccak256(\"CommissionInfo(uint256 feePercent,address referrerWalletAddress,uint256 flag)\");\n\n    /// @dev The marker value for an exactIn swapMode for computing the order\n    /// struct hash. This allows EIP-712 compatible wallets to display a\n    /// descriptive string for the swapMode (instead of 0 or 1).\n    ///\n    /// This value is pre-computed from the following expression:\n    /// ```\n    /// keccak256(\"exactIn\")\n    /// ```\n    bytes32 internal constant SWAPMODE_EXACTIN = hex\"39124995febcd74fadbdf9bbad44826dab79bc9478b4965fd0d2381c0d649b2c\";\n\n    /// @dev The swapMode marker value for a buy order for computing the order\n    /// struct hash.\n    ///\n    /// This value is pre-computed from the following expression:\n    /// ```\n    /// keccak256(\"buy\")\n    /// ```\n    bytes32 internal constant SWAPMODE_BUY = hex\"6ed88e868af0a1983e3886d5f3e95a2fafbd6c3450bc229e27342283dc429ccc\";\n\n    /// @dev Marker address used to indicate that the receiver of the trade\n    /// proceeds should be the owner of the order.\n    ///\n    /// This is chosen to be `address(0)` for gas efficiency as it is expected\n    /// to be the most common case.\n    address internal constant RECEIVER_SAME_AS_OWNER = address(0);\n\n    /// @dev The byte length of an order unique identifier.\n    uint256 internal constant UID_LENGTH = 56;\n\n    /// @dev Returns the actual receiver for an order. This function checks\n    /// whether or not the `receiver` field uses the marker value to indicate\n    /// it is the same as the order owner.\n    ///\n    /// @return receiver The actual receiver of trade proceeds.\n    function actualReceiver(Data memory order, address owner) internal pure returns (address receiver) {\n        if (order.receiver == RECEIVER_SAME_AS_OWNER) {\n            receiver = owner;\n        } else {\n            receiver = order.receiver;\n        }\n    }\n\n    /// @dev Return the EIP-712 signing hash for the specified order.\n    ///\n    /// @param order The order to compute the EIP-712 signing hash for.\n    /// @param domainSeparator The EIP-712 domain separator to use.\n    /// @return orderDigest The 32 byte EIP-712 struct hash.\n    function hash(Data memory order, bytes32 domainSeparator) internal pure returns (bytes32 orderDigest) {\n        bytes32 structHash = keccak256(\n            abi.encode(\n                TYPE_HASH,\n                address(order.fromTokenAddress),\n                address(order.toTokenAddress),\n                order.owner,\n                order.receiver,\n                order.fromTokenAmount,\n                order.toTokenAmount,\n                order.validTo,\n                order.appData,\n                order.swapMode,\n                order.partiallyFillable,\n                commissionInfosHash(order.commissionInfos)\n            )\n        );\n\n        // NOTE: Now that we have the struct hash, compute the EIP-712 signing\n        // hash using scratch memory past the free memory pointer. The signing\n        // hash is computed from `\"\\x19\\x01\" || domainSeparator || structHash`.\n        // <https://docs.soliditylang.org/en/v0.8.24/internals/layout_in_memory.html#layout-in-memory>\n        // <https://github.com/ethereum/EIPs/blob/master/EIPS/eip-712.md#specification>\n        // solhint-disable-next-line no-inline-assembly\n        assembly (\"memory-safe\") {\n            let freeMemoryPointer := mload(0x40)\n            mstore(0x40, add(freeMemoryPointer, 66))\n            mstore(freeMemoryPointer, \"\\x19\\x01\")\n            mstore(add(freeMemoryPointer, 2), domainSeparator)\n            mstore(add(freeMemoryPointer, 34), structHash)\n            orderDigest := keccak256(freeMemoryPointer, 66)\n        }\n    }\n\n    function commissionInfoHash(CommissionInfo memory info) internal pure returns (bytes32) {\n        return keccak256(abi.encode(COMMISSION_INFO_TYPE_HASH, info.feePercent, info.referrerWalletAddress, info.flag));\n    }\n\n    function commissionInfosHash(CommissionInfo[] memory infos) internal pure returns (bytes32 result) {\n        // EIP-712: array values are encoded as keccak256(concat(elementHash...))\n        bytes32[] memory hashes = new bytes32[](infos.length);\n        for (uint256 i = 0; i < infos.length; i++) {\n            hashes[i] = commissionInfoHash(infos[i]);\n        }\n        result = keccak256(abi.encodePacked(hashes));\n    }\n\n    /// @dev Packs order UID parameters into the specified memory location. The\n    /// result is equivalent to `abi.encodePacked(...)` with the difference that\n    /// it allows re-using the memory for packing the order UID.\n    ///\n    /// This function reverts if the order UID buffer is not the correct size.\n    ///\n    /// @param orderUid The buffer pack the order UID parameters into.\n    /// @param orderDigest The EIP-712 struct digest derived from the order\n    /// parameters.\n    /// @param owner The address of the user who owns this order.\n    /// @param validTo The epoch time at which the order will stop being valid.\n    function packOrderUidParams(bytes memory orderUid, bytes32 orderDigest, address owner, uint32 validTo)\n        internal\n        pure\n    {\n        require(orderUid.length == UID_LENGTH, \"Order: uid buffer overflow\");\n\n        // NOTE: Write the order UID to the allocated memory buffer. The order\n        // parameters are written to memory in **reverse order** as memory\n        // operations write 32-bytes at a time and we want to use a packed\n        // encoding. This means, for example, that after writing the value of\n        // `owner` to bytes `20:52`, writing the `orderDigest` to bytes `0:32`\n        // will **overwrite** bytes `20:32`. This is desirable as addresses are\n        // only 20 bytes and `20:32` should be `0`s:\n        //\n        //        |           1111111111222222222233333333334444444444555555\n        //   byte | 01234567890123456789012345678901234567890123456789012345\n        // -------+---------------------------------------------------------\n        //  field | [.........orderDigest..........][......owner.......][vT]\n        // -------+---------------------------------------------------------\n        // mstore |                         [000000000000000000000000000.vT]\n        //        |                     [00000000000.......owner.......]\n        //        | [.........orderDigest..........]\n        //\n        // Additionally, since Solidity `bytes memory` are length prefixed,\n        // 32 needs to be added to all the offsets.\n        //\n        // solhint-disable-next-line no-inline-assembly\n        assembly (\"memory-safe\") {\n            mstore(add(orderUid, 56), validTo)\n            mstore(add(orderUid, 52), owner)\n            mstore(add(orderUid, 32), orderDigest)\n        }\n    }\n\n    /// @dev Extracts specific order information from the standardized unique\n    /// order id of the protocol.\n    ///\n    /// @param orderUid The unique identifier used to represent an order in\n    /// the protocol. This uid is the packed concatenation of the order digest,\n    /// the owner address and the validTo order parameter. It is used by the\n    /// user to interface with the contract directly, and not by calls that are\n    /// triggered by the solvers.\n    /// @return orderDigest The EIP-712 signing digest derived from the order\n    /// parameters.\n    /// @return owner The address of the user who owns this order.\n    /// @return validTo The epoch time at which the order will stop being valid.\n    function extractOrderUidParams(bytes calldata orderUid)\n        internal\n        pure\n        returns (bytes32 orderDigest, address owner, uint32 validTo)\n    {\n        require(orderUid.length == UID_LENGTH, \"Order: invalid uid\");\n\n        // Use assembly to efficiently decode packed calldata.\n        // solhint-disable-next-line no-inline-assembly\n        assembly (\"memory-safe\") {\n            orderDigest := calldataload(orderUid.offset)\n            owner := shr(96, calldataload(add(orderUid.offset, 32)))\n            validTo := shr(224, calldataload(add(orderUid.offset, 52)))\n        }\n    }\n}\n"},"src/libraries/TradeLib.sol":{"content":"// SPDX-License-Identifier: LGPL-3.0-or-later\npragma solidity 0.8.24;\n\nimport \"../interfaces/IERC20.sol\";\nimport \"../mixins/Signing.sol\";\nimport \"./OrderLib.sol\";\nimport \"./FeeLib.sol\";\n\n/// @title Trade Library\nlibrary TradeLib {\n    using OrderLib for OrderLib.Data;\n    using OrderLib for bytes;\n\n    struct SolverFeeInfo {\n        uint256 feePercent;\n        address solverAddr;\n        uint256 flag;\n    }\n\n    /// @dev A struct representing a trade to be executed as part of a batch\n    /// settlement.\n    struct Data {\n        uint256 fromTokenAddressIndex;\n        uint256 toTokenAddressIndex;\n        address owner;\n        address receiver;\n        uint256 fromTokenAmount;\n        uint256 toTokenAmount;\n        uint32 validTo;\n        bytes32 appData;\n        uint256 flags;\n        uint256 executedAmount;\n        uint256 thresholdPercent;\n        OrderLib.CommissionInfo[] commissionInfos;\n        bytes signature;\n        SolverFeeInfo solverFeeInfo;\n    }\n\n    /// @dev Extracts the order data and signing scheme for the specified trade.\n    ///\n    /// @param trade The trade.\n    /// @param tokens The list of tokens included in the settlement. The token\n    /// indices in the trade parameters map to tokens in this array.\n    /// @param order The memory location to extract the order data to.\n    function extractOrder(Data calldata trade, IERC20[] calldata tokens, OrderLib.Data memory order)\n        internal\n        pure\n        returns (Signing.Scheme signingScheme)\n    {\n        order.fromTokenAddress = tokens[trade.fromTokenAddressIndex];\n        order.toTokenAddress = tokens[trade.toTokenAddressIndex];\n        order.receiver = trade.receiver;\n        order.fromTokenAmount = trade.fromTokenAmount;\n        order.toTokenAmount = trade.toTokenAmount;\n        order.validTo = trade.validTo;\n        order.appData = trade.appData;\n        order.owner = trade.owner;\n        order.commissionInfos = copyCommissionInfos(trade.commissionInfos);\n        (order.swapMode, order.partiallyFillable, signingScheme) = extractFlags(trade.flags);\n    }\n\n    /// @dev Decodes trade flags.\n    ///\n    /// Trade flags are used to tightly encode order metadata required by the\n    /// current implementation:\n    /// - bit0: swap mode check (must be exactIn in this contract)\n    /// - bit1: partial fill flag\n    /// - bits5~: signature scheme\n    ///\n    /// Bits 2~4 are currently reserved and are not interpreted here. The\n    /// flags are chosen such that `0x00` represents a fill-or-kill exactIn\n    /// order signed with EIP-712. The flags byte uses the following format:\n    ///\n    /// ```\n    /// bit | 31 ...   | 6 | 5 | 4 | 3 | 2 | 1 | 0 |\n    /// ----+----------+-------+---+-------+---+---+\n    ///     | reserved | *   * | * | *   * | * | * |\n    ///                  |   |   |   |   |   |   |\n    ///                  |   |   |   |   |   |   +---- order swapMode bit, 0 for exactIn\n    ///                  |   |   |   |   |   |         and 1 for a buy order\n    ///                  |   |   |   |   |   |\n    ///                  |   |   |   |   |   +-------- order fill bit, 0 for fill-or-kill\n    ///                  |   |   |   |   |             and 1 for a partially fillable order\n    ///                  |   |   |   |   |\n    ///                  |   |   +---+---------------- reserved (ignored by this contract)\n    ///                  |   |\n    ///                  +---+------------------------ signature scheme bits:\n    ///                                                00: EIP-712\n    ///                                                01: eth_sign\n    ///                                                10: EIP-1271\n    ///                                                11: pre_sign\n    /// ```\n    function extractFlags(uint256 flags)\n        internal\n        pure\n        returns (bytes32 swapMode, bool partiallyFillable, Signing.Scheme signingScheme)\n    {\n        // NOTE: Only exactIn orders are supported by the current design.\n        require(flags & 0x01 == 0, \"only exactIn supported\");\n        swapMode = OrderLib.SWAPMODE_EXACTIN;\n        // NOTE: Partial fills are disabled. Reject if bit1 is set.\n        require(flags & 0x02 == 0, \"partial fill not supported\");\n        partiallyFillable = false;\n\n        // NOTE: Take advantage of the fact that Solidity will revert if the\n        // following expression does not produce a valid enum value. This means\n        // we check here that the leading reserved bits must be 0.\n        signingScheme = Signing.Scheme(flags >> 5);\n    }\n\n    function copyCommissionInfos(OrderLib.CommissionInfo[] calldata infos)\n        private\n        pure\n        returns (OrderLib.CommissionInfo[] memory copied)\n    {\n        require(infos.length <= FeeLib.MAX_COMMISSION_ENTRIES, \"too many commission infos\");\n        assembly {\n            let length := infos.length\n\n            // Get free memory pointer\n            copied := mload(0x40)\n\n            // Memory layout for struct[] memory:\n            // [0..32): array length\n            // [32..32+length*32): pointer array (each points to a struct)\n            // [32+length*32..end): struct data (each struct = 96 bytes)\n            // Total size = 32 + length * 32 + length * 96 = 32 + length * 128\n            mstore(0x40, add(copied, add(32, mul(length, 128))))\n\n            // Store length\n            mstore(copied, length)\n\n            // Calculate positions\n            let ptrArrayStart := add(copied, 32)\n            let dataStart := add(ptrArrayStart, mul(length, 32))\n\n            // Copy each struct\n            for { let i := 0 } lt(i, length) { i := add(i, 1) } {\n                // Position of struct data in memory\n                let structPtr := add(dataStart, mul(i, 96))\n\n                // Store pointer in pointer array\n                mstore(add(ptrArrayStart, mul(i, 32)), structPtr)\n\n                // Copy 96 bytes from calldata to memory\n                calldatacopy(structPtr, add(infos.offset, mul(i, 96)), 96)\n            }\n        }\n    }\n}\n"},"src/libraries/TransferLib.sol":{"content":"// SPDX-License-Identifier: LGPL-3.0-or-later\npragma solidity 0.8.24;\n\nimport \"../interfaces/IERC20.sol\";\nimport {SafeERC20} from \"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\";\nimport {IERC20 as OZ_IERC20} from \"@openzeppelin/contracts/token/ERC20/IERC20.sol\";\n\n/// @title Transfer Library\nlibrary TransferLib {\n    /// @dev Transfer data.\n    struct Data {\n        address account;\n        IERC20 token;\n        uint256 amount;\n    }\n\n    /// @dev Ether marker address used to indicate an Ether transfer.\n    address internal constant BUY_ETH_ADDRESS = 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE;\n\n    /// @dev Safely transfers tokens or native ETH.\n    /// @param token The token to transfer (BUY_ETH_ADDRESS for native ETH).\n    /// @param to The recipient address.\n    /// @param amount The amount to transfer.\n    function safeTransfer(IERC20 token, address to, uint256 amount) internal {\n        if (amount == 0) return;\n        if (address(token) == BUY_ETH_ADDRESS) {\n            (bool success,) = to.call{value: amount}(\"\");\n            require(success, \"ETH transfer failed\");\n        } else {\n            SafeERC20.safeTransfer(OZ_IERC20(address(token)), to, amount);\n        }\n    }\n}\n"},"src/mixins/ReentrancyGuard.sol":{"content":"// SPDX-License-Identifier: MIT\n\n// Vendored from OpenZeppelin contracts with minor modifications:\n// - Modified Solidity version\n// - Formatted code\n// <https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v3.4.0/contracts/utils/ReentrancyGuard.sol>\n\npragma solidity 0.8.24;\n\n/**\n * @dev Contract module that helps prevent reentrant calls to a function.\n *\n * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier\n * available, which can be applied to functions to make sure there are no nested\n * (reentrant) calls to them.\n *\n * Note that because there is a single `nonReentrant` guard, functions marked as\n * `nonReentrant` may not call one another. This can be worked around by making\n * those functions `private`, and then adding `external` `nonReentrant` entry\n * points to them.\n *\n * TIP: If you would like to learn more about reentrancy and alternative ways\n * to protect against it, check out our blog post\n * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].\n */\nabstract contract ReentrancyGuard {\n    // Booleans are more expensive than uint256 or any type that takes up a full\n    // word because each write operation emits an extra SLOAD to first read the\n    // slot's contents, replace the bits taken up by the boolean, and then write\n    // back. This is the compiler's defense against contract upgrades and\n    // pointer aliasing, and it cannot be disabled.\n\n    // The values being non-zero value makes deployment a bit more expensive,\n    // but in exchange the refund on every call to nonReentrant will be lower in\n    // amount. Since refunds are capped to a percentage of the total\n    // transaction's gas, it is best to keep them low in cases like this one, to\n    // increase the likelihood of the full refund coming into effect.\n    uint256 private constant _NOT_ENTERED = 1;\n    uint256 private constant _ENTERED = 2;\n\n    uint256 private _status;\n\n    constructor() {\n        _status = _NOT_ENTERED;\n    }\n\n    /**\n     * @dev Prevents a contract from calling itself, directly or indirectly.\n     * Calling a `nonReentrant` function from another `nonReentrant`\n     * function is not supported. It is possible to prevent this from happening\n     * by making the `nonReentrant` function external, and make it call a\n     * `private` function that does the actual work.\n     */\n    modifier nonReentrant() {\n        // On the first call to nonReentrant, _notEntered will be true\n        require(_status != _ENTERED, \"ReentrancyGuard: reentrant call\");\n\n        // Any calls to nonReentrant after this point will fail\n        _status = _ENTERED;\n\n        _;\n\n        // By storing the original value once again, a refund is triggered (see\n        // https://eips.ethereum.org/EIPS/eip-2200)\n        _status = _NOT_ENTERED;\n    }\n}\n"},"src/libraries/InteractionLib.sol":{"content":"// SPDX-License-Identifier: LGPL-3.0-or-later\npragma solidity 0.8.24;\n\n/// @title Interaction Library\nlibrary InteractionLib {\n    /// @dev Interaction data for performing arbitrary contract interactions.\n    struct Data {\n        address target;\n        uint256 value;\n        bytes callData;\n    }\n\n    /// @dev Execute an arbitrary contract interaction.\n    ///\n    /// @param interaction Interaction data.\n    function execute(Data calldata interaction) internal {\n        address target = interaction.target;\n        uint256 value = interaction.value;\n        bytes calldata callData = interaction.callData;\n\n        // NOTE: Use assembly to call the interaction instead of a low level\n        // call for two reasons:\n        // - We don't want to copy the return data, since we discard it for\n        // interactions.\n        // - Solidity will under certain conditions generate code to copy input\n        // calldata twice to memory (the second being a \"memcopy loop\").\n        // solhint-disable-next-line no-inline-assembly\n        assembly (\"memory-safe\") {\n            let freeMemoryPointer := mload(0x40)\n            mstore(0x40, add(freeMemoryPointer, callData.length))\n            calldatacopy(freeMemoryPointer, callData.offset, callData.length)\n            if iszero(call(gas(), target, value, freeMemoryPointer, callData.length, 0, 0)) {\n                returndatacopy(0, 0, returndatasize())\n                revert(0, returndatasize())\n            }\n        }\n    }\n\n    /// @dev Extracts the Solidity ABI selector for the specified interaction.\n    ///\n    /// @param interaction Interaction data.\n    /// @return result The 4 byte function selector of the call encoded in\n    /// this interaction.\n    function selector(Data calldata interaction) internal pure returns (bytes4 result) {\n        bytes calldata callData = interaction.callData;\n        if (callData.length >= 4) {\n            // NOTE: Read the first word of the interaction's calldata. The\n            // value does not need to be shifted since `bytesN` values are left\n            // aligned, and the value does not need to be masked since masking\n            // occurs when the value is accessed and not stored:\n            // <https://docs.soliditylang.org/en/v0.8.24/abi-spec.html#encoding-of-indexed-event-parameters>\n            // <https://docs.soliditylang.org/en/v0.8.24/assembly.html#access-to-external-variables-functions-and-libraries>\n            // solhint-disable-next-line no-inline-assembly\n            assembly (\"memory-safe\") {\n                result := calldataload(callData.offset)\n            }\n        }\n    }\n}\n"},"src/mixins/StorageAccessible.sol":{"content":"// SPDX-License-Identifier: LGPL-3.0-only\n\n// Vendored from Gnosis utility contracts with minor modifications:\n// - Modified Solidity version\n// - Formatted code\n// - Added linter directives to ignore low level call and assembly warnings\n// <https://github.com/gnosis/util-contracts/blob/v3.1.0-solc-7/contracts/StorageAccessible.sol>\n\npragma solidity 0.8.24;\n\n/// @title ViewStorageAccessible - Interface on top of StorageAccessible base class to allow simulations from view functions\ninterface ViewStorageAccessible {\n    /**\n     * @dev Same as `simulateDelegatecall` on StorageAccessible. Marked as view so that it can be called from external contracts\n     * that want to run simulations from within view functions. Will revert if the invoked simulation attempts to change state.\n     */\n    function simulateDelegatecall(address targetContract, bytes memory calldataPayload)\n        external\n        view\n        returns (bytes memory);\n\n    /**\n     * @dev Same as `getStorageAt` on StorageAccessible. This method allows reading arbitrary ranges of storage.\n     */\n    function getStorageAt(uint256 offset, uint256 length) external view returns (bytes memory);\n}\n\n/// @title StorageAccessible - generic base contract that allows callers to access all internal storage.\ncontract StorageAccessible {\n    /**\n     * @dev Reads `length` words of storage in the current contract.\n     * @param offset - the offset in the current contract's storage in words to start reading from\n     * @param length - the number of words (32 bytes) of data to read\n     * @return the bytes that were read.\n     */\n    function getStorageAt(uint256 offset, uint256 length) external view returns (bytes memory) {\n        bytes memory result = new bytes(length * 32);\n        for (uint256 index = 0; index < length; index++) {\n            // solhint-disable-next-line no-inline-assembly\n            assembly (\"memory-safe\") {\n                let word := sload(add(offset, index))\n                mstore(add(add(result, 0x20), mul(index, 0x20)), word)\n            }\n        }\n        return result;\n    }\n\n    /**\n     * @dev Performs a delegatecall on a target contract in the context of self.\n     * Internally reverts execution to avoid side effects (making it static). Catches revert and returns encoded result as bytes.\n     * @param targetContract Address of the contract containing the code to execute.\n     * @param calldataPayload Calldata that should be sent to the target contract (encoded method name and arguments).\n     */\n    function simulateDelegatecall(address targetContract, bytes memory calldataPayload)\n        public\n        returns (bytes memory response)\n    {\n        bytes memory innerCall =\n            abi.encodeWithSelector(this.simulateDelegatecallInternal.selector, targetContract, calldataPayload);\n        // solhint-disable-next-line avoid-low-level-calls\n        (, response) = address(this).call(innerCall);\n        bool innerSuccess = response[response.length - 1] == 0x01;\n        setLength(response, response.length - 1);\n        if (innerSuccess) {\n            return response;\n        } else {\n            revertWith(response);\n        }\n    }\n\n    /**\n     * @dev Performs a delegatecall on a target contract in the context of self.\n     * Internally reverts execution to avoid side effects (making it static). Returns encoded result as revert message\n     * concatenated with the success flag of the inner call as a last byte.\n     * @param targetContract Address of the contract containing the code to execute.\n     * @param calldataPayload Calldata that should be sent to the target contract (encoded method name and arguments).\n     */\n    function simulateDelegatecallInternal(address targetContract, bytes memory calldataPayload)\n        external\n        returns (bytes memory response)\n    {\n        bool success;\n        // solhint-disable-next-line avoid-low-level-calls\n        (success, response) = targetContract.delegatecall(calldataPayload);\n        revertWith(abi.encodePacked(response, success));\n    }\n\n    function revertWith(bytes memory response) internal pure {\n        // solhint-disable-next-line no-inline-assembly\n        assembly (\"memory-safe\") {\n            revert(add(response, 0x20), mload(response))\n        }\n    }\n\n    function setLength(bytes memory buffer, uint256 length) internal pure {\n        // solhint-disable-next-line no-inline-assembly\n        assembly (\"memory-safe\") {\n            mstore(buffer, length)\n        }\n    }\n}\n"},"src/libraries/SettlementTypes.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.24;\n\nimport \"../interfaces/IERC20.sol\";\nimport \"./TransferLib.sol\";\n\n/// @title Settlement Types\n/// @notice Centralized type definitions for Settlement contract.\nlibrary SettlementTypes {\n    // ============ Fee Transfer Types ============\n\n    /// @dev ToC fromToken fee transfer (USER -> referral/solver, pre-swap).\n    struct ToCFromTokenFeeTransfer {\n        address owner;\n        IERC20 token;\n        address recipient;\n        uint256 amount;\n    }\n\n    /// @dev ToB fromToken fee transfer (Settlement -> referral/solver, pre-swap).\n    struct ToBFromTokenFeeTransfer {\n        IERC20 token;\n        address recipient;\n        uint256 feePercent;\n        uint256 amount;\n        uint256 flag;\n    }\n\n    // ============ Configuration Types ============\n\n    /// @dev Surplus fee distribution configuration.\n    struct SurplusFeeInfo {\n        uint256 feePercent;\n        address trimReceiver;\n        uint256 flag; // reserved for future use.\n    }\n\n    // ============ Result Types ============\n\n    /// @dev Complete result of trade execution computation.\n    struct ExecutionResult {\n        TransferLib.Data[] inTransfers;\n        ToCFromTokenFeeTransfer[] tocFromTokenFeeTransfers;\n        ToBFromTokenFeeTransfer[] tobFromTokenFeeTransfers;\n        TransferLib.Data[] outTransfers;\n        TradeInfo[] tradeInfos;\n    }\n\n    /// @dev Per-trade metadata for surplus distribution and event emission.\n    struct TradeInfo {\n        bytes orderUid;\n        address owner;\n        IERC20 fromTokenAddress;\n        IERC20 toTokenAddress;\n        uint256 fromTokenAmount;\n        uint256 toGross;\n        uint256 netFromForSwap;\n        uint256 payoutIndex;\n    }\n\n    // ============ Internal Processing Types ============\n\n    /// @dev Builder for accumulating transfers during batch processing.\n    struct TransferBuilder {\n        TransferLib.Data[] inTransfers;\n        TransferLib.Data[] outTransfers;\n        ToCFromTokenFeeTransfer[] tocFromTransfers;\n        ToBFromTokenFeeTransfer[] tobFromTransfers;\n        uint256 inCount;\n        uint256 outCount;\n        uint256 tocFromCount;\n        uint256 tobFromCount;\n    }\n}\n"},"src/interfaces/ITokenApproveProxy.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.24;\n\ninterface ITokenApproveProxy {\n    function claimTokens(address token, address who, address dest, uint256 amount) external;\n}\n"},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol)\n\npragma solidity ^0.8.1;\n\n/**\n * @dev Collection of functions related to the address type\n */\nlibrary Address {\n    /**\n     * @dev Returns true if `account` is a contract.\n     *\n     * [IMPORTANT]\n     * ====\n     * It is unsafe to assume that an address for which this function returns\n     * false is an externally-owned account (EOA) and not a contract.\n     *\n     * Among others, `isContract` will return false for the following\n     * types of addresses:\n     *\n     *  - an externally-owned account\n     *  - a contract in construction\n     *  - an address where a contract will be created\n     *  - an address where a contract lived, but was destroyed\n     *\n     * Furthermore, `isContract` will also return true if the target contract within\n     * the same transaction is already scheduled for destruction by `SELFDESTRUCT`,\n     * which only has an effect at the end of a transaction.\n     * ====\n     *\n     * [IMPORTANT]\n     * ====\n     * You shouldn't rely on `isContract` to protect against flash loan attacks!\n     *\n     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets\n     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract\n     * constructor.\n     * ====\n     */\n    function isContract(address account) internal view returns (bool) {\n        // This method relies on extcodesize/address.code.length, which returns 0\n        // for contracts in construction, since the code is only stored at the end\n        // of the constructor execution.\n\n        return account.code.length > 0;\n    }\n\n    /**\n     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\n     * `recipient`, forwarding all available gas and reverting on errors.\n     *\n     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\n     * of certain opcodes, possibly making contracts go over the 2300 gas limit\n     * imposed by `transfer`, making them unable to receive funds via\n     * `transfer`. {sendValue} removes this limitation.\n     *\n     * https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more].\n     *\n     * IMPORTANT: because control is transferred to `recipient`, care must be\n     * taken to not create reentrancy vulnerabilities. Consider using\n     * {ReentrancyGuard} or the\n     * https://solidity.readthedocs.io/en/v0.8.0/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\n     */\n    function sendValue(address payable recipient, uint256 amount) internal {\n        require(address(this).balance >= amount, \"Address: insufficient balance\");\n\n        (bool success, ) = recipient.call{value: amount}(\"\");\n        require(success, \"Address: unable to send value, recipient may have reverted\");\n    }\n\n    /**\n     * @dev Performs a Solidity function call using a low level `call`. A\n     * plain `call` is an unsafe replacement for a function call: use this\n     * function instead.\n     *\n     * If `target` reverts with a revert reason, it is bubbled up by this\n     * function (like regular Solidity function calls).\n     *\n     * Returns the raw returned data. To convert to the expected return value,\n     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\n     *\n     * Requirements:\n     *\n     * - `target` must be a contract.\n     * - calling `target` with `data` must not revert.\n     *\n     * _Available since v3.1._\n     */\n    function functionCall(address target, bytes memory data) internal returns (bytes memory) {\n        return functionCallWithValue(target, data, 0, \"Address: low-level call failed\");\n    }\n\n    /**\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\n     * `errorMessage` as a fallback revert reason when `target` reverts.\n     *\n     * _Available since v3.1._\n     */\n    function functionCall(\n        address target,\n        bytes memory data,\n        string memory errorMessage\n    ) internal returns (bytes memory) {\n        return functionCallWithValue(target, data, 0, errorMessage);\n    }\n\n    /**\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n     * but also transferring `value` wei to `target`.\n     *\n     * Requirements:\n     *\n     * - the calling contract must have an ETH balance of at least `value`.\n     * - the called Solidity function must be `payable`.\n     *\n     * _Available since v3.1._\n     */\n    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {\n        return functionCallWithValue(target, data, value, \"Address: low-level call with value failed\");\n    }\n\n    /**\n     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\n     * with `errorMessage` as a fallback revert reason when `target` reverts.\n     *\n     * _Available since v3.1._\n     */\n    function functionCallWithValue(\n        address target,\n        bytes memory data,\n        uint256 value,\n        string memory errorMessage\n    ) internal returns (bytes memory) {\n        require(address(this).balance >= value, \"Address: insufficient balance for call\");\n        (bool success, bytes memory returndata) = target.call{value: value}(data);\n        return verifyCallResultFromTarget(target, success, returndata, errorMessage);\n    }\n\n    /**\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n     * but performing a static call.\n     *\n     * _Available since v3.3._\n     */\n    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\n        return functionStaticCall(target, data, \"Address: low-level static call failed\");\n    }\n\n    /**\n     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n     * but performing a static call.\n     *\n     * _Available since v3.3._\n     */\n    function functionStaticCall(\n        address target,\n        bytes memory data,\n        string memory errorMessage\n    ) internal view returns (bytes memory) {\n        (bool success, bytes memory returndata) = target.staticcall(data);\n        return verifyCallResultFromTarget(target, success, returndata, errorMessage);\n    }\n\n    /**\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n     * but performing a delegate call.\n     *\n     * _Available since v3.4._\n     */\n    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\n        return functionDelegateCall(target, data, \"Address: low-level delegate call failed\");\n    }\n\n    /**\n     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n     * but performing a delegate call.\n     *\n     * _Available since v3.4._\n     */\n    function functionDelegateCall(\n        address target,\n        bytes memory data,\n        string memory errorMessage\n    ) internal returns (bytes memory) {\n        (bool success, bytes memory returndata) = target.delegatecall(data);\n        return verifyCallResultFromTarget(target, success, returndata, errorMessage);\n    }\n\n    /**\n     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling\n     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.\n     *\n     * _Available since v4.8._\n     */\n    function verifyCallResultFromTarget(\n        address target,\n        bool success,\n        bytes memory returndata,\n        string memory errorMessage\n    ) internal view returns (bytes memory) {\n        if (success) {\n            if (returndata.length == 0) {\n                // only check isContract if the call was successful and the return data is empty\n                // otherwise we already know that it was a contract\n                require(isContract(target), \"Address: call to non-contract\");\n            }\n            return returndata;\n        } else {\n            _revert(returndata, errorMessage);\n        }\n    }\n\n    /**\n     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the\n     * revert reason or using the provided one.\n     *\n     * _Available since v4.3._\n     */\n    function verifyCallResult(\n        bool success,\n        bytes memory returndata,\n        string memory errorMessage\n    ) internal pure returns (bytes memory) {\n        if (success) {\n            return returndata;\n        } else {\n            _revert(returndata, errorMessage);\n        }\n    }\n\n    function _revert(bytes memory returndata, string memory errorMessage) private pure {\n        // Look for revert reason and bubble it up if present\n        if (returndata.length > 0) {\n            // The easiest way to bubble the revert reason is using memory via assembly\n            /// @solidity memory-safe-assembly\n            assembly {\n                let returndata_size := mload(returndata)\n                revert(add(32, returndata), returndata_size)\n            }\n        } else {\n            revert(errorMessage);\n        }\n    }\n}\n"},"lib/openzeppelin-contracts/contracts/utils/Context.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.9.4) (utils/Context.sol)\n\npragma solidity ^0.8.0;\n\n/**\n * @dev Provides information about the current execution context, including the\n * sender of the transaction and its data. While these are generally available\n * via msg.sender and msg.data, they should not be accessed in such a direct\n * manner, since when dealing with meta-transactions the account sending and\n * paying for execution may not be the actual sender (as far as an application\n * is concerned).\n *\n * This contract is only required for intermediate, library-like contracts.\n */\nabstract contract Context {\n    function _msgSender() internal view virtual returns (address) {\n        return msg.sender;\n    }\n\n    function _msgData() internal view virtual returns (bytes calldata) {\n        return msg.data;\n    }\n\n    function _contextSuffixLength() internal view virtual returns (uint256) {\n        return 0;\n    }\n}\n"},"lib/openzeppelin-contracts/contracts/access/Ownable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol)\n\npragma solidity ^0.8.0;\n\nimport \"../utils/Context.sol\";\n\n/**\n * @dev Contract module which provides a basic access control mechanism, where\n * there is an account (an owner) that can be granted exclusive access to\n * specific functions.\n *\n * By default, the owner account will be the one that deploys the contract. This\n * can later be changed with {transferOwnership}.\n *\n * This module is used through inheritance. It will make available the modifier\n * `onlyOwner`, which can be applied to your functions to restrict their use to\n * the owner.\n */\nabstract contract Ownable is Context {\n    address private _owner;\n\n    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\n\n    /**\n     * @dev Initializes the contract setting the deployer as the initial owner.\n     */\n    constructor() {\n        _transferOwnership(_msgSender());\n    }\n\n    /**\n     * @dev Throws if called by any account other than the owner.\n     */\n    modifier onlyOwner() {\n        _checkOwner();\n        _;\n    }\n\n    /**\n     * @dev Returns the address of the current owner.\n     */\n    function owner() public view virtual returns (address) {\n        return _owner;\n    }\n\n    /**\n     * @dev Throws if the sender is not the owner.\n     */\n    function _checkOwner() internal view virtual {\n        require(owner() == _msgSender(), \"Ownable: caller is not the owner\");\n    }\n\n    /**\n     * @dev Leaves the contract without owner. It will not be possible to call\n     * `onlyOwner` functions. Can only be called by the current owner.\n     *\n     * NOTE: Renouncing ownership will leave the contract without an owner,\n     * thereby disabling any functionality that is only available to the owner.\n     */\n    function renounceOwnership() public virtual onlyOwner {\n        _transferOwnership(address(0));\n    }\n\n    /**\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\n     * Can only be called by the current owner.\n     */\n    function transferOwnership(address newOwner) public virtual onlyOwner {\n        require(newOwner != address(0), \"Ownable: new owner is the zero address\");\n        _transferOwnership(newOwner);\n    }\n\n    /**\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\n     * Internal function without access restriction.\n     */\n    function _transferOwnership(address newOwner) internal virtual {\n        address oldOwner = _owner;\n        _owner = newOwner;\n        emit OwnershipTransferred(oldOwner, newOwner);\n    }\n}\n"},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.9.0) (utils/math/Math.sol)\n\npragma solidity ^0.8.0;\n\n/**\n * @dev Standard math utilities missing in the Solidity language.\n */\nlibrary Math {\n    enum Rounding {\n        Down, // Toward negative infinity\n        Up, // Toward infinity\n        Zero // Toward zero\n    }\n\n    /**\n     * @dev Returns the largest of two numbers.\n     */\n    function max(uint256 a, uint256 b) internal pure returns (uint256) {\n        return a > b ? a : b;\n    }\n\n    /**\n     * @dev Returns the smallest of two numbers.\n     */\n    function min(uint256 a, uint256 b) internal pure returns (uint256) {\n        return a < b ? a : b;\n    }\n\n    /**\n     * @dev Returns the average of two numbers. The result is rounded towards\n     * zero.\n     */\n    function average(uint256 a, uint256 b) internal pure returns (uint256) {\n        // (a + b) / 2 can overflow.\n        return (a & b) + (a ^ b) / 2;\n    }\n\n    /**\n     * @dev Returns the ceiling of the division of two numbers.\n     *\n     * This differs from standard division with `/` in that it rounds up instead\n     * of rounding down.\n     */\n    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {\n        // (a + b - 1) / b can overflow on addition, so we distribute.\n        return a == 0 ? 0 : (a - 1) / b + 1;\n    }\n\n    /**\n     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0\n     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv)\n     * with further edits by Uniswap Labs also under MIT license.\n     */\n    function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) {\n        unchecked {\n            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use\n            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256\n            // variables such that product = prod1 * 2^256 + prod0.\n            uint256 prod0; // Least significant 256 bits of the product\n            uint256 prod1; // Most significant 256 bits of the product\n            assembly {\n                let mm := mulmod(x, y, not(0))\n                prod0 := mul(x, y)\n                prod1 := sub(sub(mm, prod0), lt(mm, prod0))\n            }\n\n            // Handle non-overflow cases, 256 by 256 division.\n            if (prod1 == 0) {\n                // Solidity will revert if denominator == 0, unlike the div opcode on its own.\n                // The surrounding unchecked block does not change this fact.\n                // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.\n                return prod0 / denominator;\n            }\n\n            // Make sure the result is less than 2^256. Also prevents denominator == 0.\n            require(denominator > prod1, \"Math: mulDiv overflow\");\n\n            ///////////////////////////////////////////////\n            // 512 by 256 division.\n            ///////////////////////////////////////////////\n\n            // Make division exact by subtracting the remainder from [prod1 prod0].\n            uint256 remainder;\n            assembly {\n                // Compute remainder using mulmod.\n                remainder := mulmod(x, y, denominator)\n\n                // Subtract 256 bit number from 512 bit number.\n                prod1 := sub(prod1, gt(remainder, prod0))\n                prod0 := sub(prod0, remainder)\n            }\n\n            // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1.\n            // See https://cs.stackexchange.com/q/138556/92363.\n\n            // Does not overflow because the denominator cannot be zero at this stage in the function.\n            uint256 twos = denominator & (~denominator + 1);\n            assembly {\n                // Divide denominator by twos.\n                denominator := div(denominator, twos)\n\n                // Divide [prod1 prod0] by twos.\n                prod0 := div(prod0, twos)\n\n                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.\n                twos := add(div(sub(0, twos), twos), 1)\n            }\n\n            // Shift in bits from prod1 into prod0.\n            prod0 |= prod1 * twos;\n\n            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such\n            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for\n            // four bits. That is, denominator * inv = 1 mod 2^4.\n            uint256 inverse = (3 * denominator) ^ 2;\n\n            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works\n            // in modular arithmetic, doubling the correct bits in each step.\n            inverse *= 2 - denominator * inverse; // inverse mod 2^8\n            inverse *= 2 - denominator * inverse; // inverse mod 2^16\n            inverse *= 2 - denominator * inverse; // inverse mod 2^32\n            inverse *= 2 - denominator * inverse; // inverse mod 2^64\n            inverse *= 2 - denominator * inverse; // inverse mod 2^128\n            inverse *= 2 - denominator * inverse; // inverse mod 2^256\n\n            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.\n            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is\n            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1\n            // is no longer required.\n            result = prod0 * inverse;\n            return result;\n        }\n    }\n\n    /**\n     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.\n     */\n    function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) {\n        uint256 result = mulDiv(x, y, denominator);\n        if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) {\n            result += 1;\n        }\n        return result;\n    }\n\n    /**\n     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down.\n     *\n     * Inspired by Henry S. Warren, Jr.'s \"Hacker's Delight\" (Chapter 11).\n     */\n    function sqrt(uint256 a) internal pure returns (uint256) {\n        if (a == 0) {\n            return 0;\n        }\n\n        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.\n        //\n        // We know that the \"msb\" (most significant bit) of our target number `a` is a power of 2 such that we have\n        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.\n        //\n        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`\n        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`\n        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`\n        //\n        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.\n        uint256 result = 1 << (log2(a) >> 1);\n\n        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,\n        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at\n        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision\n        // into the expected uint128 result.\n        unchecked {\n            result = (result + a / result) >> 1;\n            result = (result + a / result) >> 1;\n            result = (result + a / result) >> 1;\n            result = (result + a / result) >> 1;\n            result = (result + a / result) >> 1;\n            result = (result + a / result) >> 1;\n            result = (result + a / result) >> 1;\n            return min(result, a / result);\n        }\n    }\n\n    /**\n     * @notice Calculates sqrt(a), following the selected rounding direction.\n     */\n    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {\n        unchecked {\n            uint256 result = sqrt(a);\n            return result + (rounding == Rounding.Up && result * result < a ? 1 : 0);\n        }\n    }\n\n    /**\n     * @dev Return the log in base 2, rounded down, of a positive value.\n     * Returns 0 if given 0.\n     */\n    function log2(uint256 value) internal pure returns (uint256) {\n        uint256 result = 0;\n        unchecked {\n            if (value >> 128 > 0) {\n                value >>= 128;\n                result += 128;\n            }\n            if (value >> 64 > 0) {\n                value >>= 64;\n                result += 64;\n            }\n            if (value >> 32 > 0) {\n                value >>= 32;\n                result += 32;\n            }\n            if (value >> 16 > 0) {\n                value >>= 16;\n                result += 16;\n            }\n            if (value >> 8 > 0) {\n                value >>= 8;\n                result += 8;\n            }\n            if (value >> 4 > 0) {\n                value >>= 4;\n                result += 4;\n            }\n            if (value >> 2 > 0) {\n                value >>= 2;\n                result += 2;\n            }\n            if (value >> 1 > 0) {\n                result += 1;\n            }\n        }\n        return result;\n    }\n\n    /**\n     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.\n     * Returns 0 if given 0.\n     */\n    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {\n        unchecked {\n            uint256 result = log2(value);\n            return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0);\n        }\n    }\n\n    /**\n     * @dev Return the log in base 10, rounded down, of a positive value.\n     * Returns 0 if given 0.\n     */\n    function log10(uint256 value) internal pure returns (uint256) {\n        uint256 result = 0;\n        unchecked {\n            if (value >= 10 ** 64) {\n                value /= 10 ** 64;\n                result += 64;\n            }\n            if (value >= 10 ** 32) {\n                value /= 10 ** 32;\n                result += 32;\n            }\n            if (value >= 10 ** 16) {\n                value /= 10 ** 16;\n                result += 16;\n            }\n            if (value >= 10 ** 8) {\n                value /= 10 ** 8;\n                result += 8;\n            }\n            if (value >= 10 ** 4) {\n                value /= 10 ** 4;\n                result += 4;\n            }\n            if (value >= 10 ** 2) {\n                value /= 10 ** 2;\n                result += 2;\n            }\n            if (value >= 10 ** 1) {\n                result += 1;\n            }\n        }\n        return result;\n    }\n\n    /**\n     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.\n     * Returns 0 if given 0.\n     */\n    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {\n        unchecked {\n            uint256 result = log10(value);\n            return result + (rounding == Rounding.Up && 10 ** result < value ? 1 : 0);\n        }\n    }\n\n    /**\n     * @dev Return the log in base 256, rounded down, of a positive value.\n     * Returns 0 if given 0.\n     *\n     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.\n     */\n    function log256(uint256 value) internal pure returns (uint256) {\n        uint256 result = 0;\n        unchecked {\n            if (value >> 128 > 0) {\n                value >>= 128;\n                result += 16;\n            }\n            if (value >> 64 > 0) {\n                value >>= 64;\n                result += 8;\n            }\n            if (value >> 32 > 0) {\n                value >>= 32;\n                result += 4;\n            }\n            if (value >> 16 > 0) {\n                value >>= 16;\n                result += 2;\n            }\n            if (value >> 8 > 0) {\n                result += 1;\n            }\n        }\n        return result;\n    }\n\n    /**\n     * @dev Return the log in base 256, following the selected rounding direction, of a positive value.\n     * Returns 0 if given 0.\n     */\n    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {\n        unchecked {\n            uint256 result = log256(value);\n            return result + (rounding == Rounding.Up && 1 << (result << 3) < value ? 1 : 0);\n        }\n    }\n}\n"},"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol)\n\npragma solidity ^0.8.0;\n\n/**\n * @dev Interface of the ERC20 standard as defined in the EIP.\n */\ninterface IERC20 {\n    /**\n     * @dev Emitted when `value` tokens are moved from one account (`from`) to\n     * another (`to`).\n     *\n     * Note that `value` may be zero.\n     */\n    event Transfer(address indexed from, address indexed to, uint256 value);\n\n    /**\n     * @dev Emitted when the allowance of a `spender` for an `owner` is set by\n     * a call to {approve}. `value` is the new allowance.\n     */\n    event Approval(address indexed owner, address indexed spender, uint256 value);\n\n    /**\n     * @dev Returns the amount of tokens in existence.\n     */\n    function totalSupply() external view returns (uint256);\n\n    /**\n     * @dev Returns the amount of tokens owned by `account`.\n     */\n    function balanceOf(address account) external view returns (uint256);\n\n    /**\n     * @dev Moves `amount` tokens from the caller's account to `to`.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * Emits a {Transfer} event.\n     */\n    function transfer(address to, uint256 amount) external returns (bool);\n\n    /**\n     * @dev Returns the remaining number of tokens that `spender` will be\n     * allowed to spend on behalf of `owner` through {transferFrom}. This is\n     * zero by default.\n     *\n     * This value changes when {approve} or {transferFrom} are called.\n     */\n    function allowance(address owner, address spender) external view returns (uint256);\n\n    /**\n     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * IMPORTANT: Beware that changing an allowance with this method brings the risk\n     * that someone may use both the old and the new allowance by unfortunate\n     * transaction ordering. One possible solution to mitigate this race\n     * condition is to first reduce the spender's allowance to 0 and set the\n     * desired value afterwards:\n     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\n     *\n     * Emits an {Approval} event.\n     */\n    function approve(address spender, uint256 amount) external returns (bool);\n\n    /**\n     * @dev Moves `amount` tokens from `from` to `to` using the\n     * allowance mechanism. `amount` is then deducted from the caller's\n     * allowance.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * Emits a {Transfer} event.\n     */\n    function transferFrom(address from, address to, uint256 amount) external returns (bool);\n}\n"},"lib/openzeppelin-contracts/contracts/token/ERC20/utils/SafeERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.9.3) (token/ERC20/utils/SafeERC20.sol)\n\npragma solidity ^0.8.0;\n\nimport \"../IERC20.sol\";\nimport \"../extensions/IERC20Permit.sol\";\nimport \"../../../utils/Address.sol\";\n\n/**\n * @title SafeERC20\n * @dev Wrappers around ERC20 operations that throw on failure (when the token\n * contract returns false). Tokens that return no value (and instead revert or\n * throw on failure) are also supported, non-reverting calls are assumed to be\n * successful.\n * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,\n * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.\n */\nlibrary SafeERC20 {\n    using Address for address;\n\n    /**\n     * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value,\n     * non-reverting calls are assumed to be successful.\n     */\n    function safeTransfer(IERC20 token, address to, uint256 value) internal {\n        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));\n    }\n\n    /**\n     * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the\n     * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful.\n     */\n    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {\n        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));\n    }\n\n    /**\n     * @dev Deprecated. This function has issues similar to the ones found in\n     * {IERC20-approve}, and its usage is discouraged.\n     *\n     * Whenever possible, use {safeIncreaseAllowance} and\n     * {safeDecreaseAllowance} instead.\n     */\n    function safeApprove(IERC20 token, address spender, uint256 value) internal {\n        // safeApprove should only be called when setting an initial allowance,\n        // or when resetting it to zero. To increase and decrease it, use\n        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'\n        require(\n            (value == 0) || (token.allowance(address(this), spender) == 0),\n            \"SafeERC20: approve from non-zero to non-zero allowance\"\n        );\n        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));\n    }\n\n    /**\n     * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value,\n     * non-reverting calls are assumed to be successful.\n     */\n    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {\n        uint256 oldAllowance = token.allowance(address(this), spender);\n        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance + value));\n    }\n\n    /**\n     * @dev Decrease the calling contract's allowance toward `spender` by `value`. If `token` returns no value,\n     * non-reverting calls are assumed to be successful.\n     */\n    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {\n        unchecked {\n            uint256 oldAllowance = token.allowance(address(this), spender);\n            require(oldAllowance >= value, \"SafeERC20: decreased allowance below zero\");\n            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance - value));\n        }\n    }\n\n    /**\n     * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value,\n     * non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval\n     * to be set to zero before setting it to a non-zero value, such as USDT.\n     */\n    function forceApprove(IERC20 token, address spender, uint256 value) internal {\n        bytes memory approvalCall = abi.encodeWithSelector(token.approve.selector, spender, value);\n\n        if (!_callOptionalReturnBool(token, approvalCall)) {\n            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, 0));\n            _callOptionalReturn(token, approvalCall);\n        }\n    }\n\n    /**\n     * @dev Use a ERC-2612 signature to set the `owner` approval toward `spender` on `token`.\n     * Revert on invalid signature.\n     */\n    function safePermit(\n        IERC20Permit token,\n        address owner,\n        address spender,\n        uint256 value,\n        uint256 deadline,\n        uint8 v,\n        bytes32 r,\n        bytes32 s\n    ) internal {\n        uint256 nonceBefore = token.nonces(owner);\n        token.permit(owner, spender, value, deadline, v, r, s);\n        uint256 nonceAfter = token.nonces(owner);\n        require(nonceAfter == nonceBefore + 1, \"SafeERC20: permit did not succeed\");\n    }\n\n    /**\n     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement\n     * on the return value: the return value is optional (but if data is returned, it must not be false).\n     * @param token The token targeted by the call.\n     * @param data The call data (encoded using abi.encode or one of its variants).\n     */\n    function _callOptionalReturn(IERC20 token, bytes memory data) private {\n        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since\n        // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that\n        // the target address contains contract code and also asserts for success in the low-level call.\n\n        bytes memory returndata = address(token).functionCall(data, \"SafeERC20: low-level call failed\");\n        require(returndata.length == 0 || abi.decode(returndata, (bool)), \"SafeERC20: ERC20 operation did not succeed\");\n    }\n\n    /**\n     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement\n     * on the return value: the return value is optional (but if data is returned, it must not be false).\n     * @param token The token targeted by the call.\n     * @param data The call data (encoded using abi.encode or one of its variants).\n     *\n     * This is a variant of {_callOptionalReturn} that silents catches all reverts and returns a bool instead.\n     */\n    function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) {\n        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since\n        // we're implementing it ourselves. We cannot use {Address-functionCall} here since this should return false\n        // and not revert is the subcall reverts.\n\n        (bool success, bytes memory returndata) = address(token).call(data);\n        return\n            success && (returndata.length == 0 || abi.decode(returndata, (bool))) && Address.isContract(address(token));\n    }\n}\n"},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Permit.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.9.4) (token/ERC20/extensions/IERC20Permit.sol)\n\npragma solidity ^0.8.0;\n\n/**\n * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in\n * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].\n *\n * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by\n * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't\n * need to send a transaction, and thus is not required to hold Ether at all.\n *\n * ==== Security Considerations\n *\n * There are two important considerations concerning the use of `permit`. The first is that a valid permit signature\n * expresses an allowance, and it should not be assumed to convey additional meaning. In particular, it should not be\n * considered as an intention to spend the allowance in any specific way. The second is that because permits have\n * built-in replay protection and can be submitted by anyone, they can be frontrun. A protocol that uses permits should\n * take this into consideration and allow a `permit` call to fail. Combining these two aspects, a pattern that may be\n * generally recommended is:\n *\n * ```solidity\n * function doThingWithPermit(..., uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public {\n *     try token.permit(msg.sender, address(this), value, deadline, v, r, s) {} catch {}\n *     doThing(..., value);\n * }\n *\n * function doThing(..., uint256 value) public {\n *     token.safeTransferFrom(msg.sender, address(this), value);\n *     ...\n * }\n * ```\n *\n * Observe that: 1) `msg.sender` is used as the owner, leaving no ambiguity as to the signer intent, and 2) the use of\n * `try/catch` allows the permit to fail and makes the code tolerant to frontrunning. (See also\n * {SafeERC20-safeTransferFrom}).\n *\n * Additionally, note that smart contract wallets (such as Argent or Safe) are not able to produce permit signatures, so\n * contracts should have entry points that don't rely on permit.\n */\ninterface IERC20Permit {\n    /**\n     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,\n     * given ``owner``'s signed approval.\n     *\n     * IMPORTANT: The same issues {IERC20-approve} has related to transaction\n     * ordering also apply here.\n     *\n     * Emits an {Approval} event.\n     *\n     * Requirements:\n     *\n     * - `spender` cannot be the zero address.\n     * - `deadline` must be a timestamp in the future.\n     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`\n     * over the EIP712-formatted function arguments.\n     * - the signature must use ``owner``'s current nonce (see {nonces}).\n     *\n     * For more information on the signature format, see the\n     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP\n     * section].\n     *\n     * CAUTION: See Security Considerations above.\n     */\n    function permit(\n        address owner,\n        address spender,\n        uint256 value,\n        uint256 deadline,\n        uint8 v,\n        bytes32 r,\n        bytes32 s\n    ) external;\n\n    /**\n     * @dev Returns the current nonce for `owner`. This value must be\n     * included whenever a signature is generated for {permit}.\n     *\n     * Every successful call to {permit} increases ``owner``'s nonce by one. This\n     * prevents a signature from being used multiple times.\n     */\n    function nonces(address owner) external view returns (uint256);\n\n    /**\n     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.\n     */\n    // solhint-disable-next-line func-name-mixedcase\n    function DOMAIN_SEPARATOR() external view returns (bytes32);\n}\n"}},"language":"Solidity","settings":{"viaIR":true,"metadata":{"appendCBOR":true,"bytecodeHash":"ipfs","useLiteralContent":false},"libraries":{},"optimizer":{"runs":200,"enabled":true},"evmVersion":"cancun","remappings":["@openzeppelin/=lib/openzeppelin-contracts/","ds-test/=lib/openzeppelin-contracts/lib/forge-std/lib/ds-test/src/","erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/","forge-std/=lib/forge-std/src/","openzeppelin-contracts/=lib/openzeppelin-contracts/","openzeppelin/=lib/openzeppelin-contracts/contracts/"]}},"stdJsonOutput":{"sources":{"src/Settlement.sol":{"id":7},"src/mixins/Signing.sol":{"id":18},"src/libraries/FeeLib.sol":{"id":11},"src/interfaces/IERC20.sol":{"id":9},"src/interfaces/EIP1271.sol":{"id":8},"src/libraries/OrderLib.sol":{"id":13},"src/libraries/TradeLib.sol":{"id":15},"src/libraries/TransferLib.sol":{"id":16},"src/mixins/ReentrancyGuard.sol":{"id":17},"src/libraries/InteractionLib.sol":{"id":12},"src/mixins/StorageAccessible.sol":{"id":19},"src/libraries/SettlementTypes.sol":{"id":14},"src/interfaces/ITokenApproveProxy.sol":{"id":10},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{"id":4},"lib/openzeppelin-contracts/contracts/utils/Context.sol":{"id":5},"lib/openzeppelin-contracts/contracts/access/Ownable.sol":{"id":0},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{"id":6},"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol":{"id":1},"lib/openzeppelin-contracts/contracts/token/ERC20/utils/SafeERC20.sol":{"id":3},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Permit.sol":{"id":2}},"contracts":{"src/Settlement.sol":{"Settlement":{"abi":[{"type":"constructor","inputs":[{"name":"tokenApproveProxy_","type":"address","internalType":"address"}],"stateMutability":"nonpayable"},{"name":"CommissionFeePaid","type":"event","inputs":[{"name":"orderUid","type":"bytes","indexed":false,"internalType":"bytes"},{"name":"token","type":"address","indexed":true,"internalType":"address"},{"name":"referral","type":"address","indexed":true,"internalType":"address"},{"name":"feePercent","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"feeAmount","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"flag","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"Interaction","type":"event","inputs":[{"name":"target","type":"address","indexed":true,"internalType":"address"},{"name":"value","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"selector","type":"bytes4","indexed":false,"internalType":"bytes4"}],"anonymous":false},{"name":"OrderInvalidated","type":"event","inputs":[{"name":"owner","type":"address","indexed":true,"internalType":"address"},{"name":"orderUid","type":"bytes","indexed":false,"internalType":"bytes"}],"anonymous":false},{"name":"OwnershipTransferred","type":"event","inputs":[{"name":"previousOwner","type":"address","indexed":true,"internalType":"address"},{"name":"newOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"PreSignature","type":"event","inputs":[{"name":"owner","type":"address","indexed":true,"internalType":"address"},{"name":"orderUid","type":"bytes","indexed":false,"internalType":"bytes"},{"name":"signed","type":"bool","indexed":false,"internalType":"bool"}],"anonymous":false},{"name":"Settlement","type":"event","inputs":[{"name":"solver","type":"address","indexed":true,"internalType":"address"},{"name":"settleId","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"name":"SolverAdded","type":"event","inputs":[{"name":"solver","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"name":"SolverFeePaid","type":"event","inputs":[{"name":"orderUid","type":"bytes","indexed":false,"internalType":"bytes"},{"name":"token","type":"address","indexed":true,"internalType":"address"},{"name":"solverAddr","type":"address","indexed":true,"internalType":"address"},{"name":"feePercent","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"feeAmount","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"flag","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"SolverRemoved","type":"event","inputs":[{"name":"solver","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"name":"SurplusFeePaid","type":"event","inputs":[{"name":"token","type":"address","indexed":true,"internalType":"address"},{"name":"trimAddress","type":"address","indexed":true,"internalType":"address"},{"name":"feePercent","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"feeAmount","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"flag","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"SurplusFeeUserFromTokenPaid","type":"event","inputs":[{"name":"orderUid","type":"bytes","indexed":false,"internalType":"bytes"},{"name":"token","type":"address","indexed":true,"internalType":"address"},{"name":"userAddress","type":"address","indexed":true,"internalType":"address"},{"name":"feeAmount","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"SurplusFeeUserToTokenPaid","type":"event","inputs":[{"name":"orderUid","type":"bytes","indexed":false,"internalType":"bytes"},{"name":"token","type":"address","indexed":true,"internalType":"address"},{"name":"userAddress","type":"address","indexed":true,"internalType":"address"},{"name":"feeAmount","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"ThresholdFill","type":"event","inputs":[{"name":"orderUid","type":"bytes","indexed":false,"internalType":"bytes"},{"name":"toToken","type":"address","indexed":true,"internalType":"address"},{"name":"expectedToGross","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"actualToGross","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"thresholdPercent","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"Trade","type":"event","inputs":[{"name":"owner","type":"address","indexed":true,"internalType":"address"},{"name":"fromTokenAddress","type":"address","indexed":true,"internalType":"contract IERC20"},{"name":"toTokenAddress","type":"address","indexed":true,"internalType":"contract IERC20"},{"name":"fromTokenAmount","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"toTokenAmount","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"orderUid","type":"bytes","indexed":false,"internalType":"bytes"}],"anonymous":false},{"name":"addSolver","type":"function","inputs":[{"name":"solver","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"domainSeparator","type":"function","inputs":[],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"name":"filledAmount","type":"function","inputs":[{"name":"","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"getStorageAt","type":"function","inputs":[{"name":"offset","type":"uint256","internalType":"uint256"},{"name":"length","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bytes","internalType":"bytes"}],"stateMutability":"view"},{"name":"invalidateOrder","type":"function","inputs":[{"name":"orderUid","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"isSolver","type":"function","inputs":[{"name":"prospectiveSolver","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"owner","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"preSignature","type":"function","inputs":[{"name":"","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"removeSolver","type":"function","inputs":[{"name":"solver","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"renounceOwnership","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"setPreSignature","type":"function","inputs":[{"name":"orderUid","type":"bytes","internalType":"bytes"},{"name":"signed","type":"bool","internalType":"bool"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"settle","type":"function","inputs":[{"name":"settleId","type":"uint256","internalType":"uint256"},{"name":"tokens","type":"address[]","internalType":"contract IERC20[]"},{"name":"clearingPrices","type":"uint256[]","internalType":"uint256[]"},{"name":"trades","type":"tuple[]","components":[{"name":"fromTokenAddressIndex","type":"uint256","internalType":"uint256"},{"name":"toTokenAddressIndex","type":"uint256","internalType":"uint256"},{"name":"owner","type":"address","internalType":"address"},{"name":"receiver","type":"address","internalType":"address"},{"name":"fromTokenAmount","type":"uint256","internalType":"uint256"},{"name":"toTokenAmount","type":"uint256","internalType":"uint256"},{"name":"validTo","type":"uint32","internalType":"uint32"},{"name":"appData","type":"bytes32","internalType":"bytes32"},{"name":"flags","type":"uint256","internalType":"uint256"},{"name":"executedAmount","type":"uint256","internalType":"uint256"},{"name":"thresholdPercent","type":"uint256","internalType":"uint256"},{"name":"commissionInfos","type":"tuple[]","components":[{"name":"feePercent","type":"uint256","internalType":"uint256"},{"name":"referrerWalletAddress","type":"address","internalType":"address"},{"name":"flag","type":"uint256","internalType":"uint256"}],"internalType":"struct OrderLib.CommissionInfo[]"},{"name":"signature","type":"bytes","internalType":"bytes"},{"name":"solverFeeInfo","type":"tuple","components":[{"name":"feePercent","type":"uint256","internalType":"uint256"},{"name":"solverAddr","type":"address","internalType":"address"},{"name":"flag","type":"uint256","internalType":"uint256"}],"internalType":"struct TradeLib.SolverFeeInfo"}],"internalType":"struct TradeLib.Data[]"},{"name":"interactions","type":"tuple[][3]","components":[{"name":"target","type":"address","internalType":"address"},{"name":"value","type":"uint256","internalType":"uint256"},{"name":"callData","type":"bytes","internalType":"bytes"}],"internalType":"struct InteractionLib.Data[][3]"},{"name":"surplusFeeInfo","type":"tuple","components":[{"name":"feePercent","type":"uint256","internalType":"uint256"},{"name":"trimReceiver","type":"address","internalType":"address"},{"name":"flag","type":"uint256","internalType":"uint256"}],"internalType":"struct SettlementTypes.SurplusFeeInfo"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"simulateDelegatecall","type":"function","inputs":[{"name":"targetContract","type":"address","internalType":"address"},{"name":"calldataPayload","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"response","type":"bytes","internalType":"bytes"}],"stateMutability":"nonpayable"},{"name":"simulateDelegatecallInternal","type":"function","inputs":[{"name":"targetContract","type":"address","internalType":"address"},{"name":"calldataPayload","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"response","type":"bytes","internalType":"bytes"}],"stateMutability":"nonpayable"},{"name":"tokenApproveProxy","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"transferOwnership","type":"function","inputs":[{"name":"newOwner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"version","type":"function","inputs":[],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"view"},{"type":"receive","stateMutability":"payable"}],"metadata":"{\"compiler\":{\"version\":\"0.8.24+commit.e11b9ed9\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenApproveProxy_\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"orderUid\",\"type\":\"bytes\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"referral\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"feePercent\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"feeAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"flag\",\"type\":\"uint256\"}],\"name\":\"CommissionFeePaid\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes4\",\"name\":\"selector\",\"type\":\"bytes4\"}],\"name\":\"Interaction\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"orderUid\",\"type\":\"bytes\"}],\"name\":\"OrderInvalidated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"orderUid\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"signed\",\"type\":\"bool\"}],\"name\":\"PreSignature\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"solver\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"settleId\",\"type\":\"uint256\"}],\"name\":\"Settlement\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"solver\",\"type\":\"address\"}],\"name\":\"SolverAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"orderUid\",\"type\":\"bytes\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"solverAddr\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"feePercent\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"feeAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"flag\",\"type\":\"uint256\"}],\"name\":\"SolverFeePaid\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"solver\",\"type\":\"address\"}],\"name\":\"SolverRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"trimAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"feePercent\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"feeAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"flag\",\"type\":\"uint256\"}],\"name\":\"SurplusFeePaid\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"orderUid\",\"type\":\"bytes\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"userAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"feeAmount\",\"type\":\"uint256\"}],\"name\":\"SurplusFeeUserFromTokenPaid\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"orderUid\",\"type\":\"bytes\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"userAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"feeAmount\",\"type\":\"uint256\"}],\"name\":\"SurplusFeeUserToTokenPaid\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"orderUid\",\"type\":\"bytes\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"toToken\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"expectedToGross\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"actualToGross\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"thresholdPercent\",\"type\":\"uint256\"}],\"name\":\"ThresholdFill\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"contract IERC20\",\"name\":\"fromTokenAddress\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"contract IERC20\",\"name\":\"toTokenAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"fromTokenAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"toTokenAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"orderUid\",\"type\":\"bytes\"}],\"name\":\"Trade\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"solver\",\"type\":\"address\"}],\"name\":\"addSolver\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"domainSeparator\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"filledAmount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"offset\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"length\",\"type\":\"uint256\"}],\"name\":\"getStorageAt\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"orderUid\",\"type\":\"bytes\"}],\"name\":\"invalidateOrder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"prospectiveSolver\",\"type\":\"address\"}],\"name\":\"isSolver\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"preSignature\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"solver\",\"type\":\"address\"}],\"name\":\"removeSolver\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"orderUid\",\"type\":\"bytes\"},{\"internalType\":\"bool\",\"name\":\"signed\",\"type\":\"bool\"}],\"name\":\"setPreSignature\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"settleId\",\"type\":\"uint256\"},{\"internalType\":\"contract IERC20[]\",\"name\":\"tokens\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"clearingPrices\",\"type\":\"uint256[]\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"fromTokenAddressIndex\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"toTokenAddressIndex\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"fromTokenAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"toTokenAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint32\",\"name\":\"validTo\",\"type\":\"uint32\"},{\"internalType\":\"bytes32\",\"name\":\"appData\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"flags\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"executedAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"thresholdPercent\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"feePercent\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"referrerWalletAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"flag\",\"type\":\"uint256\"}],\"internalType\":\"struct OrderLib.CommissionInfo[]\",\"name\":\"commissionInfos\",\"type\":\"tuple[]\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"feePercent\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"solverAddr\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"flag\",\"type\":\"uint256\"}],\"internalType\":\"struct TradeLib.SolverFeeInfo\",\"name\":\"solverFeeInfo\",\"type\":\"tuple\"}],\"internalType\":\"struct TradeLib.Data[]\",\"name\":\"trades\",\"type\":\"tuple[]\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"}],\"internalType\":\"struct InteractionLib.Data[][3]\",\"name\":\"interactions\",\"type\":\"tuple[][3]\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"feePercent\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"trimReceiver\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"flag\",\"type\":\"uint256\"}],\"internalType\":\"struct SettlementTypes.SurplusFeeInfo\",\"name\":\"surplusFeeInfo\",\"type\":\"tuple\"}],\"name\":\"settle\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"targetContract\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"calldataPayload\",\"type\":\"bytes\"}],\"name\":\"simulateDelegatecall\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"response\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"targetContract\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"calldataPayload\",\"type\":\"bytes\"}],\"name\":\"simulateDelegatecallInternal\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"response\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"tokenApproveProxy\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}],\"devdoc\":{\"events\":{\"PreSignature(address,bytes,bool)\":{\"details\":\"Event that is emitted when an account either pre-signs an order or revokes an existing pre-signature.\"},\"ThresholdFill(bytes,address,uint256,uint256,uint256)\":{\"details\":\"Amounts are nominal gross values before output-token fees and surplus, not observed balance changes. `thresholdPercent` records the backend-provided Trade value and is not part of the signed order.\"}},\"kind\":\"dev\",\"methods\":{\"domainSeparator()\":{\"details\":\"Returns cached value on the deployment chain, otherwise recomputes.\"},\"getStorageAt(uint256,uint256)\":{\"details\":\"Reads `length` words of storage in the current contract.\",\"params\":{\"length\":\"- the number of words (32 bytes) of data to read\",\"offset\":\"- the offset in the current contract's storage in words to start reading from\"},\"returns\":{\"_0\":\"the bytes that were read.\"}},\"owner()\":{\"details\":\"Returns the address of the current owner.\"},\"renounceOwnership()\":{\"details\":\"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby disabling any functionality that is only available to the owner.\"},\"setPreSignature(bytes,bool)\":{\"details\":\"Sets a presignature for the specified order UID.\",\"params\":{\"orderUid\":\"The unique identifier of the order to pre-sign.\",\"signed\":\"True to set the order as tradable with pre-sign, false to unset it.\"}},\"settle(uint256,address[],uint256[],(uint256,uint256,address,address,uint256,uint256,uint32,bytes32,uint256,uint256,uint256,(uint256,address,uint256)[],bytes,(uint256,address,uint256))[],(address,uint256,bytes)[][3],(uint256,address,uint256))\":{\"details\":\"Orchestrates the settlement flow in distinct phases.\"},\"simulateDelegatecall(address,bytes)\":{\"details\":\"Performs a delegatecall on a target contract in the context of self. Internally reverts execution to avoid side effects (making it static). Catches revert and returns encoded result as bytes.\",\"params\":{\"calldataPayload\":\"Calldata that should be sent to the target contract (encoded method name and arguments).\",\"targetContract\":\"Address of the contract containing the code to execute.\"}},\"simulateDelegatecallInternal(address,bytes)\":{\"details\":\"Performs a delegatecall on a target contract in the context of self. Internally reverts execution to avoid side effects (making it static). Returns encoded result as revert message concatenated with the success flag of the inner call as a last byte.\",\"params\":{\"calldataPayload\":\"Calldata that should be sent to the target contract (encoded method name and arguments).\",\"targetContract\":\"Address of the contract containing the code to execute.\"}},\"transferOwnership(address)\":{\"details\":\"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\"}},\"stateVariables\":{\"_TOKEN_SET_NS\":{\"details\":\"Transient-storage namespace for token dedup set. bytes32(uint256(keccak256(\\\"Settlement.uniqueTokenSet\\\")) - 1)\"},\"solvers\":{\"details\":\"Allowed solvers mapping.\"}},\"title\":\"Settlement Contract\",\"version\":1},\"userdoc\":{\"events\":{\"ThresholdFill(bytes,address,uint256,uint256,uint256)\":{\"notice\":\"Emitted when an order settles with a non-zero output shortfall within its settlement limits.\"}},\"kind\":\"user\",\"methods\":{\"addSolver(address)\":{\"notice\":\"Add an address to the set of allowed solvers.\"},\"domainSeparator()\":{\"notice\":\"Returns the EIP-712 domain separator used for signing orders.\"},\"isSolver(address)\":{\"notice\":\"Returns whether an address is an authorized solver.\"},\"removeSolver(address)\":{\"notice\":\"Remove an address from the set of allowed solvers.\"},\"settle(uint256,address[],uint256[],(uint256,uint256,address,address,uint256,uint256,uint32,bytes32,uint256,uint256,uint256,(uint256,address,uint256)[],bytes,(uint256,address,uint256))[],(address,uint256,bytes)[][3],(uint256,address,uint256))\":{\"notice\":\"Main settlement entry point.\"}},\"notice\":\"Handles batch settlement of signed orders with fee distribution.\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"src/Settlement.sol\":\"Settlement\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@openzeppelin/=lib/openzeppelin-contracts/\",\":ds-test/=lib/openzeppelin-contracts/lib/forge-std/lib/ds-test/src/\",\":erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/\",\":forge-std/=lib/forge-std/src/\",\":openzeppelin-contracts/=lib/openzeppelin-contracts/\",\":openzeppelin/=lib/openzeppelin-contracts/contracts/\"],\"viaIR\":true},\"sources\":{\"lib/openzeppelin-contracts/contracts/access/Ownable.sol\":{\"keccak256\":\"0xba43b97fba0d32eb4254f6a5a297b39a19a247082a02d6e69349e071e2946218\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fc980984badf3984b6303b377711220e067722bbd6a135b24669ff5069ef9f32\",\"dweb:/ipfs/QmPHXMSXj99XjSVM21YsY6aNtLLjLVXDbyN76J5HQYvvrz\"]},\"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0x287b55befed2961a7eabd7d7b1b2839cbca8a5b80ef8dcbb25ed3d4c2002c305\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bd39944e8fc06be6dbe2dd1d8449b5336e23c6a7ba3e8e9ae5ae0f37f35283f5\",\"dweb:/ipfs/QmPV3FGYjVwvKSgAXKUN3r9T9GwniZz83CxBpM7vyj2G53\"]},\"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Permit.sol\":{\"keccak256\":\"0xb264c03a3442eb37a68ad620cefd1182766b58bee6cec40343480392d6b14d69\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://28879d01fd22c07b44f006612775f8577defbe459cb01685c5e25cd518c91a71\",\"dweb:/ipfs/QmVgfkwv2Fxw6hhTcDUZhE7NkoSKjab3ipM7UaRbt6uXb5\"]},\"lib/openzeppelin-contracts/contracts/token/ERC20/utils/SafeERC20.sol\":{\"keccak256\":\"0xabefac93435967b4d36a4fabcbdbb918d1f0b7ae3c3d85bc30923b326c927ed1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9d213d3befca47da33f6db0310826bcdb148299805c10d77175ecfe1d06a9a68\",\"dweb:/ipfs/QmRgCn6SP1hbBkExUADFuDo8xkT4UU47yjNF5FhCeRbQmS\"]},\"lib/openzeppelin-contracts/contracts/utils/Address.sol\":{\"keccak256\":\"0x006dd67219697fe68d7fbfdea512e7c4cb64a43565ed86171d67e844982da6fa\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2455248c8ddd9cc6a7af76a13973cddf222072427e7b0e2a7d1aff345145e931\",\"dweb:/ipfs/QmfYjnjRbWqYpuxurqveE6HtzsY1Xx323J428AKQgtBJZm\"]},\"lib/openzeppelin-contracts/contracts/utils/Context.sol\":{\"keccak256\":\"0xa92e4fa126feb6907daa0513ddd816b2eb91f30a808de54f63c17d0e162c3439\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a367861093b74443b137564d3f3c472f70bcf114739e62059c939f25e315706c\",\"dweb:/ipfs/Qmd7JMpcxD9RuQjK3uM3EzJUgSqdN8vzp8eytEiuwxQJ6h\"]},\"lib/openzeppelin-contracts/contracts/utils/math/Math.sol\":{\"keccak256\":\"0xe4455ac1eb7fc497bb7402579e7b4d64d928b846fce7d2b6fde06d366f21c2b3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://cc8841b3cd48ad125e2f46323c8bad3aa0e88e399ec62acb9e57efa7e7c8058c\",\"dweb:/ipfs/QmSqE4mXHA2BXW58deDbXE8MTcsL5JSKNDbm23sVQxRLPS\"]},\"src/Settlement.sol\":{\"keccak256\":\"0xa7fa13628fb3c68bcb8b2589e83c0e00becc82dff5d2af6a0ff36182999234e8\",\"license\":\"LGPL-3.0-or-later\",\"urls\":[\"bzz-raw://6a641e0e0ed981387d1c75bbc736e6cedd355e032e41b9917c7d72a3b17e8033\",\"dweb:/ipfs/Qmcx3tAHPiE2WazAUAwqCgHeWPi4gXQtZatuxFpaaXRJSg\"]},\"src/interfaces/EIP1271.sol\":{\"keccak256\":\"0xc5616beb06b8534db0ca49216245bd2a336a209a1e0680a0f50bffe68458d717\",\"license\":\"LGPL-3.0-or-later\",\"urls\":[\"bzz-raw://7a1fa07dad38cc2d73cbb0fe683f43286769661349e0e9ce055be2a76314b44f\",\"dweb:/ipfs/QmXLBsDyzAsDgu4jmzfe7iYbWcMjV5F1Lcox3YuEzbgnTU\"]},\"src/interfaces/IERC20.sol\":{\"keccak256\":\"0xb395db97c6129130899318803351495b9c4ea99e6128903e95669ff2a26853d7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d48e3987f45a47b8865ca474d590e5e04d8defc838c9d5523bc8d85baf3e09d2\",\"dweb:/ipfs/QmNVE3vYbzc72uhCXE89G4vNSQW23cVWa4dbLgho83Xuws\"]},\"src/interfaces/ITokenApproveProxy.sol\":{\"keccak256\":\"0xa39e6bb96b2779f28e546d6ee447172b23da0fc55a30467bd6d10ccd976a4213\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://01a474082c8f8bd8a99ea596323e57a46acb0e03ed33d7f622d3a0c2e5283951\",\"dweb:/ipfs/QmdzHSGKwda67EyFJdFzHiLpvV3eSSTsm8CAeBLsGmE7QQ\"]},\"src/libraries/FeeLib.sol\":{\"keccak256\":\"0x22a4ae83bb49e49c091a71fb63532dcdaf50c475cc6cbf904f5eb210023bb672\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7e17aa5f1b068b11c6a7929c3212abf4b814548a3db2c5d57ccabae21b74b605\",\"dweb:/ipfs/QmUKAmUqteZyhDUuxayQePZmetFdY75rHrhTyxSwmdp553\"]},\"src/libraries/InteractionLib.sol\":{\"keccak256\":\"0x9f8e5636e9e1ecd5fc8a3cbd7ddf8f4512f8b2d4a9f1726d43007e878c2bee2a\",\"license\":\"LGPL-3.0-or-later\",\"urls\":[\"bzz-raw://f3d5c1224d8216cce1b42f74eff646c845973028204c9d06a4c94aad9cb9e692\",\"dweb:/ipfs/QmcTabdeVfSxby1fowCkiocdwnq8kxxnGVaSZuTp5EDmxV\"]},\"src/libraries/OrderLib.sol\":{\"keccak256\":\"0x6bda6b83da6f10ebc58411dcbd9a1c7954e75ee3ed05fd3c52b23eba407a0e30\",\"license\":\"LGPL-3.0-or-later\",\"urls\":[\"bzz-raw://bce9ed09a3161ae5b9a1d5775ccb4f62224d0be7cd6fe457159ced6f48cd20eb\",\"dweb:/ipfs/QmRvCz4WUmRLentNXsAztS7mGKD8nkD6RuruHwEUjW8b9N\"]},\"src/libraries/SettlementTypes.sol\":{\"keccak256\":\"0x69b9c61c7fc283bf5837934471bdd587e8adcd45b55d00855e6db55dfae47568\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6f63ba247736384758101d6863afbdbae458f26790889a49040bb2b00b25b85f\",\"dweb:/ipfs/QmZf8AyULWK7DxHH4K6Ae4W4PMVhK5xe5irNConFsJfvYs\"]},\"src/libraries/TradeLib.sol\":{\"keccak256\":\"0xb046436b90d12384c89f96b2d56415dc5090c54e1e8550db60c60b3dc7be3ece\",\"license\":\"LGPL-3.0-or-later\",\"urls\":[\"bzz-raw://e94685edece4df350492c5a1209ac4241760bb89e2c0a0b91dd30779f68392a3\",\"dweb:/ipfs/QmRqQi6Q3jYEjkpSXkB7sAtD5JQG5dvn8BxjNnXtRnExpu\"]},\"src/libraries/TransferLib.sol\":{\"keccak256\":\"0x22a3a45c5f6714659079cf50774a0a1d944cbbf7497b4d0be181bc3d81af4bbb\",\"license\":\"LGPL-3.0-or-later\",\"urls\":[\"bzz-raw://5964a440e0e0171cde3fc55e1aaa9d133f6cd474a7845b3b1031b23c0254ee63\",\"dweb:/ipfs/QmVqkFxkrodGCY7CeZLyw9KHJKSpfKCYsK4QXfVvQkeBWr\"]},\"src/mixins/ReentrancyGuard.sol\":{\"keccak256\":\"0x17900dceca4fde441a2f705aad94c11caac77f20370f000cf03811f60ecd31b8\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e10d79e2631f9253f0d7aea15cfa4324f46e84bae7bb754b37e3a9af2c0376af\",\"dweb:/ipfs/QmQFmUJSoFq2SJVDQhAcreYz24Q5BoosrYftGs1Tdxw8LB\"]},\"src/mixins/Signing.sol\":{\"keccak256\":\"0x521422035a213dcacaf12a4172f319238cd4374cdae315b521f8b429ebbae335\",\"license\":\"LGPL-3.0-or-later\",\"urls\":[\"bzz-raw://afb0558de9d5e7cd36156aa751664d57bcbcb247af0b8a95700405ee2f419482\",\"dweb:/ipfs/QmaJ3rpJDLotDoX1J1figiqysNFqdLviR4wvaZKRMaxKFs\"]},\"src/mixins/StorageAccessible.sol\":{\"keccak256\":\"0x6bed244170b20bbf401d657de054ad4bd58de2565e0aaeb259f040f3f8a91bcc\",\"license\":\"LGPL-3.0-only\",\"urls\":[\"bzz-raw://e79c8bad273a087663ccdc1512f0212fe1490621bd53a8b002fc008b03bc69ee\",\"dweb:/ipfs/QmR65zYKYx6ZCrybfWdsniZ9WSGLTSQuWzJEYNBcS9y2tN\"]}},\"version\":1}","userdoc":{"kind":"user","events":{"ThresholdFill(bytes,address,uint256,uint256,uint256)":{"notice":"Emitted when an order settles with a non-zero output shortfall within its settlement limits."}},"notice":"Handles batch settlement of signed orders with fee distribution.","methods":{"domainSeparator()":{"notice":"Returns the EIP-712 domain separator used for signing orders."},"isSolver(address)":{"notice":"Returns whether an address is an authorized solver."},"addSolver(address)":{"notice":"Add an address to the set of allowed solvers."},"removeSolver(address)":{"notice":"Remove an address from the set of allowed solvers."},"settle(uint256,address[],uint256[],(uint256,uint256,address,address,uint256,uint256,uint32,bytes32,uint256,uint256,uint256,(uint256,address,uint256)[],bytes,(uint256,address,uint256))[],(address,uint256,bytes)[][3],(uint256,address,uint256))":{"notice":"Main settlement entry point."}},"version":1},"devdoc":{"kind":"dev","title":"Settlement Contract","events":{"PreSignature(address,bytes,bool)":{"details":"Event that is emitted when an account either pre-signs an order or revokes an existing pre-signature."},"ThresholdFill(bytes,address,uint256,uint256,uint256)":{"details":"Amounts are nominal gross values before output-token fees and surplus, not observed balance changes. `thresholdPercent` records the backend-provided Trade value and is not part of the signed order."}},"methods":{"owner()":{"details":"Returns the address of the current owner."},"domainSeparator()":{"details":"Returns cached value on the deployment chain, otherwise recomputes."},"renounceOwnership()":{"details":"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby disabling any functionality that is only available to the owner."},"transferOwnership(address)":{"details":"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."},"setPreSignature(bytes,bool)":{"params":{"signed":"True to set the order as tradable with pre-sign, false to unset it.","orderUid":"The unique identifier of the order to pre-sign."},"details":"Sets a presignature for the specified order UID."},"getStorageAt(uint256,uint256)":{"params":{"length":"- the number of words (32 bytes) of data to read","offset":"- the offset in the current contract's storage in words to start reading from"},"details":"Reads `length` words of storage in the current contract.","returns":{"_0":"the bytes that were read."}},"simulateDelegatecall(address,bytes)":{"params":{"targetContract":"Address of the contract containing the code to execute.","calldataPayload":"Calldata that should be sent to the target contract (encoded method name and arguments)."},"details":"Performs a delegatecall on a target contract in the context of self. Internally reverts execution to avoid side effects (making it static). Catches revert and returns encoded result as bytes."},"simulateDelegatecallInternal(address,bytes)":{"params":{"targetContract":"Address of the contract containing the code to execute.","calldataPayload":"Calldata that should be sent to the target contract (encoded method name and arguments)."},"details":"Performs a delegatecall on a target contract in the context of self. Internally reverts execution to avoid side effects (making it static). Returns encoded result as revert message concatenated with the success flag of the inner call as a last byte."},"settle(uint256,address[],uint256[],(uint256,uint256,address,address,uint256,uint256,uint32,bytes32,uint256,uint256,uint256,(uint256,address,uint256)[],bytes,(uint256,address,uint256))[],(address,uint256,bytes)[][3],(uint256,address,uint256))":{"details":"Orchestrates the settlement flow in distinct phases."}},"version":1,"stateVariables":{"solvers":{"details":"Allowed solvers mapping."},"_TOKEN_SET_NS":{"details":"Transient-storage namespace for token dedup set. bytes32(uint256(keccak256(\"Settlement.uniqueTokenSet\")) - 1)"}}},"storageLayout":{"types":{"t_bool":{"label":"bool","encoding":"inplace","numberOfBytes":"1"},"t_address":{"label":"address","encoding":"inplace","numberOfBytes":"20"},"t_uint256":{"label":"uint256","encoding":"inplace","numberOfBytes":"32"},"t_bytes_memory_ptr":{"label":"bytes","encoding":"bytes","numberOfBytes":"32"},"t_mapping(t_address,t_bool)":{"key":"t_address","label":"mapping(address => bool)","value":"t_bool","encoding":"mapping","numberOfBytes":"32"},"t_mapping(t_bytes_memory_ptr,t_uint256)":{"key":"t_bytes_memory_ptr","label":"mapping(bytes => uint256)","value":"t_uint256","encoding":"mapping","numberOfBytes":"32"}},"storage":[{"slot":"0","type":"t_mapping(t_bytes_memory_ptr,t_uint256)","astId":6564,"label":"preSignature","offset":0,"contract":"src/Settlement.sol:Settlement"},{"slot":"1","type":"t_uint256","astId":6467,"label":"_status","offset":0,"contract":"src/Settlement.sol:Settlement"},{"slot":"2","type":"t_address","astId":7,"label":"_owner","offset":0,"contract":"src/Settlement.sol:Settlement"},{"slot":"3","type":"t_mapping(t_address,t_bool)","astId":1868,"label":"solvers","offset":0,"contract":"src/Settlement.sol:Settlement"},{"slot":"4","type":"t_mapping(t_bytes_memory_ptr,t_uint256)","astId":1874,"label":"filledAmount","offset":0,"contract":"src/Settlement.sol:Settlement"}]},"transientStorageLayout":null,"evm":{"bytecode":{"object":"60e034620001c9576001600160401b0390601f62004e5538819003918201601f191683019184831184841017620001b557808492602094604052833981010312620001c95751906001600160a01b03808316808403620001c9574660805260405191602083017f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f81527f29a88cbf27800a51814cac27ad93571452fc9b1eb4e86444a15d1961bc290ea760408501527f15124d26d1272f8d4d5266a24ca397811f414b8cd05a53b26b745f63af5ae2fc60608501524660808501523060a085015260a0845260c084019484861090861117620001b55760408590528351902060a0526001805560028054336001600160a01b0319821681179092559091167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a31562000184578260c052604051614c879081620001ce82396080518161100f015260a051816110dc015260c0518181816101a20152818161128201526115a30152f35b62461bcd60e51b8252602060c4820152600a60e4820152697a65726f2070726f787960b01b61010490910152606490fd5b634e487b7160e01b5f52604160045260245ffd5b5f80fdfe6080604052600436101561001a575b3615610018575f80fd5b005b5f3560e01c806302cc250d1461012957806312ec8dcc1461012457806315337bc01461011f5780632479fb6e1461011a57806343218e1914610115578063462c3ed11461011057806354fd4d501461010b5780635624b25b14610106578063715018a6146101015780638da5cb5b146100fc5780638fd57b92146100f7578063d08d33d1146100f2578063ec58f4b8146100ed578063ec6cb13f146100e8578063f2fde38b146100e3578063f698da25146100de5763f84436bd0361000e57610b15565b610af3565b610a27565b610915565b610890565b610878565b610800565b6107d8565b61077d565b610718565b6106ad565b610619565b61056a565b6104db565b6101fe565b61018d565b610143565b6001600160a01b0381160361013f57565b5f80fd5b3461013f57602036600319011261013f576004356101608161012e565b60018060a01b03165f526003602052602060ff60405f2054166040519015158152f35b5f91031261013f57565b3461013f575f36600319011261013f576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b9181601f8401121561013f578235916001600160401b03831161013f576020838186019501011161013f57565b3461013f57602036600319011261013f576004356001600160401b03811161013f5761022e9036906004016101d1565b9061023982826111d3565b506001600160a01b03169290503383036102a1577f875b6cb035bbd4ac6500fabc6d1e4ca5bdc58a3e2b424ccb5c24cdbebeb009a99161028d6040518383823760208185810160048152030190205f199055565b61029c60405192839283610b7b565b0390a2005b60405162461bcd60e51b815260206004820152601960248201527f63616c6c657220646f6573206e6f74206f776e206f72646572000000000000006044820152606490fd5b634e487b7160e01b5f52604160045260245ffd5b60a081019081106001600160401b0382111761031557604052565b6102e6565b61010081019081106001600160401b0382111761031557604052565b6001600160401b03811161031557604052565b606081019081106001600160401b0382111761031557604052565b608081019081106001600160401b0382111761031557604052565b604081019081106001600160401b0382111761031557604052565b90601f801991011681019081106001600160401b0382111761031557604052565b604051906103c88261031a565b565b6001600160401b03811161031557601f01601f191660200190565b81601f8201121561013f578035906103fc826103ca565b9261040a604051948561039a565b8284526020838301011161013f57815f926020809301838601378301015290565b602060031982011261013f57600435906001600160401b03821161013f57610455916004016103e5565b90565b5f5b8381106104695750505f910152565b818101518382015260200161045a565b9061048c60209282815194859201610458565b0190565b60206104a9918160405193828580945193849201610458565b8101600481520301902090565b60206104cf918160405193828580945193849201610458565b81015f81520301902090565b3461013f5760206104f36104ee3661042b565b610490565b54604051908152f35b90604060031983011261013f576004356105158161012e565b91602435906001600160401b03821161013f57610455916004016103e5565b9060209161054d81518092818552858086019101610458565b601f01601f1916010190565b906020610455928181520190610534565b3461013f575f8061057a366104fc565b90602082519201905af461058c610b8c565b906105c76021604051809360206105ac8184019788815193849201610458565b820190151560f81b602082015203600181018452018261039a565b5190fd5b9181601f8401121561013f578235916001600160401b03831161013f576020808501948460051b01011161013f57565b9190606083011161013f57565b60609060a319011261013f5760a490565b3461013f5761010036600319011261013f576001600160401b0360243581811161013f5761064b9036906004016105cb565b60443583811161013f576106639036906004016105cb565b9060643585811161013f5761067c9036906004016105cb565b92909160843596871161013f5761069a6100189736906004016105fb565b946106a436610608565b96600435610bbb565b3461013f575f36600319011261013f576107146040516106cc81610349565b602181527f76322e302e302d7468726573686f6c642d756e6361707065642d737572706c756020820152607360f81b6040820152604051918291602083526020830190610534565b0390f35b3461013f57604036600319011261013f576004356024356005602082821b8315848204831417156107785761074c90610f7f565b935f5b84811061076457604051806107148882610559565b8181015481851b870184015260010161074f565b610f11565b3461013f575f36600319011261013f57610795611e6c565b600280546001600160a01b031981169091555f906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a3005b3461013f575f36600319011261013f576002546040516001600160a01b039091168152602090f35b3461013f57602036600319011261013f577f640e18a2587e1d83e4fdabf70257d0a800ca4b2c1aaad1dfc485a4ad8bbbd6c660206004356108408161012e565b610848611e6c565b6001600160a01b031661085c811515610fb1565b805f526003825260405f2060ff198154169055604051908152a1005b3461013f5760206104f361088b3661042b565b6104b6565b3461013f57602036600319011261013f577f41f9d09dd5159251f8a8e482bbe097b7c01a5e6f70c5a0ddb494906464fc9dd760206004356108d08161012e565b6108d8611e6c565b6001600160a01b03166108ec811515610fb1565b805f526003825260405f20600160ff19825416179055604051908152a1005b8015150361013f57565b3461013f57604036600319011261013f576004356001600160401b03811161013f576109459036906004016101d1565b602435906109528261090b565b61095c81846111d3565b506001600160a01b03169390503384036109eb5761029c837f01bf7c8b0ca55deecbea89d7e58295b7ffbf685fd0d96801034ba8c6ffe1c68d945f146109da576109ce6109a98585610b43565b7f26cef0249cc767b3c21945b2779e1c35f139ab0e0f59dec08842c20f717c448a9055565b60405193849384610fec565b5f6109e58585610b43565b556109ce565b60405162461bcd60e51b815260206004820152601460248201527331b0b73737ba10383932b9b4b3b71037b93232b960611b6044820152606490fd5b3461013f57602036600319011261013f57600435610a448161012e565b610a4c611e6c565b6001600160a01b03908116908115610a9f57600254826bffffffffffffffffffffffff60a01b821617600255167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a3005b60405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608490fd5b3461013f575f36600319011261013f576020610b0d61100d565b604051908152f35b3461013f57610714610b2f610b29366104fc565b9061112f565b604051918291602083526020830190610534565b60209082604051938492833781015f81520301902090565b908060209392818452848401375f828201840152601f01601f1916010190565b916020610455938181520191610b5b565b3d15610bb6573d90610b9d826103ca565b91610bab604051938461039a565b82523d5f602084013e565b606090565b9796959396600260015414610d27576002600155335f52600360205260ff60405f20541615610cf357610c80610c428688610ca39b610c9a98610c3798610c9498610c3d8f610c37908b35610c16631dcd6500821115610d6c565b158015610cd1575b610c2790610dc2565b610c32878614610e06565b610e66565b90611277565b611496565b95610c5360208801518851906115a1565b610c606040880151611796565b610c6c610c378a610e9d565b606087019760808951980197885190611856565b610c8a8651611be9565b8551855190611c35565b94610ed7565b51905190611d75565b337fbddcc4ab73b8e971706360fbdcce2f609328e78217649695ee3ab811ab52d1625f80a36103c860018055565b50610c276001600160a01b03610ce960208f01610db8565b1615159050610c1e565b60405162461bcd60e51b815260206004820152600c60248201526b3737ba10309039b7b63b32b960a11b6044820152606490fd5b60405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606490fd5b15610d7357565b60405162461bcd60e51b815260206004820152601b60248201527f696e76616c696420737572706c7573206665652070657263656e7400000000006044820152606490fd5b356104558161012e565b15610dc957565b60405162461bcd60e51b81526020600482015260156024820152741d1c9a5b549958d95a5d995c881c995c5d5a5c9959605a1b6044820152606490fd5b15610e0d57565b60405162461bcd60e51b815260206004820152601d60248201527f746f6b656e732f707269636573206c656e677468206d69736d617463680000006044820152606490fd5b634e487b7160e01b5f52603260045260245ffd5b803590601e198136030182121561013f5701908135916001600160401b03831161013f576020018260051b3603811361013f579190565b602081013590601e198136030182121561013f5701908135916001600160401b03831161013f576020018260051b3603811361013f579190565b604081013590601e198136030182121561013f5701908135916001600160401b03831161013f576020018260051b3603811361013f579190565b634e487b7160e01b5f52601160045260245ffd5b908160011b918083046002149015171561077857565b908160021b918083046004149015171561077857565b8181029291811591840414171561077857565b60405190610f7182610349565b603882526040366020840137565b90610f89826103ca565b610f96604051918261039a565b8281528092610fa7601f19916103ca565b0190602036910137565b15610fb857565b60405162461bcd60e51b815260206004820152600c60248201526b7a65726f206164647265737360a01b6044820152606490fd5b9160209161100591959495604085526040850191610b5b565b931515910152565b7f000000000000000000000000000000000000000000000000000000000000000046146110da5760405160208101907f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f82527f29a88cbf27800a51814cac27ad93571452fc9b1eb4e86444a15d1961bc290ea760408201527f15124d26d1272f8d4d5266a24ca397811f414b8cd05a53b26b745f63af5ae2fc60608201524660808201523060a082015260a0815260c081018181106001600160401b038211176103155760405251902090565b7f000000000000000000000000000000000000000000000000000000000000000090565b5f1981019190821161077857565b9190820391821161077857565b90815181101561112a570160200190565b610e52565b5f919061116d61117b849360405192839160208301956343218e1960e01b875260018060a01b03166024840152604060448401526064830190610534565b03601f19810183528261039a565b519082305af15061118a610b8c565b600160f81b60ff60f81b6111b86111aa6111a485516110fe565b85611119565b516001600160f81b03191690565b16146111c482516110fe565b8252156111ce5790565b61122b565b906038036111f1578035916034602083013560601c92013560e01c90565b60405162461bcd60e51b815260206004820152601260248201527113dc99195c8e881a5b9d985b1a59081d5a5960721b6044820152606490fd5b602081519101fd5b1561123a57565b60405162461bcd60e51b81526020600482015260156024820152743337b93134b23232b71034b73a32b930b1ba34b7b760591b6044820152606490fd5b906001600160a01b037f00000000000000000000000000000000000000000000000000000000000000008116905f5b8381106112b4575050505050565b8060051b85013590605e198636030182121561013f5760019186016112f2856112eb6112df84610db8565b6001600160a01b031690565b1415611233565b6112fb81611ef6565b7fed99827efb37016f2275f98c4bcf71c7551c75d59e9b450f79fa32e60be672c28461132683610db8565b61135a61133285611f37565b602060405194859416960135839092916020906040830194835263ffffffff60e01b16910152565b0390a2016112a6565b60405190611370826102fa565b81608060609182815282602082015282604082015282808201520152565b6001600160401b0381116103155760051b60200190565b906113af8261138e565b6040906113bf604051918261039a565b83815280936113d0601f199161138e565b01915f5b8381106113e15750505050565b60209082516113ef8161031a565b60608082525f8491818385015281878501528301525f60808301525f60a08301525f60c08301525f60e08301528286010152016113d4565b919081101561112a5760051b810135906101fe198136030182121561013f570190565b1561145157565b60405162461bcd60e51b815260206004820152601d60248201527f747261646573206e6f74206f72646572656420627920746f546f6b656e0000006044820152606490fd5b95949095939192936114a6611363565b966114b08361209f565b956114ba846113a5565b60808a019081526114c9612140565b915f97895f995b888b1061152157509850505050505050505051608082015181528352602081015160a082015181526060840152604081015160c08201518152602084015260e0606082015191015181526040830152565b61155e8b89600194898b8f8f611555878c928e9461155060209d8e611547868686611427565b0135101561144a565b611427565b928d5196612298565b6115698b8a8c611427565b01359901988a906114d0565b80511561112a5760200190565b805182101561112a5760209160051b010190565b6040513d5f823e3d90fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316925f5b82518110156116c1576115e18184611582565b519060608201918251156116b757602081018051611621916112df91611614906001600160a01b03166124b3565b6124b3565b516001600160a01b031690565b81516001600160a01b03166040928301519091906001600160a01b0316945192893b1561013f575163052f523360e11b81526001600160a01b039182166004820152918116602483015293909316604484015260648301525f82608481838a5af19182156116b257600192611699575b505b016115ce565b806116a66116ac92610336565b80610183565b5f611691565b611596565b5060019150611693565b509190505f5b8151811015611790576116da8183611582565b5190604080830192835115611785576117176117096112df6020840161161461160f825160018060a01b031690565b91516001600160a01b031690565b935193873b1561013f57915163052f523360e11b81526001600160a01b0391821660048201529116602482015230604482015260648101929092525f8260848183895af19182156116b257600192611772575b505b016116c7565b806116a661177f92610336565b5f61176a565b50506001915061176c565b50509050565b905f5b82518110156117f157806117af60019285611582565b5160608101908151156117ea576117e491848060a01b036117d2818451166124b3565b6020818451169301511690519161255f565b01611799565b50506117e4565b509050565b906001820180921161077857565b9190820180921161077857565b9081602091031261013f575190565b9061182a8261138e565b611837604051918261039a565b8281528092610fa7601f199161138e565b5f1981146107785760010190565b9291938151948515611be157606094611882606061187386611575565b5101516001600160a01b031690565b60a09560a061189087611575565b510151986001995b818b108a8c82611bb9575b5050156118cc576118c46001918a6118bb8e8c611582565b51015190611804565b9a0199611898565b9294969899979091939599828914611afe576118f06118eb8a8561110c565b6117f6565b9361191f61190661190087611820565b96611820565b9761191087611575565b6001600160a01b039091169052565b61192887611575565b526001985b8a848210611a2a5750505050505f5b86811061194d575050505050505050565b61195a6116148284611582565b906119658186611582565b516001600160a01b0383169273eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee84036119c3576001935047915b8083106119a4575b5050500161193c565b6119bb926119b19161110c565b90868a8d8b61269c565b5f808061199b565b6040516370a0823160e01b81523060048201526020948590829060249082905afa9081156116b2576001955f926119fd575b505091611993565b611a1c9250803d10611a23575b611a14818361039a565b810190611811565b5f806119f5565b503d611a0a565b8261187383611a3893611582565b8a908c906001600160a01b0381165f89855b8210611ac4575b5050508c8314611a93575b5090611a8c611a8586611a728660019796611582565b510151611a7f848d611582565b51611804565b918a611582565b520161192d565b928c8694611aa48395949f8b611582565b6001600160a01b039091169052611aba90611848565b9c91929350611a5c565b91611adc6112df6112df611614858598999697611582565b14611af05750600101908e9291898f611a4a565b9293509050915f8089611a51565b50919794965092949193919250506001600160a01b03841673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee8103611b65575047955b808710611b46575b50505050505050565b611b5996611b539161110c565b9461269c565b5f808080808080611b3d565b6040516370a0823160e01b815230600482015290602090829060249082905afa9081156116b2575f91611b9a575b5095611b35565b611bb3915060203d602011611a2357611a14818361039a565b5f611b93565b611bcc9250906118736112df928c611582565b6001600160a01b038581169116148a8c6118a3565b509350505050565b905f5b82518110156117f15780611c0260019285611582565b5160408101518015611c2e57611c2891848060a01b03806020830151169151169061255f565b01611bec565b5050611c28565b929192611c428151611820565b938251908251158015611d51575b611d4b576001937fa22590d89a282e4a4cb338bbac16a503583641111dac8ed65da19c682b55daab6001815c01905d611c90611c8b84610f25565b611820565b935f94865f5b868110611cd45750505f5b868110611cb2575050505050505050565b8790611cce878c888888611cc9611614888b611582565b612bcd565b01611ca1565b611ce360606118738388611582565b611cec81612b6d565b611d35575b50611d0160406118738388611582565b611d0a81612b6d565b611d18575b50018790611c96565b611d2f90611910611d288b611848565b9a86611582565b5f611d0f565b611d4590611910611d288b611848565b5f611cf1565b50505050565b508115611c50565b6104559392606092825260208201528160408201520190610534565b9190915f5b8151811015611d4b57611d8d8183611582565b5160e00151611d9c8284611582565b51602001516001600160a01b031660409182611db88587611582565b5101516001600160a01b031692611dcf8587611582565b51606001516001600160a01b0316611de78688611582565b51608001519282611df8828c611582565b51015190611e06908a611582565b51611e1091611804565b92611e1b8789611582565b515192516001600160a01b03928316968316959092169391928392611e409284611d59565b037fd65443291bb59863c3ddfe64892356e9f0c3888a4c99efd97df5c028cb5db26791a4600101611d7a565b6002546001600160a01b03163303611e8057565b606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b903590601e198136030182121561013f57018035906001600160401b03821161013f5760200191813603831361013f57565b5f602081928035611f068161012e565b611f136040830183611ec4565b939092846040519481860160405285370135905af115611f2f57565b3d5f803e3d5ffd5b906004611f495f936040810190611ec4565b9190911015611f555750565b359150565b90611f648261138e565b604090611f74604051918261039a565b8381528093611f85601f199161138e565b01915f5b838110611f965750505050565b6020908251611fa481610349565b5f8152825f818301525f85830152828601015201611f89565b90611fc78261138e565b604090611fd7604051918261039a565b8381528093611fe8601f199161138e565b01915f5b838110611ff95750505050565b602090825161200781610364565b5f8152825f818301525f858301525f6060830152828601015201611fec565b60405190612033826102fa565b5f6080838281528260208201528260408201528260608201520152565b9061205a8261138e565b612067604051918261039a565b8281528092612078601f199161138e565b01905f5b82811061208857505050565b602090612093612026565b8282850101520161207c565b90604051916120ad8361031a565b6060835260208301606081526040840190606082526060850192606084525f60808701525f60a08701525f60c08701525f60e0870152856120ed82611f5a565b905260058102918115928281046005148417156107785761210d90611f5a565b90528060021b9181830460041417156107785761213c9261213061213793611fbd565b9052610f3b565b612050565b9052565b6040519061214d82610364565b60405161016081018181106001600160401b03821117610315576040525f81525f60208201525f60408201525f60608201525f60808201525f60a08201525f60c08201525f60e08201525f6101008201525f610120820152606061014082015282526020820191606083525f60408201525f60608201529161213c610f64565b156121d457565b60405162461bcd60e51b81526020600482015260116024820152701bdc99195c881a5b9d985b1a59185d1959607a1b6044820152606490fd5b1561221457565b60405162461bcd60e51b815260206004820152600c60248201526b1bdc99195c88199a5b1b195960a21b6044820152606490fd5b1561224f57565b60405162461bcd60e51b815260206004820152601b60248201527f746f546f6b656e416d6f756e74206e6f742072657370656374656400000000006044820152606490fd5b0390fd5b84809394926122ad929a999a989798896130fe565b8551926122b99361342c565b919093805191608083015191829161014080950151906101a00192836122de9261379d565b9687516122eb908561110c565b956122f69187613af8565b9381510151918660808901938287865161230f90151590565b9161231993613b64565b936123278a83858988613c11565b51151590612336928785613e6d565b60209182820190815161234890610490565b54856123575f198314156121cd565b61236091611804565b8351608001518111156123729061220d565b825161237d90610490565b556040830180518451519a860151919a6001600160a01b03918216929116906123a6908861110c565b906123b1928b614020565b60a088015160608401519098906001600160a01b031684518601516001600160a01b03166123df848a61110c565b916123e993614071565b6123f3908661110c565b825160a00151111561240490612248565b5196604051809884820161241791610479565b03601f1981018952612429908961039a565b516001600160a01b03169051805190919083906001600160a01b03169201516001600160a01b03169261245a6103bb565b9889526001600160a01b03909116908801526001600160a01b031660408701526001600160a01b03166060860152608085015260a084015260c083015260e08201526124a68284611582565b526124b091611582565b50565b6001600160a01b031673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee146124d857565b60405162461bcd60e51b815260206004820152601a60248201527f63616e6e6f74207472616e73666572206e6174697665204554480000000000006044820152606490fd5b1561252457565b60405162461bcd60e51b8152602060048201526013602482015272115512081d1c985b9cd9995c8819985a5b1959606a1b6044820152606490fd5b8215612654576001600160a01b0390811673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee81036125a65750505f80806103c89481945af16125a0610b8c565b5061251d565b5f80612626946103c89660405195602087019263a9059cbb60e01b84521660248701526044860152604485526125db85610364565b604051946125e88661037f565b602086527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65646020870152519082855af1612620610b8c565b91614bc0565b805190811591821561263a575b5050614591565b61264d925060208091830101910161457c565b5f80612633565b505050565b1561266057565b634e487b7160e01b5f52600160045260245ffd5b909261268d606093969594608084526080840190610534565b95602083015260408201520152565b94939190948551946126ad86611820565b6126b687611820565b906126c088611820565b925f9081808a89898f8f5b8510612a8257505050505081116129ff5780939293915f5b8c8c82106129315750505050805b6127d1575050505f5b86811061270b575050505050505050565b8061271860019284611582565b5187868b8484156127c75761276d6101406127a76127bd937f06a90a58a0537157735f3daafad32f14398feec4680f0c032ca6659590e161b6978d604095869160e0612764868c611582565b51015190611582565b510161277a8b825161110c565b90526127a16127988360a061278f828c611582565b51015199611582565b51519a8861110c565b97611427565b013590519384938d8a8060a01b03169785612674565b0390a25b016126fa565b50505050506127c1565b9197985f9a919593979a9694969a5f5b8b81106128f957506127f48c1515612659565b839584955f955b8d8710806128f0575b156128ce5789908f8d908f8c9061281b8c87611582565b51156128bf57612841612896959361289c97959361283a8f8095611582565b5190613af8565b9361284c8282611582565b5185116128ab575b50508183116128a2575b6128768b61287085611a7f8386611582565b92611582565b528c6128908b6128708561288a8386611582565b5161110c565b5261110c565b96611848565b956127fb565b9150809161285e565b6128b6929450611582565b51918a8e612854565b505050509661289c9150611848565b939c9b949d5097945097955097936128e882918210612659565b9291926126f1565b50801515612804565b6129038189611582565b51612911575b6001016127e1565b9b6129296001916129228f8e611582565b5190611804565b9c9050612909565b6112df606061187384612946949a999a611582565b6001600160a01b038b81169116036129f7575f84612991575b9061297c82600193612971848c611582565b5261288a838a611582565b6129868289611582565b525b019493946126e3565b506129a7826129a08388611582565b5185613af8565b936129b28288611582565b5185116129e4575b8085116129dc575b9061297c6129d28660019461110c565b959192505061295f565b9350836129c2565b93506129f08187611582565b51936129ba565b600190612988565b11612a495760405162461bcd60e51b815260206004820152601b60248201527f746f546f6b656e416d6f756e74206e6f742072657370656374656400000000006044820152606490fd5b60405162461bcd60e51b81526020600482015260116024820152701d1a1c995cda1bdb19081b9bdd081b595d607a1b6044820152606490fd5b8d612a996112df606061187389869d999a9d611582565b6001600160a01b03918216911603612b605791878096949281969460a0948c86612ac38685611582565b510151612ad1868a89611427565b6101400135612adf916140ff565b612aeb819b8293611582565b52612af591611804565b9a612aff91611582565b5160e00151612b0d91611582565b516040015193612b1c92611427565b0135612b279161110c565b600192612b4b929180821015612b585750905b81612b45868b611582565b52611804565b915b018a89898f8f6126cb565b905090612b3a565b5050509360019150612b4d565b7fa22590d89a282e4a4cb338bbac16a503583641111dac8ed65da19c682b55daab90815c915f5260205260405f2081815c145f14612bab5750505f90565b5d600190565b929190612bc8602091604086526040860190610534565b930152565b9294929392916001600160a01b03851673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee036130685747935b8415611b3d57612c08612026565b945f5b858110612f9557508551158015612f89575b612f7f575f5b858110612cbd57505050505050604090833580612c5e575b5001519081612c4957505050565b612c5860206103c89401610db8565b9061255f565b612c6a60208601610db8565b83830151845192835260208301528584013560408301526001600160a01b0390811691908516907fc9f4d19c8ac046a3a12343782e2e80055bdc4bac7ae4b036a6f0ac1078a1c85790606090a35f612c3b565b6001906001600160a01b038916612cdd6112df806040611873868b611582565b14612e63575b886060838060a01b038216612d026112df6112df84611873888d611582565b14612d10575b505001612c23565b60e0906040612d2c83612d23878c611582565b5101518b611582565b51015180612d3c575b5050612d08565b60808c01612d4a8151611848565b80915260208d0151145f14612e515750612d67818c01518761110c565b905b8b01612d76828251611804565b905280612d84575b80612d35565b612d90908d35906141f2565b612da260408d94939401918251611804565b9052612dae8489611582565b51015190612dcd612dbf838b611582565b51516001600160a01b031690565b91612de6612ddf83611a7f848c611582565b9189611582565b528015612d7e5780612e1a7f5dbb2734760ca87f88f85ddae0e69ff340c5ac48e4315b17e8a9b24c75251c4d92848661255f565b612e24858a611582565b515192612e46604051928392898060a01b031696898060a01b03169583612bb1565b0390a3885f80612d7e565b8b51612e5d918861416c565b90612d69565b60c0612e6f8287611582565b51015180612e7e575b50612ce3565b6080890190612e8d8251611848565b809252602091828b0151145f14612f6e5750612ead60608a01518561110c565b60608a01612ebc828251611804565b905280612eca575b50612e78565b612ed6908c35906141f2565b612ee860408c94939401918251611804565b90528115612ec457612f0882612f0283611873878c611582565b8d61255f565b7f3e41ecc1db67fa019fbdb227cfb7872d3b8b4c2aefa07717335ec5100111ce47612f338489611582565b515191612f4a868060a01b0391611873878c611582565b16928c612f64604051928392898060a01b03169583612bb1565b0390a35f80612ec4565b8951612f7a918661416c565b612ead565b5050505050505050565b50602086015115612c1d565b60019060406001600160a01b038a16612fb66112df8084611873878c611582565b1461302a575b828060a01b038a16612fd96112df6112df6060611873878c611582565b14612fe6575b5001612c0b565b612ffe60e0612ff58489611582565b51015188611582565b5101518015612fdf57613012908951611804565b8852602088016130228151611848565b90525f612fdf565b60c06130368388611582565b51015180613045575b50612fbc565b613050908a51611804565b8952602089016130608151611848565b90525f61303f565b6040516370a0823160e01b81523060048201526020816024816001600160a01b038a165afa9081156116b2575f916130a2575b5093612bfa565b6130bb915060203d602011611a2357611a14818361039a565b5f61309b565b156130c857565b60405162461bcd60e51b815260206004820152600e60248201526d0deeedccae440dad2e6dac2e8c6d60931b6044820152606490fd5b9161323d613277916132636103c89661315b61314b61312e6060988a519661314061313361312e8835848661338e565b610db8565b6001600160a01b03168952565b60208601359161338e565b6001600160a01b03166020850152565b613178613169878301610db8565b6001600160a01b031684880152565b6080810135608084015260a081013560a084015261325061319b60c08301614211565b63ffffffff1660c085019081529160e081013560e08601526132296131c260408301610db8565b6001600160a01b031660408701908152916131ea6131e4610160830183614222565b906145f0565b6101408801526132226101009161321461320684830135614652565b9015156101208d0152949091565b8a0152610180810190611ec4565b9188614275565b91519196879391926001600160a01b031690565b6001600160a01b038481169116146130c1565b6020890151925163ffffffff169261444b565b6001600160a01b03821660408601526144ad565b6001600160a01b0316910152565b1561328c57565b60405162461bcd60e51b815260206004820152600d60248201526c1bdc99195c88195e1c1a5c9959609a1b6044820152606490fd5b156132c857565b60405162461bcd60e51b815260206004820152600f60248201526e073616d6520746f6b656e207377617608c1b6044820152606490fd5b1561330657565b60405162461bcd60e51b81526020600482015260146024820152731e995c9bc8199c9bdb551bdad95b905b5bdd5b9d60621b6044820152606490fd5b1561334957565b60405162461bcd60e51b815260206004820152601960248201527f696e76616c6964207468726573686f6c642070657263656e74000000000000006044820152606490fd5b919081101561112a5760051b0190565b156133a557565b60405162461bcd60e51b81526020600482015260136024820152727a65726f20636c656172696e6720707269636560681b6044820152606490fd5b156133e757565b60405162461bcd60e51b815260206004820152601960248201527f6c696d6974207072696365206e6f7420726573706563746564000000000000006044820152606490fd5b6135036020959360a06134fb6134df6103c89661346261345360c089015163ffffffff1690565b63ffffffff4291161015613285565b86516134a19061347a906001600160a01b03166112df565b888d0151613492906112df906001600160a01b031681565b90600180881b031614156132c1565b60808701946134b2865115156132ff565b6134c7633b9aca006101408d01351115613342565b6134d38b35828461338e565b359b8c9b01359161338e565b359788938115158061350a575b6134f59061339e565b51610f51565b930151610f51565b11156133e0565b508415156134ec565b1561351a57565b60405162461bcd60e51b815260206004820152601960248201527f746f6f206d616e7920636f6d6d697373696f6e20696e666f73000000000000006044820152606490fd5b1561356657565b60405162461bcd60e51b815260206004820152601c60248201527f696e76616c696420636f6d6d697373696f6e20646972656374696f6e000000006044820152606490fd5b156135b257565b60405162461bcd60e51b81526020600482015260126024820152711e995c9bc8199959481c9958da5c1a595b9d60721b6044820152606490fd5b156135f357565b60405162461bcd60e51b815260206004820152601b60248201527f636f6d6d697373696f6e2070657263656e7420746f6f206869676800000000006044820152606490fd5b1561363f57565b60405162461bcd60e51b815260206004820152601b60248201527f6d6978656420636f6d6d697373696f6e20646972656374696f6e7300000000006044820152606490fd5b1561368b57565b60405162461bcd60e51b81526020600482015260116024820152706d69786564206973546f4220666c61677360781b6044820152606490fd5b156136cb57565b60405162461bcd60e51b815260206004820152601060248201526f3d32b9379039b7b63b32b91030b2323960811b6044820152606490fd5b1561370a57565b60405162461bcd60e51b815260206004820152602660248201527f736f6c7665722f726566657272616c2066656520646972656374696f6e206d696044820152650e6dac2e8c6d60d31b6064820152608490fd5b1561376557565b60405162461bcd60e51b815260206004820152601060248201526f66656573206578636565642066726f6d60801b6044820152606490fd5b90916137a7612026565b906137b6600384511115613513565b5f925f955f955f905f985f5b8551811015613918576137e26137d88288611582565b51998a5190611804565b60408a01519099600160fd1b82161591600160fe1b8116151591600160ff1b90911615801591908280613911575b15806138f9575b613821915061355f565b80516138db575b51918215159081613892575b50906001949392918161388a575b50613850575b5050016137c2565b61385a908a6144c8565b90613866828c51611804565b8b52613873575b80613848565b61388260208b01918251611804565b90525f61386d565b90505f613842565b829891986138d2575b6138c9575b836138b9575090600193929184975b9091929394613834565b969d50906001939291849e6138af565b60019d506138a0565b6001965061389b565b60208101516138f4906001600160a01b031615156135ab565b613828565b50829061390a575b61382190613817565b5082613901565b5083613810565b5092979093506103c89661395b836139be9497989b61393d6301c9c3808511156135ec565b8680613add575b61394e9015613638565b81613ad5575b5015613684565b61396b604096878c019015159052565b84359384151592839283613ac2575b8c85613ab0575b6060613991910195869015159052565b8380613a9d575b8d85613a8b575b60806139af910195869015159052565b613a13575b5050505051151590565b6139cf575b5050508351111561375e565b6139d990846144c8565b916139e5838851611804565b87520135600160fd1b16156139fc575b80806139c3565b613a0b60208601918251611804565b90525f6139f5565b613a326001600160a01b03613a2a60208b01610db8565b1615156136c4565b613a3d575b806139b4565b613a559282613a79575b8215613a5d575b5050613703565b5f8080613a37565b90915081613a6e575b505f80613a4e565b51151590505f613a66565b9150613a858451151590565b91613a47565b898b0135600160ff1b1615955061399f565b888a0135600160fe1b1615159450613998565b888a0135600160fe1b16159550613981565b87890135600160ff1b161515945061397a565b90505f613954565b5084613944565b634e487b7160e01b5f52601260045260245ffd5b9190613b0582828561416c565b928215613b225709613b145790565b600181018091116107785790565b613ae4565b15613b2e57565b60405162461bcd60e51b815260206004820152600e60248201526d666565732065786365656420746f60901b6044820152606490fd5b5f949091855b8351871015613bda57600160fe1b6040613b848987611582565b51015116158015613bc7575b613bbe57613ba9613ba18886611582565b5151866144c8565b810180911161077857600190965b0195613b6a565b95600190613bb7565b50613bd28785611582565b515115613b90565b9550915092613bf1575b506103c890831115613b27565b6103c89193613c04613c0a9235866144c8565b90611804565b9290613be4565b80516101408101519051929693956001600160a01b039384169594919286929091905f5b8551811015613d955760019085898b898f898d6040928960ff1b84613c5a8b88611582565b51015116158015613d82575b613d7557613c8090613c788a87611582565b5151906144c8565b947f02b4603e6be0c4002f11c4445116c51a20adeecb33e1434306ec55378f75a0996020809401519286613ce58c8a89613cd4613ccb84613cc58d611873838b611582565b97611582565b5151938d611582565b510151918a51958695169885612674565b0390a38315613d6a57868b613cfc848d0151151590565b15613d3a5750613d349691611873613d149286611582565b91613d2b88613d238187611582565b515195611582565b51015194614530565b01613c35565b9290920151613d65969495506001600160a01b03169392613d5e9261187391611582565b918d6144e7565b613d34565b505050505050613d34565b5050505050505050613d34565b50613d8d8986611582565b515115613c66565b5098949197969593506060613dab910151151590565b613db85750505050505050565b613dc4863580956144c8565b946020880151907fc6d99ee7574d9d88cc700f01e1ecbcc9cfed97d50310b48abc3a6dfde3ae2dc060208901936040613dfc86610db8565b9a013599613e148b8b8b604051958695169885612674565b0390a38415611b3d57600160fd1b861615613e3d57611b599650613e3790610db8565b91614530565b919394509150613e62613e5c6040613e6897015160018060a01b031690565b91610db8565b926144e7565b611b59565b80516101408101516020918201516001600160a01b03989196939590891694859290915f5b8951811015613f84576001908a8a888f888a9160408860fe1b81613eb68a8a611582565b51015116158015613f71575b613f6557613f33613f0a86613efc7f02b4603e6be0c4002f11c4445116c51a20adeecb33e1434306ec55378f75a09996613c788d8d611582565b980151966118738b8b611582565b9187613f168b8b611582565b515182613f238d8d611582565b5101519251958695169885612674565b0390a38a838a8315613f5b57611873613f4f92613f5596611582565b8b614071565b01613e92565b5050505050613f55565b50505050505050613f55565b50613f7c8888611582565b515115613ec2565b5094959697509890919297613f9d575050505050505050565b7fc6d99ee7574d9d88cc700f01e1ecbcc9cfed97d50310b48abc3a6dfde3ae2dc091613ff389613fcf873580946144c8565b9901519986019989613fe08c610db8565b9360408051968796169901359285612674565b0390a382614005575b80808080612f7f565b61401161401794610db8565b90614071565b5f808080613ffc565b90926124b0936040519361403385610349565b6001600160a01b0391821685521660208401526040830152805160809091018051929061405f84611848565b905261406b8383611582565b52611582565b90926124b0936040519361408485610349565b60018060a01b038092168552166020840152604083015260a0602082015191019182519261405f84611848565b8115613b22570490565b156140c257565b60405162461bcd60e51b81526020600482015260156024820152744d6174683a206d756c446976206f766572666c6f7760581b6044820152606490fd5b5f198282098282029182808310920391808303921461415f577f88f2cfb83100cb4e69e7c79c58b316e597157d372fb9787e8e47ce423a2e9c6d93633b9aca009161414b8484116140bb565b0990828211900360f71b910360091c170290565b5050633b9aca0091500490565b90915f1983830992808302928380861095039480860395146141e5579082916141968684116140bb565b0960018219018216809204600280826003021880830282030280830282030280830282030280830282030280830282030280920290030293600183805f03040190848311900302920304170290565b50509061045592506140b1565b90614202633b9aca009183610f51565b04908181039081116107785791565b3563ffffffff8116810361013f5790565b903590601e198136030182121561013f57018035906001600160401b03821161013f5760200191606082023603831361013f57565b6004111561426157565b634e487b7160e01b5f52602160045260245ffd5b9160426142fb939594929561428861100d565b815190919061429f906001600160a01b03166112df565b60208201519091906143be906142bd906001600160a01b03166112df565b604083015161116d906001600160a01b031660608501519094906001600160a01b031690608081015160a082015160c083019d8e5163ffffffff1690565b60e0840151916101008501519361432461014061431c610120890151151590565b970151614962565b966040519b8c9a60208c019e8f80999795939c9b9a989694919c61018082019d7fc70e289c8e7a87f3aeb5bfa5b860828276fa66d7f73bc34926b2e0383bfab5748352600160a01b600190039485938480931690602001521660408c01521660608a015216608088015260a087015260c086015263ffffffff1660e085015261010084015261012083015215156101408201526101600152565b5190206040519183830160405261190160f01b83526002830152602282015220946143e881614257565b806143f95750610455925084614ae4565b61440281614257565b6001810361441657506104559250846148eb565b80614422600292614257565b036144325761045592508461484c565b90614444610455935163ffffffff1690565b9185614715565b909291603882510361446857602092603883015260348201520152565b60405162461bcd60e51b815260206004820152601a60248201527f4f726465723a2075696420627566666572206f766572666c6f770000000000006044820152606490fd5b606001516001600160a01b0316806144c3575090565b905090565b81156144e157633b9aca00916144dd91610f51565b0490565b50505f90565b916124b0949193604051946144fb86610364565b60018060a01b0392838092168752166020860152166040840152606083015260c0604082015191019182519261405f84611848565b926124b09592949160405195614545876102fa565b60018060a01b03809216875216602086015260408501526060840152608083015260e0606082015191019182519261405f84611848565b9081602091031261013f57516104558161090b565b1561459857565b60405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608490fd5b916145fe6003831115613513565b6040519160209360208260071b8501016040528184526005908260051b8501915f5b848110614631575050505050909150565b60019060608082028a8188010190818c85881b8d0101528601903701614620565b600181166146d7577f39124995febcd74fadbdf9bbad44826dab79bc9478b4965fd0d2381c0d649b2c9160028216614692575f9160051c61045581614257565b60405162461bcd60e51b815260206004820152601a60248201527f7061727469616c2066696c6c206e6f7420737570706f727465640000000000006044820152606490fd5b60405162461bcd60e51b81526020600482015260166024820152751bdb9b1e48195e1858dd125b881cdd5c1c1bdc9d195960521b6044820152606490fd5b92939291601319016147a2577f26cef0249cc767b3c21945b2779e1c35f139ab0e0f59dec08842c20f717c448a9161088b61475f923560601c9586614758610f64565b938461444b565b540361476757565b60405162461bcd60e51b81526020600482015260136024820152721bdc99195c881b9bdd081c1c995cda59db9959606a1b6044820152606490fd5b60405162461bcd60e51b81526020600482015260166024820152756d616c666f726d6564207072657369676e617475726560501b6044820152606490fd5b9081602091031261013f57516001600160e01b03198116810361013f5790565b1561480757565b60405162461bcd60e51b815260206004820152601960248201527f696e76616c69642065697031323731207369676e6174757265000000000000006044820152606490fd5b813560601c9392916014831061013f57614895926020916040519485928392630b135d3f60e11b9687855260048501526040602485015260146044850192601319019101610b5b565b0381875afa80156116b2576103c8925f916148bc575b506001600160e01b03191614614800565b6148de915060203d6020116148e4575b6148d6818361039a565b8101906147e0565b5f6148ab565b503d6148cc565b90610455929160405160208101917f19457468657265756d205369676e6564204d6573736167653a0a3332000000008352603c820152603c815261492e81610349565b519020614ae4565b80516020809201915f5b82811061494e575050505090565b835185529381019392810192600101614940565b80519161496e8361138e565b9061498a604094614982604051948561039a565b80845261138e565b92602091601f198095013660208601375f5b8251811015614a1e57806149b260019285611582565b5180519089848060a01b0388830151169101518a5191888301937f383c49be8b10b90a55f1289bd1243f7250baff231facaad7e486d2391903bf5a85528c8401526060830152608090818301528152614a0a816102fa565b519020614a178288611582565b520161499c565b509450505090614a466040519182614a3a602082018096614936565b0390810183528261039a565b51902090565b15614a5357565b60405162461bcd60e51b815260206004820152601960248201527f696e76616c6964207369676e617475726520732076616c7565000000000000006044820152606490fd5b15614a9f57565b60405162461bcd60e51b815260206004820152601760248201527f696e76616c6964206563647361207369676e61747572650000000000000000006044820152606490fd5b9091604103614b7b57815f91614b56602080950135614b257f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0821115614a4c565b6040519384936040823592013560f81c90859094939260ff6060936080840197845216602083015260408201520152565b838052039060015afa156116b2575f51906103c86001600160a01b0383161515614a98565b60405162461bcd60e51b815260206004820152601960248201527f6d616c666f726d6564206563647361207369676e6174757265000000000000006044820152606490fd5b91929015614c225750815115614bd4575090565b3b15614bdd5790565b60405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606490fd5b825190915015614c355750805190602001fd5b60405162461bcd60e51b8152908190612294906004830161055956fea264697066735822122024ace53c249472874991aa562d0a7cb021bc95c24e340c16e6d7a8ccbd5eb51d64736f6c63430008180033","sourceMap":"714:36129:7:-:0;;;;-1:-1:-1;;;;;714:36129:7;;;;;;;;;;-1:-1:-1;;714:36129:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;714:36129:7;;;;;;;;2375:69:18;2454:25;;714:36129:7;;3054:81:18;714:36129:7;3054:81:18;;818:95;1195:19;;1037:28;714:36129:7;1195:19:18;;;;;;;;2375:69;2454:25;1195:19;;;3129:4;1195:19;;;;;3054:81;;1195:19;714:36129:7;;;;;;;;;;;;;;;;1195:19:18;;3044:92;;1195:19;2489:58;1863:1:17;;;2518:6:0;714:36129:7;;734:10:5;-1:-1:-1;;;;;;714:36129:7;;;;;;;734:10:5;;714:36129:7;2566:40:0;-1:-1:-1;;2566:40:0;3721:32:7;714:36129;;3778:38;1195:19:18;3778:38:7;714:36129;;;;;;;;2454:25:18;714:36129:7;;;;;1195:19:18;714:36129:7;;;;;1195:19:18;714:36129:7;;;;;;;;;;;;;;;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;714:36129:7;","linkReferences":{}},"deployedBytecode":{"object":"6080604052600436101561001a575b3615610018575f80fd5b005b5f3560e01c806302cc250d1461012957806312ec8dcc1461012457806315337bc01461011f5780632479fb6e1461011a57806343218e1914610115578063462c3ed11461011057806354fd4d501461010b5780635624b25b14610106578063715018a6146101015780638da5cb5b146100fc5780638fd57b92146100f7578063d08d33d1146100f2578063ec58f4b8146100ed578063ec6cb13f146100e8578063f2fde38b146100e3578063f698da25146100de5763f84436bd0361000e57610b15565b610af3565b610a27565b610915565b610890565b610878565b610800565b6107d8565b61077d565b610718565b6106ad565b610619565b61056a565b6104db565b6101fe565b61018d565b610143565b6001600160a01b0381160361013f57565b5f80fd5b3461013f57602036600319011261013f576004356101608161012e565b60018060a01b03165f526003602052602060ff60405f2054166040519015158152f35b5f91031261013f57565b3461013f575f36600319011261013f576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b9181601f8401121561013f578235916001600160401b03831161013f576020838186019501011161013f57565b3461013f57602036600319011261013f576004356001600160401b03811161013f5761022e9036906004016101d1565b9061023982826111d3565b506001600160a01b03169290503383036102a1577f875b6cb035bbd4ac6500fabc6d1e4ca5bdc58a3e2b424ccb5c24cdbebeb009a99161028d6040518383823760208185810160048152030190205f199055565b61029c60405192839283610b7b565b0390a2005b60405162461bcd60e51b815260206004820152601960248201527f63616c6c657220646f6573206e6f74206f776e206f72646572000000000000006044820152606490fd5b634e487b7160e01b5f52604160045260245ffd5b60a081019081106001600160401b0382111761031557604052565b6102e6565b61010081019081106001600160401b0382111761031557604052565b6001600160401b03811161031557604052565b606081019081106001600160401b0382111761031557604052565b608081019081106001600160401b0382111761031557604052565b604081019081106001600160401b0382111761031557604052565b90601f801991011681019081106001600160401b0382111761031557604052565b604051906103c88261031a565b565b6001600160401b03811161031557601f01601f191660200190565b81601f8201121561013f578035906103fc826103ca565b9261040a604051948561039a565b8284526020838301011161013f57815f926020809301838601378301015290565b602060031982011261013f57600435906001600160401b03821161013f57610455916004016103e5565b90565b5f5b8381106104695750505f910152565b818101518382015260200161045a565b9061048c60209282815194859201610458565b0190565b60206104a9918160405193828580945193849201610458565b8101600481520301902090565b60206104cf918160405193828580945193849201610458565b81015f81520301902090565b3461013f5760206104f36104ee3661042b565b610490565b54604051908152f35b90604060031983011261013f576004356105158161012e565b91602435906001600160401b03821161013f57610455916004016103e5565b9060209161054d81518092818552858086019101610458565b601f01601f1916010190565b906020610455928181520190610534565b3461013f575f8061057a366104fc565b90602082519201905af461058c610b8c565b906105c76021604051809360206105ac8184019788815193849201610458565b820190151560f81b602082015203600181018452018261039a565b5190fd5b9181601f8401121561013f578235916001600160401b03831161013f576020808501948460051b01011161013f57565b9190606083011161013f57565b60609060a319011261013f5760a490565b3461013f5761010036600319011261013f576001600160401b0360243581811161013f5761064b9036906004016105cb565b60443583811161013f576106639036906004016105cb565b9060643585811161013f5761067c9036906004016105cb565b92909160843596871161013f5761069a6100189736906004016105fb565b946106a436610608565b96600435610bbb565b3461013f575f36600319011261013f576107146040516106cc81610349565b602181527f76322e302e302d7468726573686f6c642d756e6361707065642d737572706c756020820152607360f81b6040820152604051918291602083526020830190610534565b0390f35b3461013f57604036600319011261013f576004356024356005602082821b8315848204831417156107785761074c90610f7f565b935f5b84811061076457604051806107148882610559565b8181015481851b870184015260010161074f565b610f11565b3461013f575f36600319011261013f57610795611e6c565b600280546001600160a01b031981169091555f906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a3005b3461013f575f36600319011261013f576002546040516001600160a01b039091168152602090f35b3461013f57602036600319011261013f577f640e18a2587e1d83e4fdabf70257d0a800ca4b2c1aaad1dfc485a4ad8bbbd6c660206004356108408161012e565b610848611e6c565b6001600160a01b031661085c811515610fb1565b805f526003825260405f2060ff198154169055604051908152a1005b3461013f5760206104f361088b3661042b565b6104b6565b3461013f57602036600319011261013f577f41f9d09dd5159251f8a8e482bbe097b7c01a5e6f70c5a0ddb494906464fc9dd760206004356108d08161012e565b6108d8611e6c565b6001600160a01b03166108ec811515610fb1565b805f526003825260405f20600160ff19825416179055604051908152a1005b8015150361013f57565b3461013f57604036600319011261013f576004356001600160401b03811161013f576109459036906004016101d1565b602435906109528261090b565b61095c81846111d3565b506001600160a01b03169390503384036109eb5761029c837f01bf7c8b0ca55deecbea89d7e58295b7ffbf685fd0d96801034ba8c6ffe1c68d945f146109da576109ce6109a98585610b43565b7f26cef0249cc767b3c21945b2779e1c35f139ab0e0f59dec08842c20f717c448a9055565b60405193849384610fec565b5f6109e58585610b43565b556109ce565b60405162461bcd60e51b815260206004820152601460248201527331b0b73737ba10383932b9b4b3b71037b93232b960611b6044820152606490fd5b3461013f57602036600319011261013f57600435610a448161012e565b610a4c611e6c565b6001600160a01b03908116908115610a9f57600254826bffffffffffffffffffffffff60a01b821617600255167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a3005b60405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608490fd5b3461013f575f36600319011261013f576020610b0d61100d565b604051908152f35b3461013f57610714610b2f610b29366104fc565b9061112f565b604051918291602083526020830190610534565b60209082604051938492833781015f81520301902090565b908060209392818452848401375f828201840152601f01601f1916010190565b916020610455938181520191610b5b565b3d15610bb6573d90610b9d826103ca565b91610bab604051938461039a565b82523d5f602084013e565b606090565b9796959396600260015414610d27576002600155335f52600360205260ff60405f20541615610cf357610c80610c428688610ca39b610c9a98610c3798610c9498610c3d8f610c37908b35610c16631dcd6500821115610d6c565b158015610cd1575b610c2790610dc2565b610c32878614610e06565b610e66565b90611277565b611496565b95610c5360208801518851906115a1565b610c606040880151611796565b610c6c610c378a610e9d565b606087019760808951980197885190611856565b610c8a8651611be9565b8551855190611c35565b94610ed7565b51905190611d75565b337fbddcc4ab73b8e971706360fbdcce2f609328e78217649695ee3ab811ab52d1625f80a36103c860018055565b50610c276001600160a01b03610ce960208f01610db8565b1615159050610c1e565b60405162461bcd60e51b815260206004820152600c60248201526b3737ba10309039b7b63b32b960a11b6044820152606490fd5b60405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606490fd5b15610d7357565b60405162461bcd60e51b815260206004820152601b60248201527f696e76616c696420737572706c7573206665652070657263656e7400000000006044820152606490fd5b356104558161012e565b15610dc957565b60405162461bcd60e51b81526020600482015260156024820152741d1c9a5b549958d95a5d995c881c995c5d5a5c9959605a1b6044820152606490fd5b15610e0d57565b60405162461bcd60e51b815260206004820152601d60248201527f746f6b656e732f707269636573206c656e677468206d69736d617463680000006044820152606490fd5b634e487b7160e01b5f52603260045260245ffd5b803590601e198136030182121561013f5701908135916001600160401b03831161013f576020018260051b3603811361013f579190565b602081013590601e198136030182121561013f5701908135916001600160401b03831161013f576020018260051b3603811361013f579190565b604081013590601e198136030182121561013f5701908135916001600160401b03831161013f576020018260051b3603811361013f579190565b634e487b7160e01b5f52601160045260245ffd5b908160011b918083046002149015171561077857565b908160021b918083046004149015171561077857565b8181029291811591840414171561077857565b60405190610f7182610349565b603882526040366020840137565b90610f89826103ca565b610f96604051918261039a565b8281528092610fa7601f19916103ca565b0190602036910137565b15610fb857565b60405162461bcd60e51b815260206004820152600c60248201526b7a65726f206164647265737360a01b6044820152606490fd5b9160209161100591959495604085526040850191610b5b565b931515910152565b7f000000000000000000000000000000000000000000000000000000000000000046146110da5760405160208101907f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f82527f29a88cbf27800a51814cac27ad93571452fc9b1eb4e86444a15d1961bc290ea760408201527f15124d26d1272f8d4d5266a24ca397811f414b8cd05a53b26b745f63af5ae2fc60608201524660808201523060a082015260a0815260c081018181106001600160401b038211176103155760405251902090565b7f000000000000000000000000000000000000000000000000000000000000000090565b5f1981019190821161077857565b9190820391821161077857565b90815181101561112a570160200190565b610e52565b5f919061116d61117b849360405192839160208301956343218e1960e01b875260018060a01b03166024840152604060448401526064830190610534565b03601f19810183528261039a565b519082305af15061118a610b8c565b600160f81b60ff60f81b6111b86111aa6111a485516110fe565b85611119565b516001600160f81b03191690565b16146111c482516110fe565b8252156111ce5790565b61122b565b906038036111f1578035916034602083013560601c92013560e01c90565b60405162461bcd60e51b815260206004820152601260248201527113dc99195c8e881a5b9d985b1a59081d5a5960721b6044820152606490fd5b602081519101fd5b1561123a57565b60405162461bcd60e51b81526020600482015260156024820152743337b93134b23232b71034b73a32b930b1ba34b7b760591b6044820152606490fd5b906001600160a01b037f00000000000000000000000000000000000000000000000000000000000000008116905f5b8381106112b4575050505050565b8060051b85013590605e198636030182121561013f5760019186016112f2856112eb6112df84610db8565b6001600160a01b031690565b1415611233565b6112fb81611ef6565b7fed99827efb37016f2275f98c4bcf71c7551c75d59e9b450f79fa32e60be672c28461132683610db8565b61135a61133285611f37565b602060405194859416960135839092916020906040830194835263ffffffff60e01b16910152565b0390a2016112a6565b60405190611370826102fa565b81608060609182815282602082015282604082015282808201520152565b6001600160401b0381116103155760051b60200190565b906113af8261138e565b6040906113bf604051918261039a565b83815280936113d0601f199161138e565b01915f5b8381106113e15750505050565b60209082516113ef8161031a565b60608082525f8491818385015281878501528301525f60808301525f60a08301525f60c08301525f60e08301528286010152016113d4565b919081101561112a5760051b810135906101fe198136030182121561013f570190565b1561145157565b60405162461bcd60e51b815260206004820152601d60248201527f747261646573206e6f74206f72646572656420627920746f546f6b656e0000006044820152606490fd5b95949095939192936114a6611363565b966114b08361209f565b956114ba846113a5565b60808a019081526114c9612140565b915f97895f995b888b1061152157509850505050505050505051608082015181528352602081015160a082015181526060840152604081015160c08201518152602084015260e0606082015191015181526040830152565b61155e8b89600194898b8f8f611555878c928e9461155060209d8e611547868686611427565b0135101561144a565b611427565b928d5196612298565b6115698b8a8c611427565b01359901988a906114d0565b80511561112a5760200190565b805182101561112a5760209160051b010190565b6040513d5f823e3d90fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316925f5b82518110156116c1576115e18184611582565b519060608201918251156116b757602081018051611621916112df91611614906001600160a01b03166124b3565b6124b3565b516001600160a01b031690565b81516001600160a01b03166040928301519091906001600160a01b0316945192893b1561013f575163052f523360e11b81526001600160a01b039182166004820152918116602483015293909316604484015260648301525f82608481838a5af19182156116b257600192611699575b505b016115ce565b806116a66116ac92610336565b80610183565b5f611691565b611596565b5060019150611693565b509190505f5b8151811015611790576116da8183611582565b5190604080830192835115611785576117176117096112df6020840161161461160f825160018060a01b031690565b91516001600160a01b031690565b935193873b1561013f57915163052f523360e11b81526001600160a01b0391821660048201529116602482015230604482015260648101929092525f8260848183895af19182156116b257600192611772575b505b016116c7565b806116a661177f92610336565b5f61176a565b50506001915061176c565b50509050565b905f5b82518110156117f157806117af60019285611582565b5160608101908151156117ea576117e491848060a01b036117d2818451166124b3565b6020818451169301511690519161255f565b01611799565b50506117e4565b509050565b906001820180921161077857565b9190820180921161077857565b9081602091031261013f575190565b9061182a8261138e565b611837604051918261039a565b8281528092610fa7601f199161138e565b5f1981146107785760010190565b9291938151948515611be157606094611882606061187386611575565b5101516001600160a01b031690565b60a09560a061189087611575565b510151986001995b818b108a8c82611bb9575b5050156118cc576118c46001918a6118bb8e8c611582565b51015190611804565b9a0199611898565b9294969899979091939599828914611afe576118f06118eb8a8561110c565b6117f6565b9361191f61190661190087611820565b96611820565b9761191087611575565b6001600160a01b039091169052565b61192887611575565b526001985b8a848210611a2a5750505050505f5b86811061194d575050505050505050565b61195a6116148284611582565b906119658186611582565b516001600160a01b0383169273eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee84036119c3576001935047915b8083106119a4575b5050500161193c565b6119bb926119b19161110c565b90868a8d8b61269c565b5f808061199b565b6040516370a0823160e01b81523060048201526020948590829060249082905afa9081156116b2576001955f926119fd575b505091611993565b611a1c9250803d10611a23575b611a14818361039a565b810190611811565b5f806119f5565b503d611a0a565b8261187383611a3893611582565b8a908c906001600160a01b0381165f89855b8210611ac4575b5050508c8314611a93575b5090611a8c611a8586611a728660019796611582565b510151611a7f848d611582565b51611804565b918a611582565b520161192d565b928c8694611aa48395949f8b611582565b6001600160a01b039091169052611aba90611848565b9c91929350611a5c565b91611adc6112df6112df611614858598999697611582565b14611af05750600101908e9291898f611a4a565b9293509050915f8089611a51565b50919794965092949193919250506001600160a01b03841673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee8103611b65575047955b808710611b46575b50505050505050565b611b5996611b539161110c565b9461269c565b5f808080808080611b3d565b6040516370a0823160e01b815230600482015290602090829060249082905afa9081156116b2575f91611b9a575b5095611b35565b611bb3915060203d602011611a2357611a14818361039a565b5f611b93565b611bcc9250906118736112df928c611582565b6001600160a01b038581169116148a8c6118a3565b509350505050565b905f5b82518110156117f15780611c0260019285611582565b5160408101518015611c2e57611c2891848060a01b03806020830151169151169061255f565b01611bec565b5050611c28565b929192611c428151611820565b938251908251158015611d51575b611d4b576001937fa22590d89a282e4a4cb338bbac16a503583641111dac8ed65da19c682b55daab6001815c01905d611c90611c8b84610f25565b611820565b935f94865f5b868110611cd45750505f5b868110611cb2575050505050505050565b8790611cce878c888888611cc9611614888b611582565b612bcd565b01611ca1565b611ce360606118738388611582565b611cec81612b6d565b611d35575b50611d0160406118738388611582565b611d0a81612b6d565b611d18575b50018790611c96565b611d2f90611910611d288b611848565b9a86611582565b5f611d0f565b611d4590611910611d288b611848565b5f611cf1565b50505050565b508115611c50565b6104559392606092825260208201528160408201520190610534565b9190915f5b8151811015611d4b57611d8d8183611582565b5160e00151611d9c8284611582565b51602001516001600160a01b031660409182611db88587611582565b5101516001600160a01b031692611dcf8587611582565b51606001516001600160a01b0316611de78688611582565b51608001519282611df8828c611582565b51015190611e06908a611582565b51611e1091611804565b92611e1b8789611582565b515192516001600160a01b03928316968316959092169391928392611e409284611d59565b037fd65443291bb59863c3ddfe64892356e9f0c3888a4c99efd97df5c028cb5db26791a4600101611d7a565b6002546001600160a01b03163303611e8057565b606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b903590601e198136030182121561013f57018035906001600160401b03821161013f5760200191813603831361013f57565b5f602081928035611f068161012e565b611f136040830183611ec4565b939092846040519481860160405285370135905af115611f2f57565b3d5f803e3d5ffd5b906004611f495f936040810190611ec4565b9190911015611f555750565b359150565b90611f648261138e565b604090611f74604051918261039a565b8381528093611f85601f199161138e565b01915f5b838110611f965750505050565b6020908251611fa481610349565b5f8152825f818301525f85830152828601015201611f89565b90611fc78261138e565b604090611fd7604051918261039a565b8381528093611fe8601f199161138e565b01915f5b838110611ff95750505050565b602090825161200781610364565b5f8152825f818301525f858301525f6060830152828601015201611fec565b60405190612033826102fa565b5f6080838281528260208201528260408201528260608201520152565b9061205a8261138e565b612067604051918261039a565b8281528092612078601f199161138e565b01905f5b82811061208857505050565b602090612093612026565b8282850101520161207c565b90604051916120ad8361031a565b6060835260208301606081526040840190606082526060850192606084525f60808701525f60a08701525f60c08701525f60e0870152856120ed82611f5a565b905260058102918115928281046005148417156107785761210d90611f5a565b90528060021b9181830460041417156107785761213c9261213061213793611fbd565b9052610f3b565b612050565b9052565b6040519061214d82610364565b60405161016081018181106001600160401b03821117610315576040525f81525f60208201525f60408201525f60608201525f60808201525f60a08201525f60c08201525f60e08201525f6101008201525f610120820152606061014082015282526020820191606083525f60408201525f60608201529161213c610f64565b156121d457565b60405162461bcd60e51b81526020600482015260116024820152701bdc99195c881a5b9d985b1a59185d1959607a1b6044820152606490fd5b1561221457565b60405162461bcd60e51b815260206004820152600c60248201526b1bdc99195c88199a5b1b195960a21b6044820152606490fd5b1561224f57565b60405162461bcd60e51b815260206004820152601b60248201527f746f546f6b656e416d6f756e74206e6f742072657370656374656400000000006044820152606490fd5b0390fd5b84809394926122ad929a999a989798896130fe565b8551926122b99361342c565b919093805191608083015191829161014080950151906101a00192836122de9261379d565b9687516122eb908561110c565b956122f69187613af8565b9381510151918660808901938287865161230f90151590565b9161231993613b64565b936123278a83858988613c11565b51151590612336928785613e6d565b60209182820190815161234890610490565b54856123575f198314156121cd565b61236091611804565b8351608001518111156123729061220d565b825161237d90610490565b556040830180518451519a860151919a6001600160a01b03918216929116906123a6908861110c565b906123b1928b614020565b60a088015160608401519098906001600160a01b031684518601516001600160a01b03166123df848a61110c565b916123e993614071565b6123f3908661110c565b825160a00151111561240490612248565b5196604051809884820161241791610479565b03601f1981018952612429908961039a565b516001600160a01b03169051805190919083906001600160a01b03169201516001600160a01b03169261245a6103bb565b9889526001600160a01b03909116908801526001600160a01b031660408701526001600160a01b03166060860152608085015260a084015260c083015260e08201526124a68284611582565b526124b091611582565b50565b6001600160a01b031673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee146124d857565b60405162461bcd60e51b815260206004820152601a60248201527f63616e6e6f74207472616e73666572206e6174697665204554480000000000006044820152606490fd5b1561252457565b60405162461bcd60e51b8152602060048201526013602482015272115512081d1c985b9cd9995c8819985a5b1959606a1b6044820152606490fd5b8215612654576001600160a01b0390811673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee81036125a65750505f80806103c89481945af16125a0610b8c565b5061251d565b5f80612626946103c89660405195602087019263a9059cbb60e01b84521660248701526044860152604485526125db85610364565b604051946125e88661037f565b602086527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65646020870152519082855af1612620610b8c565b91614bc0565b805190811591821561263a575b5050614591565b61264d925060208091830101910161457c565b5f80612633565b505050565b1561266057565b634e487b7160e01b5f52600160045260245ffd5b909261268d606093969594608084526080840190610534565b95602083015260408201520152565b94939190948551946126ad86611820565b6126b687611820565b906126c088611820565b925f9081808a89898f8f5b8510612a8257505050505081116129ff5780939293915f5b8c8c82106129315750505050805b6127d1575050505f5b86811061270b575050505050505050565b8061271860019284611582565b5187868b8484156127c75761276d6101406127a76127bd937f06a90a58a0537157735f3daafad32f14398feec4680f0c032ca6659590e161b6978d604095869160e0612764868c611582565b51015190611582565b510161277a8b825161110c565b90526127a16127988360a061278f828c611582565b51015199611582565b51519a8861110c565b97611427565b013590519384938d8a8060a01b03169785612674565b0390a25b016126fa565b50505050506127c1565b9197985f9a919593979a9694969a5f5b8b81106128f957506127f48c1515612659565b839584955f955b8d8710806128f0575b156128ce5789908f8d908f8c9061281b8c87611582565b51156128bf57612841612896959361289c97959361283a8f8095611582565b5190613af8565b9361284c8282611582565b5185116128ab575b50508183116128a2575b6128768b61287085611a7f8386611582565b92611582565b528c6128908b6128708561288a8386611582565b5161110c565b5261110c565b96611848565b956127fb565b9150809161285e565b6128b6929450611582565b51918a8e612854565b505050509661289c9150611848565b939c9b949d5097945097955097936128e882918210612659565b9291926126f1565b50801515612804565b6129038189611582565b51612911575b6001016127e1565b9b6129296001916129228f8e611582565b5190611804565b9c9050612909565b6112df606061187384612946949a999a611582565b6001600160a01b038b81169116036129f7575f84612991575b9061297c82600193612971848c611582565b5261288a838a611582565b6129868289611582565b525b019493946126e3565b506129a7826129a08388611582565b5185613af8565b936129b28288611582565b5185116129e4575b8085116129dc575b9061297c6129d28660019461110c565b959192505061295f565b9350836129c2565b93506129f08187611582565b51936129ba565b600190612988565b11612a495760405162461bcd60e51b815260206004820152601b60248201527f746f546f6b656e416d6f756e74206e6f742072657370656374656400000000006044820152606490fd5b60405162461bcd60e51b81526020600482015260116024820152701d1a1c995cda1bdb19081b9bdd081b595d607a1b6044820152606490fd5b8d612a996112df606061187389869d999a9d611582565b6001600160a01b03918216911603612b605791878096949281969460a0948c86612ac38685611582565b510151612ad1868a89611427565b6101400135612adf916140ff565b612aeb819b8293611582565b52612af591611804565b9a612aff91611582565b5160e00151612b0d91611582565b516040015193612b1c92611427565b0135612b279161110c565b600192612b4b929180821015612b585750905b81612b45868b611582565b52611804565b915b018a89898f8f6126cb565b905090612b3a565b5050509360019150612b4d565b7fa22590d89a282e4a4cb338bbac16a503583641111dac8ed65da19c682b55daab90815c915f5260205260405f2081815c145f14612bab5750505f90565b5d600190565b929190612bc8602091604086526040860190610534565b930152565b9294929392916001600160a01b03851673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee036130685747935b8415611b3d57612c08612026565b945f5b858110612f9557508551158015612f89575b612f7f575f5b858110612cbd57505050505050604090833580612c5e575b5001519081612c4957505050565b612c5860206103c89401610db8565b9061255f565b612c6a60208601610db8565b83830151845192835260208301528584013560408301526001600160a01b0390811691908516907fc9f4d19c8ac046a3a12343782e2e80055bdc4bac7ae4b036a6f0ac1078a1c85790606090a35f612c3b565b6001906001600160a01b038916612cdd6112df806040611873868b611582565b14612e63575b886060838060a01b038216612d026112df6112df84611873888d611582565b14612d10575b505001612c23565b60e0906040612d2c83612d23878c611582565b5101518b611582565b51015180612d3c575b5050612d08565b60808c01612d4a8151611848565b80915260208d0151145f14612e515750612d67818c01518761110c565b905b8b01612d76828251611804565b905280612d84575b80612d35565b612d90908d35906141f2565b612da260408d94939401918251611804565b9052612dae8489611582565b51015190612dcd612dbf838b611582565b51516001600160a01b031690565b91612de6612ddf83611a7f848c611582565b9189611582565b528015612d7e5780612e1a7f5dbb2734760ca87f88f85ddae0e69ff340c5ac48e4315b17e8a9b24c75251c4d92848661255f565b612e24858a611582565b515192612e46604051928392898060a01b031696898060a01b03169583612bb1565b0390a3885f80612d7e565b8b51612e5d918861416c565b90612d69565b60c0612e6f8287611582565b51015180612e7e575b50612ce3565b6080890190612e8d8251611848565b809252602091828b0151145f14612f6e5750612ead60608a01518561110c565b60608a01612ebc828251611804565b905280612eca575b50612e78565b612ed6908c35906141f2565b612ee860408c94939401918251611804565b90528115612ec457612f0882612f0283611873878c611582565b8d61255f565b7f3e41ecc1db67fa019fbdb227cfb7872d3b8b4c2aefa07717335ec5100111ce47612f338489611582565b515191612f4a868060a01b0391611873878c611582565b16928c612f64604051928392898060a01b03169583612bb1565b0390a35f80612ec4565b8951612f7a918661416c565b612ead565b5050505050505050565b50602086015115612c1d565b60019060406001600160a01b038a16612fb66112df8084611873878c611582565b1461302a575b828060a01b038a16612fd96112df6112df6060611873878c611582565b14612fe6575b5001612c0b565b612ffe60e0612ff58489611582565b51015188611582565b5101518015612fdf57613012908951611804565b8852602088016130228151611848565b90525f612fdf565b60c06130368388611582565b51015180613045575b50612fbc565b613050908a51611804565b8952602089016130608151611848565b90525f61303f565b6040516370a0823160e01b81523060048201526020816024816001600160a01b038a165afa9081156116b2575f916130a2575b5093612bfa565b6130bb915060203d602011611a2357611a14818361039a565b5f61309b565b156130c857565b60405162461bcd60e51b815260206004820152600e60248201526d0deeedccae440dad2e6dac2e8c6d60931b6044820152606490fd5b9161323d613277916132636103c89661315b61314b61312e6060988a519661314061313361312e8835848661338e565b610db8565b6001600160a01b03168952565b60208601359161338e565b6001600160a01b03166020850152565b613178613169878301610db8565b6001600160a01b031684880152565b6080810135608084015260a081013560a084015261325061319b60c08301614211565b63ffffffff1660c085019081529160e081013560e08601526132296131c260408301610db8565b6001600160a01b031660408701908152916131ea6131e4610160830183614222565b906145f0565b6101408801526132226101009161321461320684830135614652565b9015156101208d0152949091565b8a0152610180810190611ec4565b9188614275565b91519196879391926001600160a01b031690565b6001600160a01b038481169116146130c1565b6020890151925163ffffffff169261444b565b6001600160a01b03821660408601526144ad565b6001600160a01b0316910152565b1561328c57565b60405162461bcd60e51b815260206004820152600d60248201526c1bdc99195c88195e1c1a5c9959609a1b6044820152606490fd5b156132c857565b60405162461bcd60e51b815260206004820152600f60248201526e073616d6520746f6b656e207377617608c1b6044820152606490fd5b1561330657565b60405162461bcd60e51b81526020600482015260146024820152731e995c9bc8199c9bdb551bdad95b905b5bdd5b9d60621b6044820152606490fd5b1561334957565b60405162461bcd60e51b815260206004820152601960248201527f696e76616c6964207468726573686f6c642070657263656e74000000000000006044820152606490fd5b919081101561112a5760051b0190565b156133a557565b60405162461bcd60e51b81526020600482015260136024820152727a65726f20636c656172696e6720707269636560681b6044820152606490fd5b156133e757565b60405162461bcd60e51b815260206004820152601960248201527f6c696d6974207072696365206e6f7420726573706563746564000000000000006044820152606490fd5b6135036020959360a06134fb6134df6103c89661346261345360c089015163ffffffff1690565b63ffffffff4291161015613285565b86516134a19061347a906001600160a01b03166112df565b888d0151613492906112df906001600160a01b031681565b90600180881b031614156132c1565b60808701946134b2865115156132ff565b6134c7633b9aca006101408d01351115613342565b6134d38b35828461338e565b359b8c9b01359161338e565b359788938115158061350a575b6134f59061339e565b51610f51565b930151610f51565b11156133e0565b508415156134ec565b1561351a57565b60405162461bcd60e51b815260206004820152601960248201527f746f6f206d616e7920636f6d6d697373696f6e20696e666f73000000000000006044820152606490fd5b1561356657565b60405162461bcd60e51b815260206004820152601c60248201527f696e76616c696420636f6d6d697373696f6e20646972656374696f6e000000006044820152606490fd5b156135b257565b60405162461bcd60e51b81526020600482015260126024820152711e995c9bc8199959481c9958da5c1a595b9d60721b6044820152606490fd5b156135f357565b60405162461bcd60e51b815260206004820152601b60248201527f636f6d6d697373696f6e2070657263656e7420746f6f206869676800000000006044820152606490fd5b1561363f57565b60405162461bcd60e51b815260206004820152601b60248201527f6d6978656420636f6d6d697373696f6e20646972656374696f6e7300000000006044820152606490fd5b1561368b57565b60405162461bcd60e51b81526020600482015260116024820152706d69786564206973546f4220666c61677360781b6044820152606490fd5b156136cb57565b60405162461bcd60e51b815260206004820152601060248201526f3d32b9379039b7b63b32b91030b2323960811b6044820152606490fd5b1561370a57565b60405162461bcd60e51b815260206004820152602660248201527f736f6c7665722f726566657272616c2066656520646972656374696f6e206d696044820152650e6dac2e8c6d60d31b6064820152608490fd5b1561376557565b60405162461bcd60e51b815260206004820152601060248201526f66656573206578636565642066726f6d60801b6044820152606490fd5b90916137a7612026565b906137b6600384511115613513565b5f925f955f955f905f985f5b8551811015613918576137e26137d88288611582565b51998a5190611804565b60408a01519099600160fd1b82161591600160fe1b8116151591600160ff1b90911615801591908280613911575b15806138f9575b613821915061355f565b80516138db575b51918215159081613892575b50906001949392918161388a575b50613850575b5050016137c2565b61385a908a6144c8565b90613866828c51611804565b8b52613873575b80613848565b61388260208b01918251611804565b90525f61386d565b90505f613842565b829891986138d2575b6138c9575b836138b9575090600193929184975b9091929394613834565b969d50906001939291849e6138af565b60019d506138a0565b6001965061389b565b60208101516138f4906001600160a01b031615156135ab565b613828565b50829061390a575b61382190613817565b5082613901565b5083613810565b5092979093506103c89661395b836139be9497989b61393d6301c9c3808511156135ec565b8680613add575b61394e9015613638565b81613ad5575b5015613684565b61396b604096878c019015159052565b84359384151592839283613ac2575b8c85613ab0575b6060613991910195869015159052565b8380613a9d575b8d85613a8b575b60806139af910195869015159052565b613a13575b5050505051151590565b6139cf575b5050508351111561375e565b6139d990846144c8565b916139e5838851611804565b87520135600160fd1b16156139fc575b80806139c3565b613a0b60208601918251611804565b90525f6139f5565b613a326001600160a01b03613a2a60208b01610db8565b1615156136c4565b613a3d575b806139b4565b613a559282613a79575b8215613a5d575b5050613703565b5f8080613a37565b90915081613a6e575b505f80613a4e565b51151590505f613a66565b9150613a858451151590565b91613a47565b898b0135600160ff1b1615955061399f565b888a0135600160fe1b1615159450613998565b888a0135600160fe1b16159550613981565b87890135600160ff1b161515945061397a565b90505f613954565b5084613944565b634e487b7160e01b5f52601260045260245ffd5b9190613b0582828561416c565b928215613b225709613b145790565b600181018091116107785790565b613ae4565b15613b2e57565b60405162461bcd60e51b815260206004820152600e60248201526d666565732065786365656420746f60901b6044820152606490fd5b5f949091855b8351871015613bda57600160fe1b6040613b848987611582565b51015116158015613bc7575b613bbe57613ba9613ba18886611582565b5151866144c8565b810180911161077857600190965b0195613b6a565b95600190613bb7565b50613bd28785611582565b515115613b90565b9550915092613bf1575b506103c890831115613b27565b6103c89193613c04613c0a9235866144c8565b90611804565b9290613be4565b80516101408101519051929693956001600160a01b039384169594919286929091905f5b8551811015613d955760019085898b898f898d6040928960ff1b84613c5a8b88611582565b51015116158015613d82575b613d7557613c8090613c788a87611582565b5151906144c8565b947f02b4603e6be0c4002f11c4445116c51a20adeecb33e1434306ec55378f75a0996020809401519286613ce58c8a89613cd4613ccb84613cc58d611873838b611582565b97611582565b5151938d611582565b510151918a51958695169885612674565b0390a38315613d6a57868b613cfc848d0151151590565b15613d3a5750613d349691611873613d149286611582565b91613d2b88613d238187611582565b515195611582565b51015194614530565b01613c35565b9290920151613d65969495506001600160a01b03169392613d5e9261187391611582565b918d6144e7565b613d34565b505050505050613d34565b5050505050505050613d34565b50613d8d8986611582565b515115613c66565b5098949197969593506060613dab910151151590565b613db85750505050505050565b613dc4863580956144c8565b946020880151907fc6d99ee7574d9d88cc700f01e1ecbcc9cfed97d50310b48abc3a6dfde3ae2dc060208901936040613dfc86610db8565b9a013599613e148b8b8b604051958695169885612674565b0390a38415611b3d57600160fd1b861615613e3d57611b599650613e3790610db8565b91614530565b919394509150613e62613e5c6040613e6897015160018060a01b031690565b91610db8565b926144e7565b611b59565b80516101408101516020918201516001600160a01b03989196939590891694859290915f5b8951811015613f84576001908a8a888f888a9160408860fe1b81613eb68a8a611582565b51015116158015613f71575b613f6557613f33613f0a86613efc7f02b4603e6be0c4002f11c4445116c51a20adeecb33e1434306ec55378f75a09996613c788d8d611582565b980151966118738b8b611582565b9187613f168b8b611582565b515182613f238d8d611582565b5101519251958695169885612674565b0390a38a838a8315613f5b57611873613f4f92613f5596611582565b8b614071565b01613e92565b5050505050613f55565b50505050505050613f55565b50613f7c8888611582565b515115613ec2565b5094959697509890919297613f9d575050505050505050565b7fc6d99ee7574d9d88cc700f01e1ecbcc9cfed97d50310b48abc3a6dfde3ae2dc091613ff389613fcf873580946144c8565b9901519986019989613fe08c610db8565b9360408051968796169901359285612674565b0390a382614005575b80808080612f7f565b61401161401794610db8565b90614071565b5f808080613ffc565b90926124b0936040519361403385610349565b6001600160a01b0391821685521660208401526040830152805160809091018051929061405f84611848565b905261406b8383611582565b52611582565b90926124b0936040519361408485610349565b60018060a01b038092168552166020840152604083015260a0602082015191019182519261405f84611848565b8115613b22570490565b156140c257565b60405162461bcd60e51b81526020600482015260156024820152744d6174683a206d756c446976206f766572666c6f7760581b6044820152606490fd5b5f198282098282029182808310920391808303921461415f577f88f2cfb83100cb4e69e7c79c58b316e597157d372fb9787e8e47ce423a2e9c6d93633b9aca009161414b8484116140bb565b0990828211900360f71b910360091c170290565b5050633b9aca0091500490565b90915f1983830992808302928380861095039480860395146141e5579082916141968684116140bb565b0960018219018216809204600280826003021880830282030280830282030280830282030280830282030280830282030280920290030293600183805f03040190848311900302920304170290565b50509061045592506140b1565b90614202633b9aca009183610f51565b04908181039081116107785791565b3563ffffffff8116810361013f5790565b903590601e198136030182121561013f57018035906001600160401b03821161013f5760200191606082023603831361013f57565b6004111561426157565b634e487b7160e01b5f52602160045260245ffd5b9160426142fb939594929561428861100d565b815190919061429f906001600160a01b03166112df565b60208201519091906143be906142bd906001600160a01b03166112df565b604083015161116d906001600160a01b031660608501519094906001600160a01b031690608081015160a082015160c083019d8e5163ffffffff1690565b60e0840151916101008501519361432461014061431c610120890151151590565b970151614962565b966040519b8c9a60208c019e8f80999795939c9b9a989694919c61018082019d7fc70e289c8e7a87f3aeb5bfa5b860828276fa66d7f73bc34926b2e0383bfab5748352600160a01b600190039485938480931690602001521660408c01521660608a015216608088015260a087015260c086015263ffffffff1660e085015261010084015261012083015215156101408201526101600152565b5190206040519183830160405261190160f01b83526002830152602282015220946143e881614257565b806143f95750610455925084614ae4565b61440281614257565b6001810361441657506104559250846148eb565b80614422600292614257565b036144325761045592508461484c565b90614444610455935163ffffffff1690565b9185614715565b909291603882510361446857602092603883015260348201520152565b60405162461bcd60e51b815260206004820152601a60248201527f4f726465723a2075696420627566666572206f766572666c6f770000000000006044820152606490fd5b606001516001600160a01b0316806144c3575090565b905090565b81156144e157633b9aca00916144dd91610f51565b0490565b50505f90565b916124b0949193604051946144fb86610364565b60018060a01b0392838092168752166020860152166040840152606083015260c0604082015191019182519261405f84611848565b926124b09592949160405195614545876102fa565b60018060a01b03809216875216602086015260408501526060840152608083015260e0606082015191019182519261405f84611848565b9081602091031261013f57516104558161090b565b1561459857565b60405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608490fd5b916145fe6003831115613513565b6040519160209360208260071b8501016040528184526005908260051b8501915f5b848110614631575050505050909150565b60019060608082028a8188010190818c85881b8d0101528601903701614620565b600181166146d7577f39124995febcd74fadbdf9bbad44826dab79bc9478b4965fd0d2381c0d649b2c9160028216614692575f9160051c61045581614257565b60405162461bcd60e51b815260206004820152601a60248201527f7061727469616c2066696c6c206e6f7420737570706f727465640000000000006044820152606490fd5b60405162461bcd60e51b81526020600482015260166024820152751bdb9b1e48195e1858dd125b881cdd5c1c1bdc9d195960521b6044820152606490fd5b92939291601319016147a2577f26cef0249cc767b3c21945b2779e1c35f139ab0e0f59dec08842c20f717c448a9161088b61475f923560601c9586614758610f64565b938461444b565b540361476757565b60405162461bcd60e51b81526020600482015260136024820152721bdc99195c881b9bdd081c1c995cda59db9959606a1b6044820152606490fd5b60405162461bcd60e51b81526020600482015260166024820152756d616c666f726d6564207072657369676e617475726560501b6044820152606490fd5b9081602091031261013f57516001600160e01b03198116810361013f5790565b1561480757565b60405162461bcd60e51b815260206004820152601960248201527f696e76616c69642065697031323731207369676e6174757265000000000000006044820152606490fd5b813560601c9392916014831061013f57614895926020916040519485928392630b135d3f60e11b9687855260048501526040602485015260146044850192601319019101610b5b565b0381875afa80156116b2576103c8925f916148bc575b506001600160e01b03191614614800565b6148de915060203d6020116148e4575b6148d6818361039a565b8101906147e0565b5f6148ab565b503d6148cc565b90610455929160405160208101917f19457468657265756d205369676e6564204d6573736167653a0a3332000000008352603c820152603c815261492e81610349565b519020614ae4565b80516020809201915f5b82811061494e575050505090565b835185529381019392810192600101614940565b80519161496e8361138e565b9061498a604094614982604051948561039a565b80845261138e565b92602091601f198095013660208601375f5b8251811015614a1e57806149b260019285611582565b5180519089848060a01b0388830151169101518a5191888301937f383c49be8b10b90a55f1289bd1243f7250baff231facaad7e486d2391903bf5a85528c8401526060830152608090818301528152614a0a816102fa565b519020614a178288611582565b520161499c565b509450505090614a466040519182614a3a602082018096614936565b0390810183528261039a565b51902090565b15614a5357565b60405162461bcd60e51b815260206004820152601960248201527f696e76616c6964207369676e617475726520732076616c7565000000000000006044820152606490fd5b15614a9f57565b60405162461bcd60e51b815260206004820152601760248201527f696e76616c6964206563647361207369676e61747572650000000000000000006044820152606490fd5b9091604103614b7b57815f91614b56602080950135614b257f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0821115614a4c565b6040519384936040823592013560f81c90859094939260ff6060936080840197845216602083015260408201520152565b838052039060015afa156116b2575f51906103c86001600160a01b0383161515614a98565b60405162461bcd60e51b815260206004820152601960248201527f6d616c666f726d6564206563647361207369676e6174757265000000000000006044820152606490fd5b91929015614c225750815115614bd4575090565b3b15614bdd5790565b60405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606490fd5b825190915015614c355750805190602001fd5b60405162461bcd60e51b8152908190612294906004830161055956fea264697066735822122024ace53c249472874991aa562d0a7cb021bc95c24e340c16e6d7a8ccbd5eb51d64736f6c63430008180033","sourceMap":"714:36129:7:-:0;;;;;;;;;-1:-1:-1;714:36129:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;-1:-1:-1;;;;;714:36129:7;;;;;:::o;:::-;;;;;;;;;;-1:-1:-1;;714:36129:7;;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;714:36129:7;4220:7;714:36129;;;;;-1:-1:-1;714:36129:7;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;-1:-1:-1;;714:36129:7;;;;;;1374:42;-1:-1:-1;;;;;714:36129:7;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;714:36129:7;;;;;;;;;;;;;;;:::o;:::-;;;;;;-1:-1:-1;;714:36129:7;;;;;;-1:-1:-1;;;;;714:36129:7;;;;;;;;;;;:::i;:::-;7064:32;;;;;:::i;:::-;-1:-1:-1;;;;;;714:36129:7;;7128:10;-1:-1:-1;7128:10:7;7114:24;;714:36129;;7235:38;714:36129;7178:42;714:36129;;;;;;;;;;;;;;;;;;7203:17;;714:36129;;;7178:42;7235:38;714:36129;;7235:38;;;;;:::i;:::-;;;;714:36129;;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;714:36129:7;;;;;;;:::o;:::-;;:::i;:::-;;;;;;;-1:-1:-1;;;;;714:36129:7;;;;;;;:::o;:::-;-1:-1:-1;;;;;714:36129:7;;;;;;:::o;:::-;;;;;;;-1:-1:-1;;;;;714:36129:7;;;;;;;:::o;:::-;517:1:11;714:36129:7;;;;;-1:-1:-1;;;;;714:36129:7;;;;;;;:::o;:::-;;;;;;;-1:-1:-1;;;;;714:36129:7;;;;;;;:::o;:::-;;;;;;;;;;;;;-1:-1:-1;;;;;714:36129:7;;;;;;;:::o;:::-;;;;;;;:::i;:::-;:::o;:::-;-1:-1:-1;;;;;714:36129:7;;;;;;-1:-1:-1;;714:36129:7;;;;:::o;:::-;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;-1:-1:-1;714:36129:7;;;;;;;;;;;;;;:::o;:::-;;-1:-1:-1;;714:36129:7;;;;;;;;-1:-1:-1;;;;;714:36129:7;;;;;;;;;:::i;:::-;;:::o;:::-;;;;;;;;-1:-1:-1;;714:36129:7;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;:::i;:::-;;;-1:-1:-1;714:36129:7;;;;;;;:::o;:::-;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;714:36129:7;;;;;;;;;;:::i;:::-;;;;;-1:-1:-1;;;;;714:36129:7;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;:::i;:::-;;;-1:-1:-1;;714:36129:7;;;;:::o;:::-;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;714:36129:7;;;;:::i;:::-;3936:44:19;;;;;;;;;;;:::i;:::-;714:36129:7;4001:35:19;;714:36129:7;;4001:35:19;;3936:44;714:36129:7;4001:35:19;;;714:36129:7;;;;;;;;;:::i;:::-;;;;;;;;3936:44:19;714:36129:7;;;4001:35:19;714:36129:7;4001:35:19;;;;;;;:::i;:::-;4173:93;;;714:36129:7;;;;;;;;;;;;;-1:-1:-1;;;;;714:36129:7;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;:::o;:::-;;;;;;;;;;;:::o;:::-;;;;;;-1:-1:-1;;714:36129:7;;;;-1:-1:-1;;;;;714:36129:7;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;4881:2082;714:36129;;;;;;:::i;:::-;;;;;:::i;:::-;;;;4881:2082;:::i;714:36129::-;;;;;;-1:-1:-1;;714:36129:7;;;;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;-1:-1:-1;;714:36129:7;;;;;;;;;;;;;;;;;;;;;;;;1728:22:19;;;:::i;:::-;1765:17;-1:-1:-1;1784:14:19;;;;;;714:36129:7;;;;;;;:::i;1800:7:19:-;1883:165;;;;;;;;;;;;714:36129:7;;1765:17:19;;714:36129:7;;:::i;:::-;;;;;;-1:-1:-1;;714:36129:7;;;;1063:62:0;;:::i;:::-;2518:6;714:36129:7;;-1:-1:-1;;;;;;714:36129:7;;;;;;;-1:-1:-1;;;;;714:36129:7;2566:40:0;714:36129:7;;2566:40:0;714:36129:7;;;;;;;-1:-1:-1;;714:36129:7;;;;1273:6:0;714:36129:7;;;-1:-1:-1;;;;;714:36129:7;;;;;;;;;;;;;;-1:-1:-1;;714:36129:7;;;;4736:21;714:36129;;;;;;:::i;:::-;1063:62:0;;:::i;:::-;-1:-1:-1;;;;;714:36129:7;4643:45;4651:20;;;4643:45;:::i;:::-;714:36129;-1:-1:-1;714:36129:7;4698:7;714:36129;;;-1:-1:-1;714:36129:7;;;;;;;;;;;;;4736:21;714:36129;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;-1:-1:-1;;714:36129:7;;;;4477:19;714:36129;;;;;;:::i;:::-;1063:62:0;;:::i;:::-;-1:-1:-1;;;;;714:36129:7;4385:45;4393:20;;;4385:45;:::i;:::-;714:36129;-1:-1:-1;714:36129:7;4440:7;714:36129;;;-1:-1:-1;714:36129:7;4458:4;714:36129;;;;;;;;;;;;;4477:19;714:36129;;;;;;;;:::o;:::-;;;;;;-1:-1:-1;;714:36129:7;;;;;;-1:-1:-1;;;;;714:36129:7;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;3492:32:18;;;;:::i;:::-;-1:-1:-1;;;;;;714:36129:7;;3551:10:18;-1:-1:-1;3551:10:18;3542:19;;714:36129:7;;3739:37:18;3596:129;3739:37;3596:129;;;;;3622:35;714:36129:7;;;;:::i;:::-;1328:35:18;714:36129:7;;;3622:35:18;714:36129:7;;3739:37:18;;;;;:::i;3596:129::-;3713:1;714:36129:7;;;;:::i;:::-;;3596:129:18;;714:36129:7;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;;;-1:-1:-1;;714:36129:7;;;;;;;;;:::i;:::-;1063:62:0;;:::i;:::-;-1:-1:-1;;;;;714:36129:7;;;;2162:22:0;;714:36129:7;;2518:6:0;714:36129:7;;;;;;;;2518:6:0;714:36129:7;;2566:40:0;-1:-1:-1;2566:40:0;;714:36129:7;;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;;;;;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;;;-1:-1:-1;;714:36129:7;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;:::i;:::-;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;3713:1:18;714:36129:7;;;;;;;:::o;:::-;;;;;;;;;;;;;-1:-1:-1;714:36129:7;;;;;;;;-1:-1:-1;;714:36129:7;;;;:::o;:::-;;;;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;-1:-1:-1;714:36129:7;;;;:::o;:::-;;;:::o;2372:445:17:-;;;;;;1906:1;2485:7;714:36129:7;2485:19:17;1906:1;;;2485:7;714:36129:7;3921:10;-1:-1:-1;714:36129:7;3913:7;714:36129;;;;-1:-1:-1;714:36129:7;;;;;;6315:6;5688:52;714:36129;;6900:7;714:36129;6777:15;714:36129;6777:15;714:36129;6613:83;714:36129;5571:15;714:36129;5571:15;714:36129;;;5210:72;5247:3;5218:32;;;5210:72;:::i;:::-;5300:30;:75;;;;2372:445:17;5292:109:7;;;:::i;:::-;5411:80;5419:38;;;5411:80;:::i;:::-;5571:15;:::i;:::-;;;:::i;:::-;5688:52;:::i;:::-;5840:31;5873:18;714:36129;5840:31;;;5873:18;;;;:::i;:::-;6003:31;714:36129;6003:31;;;;:::i;:::-;6115:15;;;;:::i;:::-;6275:19;;;;6296:17;6275:19;;6296:17;;;;;6315:6;;:::i;:::-;6422:19;;;;:::i;:::-;6641;;6662:17;;6613:83;;:::i;:::-;6777:15;;:::i;:::-;6860:17;6879:19;;6900:7;;:::i;:::-;3921:10;6924:32;-1:-1:-1;6924:32:7;;2788:22:17;2485:7;714:36129:7;;;5300:75;-1:-1:-1;5292:109:7;-1:-1:-1;;;;;5334:27:7;714:36129;5334:27;;;:::i;:::-;714:36129;5334:41;;5300:75;;;;714:36129;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;;-1:-1:-1;;;714:36129:7;;;;;;;1906:1:17;714:36129:7;;-1:-1:-1;;;1906:1:17;;;;;;;;;;;714:36129:7;1906:1:17;714:36129:7;;;1906:1:17;;;;714:36129:7;;;;:::o;:::-;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;:::o;:::-;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;714:36129:7;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;714:36129:7;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;714:36129:7;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;23297:1;714:36129;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;:::i;:::-;3883:2:13;714:36129:7;;;;;;;;:::o;:::-;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;;;:::i;:::-;;;;;;;;:::o;:::-;;;;:::o;:::-;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;;-1:-1:-1;;;714:36129:7;;;;;;;1320:44:18;;;;;;;;;;;;;;;;;:::i;:::-;714:36129:7;;;1320:44:18;;714:36129:7;1320:44:18:o;2719:221::-;2807:15;2790:13;:32;2786:93;;714:36129:7;;3054:81:18;;;714:36129:7;818:95:18;714:36129:7;;1037:28:18;714:36129:7;1195:19:18;;714:36129:7;1195:19:18;;;;714:36129:7;2790:13:18;1195:19;;;714:36129:7;3129:4:18;1195:19;;;714:36129:7;1195:19:18;3054:81;;1195:19;714:36129:7;;;;;-1:-1:-1;;;;;714:36129:7;;;;;;;;3044:92:18;;2719:221;:::o;2786:93::-;2845:23;2838:30;:::o;714:36129:7:-;-1:-1:-1;;714:36129:7;;;;;;;;:::o;:::-;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;:::o;:::-;;:::i;2524:644:19:-;-1:-1:-1;2524:644:19;;714:36129:7;2714:99:19;2524:644;;714:36129:7;;2714:99:19;;;;;;714:36129:7;;;;2714:99:19;;714:36129:7;;;;;;2714:99:19;;;714:36129:7;;;;;;;;;;;:::i;:::-;2714:99:19;714:36129:7;;2714:99:19;;;;;;:::i;:::-;2897:29;2905:4;;;2897:29;;;;;:::i;:::-;714:36129:7;;;;;;2956:29:19;;2965:19;714:36129:7;;2965:19:19;:::i;:::-;2956:29;;:::i;:::-;714:36129:7;-1:-1:-1;;;;;;714:36129:7;;;2956:29:19;714:36129:7;2956:37:19;3023:19;714:36129:7;;3023:19:19;:::i;:::-;566:42:16;;3053:109:19;;;3085:15;:::o;3053:109::-;3142:8;:::i;9965:599:13:-;;3883:2;10142:29;3883:2;;10324:234;;;;;;;;;;;;;;;9965:599;:::o;3883:2::-;714:36129:7;;-1:-1:-1;;;3883:2:13;;;;;;;;;;;714:36129:7;-1:-1:-1;;;714:36129:7;;;3883:2:13;;;;4050:222:19;4173:93;;;;;;714:36129:7;;;;:::o;:::-;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;;-1:-1:-1;;;714:36129:7;;;;;;;35432:421;;-1:-1:-1;;;;;35673:17:7;714:36129;;;35542:1;35545:23;;;;;;35432:421;;;;;:::o;35570:3::-;714:36129;;;;;;;;;;;;;;;;;;;;;;35652:64;35660:9;:30;:9;;;:::i;:::-;-1:-1:-1;;;;;714:36129:7;;;35660:30;;;35652:64;:::i;:::-;35753:2;;;:::i;:::-;35775:61;35787:9;;;;:::i;:::-;35775:61;35808:27;;;:::i;:::-;35798:8;714:36129;;;;;;35798:8;;714:36129;35775:61;714:36129;;;;;;;;;;;;;;;;;;;35775:61;;;;714:36129;35530:13;;714:36129;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;-1:-1:-1;;;;;714:36129:7;;;;;;;;;:::o;:::-;;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;;;;;:::i;:::-;;;-1:-1:-1;714:36129:7;;;;;;;;;;:::o;:::-;;;;;;;;:::i;:::-;;;;;-1:-1:-1;714:36129:7;;;;;;;;;;;;;;;-1:-1:-1;714:36129:7;;;;-1:-1:-1;714:36129:7;;;;-1:-1:-1;714:36129:7;;;;-1:-1:-1;714:36129:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;:::o;:::-;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;;;;;;;;;;8570:1224;;;;;;;;;714:36129;;:::i;:::-;8883:23;;;;:::i;:::-;8936:34;;;;:::i;:::-;8916:17;;;:54;;;9011:24;;:::i;:::-;9046:28;9073:1;9089:13;;9073:1;9084:316;9104:5;;;;;;9446:19;;;;;;;;;;;;8916:17;9467:15;;714:36129;19656:72;;9410:73;;9138:29;9530:20;;;9552:16;;;714:36129;19656:72;;9493:19;;;:76;9631:24;;;;9657:20;;;714:36129;19656:72;;9138:29;9579:31;;:99;9766:20;9493:19;9740:24;;;9766:20;;714:36129;19656:72;;9631:24;9688:31;;:99;8570:1224::o;9111:3::-;9325:1;9138:29;;714:36129;9138:29;;;;;9279:9;9138:29;;;;;9130:91;9138:29;:9;;;;;;;:::i;:::-;:29;714:36129;9138:49;;9130:91;:::i;:::-;9279:9;:::i;:::-;9306:17;;;9325:1;;:::i;:::-;9360:9;;;;;:::i;:::-;:29;714:36129;9111:3;714:36129;9089:13;;;;;714:36129;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;20561:957;20780:17;-1:-1:-1;;;;;714:36129:7;;20877:1;20909:3;714:36129;;20880:27;;;;;20979:19;;;;:::i;:::-;;21016:8;;;;714:36129;;;21016:13;21012:27;;21074:7;;;714:36129;;21114:16;;714:36129;;21074:7;;-1:-1:-1;;;;;714:36129:7;21074:7;:::i;714:36129::-;21074:7;:::i;:::-;714:36129;-1:-1:-1;;;;;714:36129:7;;;21114:16;714:36129;;-1:-1:-1;;;;;714:36129:7;21141:11;;;;714:36129;21141:11;;;-1:-1:-1;;;;;714:36129:7;;;21096:67;;;;;;714:36129;-1:-1:-1;;;21096:67:7;;-1:-1:-1;;;;;714:36129:7;;;21096:67;;;714:36129;;;;;;;;;;;;;;;;;;;;-1:-1:-1;714:36129:7;;;-1:-1:-1;21096:67:7;;;;;;;;714:36129;21096:67;;;20909:3;;20865:13;714:36129;20865:13;;21096:67;;;;;;:::i;:::-;;;:::i;:::-;;;;;;:::i;21012:27::-;21031:8;714:36129;21031:8;;;;20880:27;;;;;20877:1;21271:3;714:36129;;21247:22;;;;;21318:14;;;;:::i;:::-;;21141:11;;21350:8;;;714:36129;;;21350:13;21346:27;;714:36129;21448:16;714:36129;21074:7;21408;;;714:36129;;;;;;;;;;;21448:16;714:36129;;-1:-1:-1;;;;;714:36129:7;;;;;;21430:71;;;;;;714:36129;;-1:-1:-1;;;21430:71:7;;-1:-1:-1;;;;;714:36129:7;;;21096:67;21430:71;;714:36129;;;;;;;21485:4;714:36129;;;;;;;;;;;-1:-1:-1;714:36129:7;;;-1:-1:-1;21430:71:7;;;;;;;;714:36129;21430:71;;;21271:3;;21232:13;714:36129;21232:13;;21430:71;;;;;;:::i;:::-;;;;21346:27;21365:8;;714:36129;21365:8;;;;21247:22;;;;;20561:957::o;21575:400::-;;21697:1;21722:3;714:36129;;21700:20;;;;;21792:12;;714:36129;21792:12;;;:::i;:::-;;21822:8;;;714:36129;;;21822:13;21818:27;;21949:8;714:36129;;;;;;21880:7;714:36129;;;;21880:7;:::i;:::-;21936:11;714:36129;;;;21936:11;;714:36129;;;;21949:8;;:::i;:::-;714:36129;21685:13;;21818:27;21837:8;;;;21700:20;;;;21575:400::o;714:36129::-;;29350:1;714:36129;;;;;;;:::o;:::-;;;;;;;;;;:::o;566:42:16:-;;;;;;;;;;;:::o;:::-;;714:36129:7;;;:::i;:::-;;;;;;;:::i;:::-;;;;566:42:16;714:36129:7;566:42:16;714:36129:7;;566:42:16;;:::i;:::-;-1:-1:-1;;566:42:16;;;;;;;:::o;28857:2527:7:-;;;;714:36129;;29097:6;;;29093:19;;29242:28;:13;:28;;:13;;;:::i;:::-;;:28;714:36129;-1:-1:-1;;;;;714:36129:7;;;29242:28;29304:21;:13;:21;:13;;;:::i;:::-;;:21;714:36129;29335:16;29350:1;29361:212;;29368:8;;;;;;:75;;29361:212;29368:75;;;;;29459:41;29350:1;29476:16;;;;;;:::i;:::-;;:24;714:36129;29459:41;;:::i;:::-;714:36129;;29361:212;;;29368:75;;;;;;;;;;;;29586:9;;;29582:376;;29992:12;:8;;;;:::i;:::-;:12;:::i;:::-;30044:27;30152;30114:28;30044:27;;;:::i;:::-;30114:28;;:::i;:::-;30152:27;;;;:::i;:::-;-1:-1:-1;;;;;714:36129:7;;;566:42:16;;;30152:27:7;30189:32;;;:::i;:::-;566:42:16;29350:1:7;30376:16;30394:5;;;;;;;30950:13;;;;;29102:1;30965:14;;;;;;28857:2527;;;;;;;;:::o;30981:3::-;31015:14;;;;;:::i;:::-;31062:16;;;;;:::i;:::-;714:36129;-1:-1:-1;;;;;714:36129:7;;;566:42:16;31122:45:7;;566:42:16;;29350:1:7;31170:21;;;31122:102;;31242:14;;;31238:130;;31122:102;30981:3;;;714:36129;30950:13;;31238:130;31338:14;;;;;:::i;:::-;;;;;;;:::i;:::-;31238:130;;;;;31122:102;714:36129;;-1:-1:-1;;;31194:30:7;;31218:4;31194:30;;;714:36129;31194:30;;;;714:36129;;;;;;31194:30;;;;;;;29350:1;31194:30;29102:1;31194:30;;;31122:102;;;;;;31194:30;;;;;;-1:-1:-1;31194:30:7;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;;30401:3;30435:13;;;:28;:13;;:::i;:28::-;30477:31;;;;-1:-1:-1;;;;;714:36129:7;;29102:1;714:36129;30477:31;30542:14;;;;;30522:202;30741:24;;;;;;30737:124;;30522:202;30903:13;;30874:50;;30903:13;;;29350:1;30903:13;;;:::i;:::-;;:21;714:36129;30874:50;;;;:::i;:::-;714:36129;30874:50;:::i;:::-;;;;:::i;:::-;566:42:16;714:36129:7;30376:16;;30737:124;30785:31;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;714:36129:7;;;566:42:16;;30834:12:7;;;:::i;:::-;30737:124;;;;;;;30558:3;30593:14;30585:41;:23;30593:14;;;;;;;;;:::i;30585:41::-;;30581:129;;30558:3;29350:1;714:36129;30527:13;;;;;;;;30581:129;30650:14;;;;;30686:5;;;;;;29582:376;-1:-1:-1;714:36129:7;;;;-1:-1:-1;714:36129:7;;;;;;-1:-1:-1;;;;;;;714:36129:7;;566:42:16;29625:50:7;;566:42:16;;29694:21:7;;29625:144;;29787:19;;;29783:145;;29625:144;29941:7;;;;;;;:::o;29783:145::-;29893:19;;;;;:::i;:::-;;;:::i;:::-;29783:145;;;;;;;;;29625:144;714:36129;;-1:-1:-1;;;29734:35:7;;29763:4;29734:35;;;714:36129;;29734:35;;714:36129;;;;;;29734:35;;;;;;;29102:1;29734:35;;;29625:144;;;;;29734:35;;;;;;;;;;;;;;:::i;:::-;;;;29368:75;29380:40;29388:16;;;;:31;:16;;;:::i;29380:40::-;-1:-1:-1;;;;;714:36129:7;;;;;29380:63;29368:75;;;;29093:19;29105:7;;;;;;:::o;22021:307::-;;22118:1;22143:3;714:36129;;22121:20;;;;;22190:12;;714:36129;22190:12;;;:::i;:::-;;22220:8;;;714:36129;22220:13;;22216:27;;22302:8;714:36129;;;;;;22282:7;;;;714:36129;;;;;22302:8;;:::i;:::-;714:36129;22106:13;;22216:27;22235:8;;;;22585:1435;;;;22855:34;714:36129;;22855:34;:::i;:::-;714:36129;;;;;;22942:24;:34;;;;22585:1435;22938:54;;23068:100;;;;;;;;;23280:19;23293:5;;;:::i;:::-;23280:19;:::i;:::-;23309:22;22965:1;23444:13;;22965:1;23459:5;;;;;;23849:13;;22965:1;23864:14;;;;;;22585:1435;;;;;;;;:::o;23880:3::-;23938:13;;24001:1;23938:13;;;;;;;;;;:::i;:::-;24001:1;:::i;:::-;714:36129;23849:13;;23466:3;23502:28;;:13;;;;:::i;:28::-;23548:27;;;:::i;:::-;23544:100;;23466:3;23676:13;:30;;:13;;;;:::i;:30::-;23724:29;;;:::i;:::-;23720:104;;23466:3;;714:36129;23444:13;;;;23720:104;23773:36;23784:12;23773:36;23784:12;;;:::i;:::-;23773:36;;;:::i;:::-;23720:104;;;23544:100;23595:34;23606:12;23595:34;23606:12;;;:::i;23595:34::-;23544:100;;;22938:54;22978:14;;;;:::o;22942:34::-;22970:6;;;22942:34;;714:36129;;;;;;;;;;;;;;;;;;;;:::i;36263:578::-;;;;36462:1;36483:3;714:36129;;36465:16;;;;;36516:8;;;;:::i;:::-;;:20;;714:36129;36578:8;;;;:::i;:::-;;:14;;714:36129;-1:-1:-1;;;;;714:36129:7;36610:25;:8;;;;;;:::i;:::-;;:25;714:36129;-1:-1:-1;;;;;714:36129:7;36653:8;;;;;:::i;:::-;;:23;;714:36129;-1:-1:-1;;;;;714:36129:7;36694:8;;;;:::i;:::-;;:24;;714:36129;36736:17;;;;;;:::i;:::-;;:24;714:36129;36763:12;;;;;:::i;:::-;714:36129;36736:39;;;:::i;:::-;36793:8;;;;;:::i;:::-;;:17;714:36129;;-1:-1:-1;;;;;714:36129:7;;;;;;;;;;;;;;;36555:269;;714:36129;36555:269;:::i;:::-;;;;;714:36129;;36450:13;;1359:130:0;1273:6;714:36129:7;-1:-1:-1;;;;;714:36129:7;734:10:5;1422:23:0;714:36129:7;;1359:130:0:o;714:36129:7:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;714:36129:7;;;;;;;;;;;;;;:::o;414:1070:12:-;-1:-1:-1;538:17:12;414:1070;;714:36129:7;;;;;:::i;:::-;591:20:12;;;;;;:::i;:::-;1042:436;;;;591:20;1042:436;;;;;591:20;1042:436;;;538:17;714:36129:7;1042:436:12;;;;;;414:1070::o;1042:436::-;;-1:-1:-1;1042:436:12;;;-1:-1:-1;1042:436:12;1723:895;;1895:1;1842:20;714:36129:7;1842:20:12;;;;;;:::i;:::-;1876;;;;;1872:740;;1723:895;:::o;1872:740::-;2506:96;;-1:-1:-1;1723:895:12:o;714:36129:7:-;;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;;;;;:::i;:::-;;;-1:-1:-1;714:36129:7;;;;;;;;;;:::o;:::-;;;;;;;;:::i;:::-;-1:-1:-1;714:36129:7;;;-1:-1:-1;714:36129:7;;;;-1:-1:-1;714:36129:7;;;;;;;;;;;;517:1:11;;714:36129:7;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;517:1:11;714:36129:7;517:1:11;714:36129:7;;517:1:11;;:::i;:::-;;;-1:-1:-1;517:1:11;;;;;;;;;;:::o;:::-;;714:36129:7;;;;;;:::i;:::-;-1:-1:-1;517:1:11;;;-1:-1:-1;517:1:11;;;;-1:-1:-1;517:1:11;;;;-1:-1:-1;517:1:11;;;;;;;;;;;;;714:36129:7;;;;;;:::i;:::-;-1:-1:-1;517:1:11;;;;;;;;;;;714:36129:7;517:1:11;;;;;;;;;;:::o;:::-;;714:36129:7;;;:::i;:::-;;;;;;;:::i;:::-;;;;517:1:11;714:36129:7;517:1:11;714:36129:7;;517:1:11;;:::i;:::-;;;-1:-1:-1;517:1:11;;;;;;;;;:::o;:::-;;;;;:::i;:::-;;;;;;;;;;17454:834:7;;714:36129;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;714:36129:7;;;;-1:-1:-1;714:36129:7;;;;-1:-1:-1;714:36129:7;;;;-1:-1:-1;714:36129:7;;;;17526:40;17594:34;;;:::i;:::-;17578:50;;714:36129;;;;;;;;;;;;;;;;;17929:76;;;:::i;:::-;17912:93;;714:36129;;;;;;;;;;;;;18186:95;18048;;18232:48;18048:95;;:::i;:::-;18015:128;;18232:48;:::i;:::-;18186:95;:::i;:::-;18153:128;;17454:834::o;3977:163:18:-;714:36129:7;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;;;;;714:36129:7;;;;;;;-1:-1:-1;714:36129:7;;-1:-1:-1;714:36129:7;;;;-1:-1:-1;714:36129:7;;;;-1:-1:-1;714:36129:7;;;;-1:-1:-1;517:1:11;714:36129:7;;;-1:-1:-1;714:36129:7;;;;-1:-1:-1;714:36129:7;;;;-1:-1:-1;714:36129:7;;;;-1:-1:-1;714:36129:7;;;;-1:-1:-1;714:36129:7;;;;;;;;;;;;;;;;;;-1:-1:-1;714:36129:7;;;;-1:-1:-1;714:36129:7;;;;4103:30:18;;;:::i;714:36129:7:-;;;;:::o;:::-;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;;;;;;;;;;;;;;9886:2691;;;;;;10268:5;9886:2691;;;;;;;10268:5;;:::i;:::-;10393:10;;10378:49;;;;:::i;:::-;10457:10;;;;;:26;;;;714:36129;10627:26;;;;;;;;10655:19;;;10593:93;;;;;:::i;:::-;714:36129;;;10721:30;;;;:::i;:::-;10868:65;;;;;:::i;:::-;11002:10;;;:26;;11060:20;;10457:26;11060:20;;714:36129;;;;;;;;;;;;10976:105;;;;:::i;:::-;11223:9;;;;;;;;:::i;:::-;714:36129;;;11315:20;;;;;;:::i;:::-;11439:9;;;;;;;;714:36129;;;:::i;:::-;;7203:17;11459:64;-1:-1:-1;;11467:34:7;;;11459:64;:::i;:::-;11553:25;;;:::i;:::-;11609:10;;10457:26;11609;714:36129;11596:39;;;11588:64;;;:::i;:::-;11675:9;;714:36129;;;:::i;:::-;;11732:11;;;714:36129;;11745:10;;714:36129;11786:16;;;714:36129;11732:11;;-1:-1:-1;;;;;714:36129:7;;;;;;;11774:28;;;;:::i;:::-;;;;;;:::i;:::-;11839:16;;;714:36129;11890:14;;;714:36129;;;11839:16;-1:-1:-1;;;;;714:36129:7;11906:10;;:25;;714:36129;-1:-1:-1;;;;;714:36129:7;11933:20;;;;:::i;:::-;;;;;:::i;:::-;12064;;;;:::i;:::-;12088:10;;11839:16;12088:24;714:36129;-1:-1:-1;12064:48:7;12056:88;;;:::i;:::-;12247:9;714:36129;11732:11;714:36129;12230:27;;;;;714:36129;;;:::i;:::-;12230:27;714:36129;;12230:27;;;;;;;;:::i;:::-;714:36129;-1:-1:-1;;;;;714:36129:7;12321:10;;714:36129;;12321:10;;;714:36129;;-1:-1:-1;;;;;714:36129:7;12378:25;;714:36129;-1:-1:-1;;;;;714:36129:7;;;;:::i;:::-;566:42:16;;;-1:-1:-1;;;;;714:36129:7;;;12180:390;;;566:42:16;-1:-1:-1;;;;;714:36129:7;11732:11;12180:390;;566:42:16;-1:-1:-1;;;;;714:36129:7;11890:14;12180:390;;566:42:16;10457:26:7;12180:390;;566:42:16;11839:16:7;12180:390;;566:42:16;12180:390:7;;;566:42:16;12180:390:7;;;566:42:16;12155:415:7;;;;:::i;:::-;;;;;:::i;:::-;;9886:2691::o;36099:158::-;-1:-1:-1;;;;;714:36129:7;566:42:16;36174:45:7;714:36129;;36099:158::o;714:36129::-;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;;-1:-1:-1;;;714:36129:7;;;;;;;831:375:16;918:11;;914:24;;-1:-1:-1;;;;;714:36129:7;;;566:42:16;951:33;;566:42;;1018:26;;928:1;1018:26;;1058:39;1018:26;;;;;;;:::i;:::-;;1058:39;:::i;947:253::-;928:1;714:36129:7;5535:69:4;714:36129:7;5720:111:3;714:36129:7;;;1050:58:3;;;;714:36129:7;;;;1050:58:3;;714:36129:7;1050:58:3;;;714:36129:7;;;;;;1050:58:3;;;;;:::i;:::-;714:36129:7;;;;;;:::i;:::-;1050:58:3;714:36129:7;;;1050:58:3;714:36129:7;;;5487:31:4;;;;;;;;:::i;:::-;5535:69;;:::i;:::-;714:36129:7;;5728:22:3;;;:56;;;;;947:253:16;5720:111:3;;;:::i;5728:56::-;5754:30;;;1050:58;5754:30;;;;;;;;:::i;:::-;5728:56;;;;914:24:16;931:7;;;:::o;361:3:11:-;;;;:::o;:::-;714:36129:7;;;361:3:11;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;714:36129:7;361:3:11;;;714:36129:7;361:3:11;714:36129:7;361:3:11:o;31607:3736:7:-;;;;;;714:36129;;31930:16;;;;:::i;:::-;31986;;;:::i;:::-;32038;;;;:::i;:::-;32064:34;32097:1;;;;32108:25;;;;;32269:5;;;;;32947:25;;;;;;;32943:206;;33254:29;;;;33298:13;32097:1;33313:5;;;;;;;33945:874;;;;;33952:13;;;34911;;;32097:1;34926:5;;;;;;31607:3736;;;;;;;;:::o;34933:3::-;34968:9;;714:36129;34968:9;;;:::i;:::-;714:36129;34995:10;;;;;;34991:24;;35083:17;32458:26;35286:9;35189:137;32663:46;35189:137;32663:46;;;35044:13;;;32676:25;35044:13;;;;:::i;:::-;;:25;714:36129;35083:17;;:::i;:::-;;:24;:33;714:36129;;;35083:33;:::i;:::-;566:42:16;;35269:15:7;35220:13;35149;32435:21;35149:13;;;;:::i;:::-;;:21;714:36129;35220:13;;:::i;:::-;;:22;35269:15;;;:::i;:::-;35286:9;;:::i;:::-;:26;714:36129;;;;;;;;;;;;;35189:137;;;:::i;:::-;;;;34911:13;714:36129;34911:13;;34991:24;35007:8;;;;;;;33945:874;33981:24;;;32097:1;33981:24;;;;;;;;;34024:13;32097:1;34039:5;;;;;;34162:16;34155:24;34162:16;;;34155:24;:::i;:::-;34194:31;34239:40;;34298:13;32097:1;34293:462;34337:3;34313:5;;;:22;;;34337:3;34313:22;;;34364:13;;;;;;;;;;;;:::i;:::-;714:36129;34364:18;34360:32;;34427:77;34722:18;34452:19;;34337:3;34452:19;;;;;;;;:::i;:::-;714:36129;34427:77;;:::i;:::-;34534:13;;;;;:::i;:::-;714:36129;34526:21;;34522:48;;34337:3;34592:17;;;;;34588:40;;34337:3;34646:18;;;;;;;;:::i;:::-;;;:::i;:::-;566:42:16;34682:22:7;;;;;;;;;:::i;:::-;714:36129;34682:22;:::i;:::-;566:42:16;34722:18:7;:::i;:::-;34337:3;;:::i;:::-;34298:13;;;34588:40;34611:17;;;34588:40;;;34522:48;34557:13;;;;;:::i;:::-;714:36129;34522:48;;;;;34360:32;34384:8;;;;;34337:3;34384:8;;34337:3;:::i;34313:22::-;;;;;;;;;;;;;;;34768:40;34313:22;;34775:32;;34768:40;:::i;:::-;33945:874;;;;;34313:22;34322:13;;;;34313:22;;34046:3;34073:13;;;;:::i;:::-;714:36129;34069:58;;34046:3;714:36129;;34024:13;;34069:58;34108:19;34092:35;714:36129;34108:19;;;;;:::i;:::-;714:36129;34092:35;;:::i;:::-;34069:58;;;;;33320:3;33351:28;32307;33351:13;;33343:37;33351:13;;;;;:::i;33343:37::-;-1:-1:-1;;;;;714:36129:7;;;;;33343:55;33339:69;;32097:1;33458:13;33454:305;;33320:3;33772:17;33803:22;33772:17;714:36129;33772:17;;;;;:::i;:::-;566:42:16;33803:22:7;;;;:::i;:::-;;;;;:::i;:::-;566:42:16;33298:13:7;714:36129;33298:13;;;;;33454:305;33522:19;33499:85;33522:19;;;;;:::i;:::-;714:36129;33499:85;;:::i;:::-;33614:13;;;;;:::i;:::-;714:36129;33606:21;;33602:48;;33454:305;33672:17;;;33668:40;;33454:305;33726:18;33803:22;33726:18;;714:36129;33726:18;;:::i;:::-;33454:305;;;;;;;33668:40;33691:17;-1:-1:-1;33691:17:7;33668:40;;33602:48;33637:13;;;;;;:::i;:::-;714:36129;33602:48;;;33339:69;714:36129;33400:8;;;32943:206;32992:34;32988:100;;32663:46;714:36129;-1:-1:-1;;;33101:37:7;;714:36129;33101:37;;;714:36129;;;;;;;;;;;;;;32988:100;32663:46;714:36129;-1:-1:-1;;;33046:27:7;;361:3:11;33046:27:7;;;361:3:11;;;;;714:36129:7;-1:-1:-1;;;714:36129:7;;;361:3:11;;;714:36129:7;32276:3;32307:13;32299:37;32307:28;;:13;;;;;;;;:::i;32299:37::-;-1:-1:-1;;;;;714:36129:7;;;;;32299:55;32295:69;;32435:21;;;;;;;;;;:13;;;;;;;:::i;:::-;;:21;714:36129;32458:9;;;;;:::i;:::-;:26;;714:36129;32423:87;;;:::i;:::-;32524:39;;;;;;:::i;:::-;566:42:16;32577:43:7;;;:::i;:::-;32676:13;;;;:::i;:::-;;:25;;714:36129;32663:39;;;:::i;:::-;;:46;;714:36129;32712:9;;;;:::i;:::-;:23;714:36129;32663:72;;;:::i;:::-;714:36129;;32897:25;;32768:77;:37;;;;;;:77;;;32859:24;;;;;:::i;:::-;566:42:16;32897:25:7;:::i;:::-;32276:3;32254:13;714:36129;32254:13;;;;;;;32768:77;;;;;;32295:69;32356:8;;;;714:36129;32356:8;;;;7914:471;7998:381;;;;;;;;;;;;;;;;;;;;;;;;7914:471::o;7998:381::-;;;;7914:471::o;714:36129::-;;;;;;;;;;;;;;;:::i;:::-;;;;:::o;24026:4437::-;;;;;;;-1:-1:-1;;;;;714:36129:7;;566:42:16;24448:45:7;566:42:16;;24496:21:7;24448:102;;24564:9;;24560:22;;714:36129;;:::i;:::-;24769:13;-1:-1:-1;24784:5:7;;;;;;714:36129;;;25449:20;:49;;;;24764:672;25445:62;;-1:-1:-1;25802:5:7;;;;;;714:36129;;;;;;24822:30;714:36129;;;28126:26;28122:205;;25782:2330;28341:13;;714:36129;28341:17;;28337:120;;24026:4437;;;:::o;28337:120::-;28406:24;;28432:13;28406:24;;;:::i;:::-;28432:13;;:::i;28122:205::-;28221:24;;;;;:::i;:::-;28271:13;;;714:36129;;;;;;;;;;28286:16;;;714:36129;;;;;-1:-1:-1;;;;;714:36129:7;;;;;;;;28173:143;;714:36129;;28173:143;28122:205;;;25809:3;714:36129;;-1:-1:-1;;;;;714:36129:7;;25832:57;:39;;24822:30;25840:13;714:36129;25840:13;;:::i;25832:57::-;;25828:1074;;25809:3;25132:28;;714:36129;;;;;;;26920:55;:37;26928:28;:13;;;;;:::i;26920:55::-;;26916:1186;;25809:3;;;714:36129;25787:13;;26916:1186;27027:25;:13;24822:30;27014:39;27027:13;;;;;:::i;:::-;;:25;714:36129;27014:39;;:::i;:::-;;:46;714:36129;27082:12;27078:1010;;26916:1186;;;;;27078:1010;27118:8;;;:10;714:36129;;27118:10;:::i;:::-;566:42:16;;;27184:20:7;;;714:36129;27172:32;27171:161;;;;27240:20;27233:27;27240:20;;;714:36129;27233:27;;:::i;:::-;27171:161;;27354:20;;:34;714:36129;;;27354:34;:::i;:::-;566:42:16;;27414:14:7;27410:660;;27171:161;27078:1010;;;27410:660;27490:52;714:36129;;;27490:52;;:::i;:::-;27568:20;24822:30;27568:13;;;;;714:36129;;;27568:20;:::i;:::-;566:42:16;;27628:13:7;;;;:::i;:::-;;:25;714:36129;27699:17;:25;:17;;;;:::i;:::-;;714:36129;-1:-1:-1;;;;;714:36129:7;;;27699:25;27750:24;;;;;;;;:::i;:::-;;;;:::i;:::-;566:42:16;27804:12:7;27800:248;27410:660;27800:248;27891:8;;27935:86;27891:8;;;;:::i;:::-;27961:13;;;;:::i;:::-;;:22;714:36129;27935:86;24822:30;714:36129;;;;;;;;;;;;;;;;;27935:86;;;:::i;:::-;;;;27800:248;;;27410:660;;27171:161;714:36129;;27288:44;;;;:::i;:::-;27171:161;;;25828:1074;25930:28;:13;;;;:::i;:::-;;:28;714:36129;25980:14;25976:912;;25828:1074;;;;25976:912;26018:8;;;714:36129;26018:10;714:36129;;26018:10;:::i;:::-;566:42:16;;;26084:20:7;;;;;714:36129;26072:32;26071:163;;;;26140:20;26133:27;25132:28;26140:20;;714:36129;26133:27;;:::i;:::-;25132:28;26256:20;;:34;714:36129;;;26256:34;:::i;:::-;566:42:16;;26316:14:7;26312:558;;26071:163;25976:912;;;26312:558;26392:52;714:36129;;;26392:52;;:::i;:::-;26470:20;24822:30;26470:13;;;;;714:36129;;;26470:20;:::i;:::-;566:42:16;;26520:12:7;26516:332;26312:558;26516:332;26617:8;26596:13;:19;:13;;;;;:::i;:19::-;26617:8;;:::i;:::-;26661:160;26722:13;;;;:::i;:::-;;:22;714:36129;26762:19;714:36129;;;;;26762:13;;;;;:::i;:19::-;714:36129;;;26661:160;24822:30;714:36129;;;;;;;;;;26661:160;;;:::i;:::-;;;;26516:332;;26312:558;;26071:163;714:36129;;26188:46;;;;:::i;:::-;26071:163;;25445:62;25500:7;;;;;;;;:::o;25449:49::-;25473:20;;;;714:36129;25473:25;25449:49;;24791:3;714:36129;;24822:30;-1:-1:-1;;;;;714:36129:7;;24814:57;:39;;24822:30;:13;:30;:13;;:::i;24814:57::-;;24810:296;;24791:3;714:36129;;;;;;;25124:55;:37;25132:28;;:13;;;;:::i;25124:55::-;;25120:306;;24791:3;;714:36129;24769:13;;25120:306;25218:39;25231:25;:13;;;;:::i;:::-;;:25;714:36129;25218:39;;:::i;:::-;;:46;714:36129;25286:12;25282:130;25120:306;25282:130;25322:27;714:36129;;;25322:27;:::i;:::-;566:42:16;;25371:20:7;;;:22;714:36129;;25371:22;:::i;:::-;566:42:16;;25282:130:7;25120:306;;24810:296;24912:28;:13;;;;:::i;:::-;;:28;714:36129;24962:14;24958:134;;24810:296;;;;24958:134;25000:29;714:36129;;;25000:29;:::i;:::-;566:42:16;;25051:20:7;;;:22;714:36129;;25051:22;:::i;:::-;566:42:16;;24958:134:7;;;24448:102;714:36129;;-1:-1:-1;;;24520:30:7;;24544:4;24520:30;;;714:36129;24520:30;714:36129;;;-1:-1:-1;;;;;714:36129:7;;24520:30;;;;;;;-1:-1:-1;24520:30:7;;;24448:102;;;;;24520:30;;;;;;;;;;;;;;:::i;:::-;;;;714:36129;;;;:::o;:::-;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;;-1:-1:-1;;;714:36129:7;;;;;;;4550:659:18;;714:36129:7;5175:27:18;4550:659;5087:13;5149:53;4550:659;1576:56:15;1599:33;;1659:14;4550:659:18;4758:19;;714:36129:7;1506:60:15;1531:35;;714:36129:7;;1531:35:15;;;:::i;:::-;;:::i;:::-;-1:-1:-1;;;;;714:36129:7;566:42:16;;;1506:60:15;1606:25;;;714:36129:7;1599:33:15;;:::i;:::-;-1:-1:-1;;;;;714:36129:7;1606:25:15;1576:20;;566:42:16;;1576:56:15;1642:31;1659:14;;;;;:::i;:::-;-1:-1:-1;;;;;714:36129:7;1642:14:15;;;566:42:16;;1642:31:15;1707:21;;;714:36129:7;1707:21:15;1683;;566:42:16;1760:19:15;;;714:36129:7;1760:19:15;1738;;566:42:16;4971:47:18;1805:13:15;;;;;:::i;:::-;714:36129:7;;1805:13:15;1789;;714:36129:7;;;1789:13:15;1844;;;714:36129:7;1844:13:15;1828;;566:42:16;4903:57:18;1881:11:15;;;;;:::i;:::-;-1:-1:-1;;;;;714:36129:7;1881:11:15;1867;;566:42:16;;;1867:11:15;1926:42;1946:21;;;;;;:::i;:::-;1926:42;;:::i;:::-;1902:21;;;:66;4944:15:18;2050:11:15;;1978:84;2037:25;2050:11;;;714:36129:7;2037:25:15;:::i;:::-;714:36129:7;;;1995:23:15;;;427:10:11;1995:23:15;;;427:10:11;1978:84:15;1979:14;;566:42:16;4944:15:18;;;;;:::i;:::-;4903:57;;;:::i;:::-;714:36129:7;;;;;;;;-1:-1:-1;;;;;714:36129:7;;;;-1:-1:-1;;;;;714:36129:7;;;;;4979:20:18;4971:47;:::i;:::-;1606:25:15;5029:18:18;;;714:36129:7;;;;5087:13:18;;:::i;:::-;-1:-1:-1;;;;;714:36129:7;;1881:11:15;5111:20:18;;566:42:16;5175:27:18;:::i;:::-;-1:-1:-1;;;;;714:36129:7;5149:23:18;;566:42:16;;714:36129:7;;;;:::o;:::-;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;:::o;:::-;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;;;;;;;;;;12913:849;13697:28;13242:19;12913:849;;13697:18;13661:32;13532:41;13653:102;12913:849;13125:57;714:36129;13133:12;;;714:36129;;;;;;;13149:15;714:36129;;13133:31;;13125:57;:::i;:::-;714:36129;;13192:90;;13200:30;;-1:-1:-1;;;;;714:36129:7;;;13200:30;13242:19;;;714:36129;13200:62;;13234:28;;-1:-1:-1;;;;;714:36129:7;13234:28;714:36129;13200:62;714:36129;;;;;;;13200:62;;13192:90;:::i;:::-;13300:20;;;714:36129;13292:57;714:36129;;13300:24;;13292:57;:::i;:::-;13359:87;361:3:11;13367:22:7;;;714:36129;13367:49;;13359:87;:::i;:::-;13469:43;714:36129;;13469:43;;;:::i;:::-;714:36129;13547:25;;;;714:36129;13532:41;;:::i;:::-;714:36129;13591:13;;;;;;:28;;;12913:849;13583:60;;;:::i;:::-;714:36129;13661:32;:::i;:::-;13697:18;;714:36129;13697:28;:::i;:::-;-1:-1:-1;13661:64:7;13653:102;:::i;13591:28::-;-1:-1:-1;13608:11:7;;;13591:28;;714:36129;;;;:::o;:::-;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;;;;;;;;;;743:8:11;;;;:::o;:::-;714:36129:7;;-1:-1:-1;;;743:8:11;;;;;;;;;;;714:36129:7;743:8:11;714:36129:7;;;743:8:11;;;;;;;;:::o;:::-;714:36129:7;;-1:-1:-1;;;743:8:11;;;;;;;;;;;714:36129:7;-1:-1:-1;;;714:36129:7;;;743:8:11;;;;427:10;;;;:::o;:::-;714:36129:7;;-1:-1:-1;;;427:10:11;;;;;;;;;;;714:36129:7;427:10:11;714:36129:7;;;427:10:11;;;;;;;;:::o;:::-;714:36129:7;;-1:-1:-1;;;427:10:11;;;;;;;;;;;714:36129:7;427:10:11;714:36129:7;;;427:10:11;;;;;;;;:::o;:::-;714:36129:7;;-1:-1:-1;;;427:10:11;;;;;;;;;;;714:36129:7;-1:-1:-1;;;714:36129:7;;;427:10:11;;;;;;;;:::o;:::-;714:36129:7;;-1:-1:-1;;;427:10:11;;;;;;;;;;;714:36129:7;-1:-1:-1;;;714:36129:7;;;427:10:11;;;;;;;;:::o;:::-;714:36129:7;;-1:-1:-1;;;427:10:11;;;;;;;;;;;714:36129:7;427:10:11;714:36129:7;;;427:10:11;-1:-1:-1;;;427:10:11;;;;;;;;;;;:::o;:::-;714:36129:7;;-1:-1:-1;;;427:10:11;;;;;;;;;;;714:36129:7;-1:-1:-1;;;714:36129:7;;;427:10:11;;;;1370:3138;;;714:36129:7;;:::i;:::-;;1604:76:11;517:1;714:36129:7;;1612:38:11;;1604:76;:::i;:::-;-1:-1:-1;1721:13:11;-1:-1:-1;1744:11:11;-1:-1:-1;1765:12:11;-1:-1:-1;1787:12:11;-1:-1:-1;1873:13:11;-1:-1:-1;1906:3:11;714:36129:7;;1888:16:11;;;;;1985:31;1963:8;;;;:::i;:::-;;714:36129:7;;;1985:31:11;;:::i;:::-;2046:9;;;714:36129:7;2046:9:11;;-1:-1:-1;;;2177:19:11;;2176:26;;-1:-1:-1;;;2112:31:11;;2111:38;;;-1:-1:-1;;;2046:33:11;;;2045:40;;;;2046:9;2045:40;;2227:14;;1906:3;2225:17;:37;;;1906:3;2217:78;;;;:::i;:::-;714:36129:7;;2309:129:11;;1906:3;714:36129:7;2522:19:11;;;;2518:206;;;;1906:3;2832:29;;714:36129:7;2832:29:11;;;;;;;1906:3;2828:212;;;1906:3;;;714:36129:7;1873:13:11;;2828:212;2895:40;;;;:::i;:::-;714:36129:7;2953:22:11;714:36129:7;;;2953:22:11;:::i;:::-;566:42:16;;2993:32:11;;2828:212;;;;2993:32;3005:20;:13;;;714:36129:7;;;3005:20:11;:::i;:::-;566:42:16;;2993:32:11;;;2832:29;;;;;;2518:206;2561:27;;;;;;2518:206;2606:23;;2518:206;2176:26;;;2658:14;;714:36129:7;2658:14:11;;;;2647:62;;2518:206;;;;;;;2647:62;2695:14;;;;714:36129:7;2695:14:11;;;;2647:62;;;2606:23;714:36129:7;;-1:-1:-1;2606:23:11;;2561:27;714:36129:7;;-1:-1:-1;2561:27:11;;2309:129;2360:26;;;714:36129:7;2352:71:11;;-1:-1:-1;;;;;714:36129:7;2360:40:11;;2352:71;:::i;:::-;2309:129;;2225:37;2247:14;;;;;2225:37;2217:78;2225:37;;;2247:14;-1:-1:-1;2247:14:11;;;2227;;;;;1888:16;;;;;;;4444:57;1888:16;3225:51;1888:16;714:36129:7;1888:16:11;;;;3060:84;427:10;3068:44;;;3060:84;:::i;:::-;3164:18;;;;1868:1182;3154:61;3162:21;;3154:61;:::i;:::-;3235:18;;;1868:1182;3233:21;;3225:51;:::i;:::-;3287:22;2046:9;3287:12;;;;427:10;714:36129:7;;427:10:11;;;3287:22;714:36129:7;;3466:28:11;;;;:81;;;;;;1868:1182;3466:144;;;;1868:1182;3444:19;:166;:19;;:166;;427:10;714:36129:7;;427:10:11;;;3444:166;3640:79;;;;1868:1182;3640:144;;;;1868:1182;3620:17;:164;:17;;:164;;427:10;714:36129:7;;427:10:11;;;3620:164;3795:369;;1868:1182;714:36129:7;;;;;;;;;;4210:224:11;;1868:1182;714:36129:7;;;;;4452:28:11;;4444:57;:::i;4210:224::-;4263:49;;;;:::i;:::-;714:36129:7;4326:22:11;714:36129:7;;;4326:22:11;:::i;:::-;566:42:16;;4367:18:11;714:36129:7;-1:-1:-1;;;4367:28:11;4366:35;4362:61;;4210:224;;;;;4362:61;4403:20;:13;;;714:36129:7;;;4403:20:11;:::i;:::-;566:42:16;;4362:61:11;;;3795:369;3843:67;-1:-1:-1;;;;;3851:24:11;;;;;:::i;:::-;714:36129:7;3851:38:11;;3843:67;:::i;:::-;3924:230;;3795:369;;;;3924:230;3964:175;3994:31;;;;3924:230;3993:66;;;;3924:230;3964:175;;;:::i;:::-;3924:230;;;;;3993:66;4031:27;;-1:-1:-1;4031:27:11;;;3993:66;;;;;;4031:27;714:36129:7;;;;-1:-1:-1;4031:27:11;;;3994:31;714:36129:7;;;;;;;;;;3994:31:11;;;3640:144;3736:18;;;714:36129:7;-1:-1:-1;;;3736:42:11;3735:49;;-1:-1:-1;3640:144:11;;:79;3673:18;;;714:36129:7;-1:-1:-1;;;3673:40:11;3672:47;;;-1:-1:-1;3640:79:11;;3466:144;3564:18;;;714:36129:7;-1:-1:-1;;;3564:40:11;3563:47;;-1:-1:-1;3466:144:11;;:81;3499:18;;;714:36129:7;-1:-1:-1;;;3499:42:11;3498:49;;;-1:-1:-1;3466:81:11;;3235:18;;;;;;3164;-1:-1:-1;3164:18:11;;;714:36129:7;;;;;;;;;;;;6012:299:6;;;6149:25;;;;;:::i;:::-;6215;;;;;;6184:98;;6012:299;:::o;6184:98::-;10916:16:7;714:36129;;;;;;;6012:299:6;:::o;6215:25::-;;:::i;714:36129:7:-;;;;:::o;:::-;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;;-1:-1:-1;;;714:36129:7;;;;;;;4575:629:11;714:36129:7;;4575:629:11;;714:36129:7;4851:3:11;714:36129:7;;4833:16:11;;;;;-1:-1:-1;;;4875:13:11;:8;;;;:::i;:::-;;:13;714:36129:7;4875:35:11;4874:42;:70;;;;4851:3;4870:84;;4980:42;5002:8;;;;:::i;:::-;;714:36129:7;4980:42:11;;:::i;:::-;714:36129:7;;;;;;;;4968:54:11;4851:3;4818:13;714:36129:7;4818:13:11;;;4870:84;4946:8;714:36129:7;4946:8:11;;;4874:70;4920:8;;;;;:::i;:::-;;714:36129:7;4920:24:11;4874:70;;4833:16;;;;;;5042:100;;4813:220;5159:19;5151:46;5159:19;;;;5151:46;:::i;5042:100::-;5151:46;714:36129:7;;5084:47:11;5072:59;714:36129:7;;5084:47:11;;:::i;:::-;5072:59;;:::i;:::-;5042:100;;;;14022:2043:7;14346:10;;:26;;;;714:36129;;14022:2043;;;;-1:-1:-1;;;;;714:36129:7;;;;14022:2043;14346:26;;714:36129;;14346:10;;14022:2043;14346:10;14473:3;714:36129;;14455:16;;;;;714:36129;14497:13;;;;;;;;;631:8:11;;;;14497::7;;;;;:::i;:::-;;:13;714:36129;14497:44;14496:51;:79;;;;14473:3;14492:93;;14613:51;14644:8;;;;;:::i;:::-;;714:36129;14613:51;;:::i;:::-;14718:9;14683:147;14718:9;;;;;14745:8;;14683:147;14745:8;;;14803;14777;14745;:30;:8;;;;;:::i;:30::-;14777:8;;:::i;:::-;;714:36129;14803:8;;;:::i;:::-;;:13;714:36129;;;;;;;;14683:147;;;:::i;:::-;;;;14848:8;;14844:22;;14885:15;;714:36129;14885:15;;;714:36129;;;;;;14497:13;;;14977:8;15035:13;14977:8;;;:30;:8;;;:::i;:30::-;15009:8;15035;15009;;;;;:::i;:::-;;714:36129;15035:8;;:::i;:::-;;:13;714:36129;15035:13;;:::i;:::-;714:36129;14440:13;;14881:320;15130:11;;;;714:36129;15182:3;;15130:11;;-1:-1:-1;;;;;;714:36129:7;;15182:3;15150:30;;:8;;;:::i;:30::-;15182:3;;;:::i;:::-;14881:320;;14844:22;14858:8;;;;;;;;14492:93;14577:8;;;;;;;;;;14496:79;14551:8;;;;;:::i;:::-;;714:36129;14551:24;14496:79;;14455:16;;;;;;;;;;15257:22;714:36129;14455:16;15257:22;714:36129;;;;;;15253:806;;14022:2043;;;;;;;:::o;15253:806::-;15309:56;714:36129;;15309:56;;;:::i;:::-;15398:9;14718;15398;;;15425:24;15384:117;14718:9;15425:24;;;14497:13;15425:24;;;:::i;:::-;15482:18;;714:36129;;15384:117;714:36129;;;14497:13;714:36129;;;;;15384:117;;;:::i;:::-;;;;15519:7;15515:534;15253:806;15515:534;-1:-1:-1;;;15551:35:7;;15550:42;714:36129;;15854:18;15725:24;;;;;:::i;:::-;15854:18;;:::i;15546:489::-;15966:11;;;;;;15986:24;714:36129;14497:13;16012:3;15966:11;;714:36129;;;;;;;;;;15986:24;;:::i;:::-;16012:3;;:::i;:::-;15546:489;;16131:1317;16429:10;;:26;;;;16480:25;;;;714:36129;-1:-1:-1;;;;;714:36129:7;16429:26;;:10;;714:36129;;;;;;16521:13;;16429:10;16554:3;714:36129;;16536:16;;;;;714:36129;16578:13;;;;;;;;;693:8:11;;;16578::7;;;;;:::i;:::-;;:13;714:36129;16578:42;16577:49;:77;;;;16554:3;16573:91;;16760:147;16822:30;16721:8;16692:49;16760:147;16721:8;;;;;:::i;16692:49::-;16795:9;;;16822:8;;;;;:::i;:30::-;16854:8;;;;;;:::i;:::-;;714:36129;16880:8;;;;;:::i;:::-;;:13;714:36129;;;;;;;16760:147;;;:::i;:::-;;;;16925:8;;;;;16921:22;;16982:8;:30;:8;17021:3;16982:8;;:::i;:30::-;17021:3;;:::i;:::-;714:36129;16521:13;;16921:22;16935:8;;;;;;;16573:91;16656:8;;;;;;;;;16577:77;16630:8;;;;;:::i;:::-;;714:36129;16630:24;16577:77;;16536:16;;;;;;;;;;;;17076:366;;16131:1317;;;;;;;;:::o;17076:366::-;17193:117;714:36129;17193:117;714:36129;17120:54;714:36129;;17120:54;;;:::i;:::-;17207:9;;;17234:24;;;;;;;;:::i;:::-;714:36129;16578:13;714:36129;;;;;;17291:18;;714:36129;17193:117;;;:::i;:::-;;;;17328:7;17324:108;;17076:366;;;;;;;17324:108;17380:24;17413:3;17380:24;;:::i;:::-;17413:3;;:::i;:::-;17324:108;;;;;;18294:232;;;18450:69;18294:232;714:36129;;;;;;:::i;:::-;-1:-1:-1;;;;;714:36129:7;;;566:42:16;;714:36129:7;18479:40;;;566:42:16;714:36129:7;18479:40;;566:42:16;18450:13:7;;18464:9;;;;714:36129;;;566:42:16;18464:11:7;714:36129;18464:11;:::i;:::-;566:42:16;;18450:69:7;;;;:::i;:::-;;;:::i;18532:235::-;;;18689:71;18532:235;714:36129;;;;;;:::i;:::-;;;;;;;;;566:42:16;;714:36129:7;18720:40;;;566:42:16;714:36129:7;18720:40;;566:42:16;18704:10:7;18720:40;18689:14;;;18704:10;;714:36129;;;18704:12;;;;:::i;714:36129::-;;;;;;;:::o;:::-;;;;:::o;:::-;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;;-1:-1:-1;;;714:36129:7;;;;;;;1667:4213:6;-1:-1:-1;;2239:166:6;;;;;;;;;;;;;;;;;2486:10;;2482:368;;714:36129:7;361:3:11;;2960:19:6;2952:53;2960:19;;;2952:53;:::i;:::-;3292:300;;;;;;;714:36129:7;;3292:300:6;;3960:371;;4397:21;714:36129:7;1667:4213:6;:::o;2482:368::-;714:36129:7;;361:3:11;714:36129:7;;;2809:26:6;:::o;1667:4213::-;;;-1:-1:-1;;1667:4213:6;;2239:166;;;;;;;;;;;;;;;;2486:10;;2482:368;;2960:19;;;2952:53;2960:19;;;2952:53;:::i;:::-;3292:300;3944:1;3929:12;;714:36129:7;3914:32:6;;3960:371;;;4774:1;714:36129:7;;4755:1:6;714:36129:7;4754:21:6;714:36129:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3960:371:6;3944:1;3960:371;;-1:-1:-1;3960:371:6;;;3292:300;;;;;;714:36129:7;3292:300:6;;3960:371;4397:21;714:36129:7;1667:4213:6;:::o;2482:368::-;2816:19;;;;;;;:::i;12583:258:7:-;;12747:23;361:3:11;12583:258:7;12747:23;;:::i;:::-;714:36129;;;;;;;;;;12583:258;:::o;714:36129::-;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;714:36129:7;;;;;;;;;;;;;;;;:::o;:::-;;-1:-1:-1;714:36129:7;;;:::o;:::-;;;;;;;;;;;;5718:753:18;;5845:370:13;714:36129:7;5718:753:18;;;;;5944:17;;:::i;:::-;714:36129:7;;;;;4915:31:13;;-1:-1:-1;;;;;714:36129:7;;;4915:31:13;4972:20;;;714:36129:7;4972:20:13;;;4860:479;;4964:29;;-1:-1:-1;;;;;714:36129:7;;;4964:29:13;5011:11;;;714:36129:7;4860:479:13;;-1:-1:-1;;;;;714:36129:7;5040:14:13;;;714:36129:7;5040:14:13;;;-1:-1:-1;;;;;714:36129:7;5072:21:13;;;;714:36129:7;5111:19:13;;;714:36129:7;5148:13:13;;;714:36129:7;;;;;;;;5179:13:13;;;2157:339;5210:14;;;;2157:339;5242:23;5283:42;5303:21;714:36129:7;5242:23:13;;;714:36129:7;;;;;;5303:21:13;;;5283:42;:::i;:::-;714:36129:7;5011:11:13;714:36129:7;4860:479:13;;;4972:20;4860:479;;;;2157:339;;;;;;;;;;;;;;;;714:36129:7;2157:339:13;714:36129:7;;;;;;;;;;;;;;;2157:339:13;;;714:36129:7;;2157:339:13;;;714:36129:7;;2157:339:13;;;714:36129:7;;2157:339:13;;;714:36129:7;2157:339:13;;;714:36129:7;2157:339:13;;;714:36129:7;;;2157:339:13;;;;;;;714:36129:7;2157:339:13;;;714:36129:7;;;2157:339:13;;;714:36129:7;2157:339:13;;714:36129:7;2157:339:13;4860:479;714:36129:7;4837:512:13;;5011:11;5845:370;;;;;5011:11;5845:370;-1:-1:-1;;;5845:370:13;;;;;;;;;;;714:36129:7;;;;:::i;:::-;5976:30:18;;;8767:43;;;;;;:::i;5972:493::-;714:36129:7;;;:::i;:::-;6111:14:18;6094:31;;6111:14;;6149:44;;;;;;:::i;6090:375::-;714:36129:7;;5845:370:13;714:36129:7;;:::i;:::-;6214:31:18;5845:370:13;;6269:44:18;;;;;:::i;6210:255::-;714:36129:7;;6399:55:18;714:36129:7;;;;;;;6399:55:18;;;:::i;7511:1735:13:-;;;;3883:2;714:36129:7;;7666:29:13;714:36129:7;;9061:179:13;;3883:2;9061:179;;;;;;;;;7511:1735::o;714:36129:7:-;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;;;;;;;;;;4161:258:13;4274:14;;714:36129:7;-1:-1:-1;;;;;714:36129:7;4274:40:13;714:36129:7;;4330:16:13;4270:143;4161:258::o;4270:143::-;4377:25;;4270:143;4161:258::o;5444:216:11:-;5562:15;;5558:29;;361:3;5610:23;;;;:::i;:::-;714:36129:7;5444:216:11;:::o;5558:29::-;5579:8;;5576:1;5579:8;:::o;18773:340:7:-;;18978:128;18773:340;;;714:36129;;;;;;:::i;:::-;;;;;;;;;;;566:42:16;;714:36129:7;19029:77;;;566:42:16;714:36129:7;;19029:77;;566:42:16;19029:77:7;;;566:42:16;18997:14:7;714:36129;18978:18;;;18997:14;;714:36129;;;18997:16;;;;:::i;19119:372::-;;19350:134;19119:372;;;;714:36129;;;;;;:::i;:::-;;;;;;;;;566:42:16;;714:36129:7;19401:83;;;566:42:16;714:36129:7;19401:83;;566:42:16;19401:83:7;;;566:42:16;19401:83:7;;;566:42:16;19369:14:7;19401:83;19350:18;;;19369:14;;714:36129;;;19369:16;;;;:::i;714:36129::-;;;;;;;;;;;;;:::i;:::-;;;;:::o;:::-;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;;;;;;;-1:-1:-1;;;714:36129:7;;;;;;;4550:1474:15;;4722:83;517:1:11;4730:45:15;;;4722:83;:::i;:::-;4815:1203;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4550:1474;;;;;;;;:::o;4815:1203::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3749:795;4009:4;4001:12;;714:36129:7;;;4177:12:15;4185:4;4177:12;;3050:69:13;;4017:1:15;714:36129:7;;;;;;:::i;3050:69:13:-;714:36129:7;;-1:-1:-1;;;3050:69:13;;;;;;;;;;;714:36129:7;3050:69:13;714:36129:7;;;3050:69:13;;;;714:36129:7;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;;-1:-1:-1;;;714:36129:7;;;;;;;11982:778:18;;;;;-1:-1:-1;;12162:29:18;714:36129:7;;1328:35:18;12385:159;12666:7;714:36129:7;12385:159:18;;;;12578:30;;;;:::i;:::-;12666:7;;;:::i;714:36129:7:-;;12693:36:18;714:36129:7;;11982:778:18:o;714:36129:7:-;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;714:36129:7;;;;;;;:::o;370:10:8:-;;;;:::o;:::-;714:36129:7;;-1:-1:-1;;;370:10:8;;;;;;;;;;;714:36129:7;370:10:8;714:36129:7;;;370:10:8;;;;10710:860:18;11030:159;;;;;10710:860;;11391:2;714:36129:7;-1:-1:-1;714:36129:7;;;;11427:63:18;714:36129:7;;;;;;;;;;;11427:63:18;;;;;;;714:36129:7;;;;;;11391:2:18;714:36129:7;;;;;;;;;;:::i;:::-;11427:63:18;;;;;;;;;11406:157;11427:63;-1:-1:-1;11427:63:18;;;10710:860;-1:-1:-1;;;;;;;714:36129:7;11427:85:18;11406:157;:::i;11427:63::-;;;;;;;;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;9463:548;;9959:45;9463:548;;714:36129:7;;9874:65:18;;;714:36129:7;;;;;;;;;9874:65:18;;;;;:::i;:::-;714:36129:7;9864:76:18;;9959:45;:::i;714:36129:7:-;;;1195:19:18;;;;714:36129:7;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;6449:422:13;714:36129:7;;;;;;:::i;:::-;;;;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;;;;;;-1:-1:-1;6741:3:13;714:36129:7;;6723:16:13;;;;;6791:8;;714:36129:7;6791:8:13;;;:::i;:::-;;714:36129:7;;;;;;;;;6397:26:13;;;714:36129:7;;6425:9:13;;714:36129:7;;;6342:93:13;;;;714:36129:7;2565:90:13;714:36129:7;;2565:90:13;;;714:36129:7;2565:90:13;;;714:36129:7;2565:90:13;;;;;714:36129:7;6342:93:13;;;;;:::i;:::-;714:36129:7;6332:104:13;;6760:40;;;;:::i;:::-;566:42:16;714:36129:7;6708:13:13;;6723:16;;;;;;;6839:24;714:36129:7;;6839:24:13;;714:36129:7;;6839:24:13;;714:36129:7;;;:::i;:::-;6839:24:13;;;;;;;;:::i;:::-;714:36129:7;6829:35:13;;6449:422;:::o;5340:2:18:-;;;;:::o;:::-;714:36129:7;;-1:-1:-1;;;5340:2:18;;;;;;;;;;;714:36129:7;5340:2:18;714:36129:7;;;5340:2:18;;;;;;;;:::o;:::-;714:36129:7;;-1:-1:-1;;;5340:2:18;;;;;;;;;;;714:36129:7;5340:2:18;714:36129:7;;;5340:2:18;;;;6896:1059;;;5340:2;7025:49;5340:2;;7295:379;-1:-1:-1;7295:379:18;7855:27;7295:379;;;;;7684:152;7719:66;7705:80;;;7684:152;:::i;:::-;7295:379;714:36129:7;7295:379:18;;;;;;;;;;;7855:27;;5340:2;;;;714:36129:7;5340:2:18;;;;;714:36129:7;;;;5340:2:18;;;;;;;714:36129:7;5340:2:18;714:36129:7;5340:2:18;7855:27;;;;;;;;;;;;-1:-1:-1;7855:27:18;;7892:56;-1:-1:-1;;;;;714:36129:7;;7900:20:18;;7892:56;:::i;5340:2::-;714:36129:7;;-1:-1:-1;;;5340:2:18;;;;;;;;;;;714:36129:7;5340:2:18;714:36129:7;;;5340:2:18;;;;7671:628:4;;;;7875:418;;;714:36129:7;;;7906:22:4;7902:286;;8201:17;;:::o;7902:286::-;1702:19;:23;714:36129:7;;8201:17:4;:::o;714:36129:7:-;;;-1:-1:-1;;;714:36129:7;;;;;;;;;;;;;;;;;;;;7875:418:4;714:36129:7;;;;-1:-1:-1;8980:21:4;:17;;9152:142;;;;;;;8976:379;714:36129:7;;-1:-1:-1;;;9324:20:4;;714:36129:7;;;9324:20:4;;;;;;:::i","linkReferences":{},"immutableReferences":{"1870":[{"start":418,"length":32},{"start":4738,"length":32},{"start":5539,"length":32}],"6556":[{"start":4111,"length":32}],"6559":[{"start":4316,"length":32}]}}}}}}},"signatures":{"function":[{"signature":"addSolver(address)","signatureHash4":"0xec58f4b8","signatureHash32":"0xec58f4b8ef28fa23d6bc54a467b4f9b69b43b37647283b0c0c8117a6cebaa49e"},{"signature":"domainSeparator()","signatureHash4":"0xf698da25","signatureHash32":"0xf698da25080443c6bffafcf634995167d333e28993ac838246dcb9ed5554fc80"},{"signature":"filledAmount(bytes)","signatureHash4":"0x2479fb6e","signatureHash32":"0x2479fb6e55df349abcc75d8396ad1b3199aead40f6483b226e2fef127d54d841"},{"signature":"getStorageAt(uint256,uint256)","signatureHash4":"0x5624b25b","signatureHash32":"0x5624b25bc1bf07b072bfdf389bf62b2f9ab16cda47f8f53ae0a4175a8a55a8d8"},{"signature":"invalidateOrder(bytes)","signatureHash4":"0x15337bc0","signatureHash32":"0x15337bc05ed3bfebb937fd83e3bc2391f9c428f5bbe4003e5b06d46cf16f5555"},{"signature":"isSolver(address)","signatureHash4":"0x02cc250d","signatureHash32":"0x02cc250d123bd2338c1ee493651f2633fd230a205d4f87e7ac6dfce207ced9e9"},{"signature":"owner()","signatureHash4":"0x8da5cb5b","signatureHash32":"0x8da5cb5b36e7f68c1d2e56001220cdbdd3ba2616072f718acfda4a06441a807d"},{"signature":"preSignature(bytes)","signatureHash4":"0xd08d33d1","signatureHash32":"0xd08d33d190d497a9c837d248acafcb1a9707373d6be5b5924383636767d42bc9"},{"signature":"removeSolver(address)","signatureHash4":"0x8fd57b92","signatureHash32":"0x8fd57b926dad79f3f251e021c1eba7d9c8d4d64873934dc801e77b1c24c60171"},{"signature":"renounceOwnership()","signatureHash4":"0x715018a6","signatureHash32":"0x715018a616b5f2044428f6fadb7deef4ce9ca76ef60ea57978964ad137bbe7ae"},{"signature":"setPreSignature(bytes,bool)","signatureHash4":"0xec6cb13f","signatureHash32":"0xec6cb13f26fcf5d01759f1edb2e8cb775b8b6e5a51e1a7edc73325cc0d209db6"},{"signature":"settle(uint256,address[],uint256[],(uint256,uint256,address,address,uint256,uint256,uint32,bytes32,uint256,uint256,uint256,(uint256,address,uint256)[],bytes,(uint256,address,uint256))[],(address,uint256,bytes)[][3],(uint256,address,uint256))","signatureHash4":"0x462c3ed1","signatureHash32":"0x462c3ed142ab78e668197577698244c82d2e96f59042633067f61dcee7ea9fa6"},{"signature":"simulateDelegatecall(address,bytes)","signatureHash4":"0xf84436bd","signatureHash32":"0xf84436bdce6598882ed995129f4ef090db16ef5e22eea30984925a4f47c7ff6a"},{"signature":"simulateDelegatecallInternal(address,bytes)","signatureHash4":"0x43218e19","signatureHash32":"0x43218e198a5f5c70ca65adf1973b6285a79c4d29a39cc2a8bb67b912f447dc64"},{"signature":"tokenApproveProxy()","signatureHash4":"0x12ec8dcc","signatureHash32":"0x12ec8dcc6814fb6467c1b462d9acd3c0cd1b8fd2debad300d4660c524b11ef59"},{"signature":"transferOwnership(address)","signatureHash4":"0xf2fde38b","signatureHash32":"0xf2fde38b092330466c661fc723d5289b90272a3e580e3187d1d7ef788506c557"},{"signature":"version()","signatureHash4":"0x54fd4d50","signatureHash32":"0x54fd4d50fce680dbc2593d9e893064bfa880e5642d0036394e1a1849f7fc0749"}],"event":[{"signature":"CommissionFeePaid(bytes,address,address,uint256,uint256,uint256)","signatureHash4":"0x02b4603e","signatureHash32":"0x02b4603e6be0c4002f11c4445116c51a20adeecb33e1434306ec55378f75a099"},{"signature":"Interaction(address,uint256,bytes4)","signatureHash4":"0xed99827e","signatureHash32":"0xed99827efb37016f2275f98c4bcf71c7551c75d59e9b450f79fa32e60be672c2"},{"signature":"OrderInvalidated(address,bytes)","signatureHash4":"0x875b6cb0","signatureHash32":"0x875b6cb035bbd4ac6500fabc6d1e4ca5bdc58a3e2b424ccb5c24cdbebeb009a9"},{"signature":"OwnershipTransferred(address,address)","signatureHash4":"0x8be0079c","signatureHash32":"0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0"},{"signature":"PreSignature(address,bytes,bool)","signatureHash4":"0x01bf7c8b","signatureHash32":"0x01bf7c8b0ca55deecbea89d7e58295b7ffbf685fd0d96801034ba8c6ffe1c68d"},{"signature":"Settlement(address,uint256)","signatureHash4":"0xbddcc4ab","signatureHash32":"0xbddcc4ab73b8e971706360fbdcce2f609328e78217649695ee3ab811ab52d162"},{"signature":"SolverAdded(address)","signatureHash4":"0x41f9d09d","signatureHash32":"0x41f9d09dd5159251f8a8e482bbe097b7c01a5e6f70c5a0ddb494906464fc9dd7"},{"signature":"SolverFeePaid(bytes,address,address,uint256,uint256,uint256)","signatureHash4":"0xc6d99ee7","signatureHash32":"0xc6d99ee7574d9d88cc700f01e1ecbcc9cfed97d50310b48abc3a6dfde3ae2dc0"},{"signature":"SolverRemoved(address)","signatureHash4":"0x640e18a2","signatureHash32":"0x640e18a2587e1d83e4fdabf70257d0a800ca4b2c1aaad1dfc485a4ad8bbbd6c6"},{"signature":"SurplusFeePaid(address,address,uint256,uint256,uint256)","signatureHash4":"0xc9f4d19c","signatureHash32":"0xc9f4d19c8ac046a3a12343782e2e80055bdc4bac7ae4b036a6f0ac1078a1c857"},{"signature":"SurplusFeeUserFromTokenPaid(bytes,address,address,uint256)","signatureHash4":"0x3e41ecc1","signatureHash32":"0x3e41ecc1db67fa019fbdb227cfb7872d3b8b4c2aefa07717335ec5100111ce47"},{"signature":"SurplusFeeUserToTokenPaid(bytes,address,address,uint256)","signatureHash4":"0x5dbb2734","signatureHash32":"0x5dbb2734760ca87f88f85ddae0e69ff340c5ac48e4315b17e8a9b24c75251c4d"},{"signature":"ThresholdFill(bytes,address,uint256,uint256,uint256)","signatureHash4":"0x06a90a58","signatureHash32":"0x06a90a58a0537157735f3daafad32f14398feec4680f0c032ca6659590e161b6"},{"signature":"Trade(address,address,address,uint256,uint256,bytes)","signatureHash4":"0xd6544329","signatureHash32":"0xd65443291bb59863c3ddfe64892356e9f0c3888a4c99efd97df5c028cb5db267"}],"error":[]},"proxyResolution":{"isProxy":false,"proxyType":null,"implementations":[]},"match":"exact_match","chainId":"1","address":"0xC75d2cE9d0A2C67b606a7B325c16E8a1B7C15a4A"}