{"matchId":"54467826","creationMatch":"match","runtimeMatch":"match","verifiedAt":"2026-10-01T10:09:24Z","creationBytecode":{"onchainBytecode":"0x60a080604052346100e65760017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055306080525f516020615e5a5f395f51905f525460ff8160401c166100d7576002600160401b03196001600160401b03821601610084575b604051615d6f90816100eb82396080518181816116710152613c5c0152f35b6001600160401b0319166001600160401b039081175f516020615e5a5f395f51905f525581527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602090a15f80610065565b63f92ee8a960e01b5f5260045ffd5b5f80fdfe6080604052600436101561001a575b3615610018575f80fd5b005b5f3560e01c806306b091f9146105d957806308565bc1146105d45780630a147277146105cf5780630d3eeec1146105ca5780630d734324146105c5578063101ec30a146105c057806312261ee7146105bb57806312f62498146105b6578063141b73c4146105b1578063150b7a02146105ac578063152d0731146105a75780631698ee82146105a25780631de93b481461059d5780631e1bff3f146105985780631f2d5966146105935780632240e6121461058e578063236e5f1414610589578063249d39e91461058457806324bf6e911461057f5780632565c8841461057a578063271d6ffe14610575578063297e396914610570578063323134701461056b5780633659cfe6146105665780633bafd1b3146105615780633c5f72141461055c5780633f1aa6a2146105575780633f4ba83a14610552578063433ca2ec1461054d578063476526a3146105485780634bb3ae3e146105435780634f1ef2861461053e57806352d1902d1461053957806355feedc11461053457806357dccc041461052f5780635c60da1b1461052a5780635c975abb14610525578063605edf1a146105205780636088e93a1461051b57806360996f0d14610516578063660bd0c0146105115780636cf9219f1461050c5780636cfb6bf914610507578063702e1bf414610502578063715018a6146104fd5780637303e913146104f857806376ea0c55146104f3578063785e8275146104ee57806379ba5097146104e95780637c887c59146104e45780637fb051ba146104df578063837e864b146104da57806384276d81146104d55780638456cb59146104d05780638aaa2284146104cb5780638b33203c146104c65780638da5cb5b146104c15780638ebf8289146104bc5780639039cce6146104b757806391c0cd1e146104b2578063941158b0146104ad57806396bd0952146104a85780639c50a4d9146104a3578063a0909db21461049e578063ad3cb1cc14610499578063adf3036114610494578063b9c22f791461048f578063bae7a8ad1461048a578063bec3188914610485578063c475551a14610480578063c55dae631461047b578063c8a85be114610476578063c99f1e5414610471578063cc19de2a1461046c578063cc47abf614610467578063cf753d1214610462578063d24b37971461045d578063d3047d5614610458578063d588f04b14610453578063d74a5d001461044e578063dc419d5914610449578063debfda3014610444578063e20dccb21461043f578063e2f4dd431461043a578063e30c397814610435578063f2fde38b14610430578063f63ca6e41461042b578063f702d94f14610426578063f887ea4014610421578063f9eaee0d1461041c578063fa716b3f146104175763ff1f9c7a0361000e57612941565b612919565b6128d9565b6128b1565b61287c565b612849565b6127c1565b61278d565b612765565b61273d565b6126fd565b612685565b61264b565b612631565b612614565b6125f3565b612563565b612523565b612506565b6124de565b612431565b612409565b6123d8565b6123b6565b612399565b612371565b612354565b61230d565b6121eb565b6121ce565b612139565b612109565b6120ef565b6120c8565b612054565b612020565b611ff3565b611fd4565b611f2f565b611e8c565b611e3c565b611e14565b611de9565b611d9d565b611d0f565b611cd1565b611ca9565b611c8a565b611bb7565b6119cb565b6119a8565b611986565b611912565b611836565b611809565b6117db565b6117a7565b611713565b6116c5565b61165f565b611616565b6114e2565b6114c0565b61148e565b611410565b61135b565b611339565b611193565b611096565b61104c565b610fec565b610fc4565b610f8a565b610f68565b610f4c565b610ebb565b610e74565b610e57565b610deb565b610d9f565b610d4d565b610ccc565b610c72565b610c55565b610b6c565b610b44565b610afd565b610a1b565b6107d9565b610769565b61074c565b61060d565b6001600160a01b038116036105ef57565b5f80fd5b60643590610600826105de565b565b3590610600826105de565b346105ef5760403660031901126105ef5760043561062a816105de565b6024359061063661342b565b61063e61344b565b6001600160a01b03169081156107335780156107245760018060a01b035f516020615ca35f395f51905f5254166040519063a9059cbb60e01b5f526004528160245260205f60448180875af160015f5114811615610705575b604091909152156106e9576040519081527f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a94243649080602081015b0390a261001860015f516020615d035f395f51905f5255565b635274afe760e01b5f526001600160a01b03821660045260245ffd5b600181151661071b573d15843b15151616610697565b503d5f823e3d90fd5b6365e52d5160e11b5f5260045ffd5b63ae9954c360e01b5f5260045ffd5b5f9103126105ef57565b346105ef575f3660031901126105ef576020600d54604051908152f35b346105ef5760203660031901126105ef57600435610786816105de565b60018060a01b03165f52603c602052602060ff60405f2054166040519015158152f35b9181601f840112156105ef578235916001600160401b0383116105ef576020808501948460051b0101116105ef57565b346105ef5760203660031901126105ef576004356001600160401b0381116105ef576108099036906004016107a9565b9061081261342b565b6008546001600160a01b03161561095e575f5b82811061082e57005b6108656108536108476108428487876129b5565b6129ca565b6001600160a01b031690565b6008546001600160a01b031690613483565b60085461087c90610847906001600160a01b031681565b9061088b6108428286866129b5565b6004546001600160a01b0316833b156105ef576040516387517c4560e01b81526001600160a01b039283166004820152911660248201525f604482018190526001606483015290928390608490829084905af19182156109595760019261093f575b506108fc6108428286866129b5565b60045460a084901b8490039081166001600160a01b031691167f8e6082f82d88ebb7595b02d55ede8094ce17e40029d61292354afbb04ffaae855f80a301610825565b8061094d5f61095393611545565b80610742565b5f6108ed565b6129d4565b63876dafaf60e01b5f5260045ffd5b9181601f840112156105ef578235916001600160401b0383116105ef57602083818601950101116105ef57565b60206003198201126105ef57600435906001600160401b0382116105ef576109c49160040161096d565b9091565b91908251928382525f5b8481106109f2575050825f602080949584010152601f8019910116010190565b806020809284010151828286010152016109d2565b906020610a189281815201906109c8565b90565b610a243661099a565b90335f52600f60205260ff60405f2054168015610add575b15610ace57610a4961344b565b610a5161354a565b610a5b8282613937565b600a546001600160a01b03168015610abf57825f939284936040519283928337810184815203915af4610a8c6129ec565b9015610ab757610ab39060015f516020615d035f395f51905f525560405191829182610a07565b0390f35b602081519101fd5b63350c20f160e01b5f5260045ffd5b6312e25d5960e11b5f5260045ffd5b505f516020615ca35f395f51905f52546001600160a01b03163314610a3c565b346105ef5760203660031901126105ef57600435610b1a816105de565b610b2261342b565b600880546001600160a01b0319166001600160a01b0392909216919091179055005b346105ef575f3660031901126105ef576008546040516001600160a01b039091168152602090f35b346105ef5760203660031901126105ef57600435610b89816105de565b610b9161342b565b6001600160a01b038116908115610733573b15610abf576040516301ffc9a760e01b8152639a741b9f60e01b6004820152602081602481855afa5f9181610c24575b50610be75763350c20f160e01b5f5260045ffd5b15610abf57603b80546001600160a01b031916821790557f5371b5384a8ca13185168caea3d68cdae7cdd42fa4b99deede7ed3a345f7d1735f80a2005b610c4791925060203d602011610c4e575b610c3f8183611545565b810190613bc2565b905f610bd3565b503d610c35565b346105ef575f3660031901126105ef576020601754604051908152f35b346105ef5760803660031901126105ef57610c8e6004356105de565b610c996024356105de565b6064356001600160401b0381116105ef57610cb890369060040161096d565b5050604051630a85bd0160e11b8152602090f35b346105ef575f3660031901126105ef57610ce4613c52565b610cec61342b565b5f5460ff8116610d265760019060ff1916175f557fbbbfc8f80672f98366c78f334ec935871991b2825f67cbe69bae201705e81a0c5f80a1005b63d74c95cb60e01b5f5260045ffd5b62ffffff8116036105ef57565b359061060082610d35565b346105ef5760603660031901126105ef576020610d8d600435610d6f816105de565b602435610d7b816105de565b60443591610d8883610d35565b613cd0565b6040516001600160a01b039091168152f35b346105ef575f3660031901126105ef576020601854604051908152f35b801515036105ef57565b60409060031901126105ef57600435610dde816105de565b90602435610a1881610dbc565b346105ef5760207f278b09622564dd3991fe7744514513d64ea2c8ed2b2b9ec1150ad964fde80a99610e1c36610dc6565b9290610e2661342b565b6001600160a01b03165f818152600f835260409020805460ff191660ff86151516179055925b6040519015158152a2005b346105ef575f3660031901126105ef576020600b54604051908152f35b346105ef5760203660031901126105ef57600435610e91816105de565b610e9961342b565b600780546001600160a01b0319166001600160a01b0392909216919091179055005b610ec43661099a565b90335f52600f60205260ff60405f2054168015610f2c575b15610ace57610ee961344b565b610ef161354a565b610efb8282613e59565b6009546001600160a01b03168015610abf57825f939284936040519283928337810184815203915af4610a8c6129ec565b505f516020615ca35f395f51905f52546001600160a01b03163314610edc565b346105ef575f3660031901126105ef5760206040516127108152f35b346105ef575f3660031901126105ef576020610f82612a1b565b604051908152f35b346105ef575f3660031901126105ef5760206040517f999a33e54989faec6502b28ef75a794e0e28fc38d2dc9648a906e853cca474be8152f35b346105ef575f3660031901126105ef57603a546040516001600160a01b039091168152602090f35b346105ef575f3660031901126105ef576007546040516001600160a01b039091168152602090f35b60406003198201126105ef57600435906001600160401b0382116105ef5761103e916004016107a9565b9091602435610a1881610dbc565b346105ef5761105a36611014565b909161106461342b565b5f5b83811061106f57005b806110908461108160019488876129b5565b3561108b816105de565b6141c4565b01611066565b346105ef5760203660031901126105ef576004356110b3816105de565b6110bb613c52565b604051906110ca602083611545565b5f825260ff5f5416610d26576110de613c52565b6110e661342b565b6040516352d1902d60e01b8152916020836004816001600160a01b0386165afa5f9381611162575b5061112f57634c9c8ce360e01b5f526001600160a01b03821660045260245ffd5b905f516020615cc35f395f51905f52830361114e576100189250615a8a565b632a87526960e21b5f52600483905260245ffd5b61118591945060203d60201161118c575b61117d8183611545565b81019061564f565b925f61110e565b503d611173565b346105ef576102603660031901126105ef576004356111b1816105de565b6101e03660231901126105ef576040366102031901126105ef576020366102431901126105ef575f516020615d235f395f51905f5254906001600160401b0361121260ff604085901c1615611205565b1590565b936001600160401b031690565b1680159081611331575b6001149081611327575b15908161131e575b5061130f57611271908261126860016001600160401b03195f516020615d235f395f51905f525416175f516020615d235f395f51905f5255565b6112d557612a39565b61127757005b6112a160ff60401b195f516020615d235f395f51905f5254165f516020615d235f395f51905f5255565b604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29080602081015b0390a1005b61130a6801000000000000000060ff60401b195f516020615d235f395f51905f525416175f516020615d235f395f51905f5255565b612a39565b63f92ee8a960e01b5f5260045ffd5b9050155f61122e565b303b159150611226565b83915061121c565b346105ef575f3660031901126105ef576020600e54811c60020b604051908152f35b346105ef5760403660031901126105ef576004356001600160401b0381116105ef5761138b9036906004016107a9565b6024356001600160401b0381116105ef576113aa9036906004016107a9565b906113b361342b565b818303611401575f5b8381106113c557005b806113fb6113d660019387896129b5565b356113e0816105de565b6113eb8387876129b5565b35906113f682612871565b61437b565b016113bc565b631fec674760e31b5f5260045ffd5b346105ef575f3660031901126105ef5761142861342b565b5f516020615ce35f395f51905f525460ff81161561147f5760ff19165f516020615ce35f395f51905f52557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6020604051338152a1005b638dfc202b60e01b5f5260045ffd5b346105ef575f3660031901126105ef576114a66143f1565b6114ae614406565b60408051928352602083019190915290f35b346105ef575f3660031901126105ef57602060ff603e54166040519015158152f35b346105ef5760203660031901126105ef576004355f52603d602052602060ff60405f2054166040519015158152f35b634e487b7160e01b5f52604160045260245ffd5b60a081019081106001600160401b0382111761154057604052565b611511565b90601f801991011681019081106001600160401b0382111761154057604052565b6040519061060061018083611545565b604051906106006101a083611545565b6040519061060061012083611545565b6040519061060061016083611545565b6040519061060060a083611545565b6001600160401b03811161154057601f01601f191660200190565b81601f820112156105ef578035906115e7826115b5565b926115f56040519485611545565b828452602083830101116105ef57815f926020809301838601378301015290565b60403660031901126105ef5760043561162e816105de565b6024356001600160401b0381116105ef5761164d9036906004016115d0565b9060ff5f5416610d26576110de613c52565b346105ef575f3660031901126105ef577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031630036116b65760206040515f516020615cc35f395f51905f528152f35b63703e46dd60e11b5f5260045ffd5b346105ef575f3660031901126105ef576116dd61342b565b5f5b601881101561001857806116f4600192612e38565b6001600160401b0382549160031b1b191690555f8160210155016116df565b346105ef5761172136611014565b9061172a61342b565b5f5b81811061173c5761001883614466565b6117478183866129b5565b3590811561179857816001925f52603d60205260405f208360ff198254161790557ff565a91252cfbf3ef576a7de924ab11175ba29b316695baeaa0762c25684fcdf6020604051858152a20161172c565b633234591360e21b5f5260045ffd5b346105ef575f3660031901126105ef575f516020615cc35f395f51905f52546040516001600160a01b039091168152602090f35b346105ef575f3660031901126105ef57602060ff5f516020615ce35f395f51905f5254166040519015158152f35b346105ef5760203660031901126105ef5761001860043561182981610dbc565b61183161342b565b614466565b346105ef5760403660031901126105ef57600435611853816105de565b6024359061185f61342b565b61186761344b565b6001600160a01b03169081156107335761187f612986565b90823b156105ef576040516323b872dd60e01b81523060048201526001600160a01b03929092166024830152604482018190525f8260648183875af1908115610959577f3a1474f7e987c73586ba37f580025eac82a1456e87b9eace40768b8518a4b375926106d0926118fe575b506040519081529081906020820190565b8061094d5f61190c93611545565b5f6118ed565b346105ef5760203660031901126105ef5760043561192f816105de565b61193761342b565b6001600160a01b038116908115610733573b15610abf57603980546001600160a01b031916821790557fdb21ee24b749ce266d7e9bb769cc693d234aee3572e069ca1d70fa69b051f5b65f80a2005b346105ef575f3660031901126105ef57602060ff601554166040519015158152f35b346105ef575f3660031901126105ef57602063ffffffff600e5416604051908152f35b346105ef5760c03660031901126105ef576004356119e8816105de565b6024356119f4816105de565b604435611a00816105de565b60643590611a0d826105de565b60843592611a1a846105de565b60a43594611a27866105de565b611a2f61342b565b6001600160a01b031680611b49575b506001600160a01b038116611b1f575b506001600160a01b038116611afa575b506001600160a01b038116611ad5575b506001600160a01b038116611ab0575b506001600160a01b038116611a8f57005b600480546001600160a01b0319166001600160a01b03909216919091179055005b600380546001600160a01b0319166001600160a01b039092169190911790555f611a7e565b600280546001600160a01b0319166001600160a01b039092169190911790555f611a6e565b600180546001600160a01b0319166001600160a01b039092169190911790555f611a5e565b5f8054610100600160a81b03191660089290921b610100600160a81b03169190911790555f611a4e565b6001600160601b0360a01b60065416176006555f611a3e565b63ffffffff8116036105ef57565b8060020b036105ef57565b359061060082611b70565b60a09060031901126105ef57600435906024359060443590606435611baa81611b62565b90608435610a1881611b70565b346105ef57611bc536611b86565b92611bd194929461342b565b606481118015611c80575b611c715761001894611c1d82611c5095611c0d8887611bfd611c2598612e78565b611c0688612e78565b90856144a4565b600b5580600c5582600d55612e78565b601355612e78565b601455611c3a600160ff196015541617601555565b63ffffffff1663ffffffff19600e541617600e55565b600e549060201b66ffffff00000000169066ffffff00000000191617600e55565b637bdbf33d60e01b5f5260045ffd5b5060648511611bdc565b346105ef575f3660031901126105ef5763ffc0fd9360e01b5f5260045ffd5b346105ef575f3660031901126105ef576001546040516001600160a01b039091168152602090f35b346105ef5760203660031901126105ef57600435611cee816105de565b60018060a01b03165f526012602052602060ff60405f205416604051908152f35b346105ef5760a03660031901126105ef576004356001600160401b0381116105ef57611d3f90369060040161096d565b602435906001600160401b0382116105ef57366023830112156105ef578160040135926001600160401b0384116105ef573660248560061b850101116105ef576100189360443591611d8f6105f3565b936024608435960191612e8e565b346105ef575f3660031901126105ef575f516020615d435f395f51905f5254336001600160a01b0390911603611dd65761001833614e16565b63118cdaa760e01b5f523360045260245ffd5b346105ef575f3660031901126105ef575f5460405160089190911c6001600160a01b03168152602090f35b346105ef575f3660031901126105ef576039546040516001600160a01b039091168152602090f35b346105ef57611e4a36611014565b9091611e5461342b565b5f5b838110611e5f57005b80611e7784611e7160019488876129b5565b3561441b565b01611e56565b908160209103126105ef573590565b346105ef5760203660031901126105ef57600435611ea861342b565b611eb061344b565b8015610724575f8080808460018060a01b035f516020615ca35f395f51905f5254165af1611edc6129ec565b5015611f205760207f7da8b376ba93770d27c25cf7bbac4d89f12ba25b3fe6e20fa9ed9e60e6d00f6091604051908152a160015f516020615d035f395f51905f5255005b63b1b5a6af60e01b5f5260045ffd5b346105ef575f3660031901126105ef57335f52600f60205260ff60405f2054168015611fb4575b15610ace57611f6361354a565b600160ff195f516020615ce35f395f51905f525416175f516020615ce35f395f51905f52557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586020604051338152a1005b505f516020615ca35f395f51905f52546001600160a01b03163314611f56565b346105ef57610018611fe536610dc6565b90611fee61342b565b614e81565b346105ef5760203660031901126105ef57610018600435612013816105de565b61201b61342b565b61432c565b346105ef575f3660031901126105ef575f516020615ca35f395f51905f52546040516001600160a01b039091168152602090f35b346105ef5760203660031901126105ef57600435612071816105de565b61207961342b565b6001600160a01b038116908115610733573b15610abf57603a80546001600160a01b031916821790557f957fea8002b35abe6fca992352a8d268b9417ee787639a8da3fc71d9528feaef5f80a2005b346105ef5760403660031901126105ef576100186024356004356120ea61342b565b613232565b346105ef575f3660031901126105ef576020610f82613367565b346105ef5760403660031901126105ef5761001860243560043561212c82610dbc565b61213461342b565b61441b565b346105ef5761214736610dc6565b61214f61342b565b6001600160a01b038216918215610733578190816121c0575b506121b15760207f863bee5db55c02da8b80774d486b56883894e4ea55bbab0ca9d66352ee99a11691835f52603c8252610e4c8160405f209060ff801983541691151516179055565b633832f55960e21b5f5260045ffd5b61030f91501615155f612168565b346105ef575f3660031901126105ef576020600c54604051908152f35b346105ef576121f93661099a565b90335f52600f60205260ff60405f20541680156122ed575b15610ace5761221e61344b565b61222661354a565b6122308282614ed5565b6001600160e01b0319811663938a6e9760e01b81141590816122db575b506122bf5750603b546001600160a01b031680156122b0575f928392612278604051809381936129df565b03915af46122846129ec565b9015610ab757610ab3906122a460015f516020615d035f395f51905f5255565b60405191829182610a07565b6322c1801560e11b5f5260045ffd5b638959bb4d60e01b5f526001600160e01b03191660045260245ffd5b63013fcea160e31b141590505f61224d565b505f516020615ca35f395f51905f52546001600160a01b03163314612211565b346105ef575f3660031901126105ef57610ab360405161232e604082611545565b60058152640352e302e360dc1b60208201526040519182916020835260208301906109c8565b346105ef575f3660031901126105ef576020601654604051908152f35b346105ef575f3660031901126105ef576009546040516001600160a01b039091168152602090f35b346105ef575f3660031901126105ef576020601454604051908152f35b346105ef575f3660031901126105ef57602060ff601a54166040519015158152f35b346105ef5760203660031901126105ef5760206123ff6004356123fa816105de565b6133e2565b6040519015158152f35b346105ef575f3660031901126105ef576006546040516001600160a01b039091168152602090f35b346105ef5760603660031901126105ef5760043561244e81610dbc565b6024356044359161245d61342b565b6127108311611c715780806124ce575b611c71576112d07ff1c2407154dd06d7e072d9b67f946729b9da4b7f9efba2661f88e12fca4bdb439360ff19601a541660ff8415151617601a5583601855806019556040519384938460409194939260608201951515825260208201520152565b5081158061246d5750821561246d565b346105ef575f3660031901126105ef57600a546040516001600160a01b039091168152602090f35b346105ef575f3660031901126105ef576020601354604051908152f35b346105ef5760203660031901126105ef57600435612540816105de565b60018060a01b03165f526011602052602060ff60405f2054166040519015158152f35b346105ef576100186125b363ffffffff6125ab61257f36611b86565b969361258e959293919561342b565b61259b88878685856144a4565b600b558060135582601455614fa2565b600c55614fa2565b600d55600160ff1960155416176015551663ffffffff19600e541617600e55600e549060201b66ffffff00000000169066ffffff00000000191617600e55565b346105ef575f3660031901126105ef57602060ff5f54166040519015158152f35b346105ef575f3660031901126105ef576020601954604051908152f35b346105ef5761001861264236610dc6565b9061108b61342b565b346105ef5760403660031901126105ef5761001860043561266b816105de565b60243590612678826105de565b61268061342b565b614237565b346105ef575f3660031901126105ef5760ff601a541660185490601954916126ab613367565b6126b3612a1b565b908181106126e45760c0945f935b6040519515158652602086015260408501526060840152608083015260a0820152f35b808203948286116126f85760c095936126c1565b612e64565b346105ef5760203660031901126105ef5760043561271a816105de565b60018060a01b03165f52600f602052602060ff60405f2054166040519015158152f35b346105ef575f3660031901126105ef576003546040516001600160a01b039091168152602090f35b346105ef575f3660031901126105ef576004546040516001600160a01b039091168152602090f35b346105ef575f3660031901126105ef575f516020615d435f395f51905f52546040516001600160a01b039091168152602090f35b346105ef5760203660031901126105ef576004356127de816105de565b6127e661342b565b5f516020615d435f395f51905f5280546001600160a01b0319166001600160a01b039283169081179091555f516020615ca35f395f51905f52549091167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e227005f80a3005b346105ef575f3660031901126105ef576005546040516001600160a01b039091168152602090f35b60ff8116036105ef57565b346105ef5760403660031901126105ef5761001860043561289c816105de565b602435906128a982612871565b6113f661342b565b346105ef575f3660031901126105ef576002546040516001600160a01b039091168152602090f35b346105ef5760203660031901126105ef576004356128f6816105de565b60018060a01b03165f526010602052602060ff60405f2054166040519015158152f35b346105ef575f3660031901126105ef57603b546040516001600160a01b039091168152602090f35b346105ef5761294f36611014565b909161295961342b565b5f5b83811061296457005b806129808461297660019488876129b5565b35611fee816105de565b0161295b565b5f516020615ca35f395f51905f52546001600160a01b031690565b634e487b7160e01b5f52603260045260245ffd5b91908110156129c55760051b0190565b6129a1565b35610a18816105de565b6040513d5f823e3d90fd5b908092918237015f815290565b3d15612a16573d906129fd826115b5565b91612a0b6040519384611545565b82523d5f602084013e565b606090565b60ff601a541615612a3557610a1860185460195490614011565b5f90565b6001600160a01b0381161561073357612a6190612a54615624565b612a5c615624565b614e16565b612a69615624565b612a71615624565b6001600160a01b03612a8360246129ca565b16612e09575b612a9661084760446129ca565b612dd1575b612aa861084760646129ca565b612da2575b612aba61084760846129ca565b612d73575b612acc61084760a46129ca565b612d44575b612ade61084760c46129ca565b612d15575b612af061084760e46129ca565b612ce6575b612b036108476101046129ca565b612cb6575b6101243580612cae5750612b1d610258600b55565b6101443580612ca55750612b7060035b6101643580612c9b5750612b576004915b610184359081612c9557612b529150612e78565b601355565b6101a4359081612c8f57612b6b9150612e78565b601455565b612b83612b7e601354614fa2565b600c55565b612b96612b91601454614fa2565b600d55565b612ba8600160ff196015541617601555565b63ffffffff612bb86101c4614223565b16612c7c57600e805463ffffffff191660781790555b612bd96101e461422d565b60020b612c6957600e805466ffffff0000000019166478000000001790555b612c28600b54601354601454600e5491612c22612c188463ffffffff1690565b9360201c60020b90565b936144a4565b612c47612c366102046129ca565b612c416102246129ca565b90614237565b612c556108476102446129ca565b612c5b57565b61060061201b6102446129ca565b612bf8612c776101e461422d565b611c50565b612bce612c8a6101c4614223565b611c3a565b50612b6b565b50612b52565b612b579091612b3e565b612b7090612b2d565b600b55612b1d565b612ce1612cc46101046129ca565b60018060a01b03166001600160601b0360a01b6008541617600855565b612b08565b612d10612cf360e46129ca565b60018060a01b03166001600160601b0360a01b6007541617600755565b612af5565b612d3f612d2260c46129ca565b60018060a01b03166001600160601b0360a01b6004541617600455565b612ae3565b612d6e612d5160a46129ca565b60018060a01b03166001600160601b0360a01b6003541617600355565b612ad1565b612d9d612d8060846129ca565b60018060a01b03166001600160601b0360a01b6002541617600255565b612abf565b612dcc612daf60646129ca565b60018060a01b03166001600160601b0360a01b6001541617600155565b612aad565b612e04612dde60446129ca565b5f8054610100600160a81b03191660089290921b610100600160a81b0316919091179055565b612a9b565b612e33612e1660246129ca565b60018060a01b03166001600160601b0360a01b6006541617600655565b612a89565b9060188210156129c55760188260021c601b019260031b1690565b60188110156129c557602101905f90565b634e487b7160e01b5f52601160045260245ffd5b906064820291808304606414901517156126f857565b92959193909495335f52600f60205260ff60405f20541680156131ec575b15610ace57612eb961344b565b612ec161354a565b612ecb868561481a565b612ed9610847979297612986565b33036131b3575b60c0870151306001600160a01b03909116036131a4576020870180516001600160a01b038b8116911603613195578751612f2f90610847906001600160a01b031692516001600160a01b031690565b6001600160a01b0390911614613195576001600160a01b03168015159081613175575b5061316657610100860193808551106130815760018311611401576001830361311c57836130f25786516001600160a01b0316612f95610847610842868661320c565b6001600160a01b0390911614801590613101575b6130f257612ff194612fbc610847612986565b33036130d8575b5190808211156130d05750965b612fdb610847612986565b3303613090575b612feb89614a99565b95614b4d565b612ffa84614a99565b908082106130815761300b91613225565b9182106130815761301d610847612986565b330361303d575b50505061060060015f516020615d035f395f51905f5255565b80516130799390613071906001600160a01b0316926130648560e083019585875191614c55565b516001600160a01b031690565b915191614c6a565b5f8080613024565b6362e7073960e01b5f5260045ffd5b6130cb888a6130b6826130a98c5160018060a01b031690565b60e08d019384519161495b565b89518c906001600160a01b0316915191614a0e565b612fe2565b905096612fd0565b6130ed6130e8610842868661320c565b61492a565b612fc3565b630bd8074560e21b5f5260045ffd5b5060e08701516020613113858561320c565b01351415612fa9565b83156107245786516001600160a01b031673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee14801590613158575b6130f257612ff194612fc3565b508360e0880151141561314b565b63a18d01bf60e01b5f5260045ffd5b60055490915061318d906001600160a01b0316610847565b14155f612f52565b6316f2578d60e31b5f5260045ffd5b63e294034b60e01b5f5260045ffd5b86516131c7906001600160a01b031661492a565b60208701516131de906001600160a01b031661492a565b6131e78961492a565b612ee0565b505f516020615ca35f395f51905f52546001600160a01b03163314612eac565b90156129c55790565b91908110156129c55760061b0190565b919082039182116126f857565b90811580613352575b6132f557670dbd2fc137a30000821080156132e4575b80156132d3575b80156132c2575b80156132b8575b611c7157816132957f5976992fe6bc159e825b489f5e427d6c113900ec0f428e3c0ba04fd70859d22593601655565b61329e82601755565b60408051918252602082019290925290819081015b0390a1565b5080821015613266565b50670de0b6b3a7640000811061325f565b50670de0b6b3a76400008211613258565b50670e043da6172500008111613251565b50506133005f601655565b6133095f601755565b7f5976992fe6bc159e825b489f5e427d6c113900ec0f428e3c0ba04fd70859d225604051806132b38190670de7d1b0f0f1000060206040840193670ddca0c869e6200081520152565b50801561323b565b919082018092116126f857565b5f90610e1042045f5b6018811061337c575050565b6001600160401b0361338d82612e38565b90549060031b1c168281111590816133ce575b506133ae575b600101613370565b926133b884612e53565b90549060031b1c81018091116126f857926133a6565b905082038281116126f8576018115f6133a0565b6001600160a01b0381165f8181526011602052604090205460ff16613425575f52601060205260ff60405f20541690811561341b575090565b610a189150614ee1565b50505f90565b5f516020615ca35f395f51905f52546001600160a01b03163303611dd657565b60025f516020615d035f395f51905f5254146134745760025f516020615d035f395f51905f5255565b633ee5aeb560e01b5f5260045ffd5b9061348f5f8284614fbe565b15613498575050565b6134a2818361500b565b156134da575f6134b2918361506f565b156134ba5750565b635274afe760e01b5f9081526001600160a01b0391909116600452602490fd5b50635274afe760e01b5f9081526001600160a01b0391909116600452602490fd5b9190613508828285614fbe565b1561351257505050565b61351c818461500b565b1561352c57906134b2918361506f565b635274afe760e01b5f9081526001600160a01b038416600452602490fd5b60ff5f516020615ce35f395f51905f52541661356257565b63d93c066560e01b5f5260045ffd5b90929192836004116105ef5783116105ef57600401916003190190565b6fffffffffffffffffffffffffffffffff8116036105ef57565b35906106008261358e565b6020818303126105ef578035906001600160401b0382116105ef570190610180828203126105ef576135e3611566565b916135ed81610602565b83526135fb60208201610602565b602084015261360c60408201610d42565b604084015261361d60608201611b7b565b606084015261362e60808201611b7b565b608084015261363f60a08201611b7b565b60a084015261365060c08201610602565b60c084015260e08101356001600160401b0381116105ef57610160926136779183016115d0565b60e084015261368961010082016135a8565b61010084015261369c61012082016135a8565b6101208401526136af6101408201610602565b610140840152013561016082015290565b6020818303126105ef578035906001600160401b0382116105ef5701906101a0828203126105ef576136f0611576565b916136fa81610602565b835261370860208201610602565b602084015261371960408201610d42565b604084015261372a60608201611b7b565b606084015261373b60808201611b7b565b608084015261374c60a08201611b7b565b60a084015261375d60c08201610602565b60c084015260e08101356001600160401b0381116105ef57610180926137849183016115d0565b60e084015261379661010082016135a8565b6101008401526137a961012082016135a8565b6101208401526137bc61014082016135a8565b6101408401526137cf6101608201610602565b610160840152013561018082015290565b91909160e0818403126105ef5780359260208201356137fe8161358e565b92604083013561380d8161358e565b92606081013561381c8161358e565b926080820135906001600160401b0382116105ef5761383c9183016115d0565b9160c060a083013561384d816105de565b92013590565b9060c0828203126105ef578135926020830135926040810135926060820135906001600160401b0382116105ef5761388c9183016115d0565b9160a0608083013561384d816105de565b91909160a0818403126105ef5780359260208201359260408301356138c18161358e565b9260608101356138d08161358e565b9260808201356001600160401b0381116105ef57610a1892016115d0565b906080828203126105ef57813592602083013561390a8161358e565b9260408101356139198161358e565b9260608201356001600160401b0381116105ef57610a1892016115d0565b5f516020615ca35f395f51905f525490919061395b906001600160a01b0316610847565b3314613bbe5761396b8183614ed5565b916001600160e01b0319831663106724a160e21b8114613b8657635cad5ee160e01b8114613acd5763e44eda8960e01b8114613a9f576330b82a3d60e21b8114613a6d5763e9b8312960e01b8114613a425763013d134360e61b8114613a2657631ce433c760e21b146139f557638959bb4d60e01b5f526001600160e01b0319831660045260245ffd5b613a239250613a0b82613a1e93613a1393613571565b8101906138ee565b9150509190916150b7565b6152c9565b50565b50613a23925081613a1e92613a3a92613571565b810190611e7d565b50613a239250613a5982613a1e93613a6193613571565b81019061389d565b925050509190916150b7565b506106009250613a8f613a8783613a1e94613a9a94613571565b810190613853565b5095925090506150b7565b6151b9565b506106009250613ac1613ab983613a1e94613a9a94613571565b8101906137e0565b509693509150506150b7565b50610600925081613ae992613ae192613571565b8101906136c0565b8051613b809061016090613b71906001600160a01b03165b6020850180519091613b1d916001600160a01b03165b906150aa565b613b2a60e08601516150b7565b8451613b48906001600160a01b03165b91516001600160a01b031690565b604086015162ffffff16606087015160020b60c08801519092906001600160a01b0316936150f7565b9201516001600160a01b031690565b906151b9565b50610600925081613ba292613b9a92613571565b8101906135b3565b8051613b809061014090613b71906001600160a01b0316613b01565b5050565b908160209103126105ef5751610a1881610dbc565b803b15610abf576040516301ffc9a760e01b815263eef390ed60e01b600482015290602090829060249082906001600160a01b03165afa5f9181613c31575b50613c2a5763350c20f160e01b5f5260045ffd5b15610abf57565b613c4b91925060203d602011610c4e57610c3f8183611545565b905f613c16565b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016308114908115613c8e575b506116b657565b5f516020615cc35f395f51905f52546001600160a01b0316141590505f613c87565b5190610600826105de565b908160209103126105ef5751610a18816105de565b5f54604051630b4c774160e11b81526001600160a01b039283166004820152928216602484015262ffffff9390931660448301529092916020918491606491839160081c165afa918215610959575f92613d46575b506001600160a01b03821615613d3757565b63c8e5b88d60e01b5f5260045ffd5b613d6991925060203d602011613d70575b613d618183611545565b810190613cbb565b905f613d25565b503d613d57565b90816101209103126105ef57610100613d8e611586565b91613d9881610602565b8352613da660208201610602565b6020840152613db760408201610d42565b6040840152613dc860608201611b7b565b6060840152613dd960808201611b7b565b608084015260a081013560a084015260c081013560c084015260e081013560e0840152013561010082015290565b908160a09103126105ef578035916020820135916040810135916080606083013592013590565b91908260809103126105ef578135916020810135613e4b8161358e565b916060604083013592013590565b5f516020615ca35f395f51905f5254909190613e7d906001600160a01b0316610847565b3314613bbe57613e8d8183614ed5565b916001600160e01b03198316637547a56560e01b8114613f8357637e09446960e11b8114613f49576341743b8560e01b8114613f255763d8632f3f60e01b8114908115613f14575b50613ef757638959bb4d60e01b5f526001600160e01b0319831660045260245ffd5b613f0f925081613f0a92613a3a92613571565b615511565b505050565b6308dd0f4b60e41b1490505f613ed5565b50613f0f925081613f4192613f3992613571565b810190613e2e565b505050615511565b506106009250613f6b613f6383613f7e94613f7494613571565b810190613e07565b50505050615511565b818394929461537f565b615415565b50610600925081613f9f92613f9792613571565b810190613d77565b80516001600160a01b03166020820180519091613fc4916001600160a01b0316613b17565b815161400490613b3a90613ff6906001600160a01b031684516001600160a01b0316604087015162ffffff169161537f565b93516001600160a01b031690565b91615415565b156105ef57565b808202905f1983820990828083109203918083039283620f424011156105ef5714614071577fde8f6cefed634549b62c77574f722e1ac57e23f24d8fd5cb790fb65668c2613993620f4240910990828211900360fa1b910360061c170290565b5050620f424091500490565b808202905f1983820990828083109203918083039283670de0b6b3a764000011156105ef57146140e7577faccb18165bd6fe31ae1cf318dc5b51eee0e1ba569b88cd74c1773b91fac1066993670de0b6b3a7640000910990828211900360ee1b910360121c170290565b5050670de0b6b3a764000091500490565b81810291905f1982820991838084109303928084039384600160601b11156105ef571461413857600160601b910990828211900360a01b910360601c1790565b50505060601c90565b91818302915f1981850993838086109503948086039561416287861161400a565b146141bc579082910981805f03168092046002816003021880820260020302808202600203028082026002030280820260020302808202600203028091026002030293600183805f03040190848311900302920304170290565b505091500490565b6001600160a01b03169081156107335760207f459374521a737ddab6c308cce84921454dc67504bab079c570f6b10783a9983391835f52601182526142188160405f209060ff801983541691151516179055565b6040519015158152a2565b35610a1881611b62565b35610a1881611b70565b6001600160a01b03811691908215801561431b575b610733573b15610abf576040516301ffc9a760e01b815263194d3dc360e11b6004820152602081602481865afa5f91816142fa575b506142955763350c20f160e01b5f5260045ffd5b15610abf576142a381613bd7565b816001600160601b0360a01b600954161760095560018060a01b031690816001600160601b0360a01b600a541617600a557fe7836f4c1585572e73ac1ebd237c17348e5b453da767958b34b22bd170f6e52f5f80a3565b61431491925060203d602011610c4e57610c3f8183611545565b905f614281565b506001600160a01b0382161561424c565b6001600160a01b038116908115610733573b15610abf57600580546001600160a01b031916821790557f582a9190e9698f4ae4033df26d63cee4674df3b1b6bc85f15c7b6f6e5b915b585f80a2565b6001600160a01b03169081156107335760ff16601281116143db575f82815260126020908152604091829020805460ff19168417905590519182527f31dfb0b93d14a11354bdf350f127e8377a7bd3cbbd5d0f0bfad2d98eb677663091a2565b90633477b72d60e21b5f5260045260245260445ffd5b60165480610a185750670ddca0c869e6200090565b60175480610a185750670de7d1b0f0f1000090565b9081156117985760207ff565a91252cfbf3ef576a7de924ab11175ba29b316695baeaa0762c25684fcdf91835f52603d82526142188160405f209060ff801983541691151516179055565b60207f8e9de2ad3a40d17f313c20330499cca08ea2af3f45dc68f8f03e27caab0bced391151560ff19603e541660ff821617603e55604051908152a1565b601e8110908115614509575b50611c715761271010611c715761271010611c715763ffffffff16601e81109081156144fd575b50611c715760020b5f81129081156144f1575b50611c7157565b6113889150135f6144ea565b610e109150115f6144d7565b610e109150115f6144b0565b6001600160401b0381116115405760051b60200190565b9080601f830112156105ef57813561454381614515565b926145516040519485611545565b81845260208085019260051b8201019283116105ef57602001905b8282106145795750505090565b602080918335614588816105de565b81520191019061456c565b9080601f830112156105ef5781356145aa81614515565b926145b86040519485611545565b81845260208085019260051b8201019283116105ef57602001905b8282106145e05750505090565b81358152602091820191016145d3565b919091610160818403126105ef57614606611596565b9261461082610602565b845261461e60208301610602565b602085015260408201356001600160401b0381116105ef578161464291840161452c565b604085015260608201356001600160401b0381116105ef5781614666918401614593565b606085015260808201356001600160401b0381116105ef578161468a91840161452c565b608085015260a08201356001600160401b0381116105ef57816146ae918401614593565b60a08501526146bf60c08301610602565b60c085015260e082013560e08501526101008201356101008501526101208201356101208501526101408201356001600160401b0381116105ef5761470492016115d0565b610140830152565b6020818303126105ef578035906001600160401b0382116105ef570160a0818303126105ef5761473a6115a6565b9161474482610602565b835261475260208301610602565b602084015260408201356001600160401b0381116105ef57816147769184016115d0565b604084015260608201356001600160401b0381116105ef578161479a9184016145f0565b606084015260808201356001600160401b0381116105ef576147bc92016115d0565b608082015290565b906080828203126105ef5781356147da816105de565b9260208301356001600160401b0381116105ef57826147fa9185016145f0565b9260408101356001600160401b0381116105ef57836139199183016115d0565b9060405161016081018181106001600160401b03821117611540576040525f81525f60208201526060604082015260608082015260606080820152606060a08201525f60c08201525f60e08201525f6101008201525f6101208201526060610140820152506004811061491b57806148929183613571565b91356001600160e01b03191663e21fd0e960e01b8114801561490b575b6148e457638af033fb60e01b146148cf57633e0420f760e11b5f5260045ffd5b6148db918101906147c4565b50509050905f90565b506148f19181019061470c565b60608101516020909101519091906001600160a01b031690565b506359e50fed60e01b81146148af565b633e0420f760e11b5f5260045ffd5b614933816133e2565b1561493b5750565b63094403b760e41b5f9081526001600160a01b0391909116600452602490fd5b601554919493929160ff16156149f257601454925b620f424080851015611c71576149896149a4928861566c565b9461499e614997868661566c565b9183613225565b90614141565b8084106149b757509361060093946156af565b604051633ec3d85360e01b81526001600160a01b039283166004820152918616602483015260448201849052606482015280608481015b0390fd5b600d546064810290808204606414901517156126f85792614970565b92909260ff601a541615614a9357614a2f92614a299161566c565b9261566c565b81811015613bbe5781039081116126f857614a48612a1b565b908115614a8457614a57613367565b8181018082116126f8578310614a6c57505050565b63e93203bf60e01b5f5260045260245260445260645ffd5b6322cfeb7760e01b5f5260045ffd5b50505050565b6001600160a01b031673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee8114614b1b576020602491604051928380926370a0823160e01b82523060048301525afa908115610959575f91614aec575090565b90506020813d602011614b13575b81614b0760209383611545565b810103126105ef575190565b3d9150614afa565b504790565b91926060938192845260406020850152816040850152848401375f828201840152601f01601f1916010190565b6005546001600160a01b0316949093909285908115614c4657821580614c3e575b610724575f5b838110614c0b57505f8060405180614b8d81898c6129df565b039088865af191614b9c6129ec565b935f5b818110614be8575050505015610ab7575090614be37f1c2e5a1031d3c1c47ea8f476f148cd18347010473bfddd5967d034cefbe63220939260405193849384614b20565b0390a2565b80614c0584614c00610847610842600196888b613215565b613483565b01614b9f565b80614c38614c226108476108426001958988613215565b856020614c30858a89613215565b0135916134fb565b01614b74565b508415614b6e565b6367d4f18960e11b5f5260045ffd5b9190614c64610600948261566c565b926156af565b929092614c7c611201601a5460ff1690565b614a9357614c8d92614a299161566c565b81811015613bbe57614c9e91613225565b614ca6612a1b565b908115614a8457614cb5613367565b9180614cc1838561335a565b11614dfb57610e1042049060188206906001600160401b038311614dec57614d7b847f621d1f8a268d20c5d876ea840dc388aa1ae082a4a6b1a64322be37e94911efec96614d60614d4e6132b3966001600160401b038916806001600160401b03614d41614d2e85612e38565b90546001600160401b039160031b1c1690565b1603614d9e575b50612e53565b614d6585614d608385549060031b1c90565b61335a565b82545f1960039390931b92831b1916911b179055565b604051948594859094939260609260808301968352602083015260408201520152565b614dca90614dab83612e38565b9091906001600160401b038084549260031b9316831b921b1916179055565b614de6614dd682612e53565b8154905f199060031b1b19169055565b5f614d48565b630625040160e01b5f5260045ffd5b63e93203bf60e01b5f5260049290925260245260445260645ffd5b5f516020615d435f395f51905f5280546001600160a01b03199081169091555f516020615ca35f395f51905f5280549182166001600160a01b0393841690811790915591167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a3565b6001600160a01b03169081156107335760207fdc86ea80c17dba36e8aac1a8a9461dcc3967506848bd50e2e48b90507867abb991835f52601082526142188160405f209060ff801983541691151516179055565b90600411610abf573590565b60014614614eee57505f90565b60018060a01b031673a0b86991c6218b36c1d19d4a2e9eb0ce3606eb488114908115614f84575b8115614f66575b8115614f48575b8115614f2d575090565b73e343167631d89b6ffc58b88d6b7fb0228795491d91501490565b734c9edd5852cd905f086c759e8383e09bff1e68b381149150614f23565b736b175474e89094c44da98b954eedeac495271d0f81149150614f1c565b73dac17f958d2ee523a2206206994597c13d831ec781149150614f15565b80614fac57505f90565b606381018091116126f8576064900490565b92916040519163095ea7b360e01b5f5260018060a01b031660045260245260205f60448180875af19260015f5114841615614ffa575b50604052565b3d15903b151516909216915f614ff4565b60405163095ea7b360e01b5f9081526001600160a01b03909316600452602483905290929160209060448180875af19260015f511484161561504d5750604052565b60018492941516615066573b15153d151616915f614ff4565b833d5f823e3d90fd5b92916040519163095ea7b360e01b5f5260018060a01b031660045260245260205f60448180875af19260015f511484161561504d5750604052565b906130e86106009261492a565b516150be57565b634ba0a8f360e01b5f5260045ffd5b604051906150da82611525565b5f6080838281528260208201528260408201528260608201520152565b939190926151036150cd565b506001600160a01b038516801580156151a8575b610733576001600160a01b03851611156151995761513761120184615714565b6121b15761517f61518992615173610a18966151636151546115a6565b6001600160a01b03909a168a52565b6001600160a01b03166020890152565b62ffffff166040870152565b60020b6060850152565b6001600160a01b03166080830152565b632e6c432360e01b5f5260045ffd5b506001600160a01b03851615615117565b9061060091604051602081019060018060a01b03835116825260018060a01b03602084015116604082015262ffffff6040840151166060820152606083015160020b608082015260018060a01b0360808401511660a082015260a0815261522160c082611545565b5190209061522e8261574e565b6157b4565b519061060082610d35565b519061060082611b70565b8092910360c081126105ef5760a0136105ef5760a060405161526a81611525565b8351615275816105de565b81526020840151615285816105de565b6020820152604084015161529881610d35565b604082015260608401516152ab81611b70565b606082015260808401516152be816105de565b608082015292015190565b9060c061531d926152d86150cd565b506004546001600160a01b03166152ef828261593d565b604051637ba03aad60e01b81526004810192909252909384916001600160a01b031690829081906024820190565b03915afa918215610959575f9261534d575b508151610600908390613b17906020906001600160a01b0316613b71565b61537091925060c03d60c011615378575b6153688183611545565b810190615249565b50905f61532f565b503d61535e565b9061538a9291613cd0565b906106006001600160a01b03831661574e565b519061ffff821682036105ef57565b908160e09103126105ef5780516153c2816105de565b9160208201516153d181611b70565b916153de6040820161539d565b916153eb6060830161539d565b916153f86080820161539d565b9160c060a083015161540981612871565b920151610a1881610dbc565b604051633850c7bd60e01b81529060e090829060049082906001600160a01b03165afa801561095957615462915f916154d1575b50615453836159d6565b61545c856159d6565b91615a27565b61546a6143f1565b615472614406565b9181811080156154c8575b615488575050505050565b60405163134e470960e11b81526001600160a01b03948516600482015294909316602485015260448401929092526064830191909152608482015260a490fd5b5082811161547d565b6154f3915060e03d60e0116154ff575b6154eb8183611545565b8101906153ac565b5050505050505f615449565b503d6154e1565b51906106008261358e565b6001546001600160a01b0316906101809061552c818461593d565b60246040518094819363133f757160e31b835260048301525afa918215610959575f925f925f91615564575b509061060083856150aa565b9250509150610180813d821161561c575b816155836101809383611545565b810103126105ef5780516001600160601b03811681036105ef57506155aa60208201613cb0565b506155b760408201613cb0565b916155c460608301613cb0565b926156136101606155d760808601615233565b946155e460a0820161523e565b506155f160c0820161523e565b506155fe60e08201615506565b5061560c6101408201615506565b5001615506565b5092915f615558565b3d9150615575565b60ff5f516020615d235f395f51905f525460401c161561564057565b631afcd79f60e31b5f5260045ffd5b908160209103126105ef575190565b604d81116126f857600a0a90565b61567760ff916159d6565b16601281146156ab5760120360ff81116126f85760ff615697911661565e565b908181029181830414901517156126f85790565b5090565b916156c06156ce919492948461566c565b6156c8614406565b9061407d565b908181116156dc5750505050565b60405163b971b92960e01b81526001600160a01b03938416600482015293909216602484015260448301919091526064820152608490fd5b6001600160a01b0381168015615747575f52603c60205260ff60405f205416908161573d575090565b61030f9150161590565b5050600190565b61575781615b29565b1561575f5750565b63064a469560e31b5f5260045260245ffd5b91908260809103126105ef578151615788816105de565b91602081015161579781611b70565b91606060408301516157a881610d35565b920151610a1881610d35565b916001600160a01b03161561592e576007546001600160a01b0316801561591f5761580e916080916157ee906001600160a01b0316610847565b6040518080958194633205590760e21b8352600483019190602083019252565b03915afa908115610959575f916158ed575b50815161585590615839906001600160a01b03166159d6565b6020840180519093919061545c906001600160a01b03166159d6565b9161585e6143f1565b615866614406565b9181851080156158e4575b61587c575050505050565b516149ee92919061589e906001600160a01b031694516001600160a01b031690565b60405163e97f7d1d60e01b81526001600160a01b0395861660048201529416602485015260448401949094526064830193909352608482019290925290819060a4820190565b50828511615871565b61590f915060803d608011615918575b6159078183611545565b810190615771565b5050505f615820565b503d6158fd565b6303bc067d60e61b5f5260045ffd5b630ef5e33360e41b5f5260045ffd5b6040516331a9108f60e11b81526004810183905291906020836024816001600160a01b0385165afa928315610959575f936159b5575b50306001600160a01b0384160361598957505050565b630e34ebdf60e41b5f9081526001600160a01b0391821660045260249290925291909116604452606490fd5b6159cf91935060203d602011613d7057613d618183611545565b915f615973565b6001600160a01b0381165f818152601260205260409020549092919060ff1680615a225750615a0490615b4c565b60ff8116615a1e5782622f5da360e81b5f5260045260245ffd5b9150565b925050565b60ff615a4981615a42615a509460018060a01b0316806140f8565b941661565e565b931661565e565b9180670de0b6b3a76400000290670de0b6b3a76400008204036126f8576001600160a01b03831683036126f857610a189260601b91614141565b90813b15615b08575f516020615cc35f395f51905f5280546001600160a01b0319166001600160a01b0384169081179091557fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b5f80a2805115615af057613a2391615c16565b505034615af957565b63b398979f60e01b5f5260045ffd5b50634c9c8ce360e01b5f9081526001600160a01b0391909116600452602490fd5b60ff603e541615615b46575f52603d60205260ff60405f20541690565b50600190565b60014614615b5957505f90565b6001600160a01b031673a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4881148015615bf9575b8015615bdc575b615bd657736b175474e89094c44da98b954eedeac495271d0f8114908115615bb8575b50615bb3575f90565b601290565b734c9edd5852cd905f086c759e8383e09bff1e68b39150145f615baa565b50600690565b5073e343167631d89b6ffc58b88d6b7fb0228795491d8114615b87565b5073dac17f958d2ee523a2206206994597c13d831ec78114615b80565b905f8091602081519101845af48080615c76575b15615c39575050610a18615c89565b15615c5e57639996b31560e01b5f9081526001600160a01b0391909116600452602490fd5b3d15155f036129d45763d6bda27560e01b5f5260045ffd5b503d151580615c2a5750813b1515615c2a565b604051903d82523d5f602084013e60203d83010160405256fe9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c199300360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbccd5ed15c6e187e77e9aee88184c21f4f2182ab5827cb3b7e07fbedcd63f033009b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00237e158222e3e6968b72b9db0d8043aacf074ad9f650f0d1606b4d82ee432c00a164736f6c6343000823000af0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00","recompiledBytecode":"0x60a080604052346100e65760017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055306080525f516020615e5a5f395f51905f525460ff8160401c166100d7576002600160401b03196001600160401b03821601610084575b604051615d6f90816100eb82396080518181816116710152613c5c0152f35b6001600160401b0319166001600160401b039081175f516020615e5a5f395f51905f525581527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602090a15f80610065565b63f92ee8a960e01b5f5260045ffd5b5f80fdfe6080604052600436101561001a575b3615610018575f80fd5b005b5f3560e01c806306b091f9146105d957806308565bc1146105d45780630a147277146105cf5780630d3eeec1146105ca5780630d734324146105c5578063101ec30a146105c057806312261ee7146105bb57806312f62498146105b6578063141b73c4146105b1578063150b7a02146105ac578063152d0731146105a75780631698ee82146105a25780631de93b481461059d5780631e1bff3f146105985780631f2d5966146105935780632240e6121461058e578063236e5f1414610589578063249d39e91461058457806324bf6e911461057f5780632565c8841461057a578063271d6ffe14610575578063297e396914610570578063323134701461056b5780633659cfe6146105665780633bafd1b3146105615780633c5f72141461055c5780633f1aa6a2146105575780633f4ba83a14610552578063433ca2ec1461054d578063476526a3146105485780634bb3ae3e146105435780634f1ef2861461053e57806352d1902d1461053957806355feedc11461053457806357dccc041461052f5780635c60da1b1461052a5780635c975abb14610525578063605edf1a146105205780636088e93a1461051b57806360996f0d14610516578063660bd0c0146105115780636cf9219f1461050c5780636cfb6bf914610507578063702e1bf414610502578063715018a6146104fd5780637303e913146104f857806376ea0c55146104f3578063785e8275146104ee57806379ba5097146104e95780637c887c59146104e45780637fb051ba146104df578063837e864b146104da57806384276d81146104d55780638456cb59146104d05780638aaa2284146104cb5780638b33203c146104c65780638da5cb5b146104c15780638ebf8289146104bc5780639039cce6146104b757806391c0cd1e146104b2578063941158b0146104ad57806396bd0952146104a85780639c50a4d9146104a3578063a0909db21461049e578063ad3cb1cc14610499578063adf3036114610494578063b9c22f791461048f578063bae7a8ad1461048a578063bec3188914610485578063c475551a14610480578063c55dae631461047b578063c8a85be114610476578063c99f1e5414610471578063cc19de2a1461046c578063cc47abf614610467578063cf753d1214610462578063d24b37971461045d578063d3047d5614610458578063d588f04b14610453578063d74a5d001461044e578063dc419d5914610449578063debfda3014610444578063e20dccb21461043f578063e2f4dd431461043a578063e30c397814610435578063f2fde38b14610430578063f63ca6e41461042b578063f702d94f14610426578063f887ea4014610421578063f9eaee0d1461041c578063fa716b3f146104175763ff1f9c7a0361000e57612941565b612919565b6128d9565b6128b1565b61287c565b612849565b6127c1565b61278d565b612765565b61273d565b6126fd565b612685565b61264b565b612631565b612614565b6125f3565b612563565b612523565b612506565b6124de565b612431565b612409565b6123d8565b6123b6565b612399565b612371565b612354565b61230d565b6121eb565b6121ce565b612139565b612109565b6120ef565b6120c8565b612054565b612020565b611ff3565b611fd4565b611f2f565b611e8c565b611e3c565b611e14565b611de9565b611d9d565b611d0f565b611cd1565b611ca9565b611c8a565b611bb7565b6119cb565b6119a8565b611986565b611912565b611836565b611809565b6117db565b6117a7565b611713565b6116c5565b61165f565b611616565b6114e2565b6114c0565b61148e565b611410565b61135b565b611339565b611193565b611096565b61104c565b610fec565b610fc4565b610f8a565b610f68565b610f4c565b610ebb565b610e74565b610e57565b610deb565b610d9f565b610d4d565b610ccc565b610c72565b610c55565b610b6c565b610b44565b610afd565b610a1b565b6107d9565b610769565b61074c565b61060d565b6001600160a01b038116036105ef57565b5f80fd5b60643590610600826105de565b565b3590610600826105de565b346105ef5760403660031901126105ef5760043561062a816105de565b6024359061063661342b565b61063e61344b565b6001600160a01b03169081156107335780156107245760018060a01b035f516020615ca35f395f51905f5254166040519063a9059cbb60e01b5f526004528160245260205f60448180875af160015f5114811615610705575b604091909152156106e9576040519081527f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a94243649080602081015b0390a261001860015f516020615d035f395f51905f5255565b635274afe760e01b5f526001600160a01b03821660045260245ffd5b600181151661071b573d15843b15151616610697565b503d5f823e3d90fd5b6365e52d5160e11b5f5260045ffd5b63ae9954c360e01b5f5260045ffd5b5f9103126105ef57565b346105ef575f3660031901126105ef576020600d54604051908152f35b346105ef5760203660031901126105ef57600435610786816105de565b60018060a01b03165f52603c602052602060ff60405f2054166040519015158152f35b9181601f840112156105ef578235916001600160401b0383116105ef576020808501948460051b0101116105ef57565b346105ef5760203660031901126105ef576004356001600160401b0381116105ef576108099036906004016107a9565b9061081261342b565b6008546001600160a01b03161561095e575f5b82811061082e57005b6108656108536108476108428487876129b5565b6129ca565b6001600160a01b031690565b6008546001600160a01b031690613483565b60085461087c90610847906001600160a01b031681565b9061088b6108428286866129b5565b6004546001600160a01b0316833b156105ef576040516387517c4560e01b81526001600160a01b039283166004820152911660248201525f604482018190526001606483015290928390608490829084905af19182156109595760019261093f575b506108fc6108428286866129b5565b60045460a084901b8490039081166001600160a01b031691167f8e6082f82d88ebb7595b02d55ede8094ce17e40029d61292354afbb04ffaae855f80a301610825565b8061094d5f61095393611545565b80610742565b5f6108ed565b6129d4565b63876dafaf60e01b5f5260045ffd5b9181601f840112156105ef578235916001600160401b0383116105ef57602083818601950101116105ef57565b60206003198201126105ef57600435906001600160401b0382116105ef576109c49160040161096d565b9091565b91908251928382525f5b8481106109f2575050825f602080949584010152601f8019910116010190565b806020809284010151828286010152016109d2565b906020610a189281815201906109c8565b90565b610a243661099a565b90335f52600f60205260ff60405f2054168015610add575b15610ace57610a4961344b565b610a5161354a565b610a5b8282613937565b600a546001600160a01b03168015610abf57825f939284936040519283928337810184815203915af4610a8c6129ec565b9015610ab757610ab39060015f516020615d035f395f51905f525560405191829182610a07565b0390f35b602081519101fd5b63350c20f160e01b5f5260045ffd5b6312e25d5960e11b5f5260045ffd5b505f516020615ca35f395f51905f52546001600160a01b03163314610a3c565b346105ef5760203660031901126105ef57600435610b1a816105de565b610b2261342b565b600880546001600160a01b0319166001600160a01b0392909216919091179055005b346105ef575f3660031901126105ef576008546040516001600160a01b039091168152602090f35b346105ef5760203660031901126105ef57600435610b89816105de565b610b9161342b565b6001600160a01b038116908115610733573b15610abf576040516301ffc9a760e01b8152639a741b9f60e01b6004820152602081602481855afa5f9181610c24575b50610be75763350c20f160e01b5f5260045ffd5b15610abf57603b80546001600160a01b031916821790557f5371b5384a8ca13185168caea3d68cdae7cdd42fa4b99deede7ed3a345f7d1735f80a2005b610c4791925060203d602011610c4e575b610c3f8183611545565b810190613bc2565b905f610bd3565b503d610c35565b346105ef575f3660031901126105ef576020601754604051908152f35b346105ef5760803660031901126105ef57610c8e6004356105de565b610c996024356105de565b6064356001600160401b0381116105ef57610cb890369060040161096d565b5050604051630a85bd0160e11b8152602090f35b346105ef575f3660031901126105ef57610ce4613c52565b610cec61342b565b5f5460ff8116610d265760019060ff1916175f557fbbbfc8f80672f98366c78f334ec935871991b2825f67cbe69bae201705e81a0c5f80a1005b63d74c95cb60e01b5f5260045ffd5b62ffffff8116036105ef57565b359061060082610d35565b346105ef5760603660031901126105ef576020610d8d600435610d6f816105de565b602435610d7b816105de565b60443591610d8883610d35565b613cd0565b6040516001600160a01b039091168152f35b346105ef575f3660031901126105ef576020601854604051908152f35b801515036105ef57565b60409060031901126105ef57600435610dde816105de565b90602435610a1881610dbc565b346105ef5760207f278b09622564dd3991fe7744514513d64ea2c8ed2b2b9ec1150ad964fde80a99610e1c36610dc6565b9290610e2661342b565b6001600160a01b03165f818152600f835260409020805460ff191660ff86151516179055925b6040519015158152a2005b346105ef575f3660031901126105ef576020600b54604051908152f35b346105ef5760203660031901126105ef57600435610e91816105de565b610e9961342b565b600780546001600160a01b0319166001600160a01b0392909216919091179055005b610ec43661099a565b90335f52600f60205260ff60405f2054168015610f2c575b15610ace57610ee961344b565b610ef161354a565b610efb8282613e59565b6009546001600160a01b03168015610abf57825f939284936040519283928337810184815203915af4610a8c6129ec565b505f516020615ca35f395f51905f52546001600160a01b03163314610edc565b346105ef575f3660031901126105ef5760206040516127108152f35b346105ef575f3660031901126105ef576020610f82612a1b565b604051908152f35b346105ef575f3660031901126105ef5760206040517f999a33e54989faec6502b28ef75a794e0e28fc38d2dc9648a906e853cca474be8152f35b346105ef575f3660031901126105ef57603a546040516001600160a01b039091168152602090f35b346105ef575f3660031901126105ef576007546040516001600160a01b039091168152602090f35b60406003198201126105ef57600435906001600160401b0382116105ef5761103e916004016107a9565b9091602435610a1881610dbc565b346105ef5761105a36611014565b909161106461342b565b5f5b83811061106f57005b806110908461108160019488876129b5565b3561108b816105de565b6141c4565b01611066565b346105ef5760203660031901126105ef576004356110b3816105de565b6110bb613c52565b604051906110ca602083611545565b5f825260ff5f5416610d26576110de613c52565b6110e661342b565b6040516352d1902d60e01b8152916020836004816001600160a01b0386165afa5f9381611162575b5061112f57634c9c8ce360e01b5f526001600160a01b03821660045260245ffd5b905f516020615cc35f395f51905f52830361114e576100189250615a8a565b632a87526960e21b5f52600483905260245ffd5b61118591945060203d60201161118c575b61117d8183611545565b81019061564f565b925f61110e565b503d611173565b346105ef576102603660031901126105ef576004356111b1816105de565b6101e03660231901126105ef576040366102031901126105ef576020366102431901126105ef575f516020615d235f395f51905f5254906001600160401b0361121260ff604085901c1615611205565b1590565b936001600160401b031690565b1680159081611331575b6001149081611327575b15908161131e575b5061130f57611271908261126860016001600160401b03195f516020615d235f395f51905f525416175f516020615d235f395f51905f5255565b6112d557612a39565b61127757005b6112a160ff60401b195f516020615d235f395f51905f5254165f516020615d235f395f51905f5255565b604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29080602081015b0390a1005b61130a6801000000000000000060ff60401b195f516020615d235f395f51905f525416175f516020615d235f395f51905f5255565b612a39565b63f92ee8a960e01b5f5260045ffd5b9050155f61122e565b303b159150611226565b83915061121c565b346105ef575f3660031901126105ef576020600e54811c60020b604051908152f35b346105ef5760403660031901126105ef576004356001600160401b0381116105ef5761138b9036906004016107a9565b6024356001600160401b0381116105ef576113aa9036906004016107a9565b906113b361342b565b818303611401575f5b8381106113c557005b806113fb6113d660019387896129b5565b356113e0816105de565b6113eb8387876129b5565b35906113f682612871565b61437b565b016113bc565b631fec674760e31b5f5260045ffd5b346105ef575f3660031901126105ef5761142861342b565b5f516020615ce35f395f51905f525460ff81161561147f5760ff19165f516020615ce35f395f51905f52557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6020604051338152a1005b638dfc202b60e01b5f5260045ffd5b346105ef575f3660031901126105ef576114a66143f1565b6114ae614406565b60408051928352602083019190915290f35b346105ef575f3660031901126105ef57602060ff603e54166040519015158152f35b346105ef5760203660031901126105ef576004355f52603d602052602060ff60405f2054166040519015158152f35b634e487b7160e01b5f52604160045260245ffd5b60a081019081106001600160401b0382111761154057604052565b611511565b90601f801991011681019081106001600160401b0382111761154057604052565b6040519061060061018083611545565b604051906106006101a083611545565b6040519061060061012083611545565b6040519061060061016083611545565b6040519061060060a083611545565b6001600160401b03811161154057601f01601f191660200190565b81601f820112156105ef578035906115e7826115b5565b926115f56040519485611545565b828452602083830101116105ef57815f926020809301838601378301015290565b60403660031901126105ef5760043561162e816105de565b6024356001600160401b0381116105ef5761164d9036906004016115d0565b9060ff5f5416610d26576110de613c52565b346105ef575f3660031901126105ef577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031630036116b65760206040515f516020615cc35f395f51905f528152f35b63703e46dd60e11b5f5260045ffd5b346105ef575f3660031901126105ef576116dd61342b565b5f5b601881101561001857806116f4600192612e38565b6001600160401b0382549160031b1b191690555f8160210155016116df565b346105ef5761172136611014565b9061172a61342b565b5f5b81811061173c5761001883614466565b6117478183866129b5565b3590811561179857816001925f52603d60205260405f208360ff198254161790557ff565a91252cfbf3ef576a7de924ab11175ba29b316695baeaa0762c25684fcdf6020604051858152a20161172c565b633234591360e21b5f5260045ffd5b346105ef575f3660031901126105ef575f516020615cc35f395f51905f52546040516001600160a01b039091168152602090f35b346105ef575f3660031901126105ef57602060ff5f516020615ce35f395f51905f5254166040519015158152f35b346105ef5760203660031901126105ef5761001860043561182981610dbc565b61183161342b565b614466565b346105ef5760403660031901126105ef57600435611853816105de565b6024359061185f61342b565b61186761344b565b6001600160a01b03169081156107335761187f612986565b90823b156105ef576040516323b872dd60e01b81523060048201526001600160a01b03929092166024830152604482018190525f8260648183875af1908115610959577f3a1474f7e987c73586ba37f580025eac82a1456e87b9eace40768b8518a4b375926106d0926118fe575b506040519081529081906020820190565b8061094d5f61190c93611545565b5f6118ed565b346105ef5760203660031901126105ef5760043561192f816105de565b61193761342b565b6001600160a01b038116908115610733573b15610abf57603980546001600160a01b031916821790557fdb21ee24b749ce266d7e9bb769cc693d234aee3572e069ca1d70fa69b051f5b65f80a2005b346105ef575f3660031901126105ef57602060ff601554166040519015158152f35b346105ef575f3660031901126105ef57602063ffffffff600e5416604051908152f35b346105ef5760c03660031901126105ef576004356119e8816105de565b6024356119f4816105de565b604435611a00816105de565b60643590611a0d826105de565b60843592611a1a846105de565b60a43594611a27866105de565b611a2f61342b565b6001600160a01b031680611b49575b506001600160a01b038116611b1f575b506001600160a01b038116611afa575b506001600160a01b038116611ad5575b506001600160a01b038116611ab0575b506001600160a01b038116611a8f57005b600480546001600160a01b0319166001600160a01b03909216919091179055005b600380546001600160a01b0319166001600160a01b039092169190911790555f611a7e565b600280546001600160a01b0319166001600160a01b039092169190911790555f611a6e565b600180546001600160a01b0319166001600160a01b039092169190911790555f611a5e565b5f8054610100600160a81b03191660089290921b610100600160a81b03169190911790555f611a4e565b6001600160601b0360a01b60065416176006555f611a3e565b63ffffffff8116036105ef57565b8060020b036105ef57565b359061060082611b70565b60a09060031901126105ef57600435906024359060443590606435611baa81611b62565b90608435610a1881611b70565b346105ef57611bc536611b86565b92611bd194929461342b565b606481118015611c80575b611c715761001894611c1d82611c5095611c0d8887611bfd611c2598612e78565b611c0688612e78565b90856144a4565b600b5580600c5582600d55612e78565b601355612e78565b601455611c3a600160ff196015541617601555565b63ffffffff1663ffffffff19600e541617600e55565b600e549060201b66ffffff00000000169066ffffff00000000191617600e55565b637bdbf33d60e01b5f5260045ffd5b5060648511611bdc565b346105ef575f3660031901126105ef5763ffc0fd9360e01b5f5260045ffd5b346105ef575f3660031901126105ef576001546040516001600160a01b039091168152602090f35b346105ef5760203660031901126105ef57600435611cee816105de565b60018060a01b03165f526012602052602060ff60405f205416604051908152f35b346105ef5760a03660031901126105ef576004356001600160401b0381116105ef57611d3f90369060040161096d565b602435906001600160401b0382116105ef57366023830112156105ef578160040135926001600160401b0384116105ef573660248560061b850101116105ef576100189360443591611d8f6105f3565b936024608435960191612e8e565b346105ef575f3660031901126105ef575f516020615d435f395f51905f5254336001600160a01b0390911603611dd65761001833614e16565b63118cdaa760e01b5f523360045260245ffd5b346105ef575f3660031901126105ef575f5460405160089190911c6001600160a01b03168152602090f35b346105ef575f3660031901126105ef576039546040516001600160a01b039091168152602090f35b346105ef57611e4a36611014565b9091611e5461342b565b5f5b838110611e5f57005b80611e7784611e7160019488876129b5565b3561441b565b01611e56565b908160209103126105ef573590565b346105ef5760203660031901126105ef57600435611ea861342b565b611eb061344b565b8015610724575f8080808460018060a01b035f516020615ca35f395f51905f5254165af1611edc6129ec565b5015611f205760207f7da8b376ba93770d27c25cf7bbac4d89f12ba25b3fe6e20fa9ed9e60e6d00f6091604051908152a160015f516020615d035f395f51905f5255005b63b1b5a6af60e01b5f5260045ffd5b346105ef575f3660031901126105ef57335f52600f60205260ff60405f2054168015611fb4575b15610ace57611f6361354a565b600160ff195f516020615ce35f395f51905f525416175f516020615ce35f395f51905f52557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586020604051338152a1005b505f516020615ca35f395f51905f52546001600160a01b03163314611f56565b346105ef57610018611fe536610dc6565b90611fee61342b565b614e81565b346105ef5760203660031901126105ef57610018600435612013816105de565b61201b61342b565b61432c565b346105ef575f3660031901126105ef575f516020615ca35f395f51905f52546040516001600160a01b039091168152602090f35b346105ef5760203660031901126105ef57600435612071816105de565b61207961342b565b6001600160a01b038116908115610733573b15610abf57603a80546001600160a01b031916821790557f957fea8002b35abe6fca992352a8d268b9417ee787639a8da3fc71d9528feaef5f80a2005b346105ef5760403660031901126105ef576100186024356004356120ea61342b565b613232565b346105ef575f3660031901126105ef576020610f82613367565b346105ef5760403660031901126105ef5761001860243560043561212c82610dbc565b61213461342b565b61441b565b346105ef5761214736610dc6565b61214f61342b565b6001600160a01b038216918215610733578190816121c0575b506121b15760207f863bee5db55c02da8b80774d486b56883894e4ea55bbab0ca9d66352ee99a11691835f52603c8252610e4c8160405f209060ff801983541691151516179055565b633832f55960e21b5f5260045ffd5b61030f91501615155f612168565b346105ef575f3660031901126105ef576020600c54604051908152f35b346105ef576121f93661099a565b90335f52600f60205260ff60405f20541680156122ed575b15610ace5761221e61344b565b61222661354a565b6122308282614ed5565b6001600160e01b0319811663938a6e9760e01b81141590816122db575b506122bf5750603b546001600160a01b031680156122b0575f928392612278604051809381936129df565b03915af46122846129ec565b9015610ab757610ab3906122a460015f516020615d035f395f51905f5255565b60405191829182610a07565b6322c1801560e11b5f5260045ffd5b638959bb4d60e01b5f526001600160e01b03191660045260245ffd5b63013fcea160e31b141590505f61224d565b505f516020615ca35f395f51905f52546001600160a01b03163314612211565b346105ef575f3660031901126105ef57610ab360405161232e604082611545565b60058152640352e302e360dc1b60208201526040519182916020835260208301906109c8565b346105ef575f3660031901126105ef576020601654604051908152f35b346105ef575f3660031901126105ef576009546040516001600160a01b039091168152602090f35b346105ef575f3660031901126105ef576020601454604051908152f35b346105ef575f3660031901126105ef57602060ff601a54166040519015158152f35b346105ef5760203660031901126105ef5760206123ff6004356123fa816105de565b6133e2565b6040519015158152f35b346105ef575f3660031901126105ef576006546040516001600160a01b039091168152602090f35b346105ef5760603660031901126105ef5760043561244e81610dbc565b6024356044359161245d61342b565b6127108311611c715780806124ce575b611c71576112d07ff1c2407154dd06d7e072d9b67f946729b9da4b7f9efba2661f88e12fca4bdb439360ff19601a541660ff8415151617601a5583601855806019556040519384938460409194939260608201951515825260208201520152565b5081158061246d5750821561246d565b346105ef575f3660031901126105ef57600a546040516001600160a01b039091168152602090f35b346105ef575f3660031901126105ef576020601354604051908152f35b346105ef5760203660031901126105ef57600435612540816105de565b60018060a01b03165f526011602052602060ff60405f2054166040519015158152f35b346105ef576100186125b363ffffffff6125ab61257f36611b86565b969361258e959293919561342b565b61259b88878685856144a4565b600b558060135582601455614fa2565b600c55614fa2565b600d55600160ff1960155416176015551663ffffffff19600e541617600e55600e549060201b66ffffff00000000169066ffffff00000000191617600e55565b346105ef575f3660031901126105ef57602060ff5f54166040519015158152f35b346105ef575f3660031901126105ef576020601954604051908152f35b346105ef5761001861264236610dc6565b9061108b61342b565b346105ef5760403660031901126105ef5761001860043561266b816105de565b60243590612678826105de565b61268061342b565b614237565b346105ef575f3660031901126105ef5760ff601a541660185490601954916126ab613367565b6126b3612a1b565b908181106126e45760c0945f935b6040519515158652602086015260408501526060840152608083015260a0820152f35b808203948286116126f85760c095936126c1565b612e64565b346105ef5760203660031901126105ef5760043561271a816105de565b60018060a01b03165f52600f602052602060ff60405f2054166040519015158152f35b346105ef575f3660031901126105ef576003546040516001600160a01b039091168152602090f35b346105ef575f3660031901126105ef576004546040516001600160a01b039091168152602090f35b346105ef575f3660031901126105ef575f516020615d435f395f51905f52546040516001600160a01b039091168152602090f35b346105ef5760203660031901126105ef576004356127de816105de565b6127e661342b565b5f516020615d435f395f51905f5280546001600160a01b0319166001600160a01b039283169081179091555f516020615ca35f395f51905f52549091167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e227005f80a3005b346105ef575f3660031901126105ef576005546040516001600160a01b039091168152602090f35b60ff8116036105ef57565b346105ef5760403660031901126105ef5761001860043561289c816105de565b602435906128a982612871565b6113f661342b565b346105ef575f3660031901126105ef576002546040516001600160a01b039091168152602090f35b346105ef5760203660031901126105ef576004356128f6816105de565b60018060a01b03165f526010602052602060ff60405f2054166040519015158152f35b346105ef575f3660031901126105ef57603b546040516001600160a01b039091168152602090f35b346105ef5761294f36611014565b909161295961342b565b5f5b83811061296457005b806129808461297660019488876129b5565b35611fee816105de565b0161295b565b5f516020615ca35f395f51905f52546001600160a01b031690565b634e487b7160e01b5f52603260045260245ffd5b91908110156129c55760051b0190565b6129a1565b35610a18816105de565b6040513d5f823e3d90fd5b908092918237015f815290565b3d15612a16573d906129fd826115b5565b91612a0b6040519384611545565b82523d5f602084013e565b606090565b60ff601a541615612a3557610a1860185460195490614011565b5f90565b6001600160a01b0381161561073357612a6190612a54615624565b612a5c615624565b614e16565b612a69615624565b612a71615624565b6001600160a01b03612a8360246129ca565b16612e09575b612a9661084760446129ca565b612dd1575b612aa861084760646129ca565b612da2575b612aba61084760846129ca565b612d73575b612acc61084760a46129ca565b612d44575b612ade61084760c46129ca565b612d15575b612af061084760e46129ca565b612ce6575b612b036108476101046129ca565b612cb6575b6101243580612cae5750612b1d610258600b55565b6101443580612ca55750612b7060035b6101643580612c9b5750612b576004915b610184359081612c9557612b529150612e78565b601355565b6101a4359081612c8f57612b6b9150612e78565b601455565b612b83612b7e601354614fa2565b600c55565b612b96612b91601454614fa2565b600d55565b612ba8600160ff196015541617601555565b63ffffffff612bb86101c4614223565b16612c7c57600e805463ffffffff191660781790555b612bd96101e461422d565b60020b612c6957600e805466ffffff0000000019166478000000001790555b612c28600b54601354601454600e5491612c22612c188463ffffffff1690565b9360201c60020b90565b936144a4565b612c47612c366102046129ca565b612c416102246129ca565b90614237565b612c556108476102446129ca565b612c5b57565b61060061201b6102446129ca565b612bf8612c776101e461422d565b611c50565b612bce612c8a6101c4614223565b611c3a565b50612b6b565b50612b52565b612b579091612b3e565b612b7090612b2d565b600b55612b1d565b612ce1612cc46101046129ca565b60018060a01b03166001600160601b0360a01b6008541617600855565b612b08565b612d10612cf360e46129ca565b60018060a01b03166001600160601b0360a01b6007541617600755565b612af5565b612d3f612d2260c46129ca565b60018060a01b03166001600160601b0360a01b6004541617600455565b612ae3565b612d6e612d5160a46129ca565b60018060a01b03166001600160601b0360a01b6003541617600355565b612ad1565b612d9d612d8060846129ca565b60018060a01b03166001600160601b0360a01b6002541617600255565b612abf565b612dcc612daf60646129ca565b60018060a01b03166001600160601b0360a01b6001541617600155565b612aad565b612e04612dde60446129ca565b5f8054610100600160a81b03191660089290921b610100600160a81b0316919091179055565b612a9b565b612e33612e1660246129ca565b60018060a01b03166001600160601b0360a01b6006541617600655565b612a89565b9060188210156129c55760188260021c601b019260031b1690565b60188110156129c557602101905f90565b634e487b7160e01b5f52601160045260245ffd5b906064820291808304606414901517156126f857565b92959193909495335f52600f60205260ff60405f20541680156131ec575b15610ace57612eb961344b565b612ec161354a565b612ecb868561481a565b612ed9610847979297612986565b33036131b3575b60c0870151306001600160a01b03909116036131a4576020870180516001600160a01b038b8116911603613195578751612f2f90610847906001600160a01b031692516001600160a01b031690565b6001600160a01b0390911614613195576001600160a01b03168015159081613175575b5061316657610100860193808551106130815760018311611401576001830361311c57836130f25786516001600160a01b0316612f95610847610842868661320c565b6001600160a01b0390911614801590613101575b6130f257612ff194612fbc610847612986565b33036130d8575b5190808211156130d05750965b612fdb610847612986565b3303613090575b612feb89614a99565b95614b4d565b612ffa84614a99565b908082106130815761300b91613225565b9182106130815761301d610847612986565b330361303d575b50505061060060015f516020615d035f395f51905f5255565b80516130799390613071906001600160a01b0316926130648560e083019585875191614c55565b516001600160a01b031690565b915191614c6a565b5f8080613024565b6362e7073960e01b5f5260045ffd5b6130cb888a6130b6826130a98c5160018060a01b031690565b60e08d019384519161495b565b89518c906001600160a01b0316915191614a0e565b612fe2565b905096612fd0565b6130ed6130e8610842868661320c565b61492a565b612fc3565b630bd8074560e21b5f5260045ffd5b5060e08701516020613113858561320c565b01351415612fa9565b83156107245786516001600160a01b031673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee14801590613158575b6130f257612ff194612fc3565b508360e0880151141561314b565b63a18d01bf60e01b5f5260045ffd5b60055490915061318d906001600160a01b0316610847565b14155f612f52565b6316f2578d60e31b5f5260045ffd5b63e294034b60e01b5f5260045ffd5b86516131c7906001600160a01b031661492a565b60208701516131de906001600160a01b031661492a565b6131e78961492a565b612ee0565b505f516020615ca35f395f51905f52546001600160a01b03163314612eac565b90156129c55790565b91908110156129c55760061b0190565b919082039182116126f857565b90811580613352575b6132f557670dbd2fc137a30000821080156132e4575b80156132d3575b80156132c2575b80156132b8575b611c7157816132957f5976992fe6bc159e825b489f5e427d6c113900ec0f428e3c0ba04fd70859d22593601655565b61329e82601755565b60408051918252602082019290925290819081015b0390a1565b5080821015613266565b50670de0b6b3a7640000811061325f565b50670de0b6b3a76400008211613258565b50670e043da6172500008111613251565b50506133005f601655565b6133095f601755565b7f5976992fe6bc159e825b489f5e427d6c113900ec0f428e3c0ba04fd70859d225604051806132b38190670de7d1b0f0f1000060206040840193670ddca0c869e6200081520152565b50801561323b565b919082018092116126f857565b5f90610e1042045f5b6018811061337c575050565b6001600160401b0361338d82612e38565b90549060031b1c168281111590816133ce575b506133ae575b600101613370565b926133b884612e53565b90549060031b1c81018091116126f857926133a6565b905082038281116126f8576018115f6133a0565b6001600160a01b0381165f8181526011602052604090205460ff16613425575f52601060205260ff60405f20541690811561341b575090565b610a189150614ee1565b50505f90565b5f516020615ca35f395f51905f52546001600160a01b03163303611dd657565b60025f516020615d035f395f51905f5254146134745760025f516020615d035f395f51905f5255565b633ee5aeb560e01b5f5260045ffd5b9061348f5f8284614fbe565b15613498575050565b6134a2818361500b565b156134da575f6134b2918361506f565b156134ba5750565b635274afe760e01b5f9081526001600160a01b0391909116600452602490fd5b50635274afe760e01b5f9081526001600160a01b0391909116600452602490fd5b9190613508828285614fbe565b1561351257505050565b61351c818461500b565b1561352c57906134b2918361506f565b635274afe760e01b5f9081526001600160a01b038416600452602490fd5b60ff5f516020615ce35f395f51905f52541661356257565b63d93c066560e01b5f5260045ffd5b90929192836004116105ef5783116105ef57600401916003190190565b6fffffffffffffffffffffffffffffffff8116036105ef57565b35906106008261358e565b6020818303126105ef578035906001600160401b0382116105ef570190610180828203126105ef576135e3611566565b916135ed81610602565b83526135fb60208201610602565b602084015261360c60408201610d42565b604084015261361d60608201611b7b565b606084015261362e60808201611b7b565b608084015261363f60a08201611b7b565b60a084015261365060c08201610602565b60c084015260e08101356001600160401b0381116105ef57610160926136779183016115d0565b60e084015261368961010082016135a8565b61010084015261369c61012082016135a8565b6101208401526136af6101408201610602565b610140840152013561016082015290565b6020818303126105ef578035906001600160401b0382116105ef5701906101a0828203126105ef576136f0611576565b916136fa81610602565b835261370860208201610602565b602084015261371960408201610d42565b604084015261372a60608201611b7b565b606084015261373b60808201611b7b565b608084015261374c60a08201611b7b565b60a084015261375d60c08201610602565b60c084015260e08101356001600160401b0381116105ef57610180926137849183016115d0565b60e084015261379661010082016135a8565b6101008401526137a961012082016135a8565b6101208401526137bc61014082016135a8565b6101408401526137cf6101608201610602565b610160840152013561018082015290565b91909160e0818403126105ef5780359260208201356137fe8161358e565b92604083013561380d8161358e565b92606081013561381c8161358e565b926080820135906001600160401b0382116105ef5761383c9183016115d0565b9160c060a083013561384d816105de565b92013590565b9060c0828203126105ef578135926020830135926040810135926060820135906001600160401b0382116105ef5761388c9183016115d0565b9160a0608083013561384d816105de565b91909160a0818403126105ef5780359260208201359260408301356138c18161358e565b9260608101356138d08161358e565b9260808201356001600160401b0381116105ef57610a1892016115d0565b906080828203126105ef57813592602083013561390a8161358e565b9260408101356139198161358e565b9260608201356001600160401b0381116105ef57610a1892016115d0565b5f516020615ca35f395f51905f525490919061395b906001600160a01b0316610847565b3314613bbe5761396b8183614ed5565b916001600160e01b0319831663106724a160e21b8114613b8657635cad5ee160e01b8114613acd5763e44eda8960e01b8114613a9f576330b82a3d60e21b8114613a6d5763e9b8312960e01b8114613a425763013d134360e61b8114613a2657631ce433c760e21b146139f557638959bb4d60e01b5f526001600160e01b0319831660045260245ffd5b613a239250613a0b82613a1e93613a1393613571565b8101906138ee565b9150509190916150b7565b6152c9565b50565b50613a23925081613a1e92613a3a92613571565b810190611e7d565b50613a239250613a5982613a1e93613a6193613571565b81019061389d565b925050509190916150b7565b506106009250613a8f613a8783613a1e94613a9a94613571565b810190613853565b5095925090506150b7565b6151b9565b506106009250613ac1613ab983613a1e94613a9a94613571565b8101906137e0565b509693509150506150b7565b50610600925081613ae992613ae192613571565b8101906136c0565b8051613b809061016090613b71906001600160a01b03165b6020850180519091613b1d916001600160a01b03165b906150aa565b613b2a60e08601516150b7565b8451613b48906001600160a01b03165b91516001600160a01b031690565b604086015162ffffff16606087015160020b60c08801519092906001600160a01b0316936150f7565b9201516001600160a01b031690565b906151b9565b50610600925081613ba292613b9a92613571565b8101906135b3565b8051613b809061014090613b71906001600160a01b0316613b01565b5050565b908160209103126105ef5751610a1881610dbc565b803b15610abf576040516301ffc9a760e01b815263eef390ed60e01b600482015290602090829060249082906001600160a01b03165afa5f9181613c31575b50613c2a5763350c20f160e01b5f5260045ffd5b15610abf57565b613c4b91925060203d602011610c4e57610c3f8183611545565b905f613c16565b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016308114908115613c8e575b506116b657565b5f516020615cc35f395f51905f52546001600160a01b0316141590505f613c87565b5190610600826105de565b908160209103126105ef5751610a18816105de565b5f54604051630b4c774160e11b81526001600160a01b039283166004820152928216602484015262ffffff9390931660448301529092916020918491606491839160081c165afa918215610959575f92613d46575b506001600160a01b03821615613d3757565b63c8e5b88d60e01b5f5260045ffd5b613d6991925060203d602011613d70575b613d618183611545565b810190613cbb565b905f613d25565b503d613d57565b90816101209103126105ef57610100613d8e611586565b91613d9881610602565b8352613da660208201610602565b6020840152613db760408201610d42565b6040840152613dc860608201611b7b565b6060840152613dd960808201611b7b565b608084015260a081013560a084015260c081013560c084015260e081013560e0840152013561010082015290565b908160a09103126105ef578035916020820135916040810135916080606083013592013590565b91908260809103126105ef578135916020810135613e4b8161358e565b916060604083013592013590565b5f516020615ca35f395f51905f5254909190613e7d906001600160a01b0316610847565b3314613bbe57613e8d8183614ed5565b916001600160e01b03198316637547a56560e01b8114613f8357637e09446960e11b8114613f49576341743b8560e01b8114613f255763d8632f3f60e01b8114908115613f14575b50613ef757638959bb4d60e01b5f526001600160e01b0319831660045260245ffd5b613f0f925081613f0a92613a3a92613571565b615511565b505050565b6308dd0f4b60e41b1490505f613ed5565b50613f0f925081613f4192613f3992613571565b810190613e2e565b505050615511565b506106009250613f6b613f6383613f7e94613f7494613571565b810190613e07565b50505050615511565b818394929461537f565b615415565b50610600925081613f9f92613f9792613571565b810190613d77565b80516001600160a01b03166020820180519091613fc4916001600160a01b0316613b17565b815161400490613b3a90613ff6906001600160a01b031684516001600160a01b0316604087015162ffffff169161537f565b93516001600160a01b031690565b91615415565b156105ef57565b808202905f1983820990828083109203918083039283620f424011156105ef5714614071577fde8f6cefed634549b62c77574f722e1ac57e23f24d8fd5cb790fb65668c2613993620f4240910990828211900360fa1b910360061c170290565b5050620f424091500490565b808202905f1983820990828083109203918083039283670de0b6b3a764000011156105ef57146140e7577faccb18165bd6fe31ae1cf318dc5b51eee0e1ba569b88cd74c1773b91fac1066993670de0b6b3a7640000910990828211900360ee1b910360121c170290565b5050670de0b6b3a764000091500490565b81810291905f1982820991838084109303928084039384600160601b11156105ef571461413857600160601b910990828211900360a01b910360601c1790565b50505060601c90565b91818302915f1981850993838086109503948086039561416287861161400a565b146141bc579082910981805f03168092046002816003021880820260020302808202600203028082026002030280820260020302808202600203028091026002030293600183805f03040190848311900302920304170290565b505091500490565b6001600160a01b03169081156107335760207f459374521a737ddab6c308cce84921454dc67504bab079c570f6b10783a9983391835f52601182526142188160405f209060ff801983541691151516179055565b6040519015158152a2565b35610a1881611b62565b35610a1881611b70565b6001600160a01b03811691908215801561431b575b610733573b15610abf576040516301ffc9a760e01b815263194d3dc360e11b6004820152602081602481865afa5f91816142fa575b506142955763350c20f160e01b5f5260045ffd5b15610abf576142a381613bd7565b816001600160601b0360a01b600954161760095560018060a01b031690816001600160601b0360a01b600a541617600a557fe7836f4c1585572e73ac1ebd237c17348e5b453da767958b34b22bd170f6e52f5f80a3565b61431491925060203d602011610c4e57610c3f8183611545565b905f614281565b506001600160a01b0382161561424c565b6001600160a01b038116908115610733573b15610abf57600580546001600160a01b031916821790557f582a9190e9698f4ae4033df26d63cee4674df3b1b6bc85f15c7b6f6e5b915b585f80a2565b6001600160a01b03169081156107335760ff16601281116143db575f82815260126020908152604091829020805460ff19168417905590519182527f31dfb0b93d14a11354bdf350f127e8377a7bd3cbbd5d0f0bfad2d98eb677663091a2565b90633477b72d60e21b5f5260045260245260445ffd5b60165480610a185750670ddca0c869e6200090565b60175480610a185750670de7d1b0f0f1000090565b9081156117985760207ff565a91252cfbf3ef576a7de924ab11175ba29b316695baeaa0762c25684fcdf91835f52603d82526142188160405f209060ff801983541691151516179055565b60207f8e9de2ad3a40d17f313c20330499cca08ea2af3f45dc68f8f03e27caab0bced391151560ff19603e541660ff821617603e55604051908152a1565b601e8110908115614509575b50611c715761271010611c715761271010611c715763ffffffff16601e81109081156144fd575b50611c715760020b5f81129081156144f1575b50611c7157565b6113889150135f6144ea565b610e109150115f6144d7565b610e109150115f6144b0565b6001600160401b0381116115405760051b60200190565b9080601f830112156105ef57813561454381614515565b926145516040519485611545565b81845260208085019260051b8201019283116105ef57602001905b8282106145795750505090565b602080918335614588816105de565b81520191019061456c565b9080601f830112156105ef5781356145aa81614515565b926145b86040519485611545565b81845260208085019260051b8201019283116105ef57602001905b8282106145e05750505090565b81358152602091820191016145d3565b919091610160818403126105ef57614606611596565b9261461082610602565b845261461e60208301610602565b602085015260408201356001600160401b0381116105ef578161464291840161452c565b604085015260608201356001600160401b0381116105ef5781614666918401614593565b606085015260808201356001600160401b0381116105ef578161468a91840161452c565b608085015260a08201356001600160401b0381116105ef57816146ae918401614593565b60a08501526146bf60c08301610602565b60c085015260e082013560e08501526101008201356101008501526101208201356101208501526101408201356001600160401b0381116105ef5761470492016115d0565b610140830152565b6020818303126105ef578035906001600160401b0382116105ef570160a0818303126105ef5761473a6115a6565b9161474482610602565b835261475260208301610602565b602084015260408201356001600160401b0381116105ef57816147769184016115d0565b604084015260608201356001600160401b0381116105ef578161479a9184016145f0565b606084015260808201356001600160401b0381116105ef576147bc92016115d0565b608082015290565b906080828203126105ef5781356147da816105de565b9260208301356001600160401b0381116105ef57826147fa9185016145f0565b9260408101356001600160401b0381116105ef57836139199183016115d0565b9060405161016081018181106001600160401b03821117611540576040525f81525f60208201526060604082015260608082015260606080820152606060a08201525f60c08201525f60e08201525f6101008201525f6101208201526060610140820152506004811061491b57806148929183613571565b91356001600160e01b03191663e21fd0e960e01b8114801561490b575b6148e457638af033fb60e01b146148cf57633e0420f760e11b5f5260045ffd5b6148db918101906147c4565b50509050905f90565b506148f19181019061470c565b60608101516020909101519091906001600160a01b031690565b506359e50fed60e01b81146148af565b633e0420f760e11b5f5260045ffd5b614933816133e2565b1561493b5750565b63094403b760e41b5f9081526001600160a01b0391909116600452602490fd5b601554919493929160ff16156149f257601454925b620f424080851015611c71576149896149a4928861566c565b9461499e614997868661566c565b9183613225565b90614141565b8084106149b757509361060093946156af565b604051633ec3d85360e01b81526001600160a01b039283166004820152918616602483015260448201849052606482015280608481015b0390fd5b600d546064810290808204606414901517156126f85792614970565b92909260ff601a541615614a9357614a2f92614a299161566c565b9261566c565b81811015613bbe5781039081116126f857614a48612a1b565b908115614a8457614a57613367565b8181018082116126f8578310614a6c57505050565b63e93203bf60e01b5f5260045260245260445260645ffd5b6322cfeb7760e01b5f5260045ffd5b50505050565b6001600160a01b031673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee8114614b1b576020602491604051928380926370a0823160e01b82523060048301525afa908115610959575f91614aec575090565b90506020813d602011614b13575b81614b0760209383611545565b810103126105ef575190565b3d9150614afa565b504790565b91926060938192845260406020850152816040850152848401375f828201840152601f01601f1916010190565b6005546001600160a01b0316949093909285908115614c4657821580614c3e575b610724575f5b838110614c0b57505f8060405180614b8d81898c6129df565b039088865af191614b9c6129ec565b935f5b818110614be8575050505015610ab7575090614be37f1c2e5a1031d3c1c47ea8f476f148cd18347010473bfddd5967d034cefbe63220939260405193849384614b20565b0390a2565b80614c0584614c00610847610842600196888b613215565b613483565b01614b9f565b80614c38614c226108476108426001958988613215565b856020614c30858a89613215565b0135916134fb565b01614b74565b508415614b6e565b6367d4f18960e11b5f5260045ffd5b9190614c64610600948261566c565b926156af565b929092614c7c611201601a5460ff1690565b614a9357614c8d92614a299161566c565b81811015613bbe57614c9e91613225565b614ca6612a1b565b908115614a8457614cb5613367565b9180614cc1838561335a565b11614dfb57610e1042049060188206906001600160401b038311614dec57614d7b847f621d1f8a268d20c5d876ea840dc388aa1ae082a4a6b1a64322be37e94911efec96614d60614d4e6132b3966001600160401b038916806001600160401b03614d41614d2e85612e38565b90546001600160401b039160031b1c1690565b1603614d9e575b50612e53565b614d6585614d608385549060031b1c90565b61335a565b82545f1960039390931b92831b1916911b179055565b604051948594859094939260609260808301968352602083015260408201520152565b614dca90614dab83612e38565b9091906001600160401b038084549260031b9316831b921b1916179055565b614de6614dd682612e53565b8154905f199060031b1b19169055565b5f614d48565b630625040160e01b5f5260045ffd5b63e93203bf60e01b5f5260049290925260245260445260645ffd5b5f516020615d435f395f51905f5280546001600160a01b03199081169091555f516020615ca35f395f51905f5280549182166001600160a01b0393841690811790915591167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a3565b6001600160a01b03169081156107335760207fdc86ea80c17dba36e8aac1a8a9461dcc3967506848bd50e2e48b90507867abb991835f52601082526142188160405f209060ff801983541691151516179055565b90600411610abf573590565b60014614614eee57505f90565b60018060a01b031673a0b86991c6218b36c1d19d4a2e9eb0ce3606eb488114908115614f84575b8115614f66575b8115614f48575b8115614f2d575090565b73e343167631d89b6ffc58b88d6b7fb0228795491d91501490565b734c9edd5852cd905f086c759e8383e09bff1e68b381149150614f23565b736b175474e89094c44da98b954eedeac495271d0f81149150614f1c565b73dac17f958d2ee523a2206206994597c13d831ec781149150614f15565b80614fac57505f90565b606381018091116126f8576064900490565b92916040519163095ea7b360e01b5f5260018060a01b031660045260245260205f60448180875af19260015f5114841615614ffa575b50604052565b3d15903b151516909216915f614ff4565b60405163095ea7b360e01b5f9081526001600160a01b03909316600452602483905290929160209060448180875af19260015f511484161561504d5750604052565b60018492941516615066573b15153d151616915f614ff4565b833d5f823e3d90fd5b92916040519163095ea7b360e01b5f5260018060a01b031660045260245260205f60448180875af19260015f511484161561504d5750604052565b906130e86106009261492a565b516150be57565b634ba0a8f360e01b5f5260045ffd5b604051906150da82611525565b5f6080838281528260208201528260408201528260608201520152565b939190926151036150cd565b506001600160a01b038516801580156151a8575b610733576001600160a01b03851611156151995761513761120184615714565b6121b15761517f61518992615173610a18966151636151546115a6565b6001600160a01b03909a168a52565b6001600160a01b03166020890152565b62ffffff166040870152565b60020b6060850152565b6001600160a01b03166080830152565b632e6c432360e01b5f5260045ffd5b506001600160a01b03851615615117565b9061060091604051602081019060018060a01b03835116825260018060a01b03602084015116604082015262ffffff6040840151166060820152606083015160020b608082015260018060a01b0360808401511660a082015260a0815261522160c082611545565b5190209061522e8261574e565b6157b4565b519061060082610d35565b519061060082611b70565b8092910360c081126105ef5760a0136105ef5760a060405161526a81611525565b8351615275816105de565b81526020840151615285816105de565b6020820152604084015161529881610d35565b604082015260608401516152ab81611b70565b606082015260808401516152be816105de565b608082015292015190565b9060c061531d926152d86150cd565b506004546001600160a01b03166152ef828261593d565b604051637ba03aad60e01b81526004810192909252909384916001600160a01b031690829081906024820190565b03915afa918215610959575f9261534d575b508151610600908390613b17906020906001600160a01b0316613b71565b61537091925060c03d60c011615378575b6153688183611545565b810190615249565b50905f61532f565b503d61535e565b9061538a9291613cd0565b906106006001600160a01b03831661574e565b519061ffff821682036105ef57565b908160e09103126105ef5780516153c2816105de565b9160208201516153d181611b70565b916153de6040820161539d565b916153eb6060830161539d565b916153f86080820161539d565b9160c060a083015161540981612871565b920151610a1881610dbc565b604051633850c7bd60e01b81529060e090829060049082906001600160a01b03165afa801561095957615462915f916154d1575b50615453836159d6565b61545c856159d6565b91615a27565b61546a6143f1565b615472614406565b9181811080156154c8575b615488575050505050565b60405163134e470960e11b81526001600160a01b03948516600482015294909316602485015260448401929092526064830191909152608482015260a490fd5b5082811161547d565b6154f3915060e03d60e0116154ff575b6154eb8183611545565b8101906153ac565b5050505050505f615449565b503d6154e1565b51906106008261358e565b6001546001600160a01b0316906101809061552c818461593d565b60246040518094819363133f757160e31b835260048301525afa918215610959575f925f925f91615564575b509061060083856150aa565b9250509150610180813d821161561c575b816155836101809383611545565b810103126105ef5780516001600160601b03811681036105ef57506155aa60208201613cb0565b506155b760408201613cb0565b916155c460608301613cb0565b926156136101606155d760808601615233565b946155e460a0820161523e565b506155f160c0820161523e565b506155fe60e08201615506565b5061560c6101408201615506565b5001615506565b5092915f615558565b3d9150615575565b60ff5f516020615d235f395f51905f525460401c161561564057565b631afcd79f60e31b5f5260045ffd5b908160209103126105ef575190565b604d81116126f857600a0a90565b61567760ff916159d6565b16601281146156ab5760120360ff81116126f85760ff615697911661565e565b908181029181830414901517156126f85790565b5090565b916156c06156ce919492948461566c565b6156c8614406565b9061407d565b908181116156dc5750505050565b60405163b971b92960e01b81526001600160a01b03938416600482015293909216602484015260448301919091526064820152608490fd5b6001600160a01b0381168015615747575f52603c60205260ff60405f205416908161573d575090565b61030f9150161590565b5050600190565b61575781615b29565b1561575f5750565b63064a469560e31b5f5260045260245ffd5b91908260809103126105ef578151615788816105de565b91602081015161579781611b70565b91606060408301516157a881610d35565b920151610a1881610d35565b916001600160a01b03161561592e576007546001600160a01b0316801561591f5761580e916080916157ee906001600160a01b0316610847565b6040518080958194633205590760e21b8352600483019190602083019252565b03915afa908115610959575f916158ed575b50815161585590615839906001600160a01b03166159d6565b6020840180519093919061545c906001600160a01b03166159d6565b9161585e6143f1565b615866614406565b9181851080156158e4575b61587c575050505050565b516149ee92919061589e906001600160a01b031694516001600160a01b031690565b60405163e97f7d1d60e01b81526001600160a01b0395861660048201529416602485015260448401949094526064830193909352608482019290925290819060a4820190565b50828511615871565b61590f915060803d608011615918575b6159078183611545565b810190615771565b5050505f615820565b503d6158fd565b6303bc067d60e61b5f5260045ffd5b630ef5e33360e41b5f5260045ffd5b6040516331a9108f60e11b81526004810183905291906020836024816001600160a01b0385165afa928315610959575f936159b5575b50306001600160a01b0384160361598957505050565b630e34ebdf60e41b5f9081526001600160a01b0391821660045260249290925291909116604452606490fd5b6159cf91935060203d602011613d7057613d618183611545565b915f615973565b6001600160a01b0381165f818152601260205260409020549092919060ff1680615a225750615a0490615b4c565b60ff8116615a1e5782622f5da360e81b5f5260045260245ffd5b9150565b925050565b60ff615a4981615a42615a509460018060a01b0316806140f8565b941661565e565b931661565e565b9180670de0b6b3a76400000290670de0b6b3a76400008204036126f8576001600160a01b03831683036126f857610a189260601b91614141565b90813b15615b08575f516020615cc35f395f51905f5280546001600160a01b0319166001600160a01b0384169081179091557fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b5f80a2805115615af057613a2391615c16565b505034615af957565b63b398979f60e01b5f5260045ffd5b50634c9c8ce360e01b5f9081526001600160a01b0391909116600452602490fd5b60ff603e541615615b46575f52603d60205260ff60405f20541690565b50600190565b60014614615b5957505f90565b6001600160a01b031673a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4881148015615bf9575b8015615bdc575b615bd657736b175474e89094c44da98b954eedeac495271d0f8114908115615bb8575b50615bb3575f90565b601290565b734c9edd5852cd905f086c759e8383e09bff1e68b39150145f615baa565b50600690565b5073e343167631d89b6ffc58b88d6b7fb0228795491d8114615b87565b5073dac17f958d2ee523a2206206994597c13d831ec78114615b80565b905f8091602081519101845af48080615c76575b15615c39575050610a18615c89565b15615c5e57639996b31560e01b5f9081526001600160a01b0391909116600452602490fd5b3d15155f036129d45763d6bda27560e01b5f5260045ffd5b503d151580615c2a5750813b1515615c2a565b604051903d82523d5f602084013e60203d83010160405256fe9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c199300360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbccd5ed15c6e187e77e9aee88184c21f4f2182ab5827cb3b7e07fbedcd63f033009b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00237e158222e3e6968b72b9db0d8043aacf074ad9f650f0d1606b4d82ee432c00a164736f6c6343000823000af0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00","sourceMap":"653:39313:0:-:0;;;;;;;2365:1:26;1505:66;2365:1;1084:4:18;1076:13;;-1:-1:-1;;;;;;;;;;;653:39313:0;;;;;;7894:76:17;;-1:-1:-1;;;;;;;;;;;653:39313:0;;7983:34:17;7979:146;;-1:-1:-1;653:39313:0;;;;;;;;1076:13:18;653:39313:0;;;;;;;;;;;7979:146:17;-1:-1:-1;;;;;;653:39313:0;-1:-1:-1;;;;;653:39313:0;;;-1:-1:-1;;;;;;;;;;;653:39313:0;;;8085:29:17;;653:39313:0;;8085:29:17;7979:146;;;;7894:76;7936:23;;;-1:-1:-1;7936:23:17;;-1:-1:-1;7936:23:17;653:39313:0;;;","linkReferences":{},"cborAuxdata":{},"transformations":[],"transformationValues":{}},"runtimeBytecode":{"onchainBytecode":"0x6080604052600436101561001a575b3615610018575f80fd5b005b5f3560e01c806306b091f9146105d957806308565bc1146105d45780630a147277146105cf5780630d3eeec1146105ca5780630d734324146105c5578063101ec30a146105c057806312261ee7146105bb57806312f62498146105b6578063141b73c4146105b1578063150b7a02146105ac578063152d0731146105a75780631698ee82146105a25780631de93b481461059d5780631e1bff3f146105985780631f2d5966146105935780632240e6121461058e578063236e5f1414610589578063249d39e91461058457806324bf6e911461057f5780632565c8841461057a578063271d6ffe14610575578063297e396914610570578063323134701461056b5780633659cfe6146105665780633bafd1b3146105615780633c5f72141461055c5780633f1aa6a2146105575780633f4ba83a14610552578063433ca2ec1461054d578063476526a3146105485780634bb3ae3e146105435780634f1ef2861461053e57806352d1902d1461053957806355feedc11461053457806357dccc041461052f5780635c60da1b1461052a5780635c975abb14610525578063605edf1a146105205780636088e93a1461051b57806360996f0d14610516578063660bd0c0146105115780636cf9219f1461050c5780636cfb6bf914610507578063702e1bf414610502578063715018a6146104fd5780637303e913146104f857806376ea0c55146104f3578063785e8275146104ee57806379ba5097146104e95780637c887c59146104e45780637fb051ba146104df578063837e864b146104da57806384276d81146104d55780638456cb59146104d05780638aaa2284146104cb5780638b33203c146104c65780638da5cb5b146104c15780638ebf8289146104bc5780639039cce6146104b757806391c0cd1e146104b2578063941158b0146104ad57806396bd0952146104a85780639c50a4d9146104a3578063a0909db21461049e578063ad3cb1cc14610499578063adf3036114610494578063b9c22f791461048f578063bae7a8ad1461048a578063bec3188914610485578063c475551a14610480578063c55dae631461047b578063c8a85be114610476578063c99f1e5414610471578063cc19de2a1461046c578063cc47abf614610467578063cf753d1214610462578063d24b37971461045d578063d3047d5614610458578063d588f04b14610453578063d74a5d001461044e578063dc419d5914610449578063debfda3014610444578063e20dccb21461043f578063e2f4dd431461043a578063e30c397814610435578063f2fde38b14610430578063f63ca6e41461042b578063f702d94f14610426578063f887ea4014610421578063f9eaee0d1461041c578063fa716b3f146104175763ff1f9c7a0361000e57612941565b612919565b6128d9565b6128b1565b61287c565b612849565b6127c1565b61278d565b612765565b61273d565b6126fd565b612685565b61264b565b612631565b612614565b6125f3565b612563565b612523565b612506565b6124de565b612431565b612409565b6123d8565b6123b6565b612399565b612371565b612354565b61230d565b6121eb565b6121ce565b612139565b612109565b6120ef565b6120c8565b612054565b612020565b611ff3565b611fd4565b611f2f565b611e8c565b611e3c565b611e14565b611de9565b611d9d565b611d0f565b611cd1565b611ca9565b611c8a565b611bb7565b6119cb565b6119a8565b611986565b611912565b611836565b611809565b6117db565b6117a7565b611713565b6116c5565b61165f565b611616565b6114e2565b6114c0565b61148e565b611410565b61135b565b611339565b611193565b611096565b61104c565b610fec565b610fc4565b610f8a565b610f68565b610f4c565b610ebb565b610e74565b610e57565b610deb565b610d9f565b610d4d565b610ccc565b610c72565b610c55565b610b6c565b610b44565b610afd565b610a1b565b6107d9565b610769565b61074c565b61060d565b6001600160a01b038116036105ef57565b5f80fd5b60643590610600826105de565b565b3590610600826105de565b346105ef5760403660031901126105ef5760043561062a816105de565b6024359061063661342b565b61063e61344b565b6001600160a01b03169081156107335780156107245760018060a01b035f516020615ca35f395f51905f5254166040519063a9059cbb60e01b5f526004528160245260205f60448180875af160015f5114811615610705575b604091909152156106e9576040519081527f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a94243649080602081015b0390a261001860015f516020615d035f395f51905f5255565b635274afe760e01b5f526001600160a01b03821660045260245ffd5b600181151661071b573d15843b15151616610697565b503d5f823e3d90fd5b6365e52d5160e11b5f5260045ffd5b63ae9954c360e01b5f5260045ffd5b5f9103126105ef57565b346105ef575f3660031901126105ef576020600d54604051908152f35b346105ef5760203660031901126105ef57600435610786816105de565b60018060a01b03165f52603c602052602060ff60405f2054166040519015158152f35b9181601f840112156105ef578235916001600160401b0383116105ef576020808501948460051b0101116105ef57565b346105ef5760203660031901126105ef576004356001600160401b0381116105ef576108099036906004016107a9565b9061081261342b565b6008546001600160a01b03161561095e575f5b82811061082e57005b6108656108536108476108428487876129b5565b6129ca565b6001600160a01b031690565b6008546001600160a01b031690613483565b60085461087c90610847906001600160a01b031681565b9061088b6108428286866129b5565b6004546001600160a01b0316833b156105ef576040516387517c4560e01b81526001600160a01b039283166004820152911660248201525f604482018190526001606483015290928390608490829084905af19182156109595760019261093f575b506108fc6108428286866129b5565b60045460a084901b8490039081166001600160a01b031691167f8e6082f82d88ebb7595b02d55ede8094ce17e40029d61292354afbb04ffaae855f80a301610825565b8061094d5f61095393611545565b80610742565b5f6108ed565b6129d4565b63876dafaf60e01b5f5260045ffd5b9181601f840112156105ef578235916001600160401b0383116105ef57602083818601950101116105ef57565b60206003198201126105ef57600435906001600160401b0382116105ef576109c49160040161096d565b9091565b91908251928382525f5b8481106109f2575050825f602080949584010152601f8019910116010190565b806020809284010151828286010152016109d2565b906020610a189281815201906109c8565b90565b610a243661099a565b90335f52600f60205260ff60405f2054168015610add575b15610ace57610a4961344b565b610a5161354a565b610a5b8282613937565b600a546001600160a01b03168015610abf57825f939284936040519283928337810184815203915af4610a8c6129ec565b9015610ab757610ab39060015f516020615d035f395f51905f525560405191829182610a07565b0390f35b602081519101fd5b63350c20f160e01b5f5260045ffd5b6312e25d5960e11b5f5260045ffd5b505f516020615ca35f395f51905f52546001600160a01b03163314610a3c565b346105ef5760203660031901126105ef57600435610b1a816105de565b610b2261342b565b600880546001600160a01b0319166001600160a01b0392909216919091179055005b346105ef575f3660031901126105ef576008546040516001600160a01b039091168152602090f35b346105ef5760203660031901126105ef57600435610b89816105de565b610b9161342b565b6001600160a01b038116908115610733573b15610abf576040516301ffc9a760e01b8152639a741b9f60e01b6004820152602081602481855afa5f9181610c24575b50610be75763350c20f160e01b5f5260045ffd5b15610abf57603b80546001600160a01b031916821790557f5371b5384a8ca13185168caea3d68cdae7cdd42fa4b99deede7ed3a345f7d1735f80a2005b610c4791925060203d602011610c4e575b610c3f8183611545565b810190613bc2565b905f610bd3565b503d610c35565b346105ef575f3660031901126105ef576020601754604051908152f35b346105ef5760803660031901126105ef57610c8e6004356105de565b610c996024356105de565b6064356001600160401b0381116105ef57610cb890369060040161096d565b5050604051630a85bd0160e11b8152602090f35b346105ef575f3660031901126105ef57610ce4613c52565b610cec61342b565b5f5460ff8116610d265760019060ff1916175f557fbbbfc8f80672f98366c78f334ec935871991b2825f67cbe69bae201705e81a0c5f80a1005b63d74c95cb60e01b5f5260045ffd5b62ffffff8116036105ef57565b359061060082610d35565b346105ef5760603660031901126105ef576020610d8d600435610d6f816105de565b602435610d7b816105de565b60443591610d8883610d35565b613cd0565b6040516001600160a01b039091168152f35b346105ef575f3660031901126105ef576020601854604051908152f35b801515036105ef57565b60409060031901126105ef57600435610dde816105de565b90602435610a1881610dbc565b346105ef5760207f278b09622564dd3991fe7744514513d64ea2c8ed2b2b9ec1150ad964fde80a99610e1c36610dc6565b9290610e2661342b565b6001600160a01b03165f818152600f835260409020805460ff191660ff86151516179055925b6040519015158152a2005b346105ef575f3660031901126105ef576020600b54604051908152f35b346105ef5760203660031901126105ef57600435610e91816105de565b610e9961342b565b600780546001600160a01b0319166001600160a01b0392909216919091179055005b610ec43661099a565b90335f52600f60205260ff60405f2054168015610f2c575b15610ace57610ee961344b565b610ef161354a565b610efb8282613e59565b6009546001600160a01b03168015610abf57825f939284936040519283928337810184815203915af4610a8c6129ec565b505f516020615ca35f395f51905f52546001600160a01b03163314610edc565b346105ef575f3660031901126105ef5760206040516127108152f35b346105ef575f3660031901126105ef576020610f82612a1b565b604051908152f35b346105ef575f3660031901126105ef5760206040517f999a33e54989faec6502b28ef75a794e0e28fc38d2dc9648a906e853cca474be8152f35b346105ef575f3660031901126105ef57603a546040516001600160a01b039091168152602090f35b346105ef575f3660031901126105ef576007546040516001600160a01b039091168152602090f35b60406003198201126105ef57600435906001600160401b0382116105ef5761103e916004016107a9565b9091602435610a1881610dbc565b346105ef5761105a36611014565b909161106461342b565b5f5b83811061106f57005b806110908461108160019488876129b5565b3561108b816105de565b6141c4565b01611066565b346105ef5760203660031901126105ef576004356110b3816105de565b6110bb613c52565b604051906110ca602083611545565b5f825260ff5f5416610d26576110de613c52565b6110e661342b565b6040516352d1902d60e01b8152916020836004816001600160a01b0386165afa5f9381611162575b5061112f57634c9c8ce360e01b5f526001600160a01b03821660045260245ffd5b905f516020615cc35f395f51905f52830361114e576100189250615a8a565b632a87526960e21b5f52600483905260245ffd5b61118591945060203d60201161118c575b61117d8183611545565b81019061564f565b925f61110e565b503d611173565b346105ef576102603660031901126105ef576004356111b1816105de565b6101e03660231901126105ef576040366102031901126105ef576020366102431901126105ef575f516020615d235f395f51905f5254906001600160401b0361121260ff604085901c1615611205565b1590565b936001600160401b031690565b1680159081611331575b6001149081611327575b15908161131e575b5061130f57611271908261126860016001600160401b03195f516020615d235f395f51905f525416175f516020615d235f395f51905f5255565b6112d557612a39565b61127757005b6112a160ff60401b195f516020615d235f395f51905f5254165f516020615d235f395f51905f5255565b604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29080602081015b0390a1005b61130a6801000000000000000060ff60401b195f516020615d235f395f51905f525416175f516020615d235f395f51905f5255565b612a39565b63f92ee8a960e01b5f5260045ffd5b9050155f61122e565b303b159150611226565b83915061121c565b346105ef575f3660031901126105ef576020600e54811c60020b604051908152f35b346105ef5760403660031901126105ef576004356001600160401b0381116105ef5761138b9036906004016107a9565b6024356001600160401b0381116105ef576113aa9036906004016107a9565b906113b361342b565b818303611401575f5b8381106113c557005b806113fb6113d660019387896129b5565b356113e0816105de565b6113eb8387876129b5565b35906113f682612871565b61437b565b016113bc565b631fec674760e31b5f5260045ffd5b346105ef575f3660031901126105ef5761142861342b565b5f516020615ce35f395f51905f525460ff81161561147f5760ff19165f516020615ce35f395f51905f52557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6020604051338152a1005b638dfc202b60e01b5f5260045ffd5b346105ef575f3660031901126105ef576114a66143f1565b6114ae614406565b60408051928352602083019190915290f35b346105ef575f3660031901126105ef57602060ff603e54166040519015158152f35b346105ef5760203660031901126105ef576004355f52603d602052602060ff60405f2054166040519015158152f35b634e487b7160e01b5f52604160045260245ffd5b60a081019081106001600160401b0382111761154057604052565b611511565b90601f801991011681019081106001600160401b0382111761154057604052565b6040519061060061018083611545565b604051906106006101a083611545565b6040519061060061012083611545565b6040519061060061016083611545565b6040519061060060a083611545565b6001600160401b03811161154057601f01601f191660200190565b81601f820112156105ef578035906115e7826115b5565b926115f56040519485611545565b828452602083830101116105ef57815f926020809301838601378301015290565b60403660031901126105ef5760043561162e816105de565b6024356001600160401b0381116105ef5761164d9036906004016115d0565b9060ff5f5416610d26576110de613c52565b346105ef575f3660031901126105ef577f0000000000000000000000004a6be3014231a6c687727f8cb16eded8d163d0d16001600160a01b031630036116b65760206040515f516020615cc35f395f51905f528152f35b63703e46dd60e11b5f5260045ffd5b346105ef575f3660031901126105ef576116dd61342b565b5f5b601881101561001857806116f4600192612e38565b6001600160401b0382549160031b1b191690555f8160210155016116df565b346105ef5761172136611014565b9061172a61342b565b5f5b81811061173c5761001883614466565b6117478183866129b5565b3590811561179857816001925f52603d60205260405f208360ff198254161790557ff565a91252cfbf3ef576a7de924ab11175ba29b316695baeaa0762c25684fcdf6020604051858152a20161172c565b633234591360e21b5f5260045ffd5b346105ef575f3660031901126105ef575f516020615cc35f395f51905f52546040516001600160a01b039091168152602090f35b346105ef575f3660031901126105ef57602060ff5f516020615ce35f395f51905f5254166040519015158152f35b346105ef5760203660031901126105ef5761001860043561182981610dbc565b61183161342b565b614466565b346105ef5760403660031901126105ef57600435611853816105de565b6024359061185f61342b565b61186761344b565b6001600160a01b03169081156107335761187f612986565b90823b156105ef576040516323b872dd60e01b81523060048201526001600160a01b03929092166024830152604482018190525f8260648183875af1908115610959577f3a1474f7e987c73586ba37f580025eac82a1456e87b9eace40768b8518a4b375926106d0926118fe575b506040519081529081906020820190565b8061094d5f61190c93611545565b5f6118ed565b346105ef5760203660031901126105ef5760043561192f816105de565b61193761342b565b6001600160a01b038116908115610733573b15610abf57603980546001600160a01b031916821790557fdb21ee24b749ce266d7e9bb769cc693d234aee3572e069ca1d70fa69b051f5b65f80a2005b346105ef575f3660031901126105ef57602060ff601554166040519015158152f35b346105ef575f3660031901126105ef57602063ffffffff600e5416604051908152f35b346105ef5760c03660031901126105ef576004356119e8816105de565b6024356119f4816105de565b604435611a00816105de565b60643590611a0d826105de565b60843592611a1a846105de565b60a43594611a27866105de565b611a2f61342b565b6001600160a01b031680611b49575b506001600160a01b038116611b1f575b506001600160a01b038116611afa575b506001600160a01b038116611ad5575b506001600160a01b038116611ab0575b506001600160a01b038116611a8f57005b600480546001600160a01b0319166001600160a01b03909216919091179055005b600380546001600160a01b0319166001600160a01b039092169190911790555f611a7e565b600280546001600160a01b0319166001600160a01b039092169190911790555f611a6e565b600180546001600160a01b0319166001600160a01b039092169190911790555f611a5e565b5f8054610100600160a81b03191660089290921b610100600160a81b03169190911790555f611a4e565b6001600160601b0360a01b60065416176006555f611a3e565b63ffffffff8116036105ef57565b8060020b036105ef57565b359061060082611b70565b60a09060031901126105ef57600435906024359060443590606435611baa81611b62565b90608435610a1881611b70565b346105ef57611bc536611b86565b92611bd194929461342b565b606481118015611c80575b611c715761001894611c1d82611c5095611c0d8887611bfd611c2598612e78565b611c0688612e78565b90856144a4565b600b5580600c5582600d55612e78565b601355612e78565b601455611c3a600160ff196015541617601555565b63ffffffff1663ffffffff19600e541617600e55565b600e549060201b66ffffff00000000169066ffffff00000000191617600e55565b637bdbf33d60e01b5f5260045ffd5b5060648511611bdc565b346105ef575f3660031901126105ef5763ffc0fd9360e01b5f5260045ffd5b346105ef575f3660031901126105ef576001546040516001600160a01b039091168152602090f35b346105ef5760203660031901126105ef57600435611cee816105de565b60018060a01b03165f526012602052602060ff60405f205416604051908152f35b346105ef5760a03660031901126105ef576004356001600160401b0381116105ef57611d3f90369060040161096d565b602435906001600160401b0382116105ef57366023830112156105ef578160040135926001600160401b0384116105ef573660248560061b850101116105ef576100189360443591611d8f6105f3565b936024608435960191612e8e565b346105ef575f3660031901126105ef575f516020615d435f395f51905f5254336001600160a01b0390911603611dd65761001833614e16565b63118cdaa760e01b5f523360045260245ffd5b346105ef575f3660031901126105ef575f5460405160089190911c6001600160a01b03168152602090f35b346105ef575f3660031901126105ef576039546040516001600160a01b039091168152602090f35b346105ef57611e4a36611014565b9091611e5461342b565b5f5b838110611e5f57005b80611e7784611e7160019488876129b5565b3561441b565b01611e56565b908160209103126105ef573590565b346105ef5760203660031901126105ef57600435611ea861342b565b611eb061344b565b8015610724575f8080808460018060a01b035f516020615ca35f395f51905f5254165af1611edc6129ec565b5015611f205760207f7da8b376ba93770d27c25cf7bbac4d89f12ba25b3fe6e20fa9ed9e60e6d00f6091604051908152a160015f516020615d035f395f51905f5255005b63b1b5a6af60e01b5f5260045ffd5b346105ef575f3660031901126105ef57335f52600f60205260ff60405f2054168015611fb4575b15610ace57611f6361354a565b600160ff195f516020615ce35f395f51905f525416175f516020615ce35f395f51905f52557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586020604051338152a1005b505f516020615ca35f395f51905f52546001600160a01b03163314611f56565b346105ef57610018611fe536610dc6565b90611fee61342b565b614e81565b346105ef5760203660031901126105ef57610018600435612013816105de565b61201b61342b565b61432c565b346105ef575f3660031901126105ef575f516020615ca35f395f51905f52546040516001600160a01b039091168152602090f35b346105ef5760203660031901126105ef57600435612071816105de565b61207961342b565b6001600160a01b038116908115610733573b15610abf57603a80546001600160a01b031916821790557f957fea8002b35abe6fca992352a8d268b9417ee787639a8da3fc71d9528feaef5f80a2005b346105ef5760403660031901126105ef576100186024356004356120ea61342b565b613232565b346105ef575f3660031901126105ef576020610f82613367565b346105ef5760403660031901126105ef5761001860243560043561212c82610dbc565b61213461342b565b61441b565b346105ef5761214736610dc6565b61214f61342b565b6001600160a01b038216918215610733578190816121c0575b506121b15760207f863bee5db55c02da8b80774d486b56883894e4ea55bbab0ca9d66352ee99a11691835f52603c8252610e4c8160405f209060ff801983541691151516179055565b633832f55960e21b5f5260045ffd5b61030f91501615155f612168565b346105ef575f3660031901126105ef576020600c54604051908152f35b346105ef576121f93661099a565b90335f52600f60205260ff60405f20541680156122ed575b15610ace5761221e61344b565b61222661354a565b6122308282614ed5565b6001600160e01b0319811663938a6e9760e01b81141590816122db575b506122bf5750603b546001600160a01b031680156122b0575f928392612278604051809381936129df565b03915af46122846129ec565b9015610ab757610ab3906122a460015f516020615d035f395f51905f5255565b60405191829182610a07565b6322c1801560e11b5f5260045ffd5b638959bb4d60e01b5f526001600160e01b03191660045260245ffd5b63013fcea160e31b141590505f61224d565b505f516020615ca35f395f51905f52546001600160a01b03163314612211565b346105ef575f3660031901126105ef57610ab360405161232e604082611545565b60058152640352e302e360dc1b60208201526040519182916020835260208301906109c8565b346105ef575f3660031901126105ef576020601654604051908152f35b346105ef575f3660031901126105ef576009546040516001600160a01b039091168152602090f35b346105ef575f3660031901126105ef576020601454604051908152f35b346105ef575f3660031901126105ef57602060ff601a54166040519015158152f35b346105ef5760203660031901126105ef5760206123ff6004356123fa816105de565b6133e2565b6040519015158152f35b346105ef575f3660031901126105ef576006546040516001600160a01b039091168152602090f35b346105ef5760603660031901126105ef5760043561244e81610dbc565b6024356044359161245d61342b565b6127108311611c715780806124ce575b611c71576112d07ff1c2407154dd06d7e072d9b67f946729b9da4b7f9efba2661f88e12fca4bdb439360ff19601a541660ff8415151617601a5583601855806019556040519384938460409194939260608201951515825260208201520152565b5081158061246d5750821561246d565b346105ef575f3660031901126105ef57600a546040516001600160a01b039091168152602090f35b346105ef575f3660031901126105ef576020601354604051908152f35b346105ef5760203660031901126105ef57600435612540816105de565b60018060a01b03165f526011602052602060ff60405f2054166040519015158152f35b346105ef576100186125b363ffffffff6125ab61257f36611b86565b969361258e959293919561342b565b61259b88878685856144a4565b600b558060135582601455614fa2565b600c55614fa2565b600d55600160ff1960155416176015551663ffffffff19600e541617600e55600e549060201b66ffffff00000000169066ffffff00000000191617600e55565b346105ef575f3660031901126105ef57602060ff5f54166040519015158152f35b346105ef575f3660031901126105ef576020601954604051908152f35b346105ef5761001861264236610dc6565b9061108b61342b565b346105ef5760403660031901126105ef5761001860043561266b816105de565b60243590612678826105de565b61268061342b565b614237565b346105ef575f3660031901126105ef5760ff601a541660185490601954916126ab613367565b6126b3612a1b565b908181106126e45760c0945f935b6040519515158652602086015260408501526060840152608083015260a0820152f35b808203948286116126f85760c095936126c1565b612e64565b346105ef5760203660031901126105ef5760043561271a816105de565b60018060a01b03165f52600f602052602060ff60405f2054166040519015158152f35b346105ef575f3660031901126105ef576003546040516001600160a01b039091168152602090f35b346105ef575f3660031901126105ef576004546040516001600160a01b039091168152602090f35b346105ef575f3660031901126105ef575f516020615d435f395f51905f52546040516001600160a01b039091168152602090f35b346105ef5760203660031901126105ef576004356127de816105de565b6127e661342b565b5f516020615d435f395f51905f5280546001600160a01b0319166001600160a01b039283169081179091555f516020615ca35f395f51905f52549091167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e227005f80a3005b346105ef575f3660031901126105ef576005546040516001600160a01b039091168152602090f35b60ff8116036105ef57565b346105ef5760403660031901126105ef5761001860043561289c816105de565b602435906128a982612871565b6113f661342b565b346105ef575f3660031901126105ef576002546040516001600160a01b039091168152602090f35b346105ef5760203660031901126105ef576004356128f6816105de565b60018060a01b03165f526010602052602060ff60405f2054166040519015158152f35b346105ef575f3660031901126105ef57603b546040516001600160a01b039091168152602090f35b346105ef5761294f36611014565b909161295961342b565b5f5b83811061296457005b806129808461297660019488876129b5565b35611fee816105de565b0161295b565b5f516020615ca35f395f51905f52546001600160a01b031690565b634e487b7160e01b5f52603260045260245ffd5b91908110156129c55760051b0190565b6129a1565b35610a18816105de565b6040513d5f823e3d90fd5b908092918237015f815290565b3d15612a16573d906129fd826115b5565b91612a0b6040519384611545565b82523d5f602084013e565b606090565b60ff601a541615612a3557610a1860185460195490614011565b5f90565b6001600160a01b0381161561073357612a6190612a54615624565b612a5c615624565b614e16565b612a69615624565b612a71615624565b6001600160a01b03612a8360246129ca565b16612e09575b612a9661084760446129ca565b612dd1575b612aa861084760646129ca565b612da2575b612aba61084760846129ca565b612d73575b612acc61084760a46129ca565b612d44575b612ade61084760c46129ca565b612d15575b612af061084760e46129ca565b612ce6575b612b036108476101046129ca565b612cb6575b6101243580612cae5750612b1d610258600b55565b6101443580612ca55750612b7060035b6101643580612c9b5750612b576004915b610184359081612c9557612b529150612e78565b601355565b6101a4359081612c8f57612b6b9150612e78565b601455565b612b83612b7e601354614fa2565b600c55565b612b96612b91601454614fa2565b600d55565b612ba8600160ff196015541617601555565b63ffffffff612bb86101c4614223565b16612c7c57600e805463ffffffff191660781790555b612bd96101e461422d565b60020b612c6957600e805466ffffff0000000019166478000000001790555b612c28600b54601354601454600e5491612c22612c188463ffffffff1690565b9360201c60020b90565b936144a4565b612c47612c366102046129ca565b612c416102246129ca565b90614237565b612c556108476102446129ca565b612c5b57565b61060061201b6102446129ca565b612bf8612c776101e461422d565b611c50565b612bce612c8a6101c4614223565b611c3a565b50612b6b565b50612b52565b612b579091612b3e565b612b7090612b2d565b600b55612b1d565b612ce1612cc46101046129ca565b60018060a01b03166001600160601b0360a01b6008541617600855565b612b08565b612d10612cf360e46129ca565b60018060a01b03166001600160601b0360a01b6007541617600755565b612af5565b612d3f612d2260c46129ca565b60018060a01b03166001600160601b0360a01b6004541617600455565b612ae3565b612d6e612d5160a46129ca565b60018060a01b03166001600160601b0360a01b6003541617600355565b612ad1565b612d9d612d8060846129ca565b60018060a01b03166001600160601b0360a01b6002541617600255565b612abf565b612dcc612daf60646129ca565b60018060a01b03166001600160601b0360a01b6001541617600155565b612aad565b612e04612dde60446129ca565b5f8054610100600160a81b03191660089290921b610100600160a81b0316919091179055565b612a9b565b612e33612e1660246129ca565b60018060a01b03166001600160601b0360a01b6006541617600655565b612a89565b9060188210156129c55760188260021c601b019260031b1690565b60188110156129c557602101905f90565b634e487b7160e01b5f52601160045260245ffd5b906064820291808304606414901517156126f857565b92959193909495335f52600f60205260ff60405f20541680156131ec575b15610ace57612eb961344b565b612ec161354a565b612ecb868561481a565b612ed9610847979297612986565b33036131b3575b60c0870151306001600160a01b03909116036131a4576020870180516001600160a01b038b8116911603613195578751612f2f90610847906001600160a01b031692516001600160a01b031690565b6001600160a01b0390911614613195576001600160a01b03168015159081613175575b5061316657610100860193808551106130815760018311611401576001830361311c57836130f25786516001600160a01b0316612f95610847610842868661320c565b6001600160a01b0390911614801590613101575b6130f257612ff194612fbc610847612986565b33036130d8575b5190808211156130d05750965b612fdb610847612986565b3303613090575b612feb89614a99565b95614b4d565b612ffa84614a99565b908082106130815761300b91613225565b9182106130815761301d610847612986565b330361303d575b50505061060060015f516020615d035f395f51905f5255565b80516130799390613071906001600160a01b0316926130648560e083019585875191614c55565b516001600160a01b031690565b915191614c6a565b5f8080613024565b6362e7073960e01b5f5260045ffd5b6130cb888a6130b6826130a98c5160018060a01b031690565b60e08d019384519161495b565b89518c906001600160a01b0316915191614a0e565b612fe2565b905096612fd0565b6130ed6130e8610842868661320c565b61492a565b612fc3565b630bd8074560e21b5f5260045ffd5b5060e08701516020613113858561320c565b01351415612fa9565b83156107245786516001600160a01b031673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee14801590613158575b6130f257612ff194612fc3565b508360e0880151141561314b565b63a18d01bf60e01b5f5260045ffd5b60055490915061318d906001600160a01b0316610847565b14155f612f52565b6316f2578d60e31b5f5260045ffd5b63e294034b60e01b5f5260045ffd5b86516131c7906001600160a01b031661492a565b60208701516131de906001600160a01b031661492a565b6131e78961492a565b612ee0565b505f516020615ca35f395f51905f52546001600160a01b03163314612eac565b90156129c55790565b91908110156129c55760061b0190565b919082039182116126f857565b90811580613352575b6132f557670dbd2fc137a30000821080156132e4575b80156132d3575b80156132c2575b80156132b8575b611c7157816132957f5976992fe6bc159e825b489f5e427d6c113900ec0f428e3c0ba04fd70859d22593601655565b61329e82601755565b60408051918252602082019290925290819081015b0390a1565b5080821015613266565b50670de0b6b3a7640000811061325f565b50670de0b6b3a76400008211613258565b50670e043da6172500008111613251565b50506133005f601655565b6133095f601755565b7f5976992fe6bc159e825b489f5e427d6c113900ec0f428e3c0ba04fd70859d225604051806132b38190670de7d1b0f0f1000060206040840193670ddca0c869e6200081520152565b50801561323b565b919082018092116126f857565b5f90610e1042045f5b6018811061337c575050565b6001600160401b0361338d82612e38565b90549060031b1c168281111590816133ce575b506133ae575b600101613370565b926133b884612e53565b90549060031b1c81018091116126f857926133a6565b905082038281116126f8576018115f6133a0565b6001600160a01b0381165f8181526011602052604090205460ff16613425575f52601060205260ff60405f20541690811561341b575090565b610a189150614ee1565b50505f90565b5f516020615ca35f395f51905f52546001600160a01b03163303611dd657565b60025f516020615d035f395f51905f5254146134745760025f516020615d035f395f51905f5255565b633ee5aeb560e01b5f5260045ffd5b9061348f5f8284614fbe565b15613498575050565b6134a2818361500b565b156134da575f6134b2918361506f565b156134ba5750565b635274afe760e01b5f9081526001600160a01b0391909116600452602490fd5b50635274afe760e01b5f9081526001600160a01b0391909116600452602490fd5b9190613508828285614fbe565b1561351257505050565b61351c818461500b565b1561352c57906134b2918361506f565b635274afe760e01b5f9081526001600160a01b038416600452602490fd5b60ff5f516020615ce35f395f51905f52541661356257565b63d93c066560e01b5f5260045ffd5b90929192836004116105ef5783116105ef57600401916003190190565b6fffffffffffffffffffffffffffffffff8116036105ef57565b35906106008261358e565b6020818303126105ef578035906001600160401b0382116105ef570190610180828203126105ef576135e3611566565b916135ed81610602565b83526135fb60208201610602565b602084015261360c60408201610d42565b604084015261361d60608201611b7b565b606084015261362e60808201611b7b565b608084015261363f60a08201611b7b565b60a084015261365060c08201610602565b60c084015260e08101356001600160401b0381116105ef57610160926136779183016115d0565b60e084015261368961010082016135a8565b61010084015261369c61012082016135a8565b6101208401526136af6101408201610602565b610140840152013561016082015290565b6020818303126105ef578035906001600160401b0382116105ef5701906101a0828203126105ef576136f0611576565b916136fa81610602565b835261370860208201610602565b602084015261371960408201610d42565b604084015261372a60608201611b7b565b606084015261373b60808201611b7b565b608084015261374c60a08201611b7b565b60a084015261375d60c08201610602565b60c084015260e08101356001600160401b0381116105ef57610180926137849183016115d0565b60e084015261379661010082016135a8565b6101008401526137a961012082016135a8565b6101208401526137bc61014082016135a8565b6101408401526137cf6101608201610602565b610160840152013561018082015290565b91909160e0818403126105ef5780359260208201356137fe8161358e565b92604083013561380d8161358e565b92606081013561381c8161358e565b926080820135906001600160401b0382116105ef5761383c9183016115d0565b9160c060a083013561384d816105de565b92013590565b9060c0828203126105ef578135926020830135926040810135926060820135906001600160401b0382116105ef5761388c9183016115d0565b9160a0608083013561384d816105de565b91909160a0818403126105ef5780359260208201359260408301356138c18161358e565b9260608101356138d08161358e565b9260808201356001600160401b0381116105ef57610a1892016115d0565b906080828203126105ef57813592602083013561390a8161358e565b9260408101356139198161358e565b9260608201356001600160401b0381116105ef57610a1892016115d0565b5f516020615ca35f395f51905f525490919061395b906001600160a01b0316610847565b3314613bbe5761396b8183614ed5565b916001600160e01b0319831663106724a160e21b8114613b8657635cad5ee160e01b8114613acd5763e44eda8960e01b8114613a9f576330b82a3d60e21b8114613a6d5763e9b8312960e01b8114613a425763013d134360e61b8114613a2657631ce433c760e21b146139f557638959bb4d60e01b5f526001600160e01b0319831660045260245ffd5b613a239250613a0b82613a1e93613a1393613571565b8101906138ee565b9150509190916150b7565b6152c9565b50565b50613a23925081613a1e92613a3a92613571565b810190611e7d565b50613a239250613a5982613a1e93613a6193613571565b81019061389d565b925050509190916150b7565b506106009250613a8f613a8783613a1e94613a9a94613571565b810190613853565b5095925090506150b7565b6151b9565b506106009250613ac1613ab983613a1e94613a9a94613571565b8101906137e0565b509693509150506150b7565b50610600925081613ae992613ae192613571565b8101906136c0565b8051613b809061016090613b71906001600160a01b03165b6020850180519091613b1d916001600160a01b03165b906150aa565b613b2a60e08601516150b7565b8451613b48906001600160a01b03165b91516001600160a01b031690565b604086015162ffffff16606087015160020b60c08801519092906001600160a01b0316936150f7565b9201516001600160a01b031690565b906151b9565b50610600925081613ba292613b9a92613571565b8101906135b3565b8051613b809061014090613b71906001600160a01b0316613b01565b5050565b908160209103126105ef5751610a1881610dbc565b803b15610abf576040516301ffc9a760e01b815263eef390ed60e01b600482015290602090829060249082906001600160a01b03165afa5f9181613c31575b50613c2a5763350c20f160e01b5f5260045ffd5b15610abf57565b613c4b91925060203d602011610c4e57610c3f8183611545565b905f613c16565b6001600160a01b037f0000000000000000000000004a6be3014231a6c687727f8cb16eded8d163d0d116308114908115613c8e575b506116b657565b5f516020615cc35f395f51905f52546001600160a01b0316141590505f613c87565b5190610600826105de565b908160209103126105ef5751610a18816105de565b5f54604051630b4c774160e11b81526001600160a01b039283166004820152928216602484015262ffffff9390931660448301529092916020918491606491839160081c165afa918215610959575f92613d46575b506001600160a01b03821615613d3757565b63c8e5b88d60e01b5f5260045ffd5b613d6991925060203d602011613d70575b613d618183611545565b810190613cbb565b905f613d25565b503d613d57565b90816101209103126105ef57610100613d8e611586565b91613d9881610602565b8352613da660208201610602565b6020840152613db760408201610d42565b6040840152613dc860608201611b7b565b6060840152613dd960808201611b7b565b608084015260a081013560a084015260c081013560c084015260e081013560e0840152013561010082015290565b908160a09103126105ef578035916020820135916040810135916080606083013592013590565b91908260809103126105ef578135916020810135613e4b8161358e565b916060604083013592013590565b5f516020615ca35f395f51905f5254909190613e7d906001600160a01b0316610847565b3314613bbe57613e8d8183614ed5565b916001600160e01b03198316637547a56560e01b8114613f8357637e09446960e11b8114613f49576341743b8560e01b8114613f255763d8632f3f60e01b8114908115613f14575b50613ef757638959bb4d60e01b5f526001600160e01b0319831660045260245ffd5b613f0f925081613f0a92613a3a92613571565b615511565b505050565b6308dd0f4b60e41b1490505f613ed5565b50613f0f925081613f4192613f3992613571565b810190613e2e565b505050615511565b506106009250613f6b613f6383613f7e94613f7494613571565b810190613e07565b50505050615511565b818394929461537f565b615415565b50610600925081613f9f92613f9792613571565b810190613d77565b80516001600160a01b03166020820180519091613fc4916001600160a01b0316613b17565b815161400490613b3a90613ff6906001600160a01b031684516001600160a01b0316604087015162ffffff169161537f565b93516001600160a01b031690565b91615415565b156105ef57565b808202905f1983820990828083109203918083039283620f424011156105ef5714614071577fde8f6cefed634549b62c77574f722e1ac57e23f24d8fd5cb790fb65668c2613993620f4240910990828211900360fa1b910360061c170290565b5050620f424091500490565b808202905f1983820990828083109203918083039283670de0b6b3a764000011156105ef57146140e7577faccb18165bd6fe31ae1cf318dc5b51eee0e1ba569b88cd74c1773b91fac1066993670de0b6b3a7640000910990828211900360ee1b910360121c170290565b5050670de0b6b3a764000091500490565b81810291905f1982820991838084109303928084039384600160601b11156105ef571461413857600160601b910990828211900360a01b910360601c1790565b50505060601c90565b91818302915f1981850993838086109503948086039561416287861161400a565b146141bc579082910981805f03168092046002816003021880820260020302808202600203028082026002030280820260020302808202600203028091026002030293600183805f03040190848311900302920304170290565b505091500490565b6001600160a01b03169081156107335760207f459374521a737ddab6c308cce84921454dc67504bab079c570f6b10783a9983391835f52601182526142188160405f209060ff801983541691151516179055565b6040519015158152a2565b35610a1881611b62565b35610a1881611b70565b6001600160a01b03811691908215801561431b575b610733573b15610abf576040516301ffc9a760e01b815263194d3dc360e11b6004820152602081602481865afa5f91816142fa575b506142955763350c20f160e01b5f5260045ffd5b15610abf576142a381613bd7565b816001600160601b0360a01b600954161760095560018060a01b031690816001600160601b0360a01b600a541617600a557fe7836f4c1585572e73ac1ebd237c17348e5b453da767958b34b22bd170f6e52f5f80a3565b61431491925060203d602011610c4e57610c3f8183611545565b905f614281565b506001600160a01b0382161561424c565b6001600160a01b038116908115610733573b15610abf57600580546001600160a01b031916821790557f582a9190e9698f4ae4033df26d63cee4674df3b1b6bc85f15c7b6f6e5b915b585f80a2565b6001600160a01b03169081156107335760ff16601281116143db575f82815260126020908152604091829020805460ff19168417905590519182527f31dfb0b93d14a11354bdf350f127e8377a7bd3cbbd5d0f0bfad2d98eb677663091a2565b90633477b72d60e21b5f5260045260245260445ffd5b60165480610a185750670ddca0c869e6200090565b60175480610a185750670de7d1b0f0f1000090565b9081156117985760207ff565a91252cfbf3ef576a7de924ab11175ba29b316695baeaa0762c25684fcdf91835f52603d82526142188160405f209060ff801983541691151516179055565b60207f8e9de2ad3a40d17f313c20330499cca08ea2af3f45dc68f8f03e27caab0bced391151560ff19603e541660ff821617603e55604051908152a1565b601e8110908115614509575b50611c715761271010611c715761271010611c715763ffffffff16601e81109081156144fd575b50611c715760020b5f81129081156144f1575b50611c7157565b6113889150135f6144ea565b610e109150115f6144d7565b610e109150115f6144b0565b6001600160401b0381116115405760051b60200190565b9080601f830112156105ef57813561454381614515565b926145516040519485611545565b81845260208085019260051b8201019283116105ef57602001905b8282106145795750505090565b602080918335614588816105de565b81520191019061456c565b9080601f830112156105ef5781356145aa81614515565b926145b86040519485611545565b81845260208085019260051b8201019283116105ef57602001905b8282106145e05750505090565b81358152602091820191016145d3565b919091610160818403126105ef57614606611596565b9261461082610602565b845261461e60208301610602565b602085015260408201356001600160401b0381116105ef578161464291840161452c565b604085015260608201356001600160401b0381116105ef5781614666918401614593565b606085015260808201356001600160401b0381116105ef578161468a91840161452c565b608085015260a08201356001600160401b0381116105ef57816146ae918401614593565b60a08501526146bf60c08301610602565b60c085015260e082013560e08501526101008201356101008501526101208201356101208501526101408201356001600160401b0381116105ef5761470492016115d0565b610140830152565b6020818303126105ef578035906001600160401b0382116105ef570160a0818303126105ef5761473a6115a6565b9161474482610602565b835261475260208301610602565b602084015260408201356001600160401b0381116105ef57816147769184016115d0565b604084015260608201356001600160401b0381116105ef578161479a9184016145f0565b606084015260808201356001600160401b0381116105ef576147bc92016115d0565b608082015290565b906080828203126105ef5781356147da816105de565b9260208301356001600160401b0381116105ef57826147fa9185016145f0565b9260408101356001600160401b0381116105ef57836139199183016115d0565b9060405161016081018181106001600160401b03821117611540576040525f81525f60208201526060604082015260608082015260606080820152606060a08201525f60c08201525f60e08201525f6101008201525f6101208201526060610140820152506004811061491b57806148929183613571565b91356001600160e01b03191663e21fd0e960e01b8114801561490b575b6148e457638af033fb60e01b146148cf57633e0420f760e11b5f5260045ffd5b6148db918101906147c4565b50509050905f90565b506148f19181019061470c565b60608101516020909101519091906001600160a01b031690565b506359e50fed60e01b81146148af565b633e0420f760e11b5f5260045ffd5b614933816133e2565b1561493b5750565b63094403b760e41b5f9081526001600160a01b0391909116600452602490fd5b601554919493929160ff16156149f257601454925b620f424080851015611c71576149896149a4928861566c565b9461499e614997868661566c565b9183613225565b90614141565b8084106149b757509361060093946156af565b604051633ec3d85360e01b81526001600160a01b039283166004820152918616602483015260448201849052606482015280608481015b0390fd5b600d546064810290808204606414901517156126f85792614970565b92909260ff601a541615614a9357614a2f92614a299161566c565b9261566c565b81811015613bbe5781039081116126f857614a48612a1b565b908115614a8457614a57613367565b8181018082116126f8578310614a6c57505050565b63e93203bf60e01b5f5260045260245260445260645ffd5b6322cfeb7760e01b5f5260045ffd5b50505050565b6001600160a01b031673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee8114614b1b576020602491604051928380926370a0823160e01b82523060048301525afa908115610959575f91614aec575090565b90506020813d602011614b13575b81614b0760209383611545565b810103126105ef575190565b3d9150614afa565b504790565b91926060938192845260406020850152816040850152848401375f828201840152601f01601f1916010190565b6005546001600160a01b0316949093909285908115614c4657821580614c3e575b610724575f5b838110614c0b57505f8060405180614b8d81898c6129df565b039088865af191614b9c6129ec565b935f5b818110614be8575050505015610ab7575090614be37f1c2e5a1031d3c1c47ea8f476f148cd18347010473bfddd5967d034cefbe63220939260405193849384614b20565b0390a2565b80614c0584614c00610847610842600196888b613215565b613483565b01614b9f565b80614c38614c226108476108426001958988613215565b856020614c30858a89613215565b0135916134fb565b01614b74565b508415614b6e565b6367d4f18960e11b5f5260045ffd5b9190614c64610600948261566c565b926156af565b929092614c7c611201601a5460ff1690565b614a9357614c8d92614a299161566c565b81811015613bbe57614c9e91613225565b614ca6612a1b565b908115614a8457614cb5613367565b9180614cc1838561335a565b11614dfb57610e1042049060188206906001600160401b038311614dec57614d7b847f621d1f8a268d20c5d876ea840dc388aa1ae082a4a6b1a64322be37e94911efec96614d60614d4e6132b3966001600160401b038916806001600160401b03614d41614d2e85612e38565b90546001600160401b039160031b1c1690565b1603614d9e575b50612e53565b614d6585614d608385549060031b1c90565b61335a565b82545f1960039390931b92831b1916911b179055565b604051948594859094939260609260808301968352602083015260408201520152565b614dca90614dab83612e38565b9091906001600160401b038084549260031b9316831b921b1916179055565b614de6614dd682612e53565b8154905f199060031b1b19169055565b5f614d48565b630625040160e01b5f5260045ffd5b63e93203bf60e01b5f5260049290925260245260445260645ffd5b5f516020615d435f395f51905f5280546001600160a01b03199081169091555f516020615ca35f395f51905f5280549182166001600160a01b0393841690811790915591167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a3565b6001600160a01b03169081156107335760207fdc86ea80c17dba36e8aac1a8a9461dcc3967506848bd50e2e48b90507867abb991835f52601082526142188160405f209060ff801983541691151516179055565b90600411610abf573590565b60014614614eee57505f90565b60018060a01b031673a0b86991c6218b36c1d19d4a2e9eb0ce3606eb488114908115614f84575b8115614f66575b8115614f48575b8115614f2d575090565b73e343167631d89b6ffc58b88d6b7fb0228795491d91501490565b734c9edd5852cd905f086c759e8383e09bff1e68b381149150614f23565b736b175474e89094c44da98b954eedeac495271d0f81149150614f1c565b73dac17f958d2ee523a2206206994597c13d831ec781149150614f15565b80614fac57505f90565b606381018091116126f8576064900490565b92916040519163095ea7b360e01b5f5260018060a01b031660045260245260205f60448180875af19260015f5114841615614ffa575b50604052565b3d15903b151516909216915f614ff4565b60405163095ea7b360e01b5f9081526001600160a01b03909316600452602483905290929160209060448180875af19260015f511484161561504d5750604052565b60018492941516615066573b15153d151616915f614ff4565b833d5f823e3d90fd5b92916040519163095ea7b360e01b5f5260018060a01b031660045260245260205f60448180875af19260015f511484161561504d5750604052565b906130e86106009261492a565b516150be57565b634ba0a8f360e01b5f5260045ffd5b604051906150da82611525565b5f6080838281528260208201528260408201528260608201520152565b939190926151036150cd565b506001600160a01b038516801580156151a8575b610733576001600160a01b03851611156151995761513761120184615714565b6121b15761517f61518992615173610a18966151636151546115a6565b6001600160a01b03909a168a52565b6001600160a01b03166020890152565b62ffffff166040870152565b60020b6060850152565b6001600160a01b03166080830152565b632e6c432360e01b5f5260045ffd5b506001600160a01b03851615615117565b9061060091604051602081019060018060a01b03835116825260018060a01b03602084015116604082015262ffffff6040840151166060820152606083015160020b608082015260018060a01b0360808401511660a082015260a0815261522160c082611545565b5190209061522e8261574e565b6157b4565b519061060082610d35565b519061060082611b70565b8092910360c081126105ef5760a0136105ef5760a060405161526a81611525565b8351615275816105de565b81526020840151615285816105de565b6020820152604084015161529881610d35565b604082015260608401516152ab81611b70565b606082015260808401516152be816105de565b608082015292015190565b9060c061531d926152d86150cd565b506004546001600160a01b03166152ef828261593d565b604051637ba03aad60e01b81526004810192909252909384916001600160a01b031690829081906024820190565b03915afa918215610959575f9261534d575b508151610600908390613b17906020906001600160a01b0316613b71565b61537091925060c03d60c011615378575b6153688183611545565b810190615249565b50905f61532f565b503d61535e565b9061538a9291613cd0565b906106006001600160a01b03831661574e565b519061ffff821682036105ef57565b908160e09103126105ef5780516153c2816105de565b9160208201516153d181611b70565b916153de6040820161539d565b916153eb6060830161539d565b916153f86080820161539d565b9160c060a083015161540981612871565b920151610a1881610dbc565b604051633850c7bd60e01b81529060e090829060049082906001600160a01b03165afa801561095957615462915f916154d1575b50615453836159d6565b61545c856159d6565b91615a27565b61546a6143f1565b615472614406565b9181811080156154c8575b615488575050505050565b60405163134e470960e11b81526001600160a01b03948516600482015294909316602485015260448401929092526064830191909152608482015260a490fd5b5082811161547d565b6154f3915060e03d60e0116154ff575b6154eb8183611545565b8101906153ac565b5050505050505f615449565b503d6154e1565b51906106008261358e565b6001546001600160a01b0316906101809061552c818461593d565b60246040518094819363133f757160e31b835260048301525afa918215610959575f925f925f91615564575b509061060083856150aa565b9250509150610180813d821161561c575b816155836101809383611545565b810103126105ef5780516001600160601b03811681036105ef57506155aa60208201613cb0565b506155b760408201613cb0565b916155c460608301613cb0565b926156136101606155d760808601615233565b946155e460a0820161523e565b506155f160c0820161523e565b506155fe60e08201615506565b5061560c6101408201615506565b5001615506565b5092915f615558565b3d9150615575565b60ff5f516020615d235f395f51905f525460401c161561564057565b631afcd79f60e31b5f5260045ffd5b908160209103126105ef575190565b604d81116126f857600a0a90565b61567760ff916159d6565b16601281146156ab5760120360ff81116126f85760ff615697911661565e565b908181029181830414901517156126f85790565b5090565b916156c06156ce919492948461566c565b6156c8614406565b9061407d565b908181116156dc5750505050565b60405163b971b92960e01b81526001600160a01b03938416600482015293909216602484015260448301919091526064820152608490fd5b6001600160a01b0381168015615747575f52603c60205260ff60405f205416908161573d575090565b61030f9150161590565b5050600190565b61575781615b29565b1561575f5750565b63064a469560e31b5f5260045260245ffd5b91908260809103126105ef578151615788816105de565b91602081015161579781611b70565b91606060408301516157a881610d35565b920151610a1881610d35565b916001600160a01b03161561592e576007546001600160a01b0316801561591f5761580e916080916157ee906001600160a01b0316610847565b6040518080958194633205590760e21b8352600483019190602083019252565b03915afa908115610959575f916158ed575b50815161585590615839906001600160a01b03166159d6565b6020840180519093919061545c906001600160a01b03166159d6565b9161585e6143f1565b615866614406565b9181851080156158e4575b61587c575050505050565b516149ee92919061589e906001600160a01b031694516001600160a01b031690565b60405163e97f7d1d60e01b81526001600160a01b0395861660048201529416602485015260448401949094526064830193909352608482019290925290819060a4820190565b50828511615871565b61590f915060803d608011615918575b6159078183611545565b810190615771565b5050505f615820565b503d6158fd565b6303bc067d60e61b5f5260045ffd5b630ef5e33360e41b5f5260045ffd5b6040516331a9108f60e11b81526004810183905291906020836024816001600160a01b0385165afa928315610959575f936159b5575b50306001600160a01b0384160361598957505050565b630e34ebdf60e41b5f9081526001600160a01b0391821660045260249290925291909116604452606490fd5b6159cf91935060203d602011613d7057613d618183611545565b915f615973565b6001600160a01b0381165f818152601260205260409020549092919060ff1680615a225750615a0490615b4c565b60ff8116615a1e5782622f5da360e81b5f5260045260245ffd5b9150565b925050565b60ff615a4981615a42615a509460018060a01b0316806140f8565b941661565e565b931661565e565b9180670de0b6b3a76400000290670de0b6b3a76400008204036126f8576001600160a01b03831683036126f857610a189260601b91614141565b90813b15615b08575f516020615cc35f395f51905f5280546001600160a01b0319166001600160a01b0384169081179091557fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b5f80a2805115615af057613a2391615c16565b505034615af957565b63b398979f60e01b5f5260045ffd5b50634c9c8ce360e01b5f9081526001600160a01b0391909116600452602490fd5b60ff603e541615615b46575f52603d60205260ff60405f20541690565b50600190565b60014614615b5957505f90565b6001600160a01b031673a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4881148015615bf9575b8015615bdc575b615bd657736b175474e89094c44da98b954eedeac495271d0f8114908115615bb8575b50615bb3575f90565b601290565b734c9edd5852cd905f086c759e8383e09bff1e68b39150145f615baa565b50600690565b5073e343167631d89b6ffc58b88d6b7fb0228795491d8114615b87565b5073dac17f958d2ee523a2206206994597c13d831ec78114615b80565b905f8091602081519101845af48080615c76575b15615c39575050610a18615c89565b15615c5e57639996b31560e01b5f9081526001600160a01b0391909116600452602490fd5b3d15155f036129d45763d6bda27560e01b5f5260045ffd5b503d151580615c2a5750813b1515615c2a565b604051903d82523d5f602084013e60203d83010160405256fe9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c199300360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbccd5ed15c6e187e77e9aee88184c21f4f2182ab5827cb3b7e07fbedcd63f033009b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00237e158222e3e6968b72b9db0d8043aacf074ad9f650f0d1606b4d82ee432c00a164736f6c6343000823000a","recompiledBytecode":"0x6080604052600436101561001a575b3615610018575f80fd5b005b5f3560e01c806306b091f9146105d957806308565bc1146105d45780630a147277146105cf5780630d3eeec1146105ca5780630d734324146105c5578063101ec30a146105c057806312261ee7146105bb57806312f62498146105b6578063141b73c4146105b1578063150b7a02146105ac578063152d0731146105a75780631698ee82146105a25780631de93b481461059d5780631e1bff3f146105985780631f2d5966146105935780632240e6121461058e578063236e5f1414610589578063249d39e91461058457806324bf6e911461057f5780632565c8841461057a578063271d6ffe14610575578063297e396914610570578063323134701461056b5780633659cfe6146105665780633bafd1b3146105615780633c5f72141461055c5780633f1aa6a2146105575780633f4ba83a14610552578063433ca2ec1461054d578063476526a3146105485780634bb3ae3e146105435780634f1ef2861461053e57806352d1902d1461053957806355feedc11461053457806357dccc041461052f5780635c60da1b1461052a5780635c975abb14610525578063605edf1a146105205780636088e93a1461051b57806360996f0d14610516578063660bd0c0146105115780636cf9219f1461050c5780636cfb6bf914610507578063702e1bf414610502578063715018a6146104fd5780637303e913146104f857806376ea0c55146104f3578063785e8275146104ee57806379ba5097146104e95780637c887c59146104e45780637fb051ba146104df578063837e864b146104da57806384276d81146104d55780638456cb59146104d05780638aaa2284146104cb5780638b33203c146104c65780638da5cb5b146104c15780638ebf8289146104bc5780639039cce6146104b757806391c0cd1e146104b2578063941158b0146104ad57806396bd0952146104a85780639c50a4d9146104a3578063a0909db21461049e578063ad3cb1cc14610499578063adf3036114610494578063b9c22f791461048f578063bae7a8ad1461048a578063bec3188914610485578063c475551a14610480578063c55dae631461047b578063c8a85be114610476578063c99f1e5414610471578063cc19de2a1461046c578063cc47abf614610467578063cf753d1214610462578063d24b37971461045d578063d3047d5614610458578063d588f04b14610453578063d74a5d001461044e578063dc419d5914610449578063debfda3014610444578063e20dccb21461043f578063e2f4dd431461043a578063e30c397814610435578063f2fde38b14610430578063f63ca6e41461042b578063f702d94f14610426578063f887ea4014610421578063f9eaee0d1461041c578063fa716b3f146104175763ff1f9c7a0361000e57612941565b612919565b6128d9565b6128b1565b61287c565b612849565b6127c1565b61278d565b612765565b61273d565b6126fd565b612685565b61264b565b612631565b612614565b6125f3565b612563565b612523565b612506565b6124de565b612431565b612409565b6123d8565b6123b6565b612399565b612371565b612354565b61230d565b6121eb565b6121ce565b612139565b612109565b6120ef565b6120c8565b612054565b612020565b611ff3565b611fd4565b611f2f565b611e8c565b611e3c565b611e14565b611de9565b611d9d565b611d0f565b611cd1565b611ca9565b611c8a565b611bb7565b6119cb565b6119a8565b611986565b611912565b611836565b611809565b6117db565b6117a7565b611713565b6116c5565b61165f565b611616565b6114e2565b6114c0565b61148e565b611410565b61135b565b611339565b611193565b611096565b61104c565b610fec565b610fc4565b610f8a565b610f68565b610f4c565b610ebb565b610e74565b610e57565b610deb565b610d9f565b610d4d565b610ccc565b610c72565b610c55565b610b6c565b610b44565b610afd565b610a1b565b6107d9565b610769565b61074c565b61060d565b6001600160a01b038116036105ef57565b5f80fd5b60643590610600826105de565b565b3590610600826105de565b346105ef5760403660031901126105ef5760043561062a816105de565b6024359061063661342b565b61063e61344b565b6001600160a01b03169081156107335780156107245760018060a01b035f516020615ca35f395f51905f5254166040519063a9059cbb60e01b5f526004528160245260205f60448180875af160015f5114811615610705575b604091909152156106e9576040519081527f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a94243649080602081015b0390a261001860015f516020615d035f395f51905f5255565b635274afe760e01b5f526001600160a01b03821660045260245ffd5b600181151661071b573d15843b15151616610697565b503d5f823e3d90fd5b6365e52d5160e11b5f5260045ffd5b63ae9954c360e01b5f5260045ffd5b5f9103126105ef57565b346105ef575f3660031901126105ef576020600d54604051908152f35b346105ef5760203660031901126105ef57600435610786816105de565b60018060a01b03165f52603c602052602060ff60405f2054166040519015158152f35b9181601f840112156105ef578235916001600160401b0383116105ef576020808501948460051b0101116105ef57565b346105ef5760203660031901126105ef576004356001600160401b0381116105ef576108099036906004016107a9565b9061081261342b565b6008546001600160a01b03161561095e575f5b82811061082e57005b6108656108536108476108428487876129b5565b6129ca565b6001600160a01b031690565b6008546001600160a01b031690613483565b60085461087c90610847906001600160a01b031681565b9061088b6108428286866129b5565b6004546001600160a01b0316833b156105ef576040516387517c4560e01b81526001600160a01b039283166004820152911660248201525f604482018190526001606483015290928390608490829084905af19182156109595760019261093f575b506108fc6108428286866129b5565b60045460a084901b8490039081166001600160a01b031691167f8e6082f82d88ebb7595b02d55ede8094ce17e40029d61292354afbb04ffaae855f80a301610825565b8061094d5f61095393611545565b80610742565b5f6108ed565b6129d4565b63876dafaf60e01b5f5260045ffd5b9181601f840112156105ef578235916001600160401b0383116105ef57602083818601950101116105ef57565b60206003198201126105ef57600435906001600160401b0382116105ef576109c49160040161096d565b9091565b91908251928382525f5b8481106109f2575050825f602080949584010152601f8019910116010190565b806020809284010151828286010152016109d2565b906020610a189281815201906109c8565b90565b610a243661099a565b90335f52600f60205260ff60405f2054168015610add575b15610ace57610a4961344b565b610a5161354a565b610a5b8282613937565b600a546001600160a01b03168015610abf57825f939284936040519283928337810184815203915af4610a8c6129ec565b9015610ab757610ab39060015f516020615d035f395f51905f525560405191829182610a07565b0390f35b602081519101fd5b63350c20f160e01b5f5260045ffd5b6312e25d5960e11b5f5260045ffd5b505f516020615ca35f395f51905f52546001600160a01b03163314610a3c565b346105ef5760203660031901126105ef57600435610b1a816105de565b610b2261342b565b600880546001600160a01b0319166001600160a01b0392909216919091179055005b346105ef575f3660031901126105ef576008546040516001600160a01b039091168152602090f35b346105ef5760203660031901126105ef57600435610b89816105de565b610b9161342b565b6001600160a01b038116908115610733573b15610abf576040516301ffc9a760e01b8152639a741b9f60e01b6004820152602081602481855afa5f9181610c24575b50610be75763350c20f160e01b5f5260045ffd5b15610abf57603b80546001600160a01b031916821790557f5371b5384a8ca13185168caea3d68cdae7cdd42fa4b99deede7ed3a345f7d1735f80a2005b610c4791925060203d602011610c4e575b610c3f8183611545565b810190613bc2565b905f610bd3565b503d610c35565b346105ef575f3660031901126105ef576020601754604051908152f35b346105ef5760803660031901126105ef57610c8e6004356105de565b610c996024356105de565b6064356001600160401b0381116105ef57610cb890369060040161096d565b5050604051630a85bd0160e11b8152602090f35b346105ef575f3660031901126105ef57610ce4613c52565b610cec61342b565b5f5460ff8116610d265760019060ff1916175f557fbbbfc8f80672f98366c78f334ec935871991b2825f67cbe69bae201705e81a0c5f80a1005b63d74c95cb60e01b5f5260045ffd5b62ffffff8116036105ef57565b359061060082610d35565b346105ef5760603660031901126105ef576020610d8d600435610d6f816105de565b602435610d7b816105de565b60443591610d8883610d35565b613cd0565b6040516001600160a01b039091168152f35b346105ef575f3660031901126105ef576020601854604051908152f35b801515036105ef57565b60409060031901126105ef57600435610dde816105de565b90602435610a1881610dbc565b346105ef5760207f278b09622564dd3991fe7744514513d64ea2c8ed2b2b9ec1150ad964fde80a99610e1c36610dc6565b9290610e2661342b565b6001600160a01b03165f818152600f835260409020805460ff191660ff86151516179055925b6040519015158152a2005b346105ef575f3660031901126105ef576020600b54604051908152f35b346105ef5760203660031901126105ef57600435610e91816105de565b610e9961342b565b600780546001600160a01b0319166001600160a01b0392909216919091179055005b610ec43661099a565b90335f52600f60205260ff60405f2054168015610f2c575b15610ace57610ee961344b565b610ef161354a565b610efb8282613e59565b6009546001600160a01b03168015610abf57825f939284936040519283928337810184815203915af4610a8c6129ec565b505f516020615ca35f395f51905f52546001600160a01b03163314610edc565b346105ef575f3660031901126105ef5760206040516127108152f35b346105ef575f3660031901126105ef576020610f82612a1b565b604051908152f35b346105ef575f3660031901126105ef5760206040517f999a33e54989faec6502b28ef75a794e0e28fc38d2dc9648a906e853cca474be8152f35b346105ef575f3660031901126105ef57603a546040516001600160a01b039091168152602090f35b346105ef575f3660031901126105ef576007546040516001600160a01b039091168152602090f35b60406003198201126105ef57600435906001600160401b0382116105ef5761103e916004016107a9565b9091602435610a1881610dbc565b346105ef5761105a36611014565b909161106461342b565b5f5b83811061106f57005b806110908461108160019488876129b5565b3561108b816105de565b6141c4565b01611066565b346105ef5760203660031901126105ef576004356110b3816105de565b6110bb613c52565b604051906110ca602083611545565b5f825260ff5f5416610d26576110de613c52565b6110e661342b565b6040516352d1902d60e01b8152916020836004816001600160a01b0386165afa5f9381611162575b5061112f57634c9c8ce360e01b5f526001600160a01b03821660045260245ffd5b905f516020615cc35f395f51905f52830361114e576100189250615a8a565b632a87526960e21b5f52600483905260245ffd5b61118591945060203d60201161118c575b61117d8183611545565b81019061564f565b925f61110e565b503d611173565b346105ef576102603660031901126105ef576004356111b1816105de565b6101e03660231901126105ef576040366102031901126105ef576020366102431901126105ef575f516020615d235f395f51905f5254906001600160401b0361121260ff604085901c1615611205565b1590565b936001600160401b031690565b1680159081611331575b6001149081611327575b15908161131e575b5061130f57611271908261126860016001600160401b03195f516020615d235f395f51905f525416175f516020615d235f395f51905f5255565b6112d557612a39565b61127757005b6112a160ff60401b195f516020615d235f395f51905f5254165f516020615d235f395f51905f5255565b604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29080602081015b0390a1005b61130a6801000000000000000060ff60401b195f516020615d235f395f51905f525416175f516020615d235f395f51905f5255565b612a39565b63f92ee8a960e01b5f5260045ffd5b9050155f61122e565b303b159150611226565b83915061121c565b346105ef575f3660031901126105ef576020600e54811c60020b604051908152f35b346105ef5760403660031901126105ef576004356001600160401b0381116105ef5761138b9036906004016107a9565b6024356001600160401b0381116105ef576113aa9036906004016107a9565b906113b361342b565b818303611401575f5b8381106113c557005b806113fb6113d660019387896129b5565b356113e0816105de565b6113eb8387876129b5565b35906113f682612871565b61437b565b016113bc565b631fec674760e31b5f5260045ffd5b346105ef575f3660031901126105ef5761142861342b565b5f516020615ce35f395f51905f525460ff81161561147f5760ff19165f516020615ce35f395f51905f52557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6020604051338152a1005b638dfc202b60e01b5f5260045ffd5b346105ef575f3660031901126105ef576114a66143f1565b6114ae614406565b60408051928352602083019190915290f35b346105ef575f3660031901126105ef57602060ff603e54166040519015158152f35b346105ef5760203660031901126105ef576004355f52603d602052602060ff60405f2054166040519015158152f35b634e487b7160e01b5f52604160045260245ffd5b60a081019081106001600160401b0382111761154057604052565b611511565b90601f801991011681019081106001600160401b0382111761154057604052565b6040519061060061018083611545565b604051906106006101a083611545565b6040519061060061012083611545565b6040519061060061016083611545565b6040519061060060a083611545565b6001600160401b03811161154057601f01601f191660200190565b81601f820112156105ef578035906115e7826115b5565b926115f56040519485611545565b828452602083830101116105ef57815f926020809301838601378301015290565b60403660031901126105ef5760043561162e816105de565b6024356001600160401b0381116105ef5761164d9036906004016115d0565b9060ff5f5416610d26576110de613c52565b346105ef575f3660031901126105ef577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031630036116b65760206040515f516020615cc35f395f51905f528152f35b63703e46dd60e11b5f5260045ffd5b346105ef575f3660031901126105ef576116dd61342b565b5f5b601881101561001857806116f4600192612e38565b6001600160401b0382549160031b1b191690555f8160210155016116df565b346105ef5761172136611014565b9061172a61342b565b5f5b81811061173c5761001883614466565b6117478183866129b5565b3590811561179857816001925f52603d60205260405f208360ff198254161790557ff565a91252cfbf3ef576a7de924ab11175ba29b316695baeaa0762c25684fcdf6020604051858152a20161172c565b633234591360e21b5f5260045ffd5b346105ef575f3660031901126105ef575f516020615cc35f395f51905f52546040516001600160a01b039091168152602090f35b346105ef575f3660031901126105ef57602060ff5f516020615ce35f395f51905f5254166040519015158152f35b346105ef5760203660031901126105ef5761001860043561182981610dbc565b61183161342b565b614466565b346105ef5760403660031901126105ef57600435611853816105de565b6024359061185f61342b565b61186761344b565b6001600160a01b03169081156107335761187f612986565b90823b156105ef576040516323b872dd60e01b81523060048201526001600160a01b03929092166024830152604482018190525f8260648183875af1908115610959577f3a1474f7e987c73586ba37f580025eac82a1456e87b9eace40768b8518a4b375926106d0926118fe575b506040519081529081906020820190565b8061094d5f61190c93611545565b5f6118ed565b346105ef5760203660031901126105ef5760043561192f816105de565b61193761342b565b6001600160a01b038116908115610733573b15610abf57603980546001600160a01b031916821790557fdb21ee24b749ce266d7e9bb769cc693d234aee3572e069ca1d70fa69b051f5b65f80a2005b346105ef575f3660031901126105ef57602060ff601554166040519015158152f35b346105ef575f3660031901126105ef57602063ffffffff600e5416604051908152f35b346105ef5760c03660031901126105ef576004356119e8816105de565b6024356119f4816105de565b604435611a00816105de565b60643590611a0d826105de565b60843592611a1a846105de565b60a43594611a27866105de565b611a2f61342b565b6001600160a01b031680611b49575b506001600160a01b038116611b1f575b506001600160a01b038116611afa575b506001600160a01b038116611ad5575b506001600160a01b038116611ab0575b506001600160a01b038116611a8f57005b600480546001600160a01b0319166001600160a01b03909216919091179055005b600380546001600160a01b0319166001600160a01b039092169190911790555f611a7e565b600280546001600160a01b0319166001600160a01b039092169190911790555f611a6e565b600180546001600160a01b0319166001600160a01b039092169190911790555f611a5e565b5f8054610100600160a81b03191660089290921b610100600160a81b03169190911790555f611a4e565b6001600160601b0360a01b60065416176006555f611a3e565b63ffffffff8116036105ef57565b8060020b036105ef57565b359061060082611b70565b60a09060031901126105ef57600435906024359060443590606435611baa81611b62565b90608435610a1881611b70565b346105ef57611bc536611b86565b92611bd194929461342b565b606481118015611c80575b611c715761001894611c1d82611c5095611c0d8887611bfd611c2598612e78565b611c0688612e78565b90856144a4565b600b5580600c5582600d55612e78565b601355612e78565b601455611c3a600160ff196015541617601555565b63ffffffff1663ffffffff19600e541617600e55565b600e549060201b66ffffff00000000169066ffffff00000000191617600e55565b637bdbf33d60e01b5f5260045ffd5b5060648511611bdc565b346105ef575f3660031901126105ef5763ffc0fd9360e01b5f5260045ffd5b346105ef575f3660031901126105ef576001546040516001600160a01b039091168152602090f35b346105ef5760203660031901126105ef57600435611cee816105de565b60018060a01b03165f526012602052602060ff60405f205416604051908152f35b346105ef5760a03660031901126105ef576004356001600160401b0381116105ef57611d3f90369060040161096d565b602435906001600160401b0382116105ef57366023830112156105ef578160040135926001600160401b0384116105ef573660248560061b850101116105ef576100189360443591611d8f6105f3565b936024608435960191612e8e565b346105ef575f3660031901126105ef575f516020615d435f395f51905f5254336001600160a01b0390911603611dd65761001833614e16565b63118cdaa760e01b5f523360045260245ffd5b346105ef575f3660031901126105ef575f5460405160089190911c6001600160a01b03168152602090f35b346105ef575f3660031901126105ef576039546040516001600160a01b039091168152602090f35b346105ef57611e4a36611014565b9091611e5461342b565b5f5b838110611e5f57005b80611e7784611e7160019488876129b5565b3561441b565b01611e56565b908160209103126105ef573590565b346105ef5760203660031901126105ef57600435611ea861342b565b611eb061344b565b8015610724575f8080808460018060a01b035f516020615ca35f395f51905f5254165af1611edc6129ec565b5015611f205760207f7da8b376ba93770d27c25cf7bbac4d89f12ba25b3fe6e20fa9ed9e60e6d00f6091604051908152a160015f516020615d035f395f51905f5255005b63b1b5a6af60e01b5f5260045ffd5b346105ef575f3660031901126105ef57335f52600f60205260ff60405f2054168015611fb4575b15610ace57611f6361354a565b600160ff195f516020615ce35f395f51905f525416175f516020615ce35f395f51905f52557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586020604051338152a1005b505f516020615ca35f395f51905f52546001600160a01b03163314611f56565b346105ef57610018611fe536610dc6565b90611fee61342b565b614e81565b346105ef5760203660031901126105ef57610018600435612013816105de565b61201b61342b565b61432c565b346105ef575f3660031901126105ef575f516020615ca35f395f51905f52546040516001600160a01b039091168152602090f35b346105ef5760203660031901126105ef57600435612071816105de565b61207961342b565b6001600160a01b038116908115610733573b15610abf57603a80546001600160a01b031916821790557f957fea8002b35abe6fca992352a8d268b9417ee787639a8da3fc71d9528feaef5f80a2005b346105ef5760403660031901126105ef576100186024356004356120ea61342b565b613232565b346105ef575f3660031901126105ef576020610f82613367565b346105ef5760403660031901126105ef5761001860243560043561212c82610dbc565b61213461342b565b61441b565b346105ef5761214736610dc6565b61214f61342b565b6001600160a01b038216918215610733578190816121c0575b506121b15760207f863bee5db55c02da8b80774d486b56883894e4ea55bbab0ca9d66352ee99a11691835f52603c8252610e4c8160405f209060ff801983541691151516179055565b633832f55960e21b5f5260045ffd5b61030f91501615155f612168565b346105ef575f3660031901126105ef576020600c54604051908152f35b346105ef576121f93661099a565b90335f52600f60205260ff60405f20541680156122ed575b15610ace5761221e61344b565b61222661354a565b6122308282614ed5565b6001600160e01b0319811663938a6e9760e01b81141590816122db575b506122bf5750603b546001600160a01b031680156122b0575f928392612278604051809381936129df565b03915af46122846129ec565b9015610ab757610ab3906122a460015f516020615d035f395f51905f5255565b60405191829182610a07565b6322c1801560e11b5f5260045ffd5b638959bb4d60e01b5f526001600160e01b03191660045260245ffd5b63013fcea160e31b141590505f61224d565b505f516020615ca35f395f51905f52546001600160a01b03163314612211565b346105ef575f3660031901126105ef57610ab360405161232e604082611545565b60058152640352e302e360dc1b60208201526040519182916020835260208301906109c8565b346105ef575f3660031901126105ef576020601654604051908152f35b346105ef575f3660031901126105ef576009546040516001600160a01b039091168152602090f35b346105ef575f3660031901126105ef576020601454604051908152f35b346105ef575f3660031901126105ef57602060ff601a54166040519015158152f35b346105ef5760203660031901126105ef5760206123ff6004356123fa816105de565b6133e2565b6040519015158152f35b346105ef575f3660031901126105ef576006546040516001600160a01b039091168152602090f35b346105ef5760603660031901126105ef5760043561244e81610dbc565b6024356044359161245d61342b565b6127108311611c715780806124ce575b611c71576112d07ff1c2407154dd06d7e072d9b67f946729b9da4b7f9efba2661f88e12fca4bdb439360ff19601a541660ff8415151617601a5583601855806019556040519384938460409194939260608201951515825260208201520152565b5081158061246d5750821561246d565b346105ef575f3660031901126105ef57600a546040516001600160a01b039091168152602090f35b346105ef575f3660031901126105ef576020601354604051908152f35b346105ef5760203660031901126105ef57600435612540816105de565b60018060a01b03165f526011602052602060ff60405f2054166040519015158152f35b346105ef576100186125b363ffffffff6125ab61257f36611b86565b969361258e959293919561342b565b61259b88878685856144a4565b600b558060135582601455614fa2565b600c55614fa2565b600d55600160ff1960155416176015551663ffffffff19600e541617600e55600e549060201b66ffffff00000000169066ffffff00000000191617600e55565b346105ef575f3660031901126105ef57602060ff5f54166040519015158152f35b346105ef575f3660031901126105ef576020601954604051908152f35b346105ef5761001861264236610dc6565b9061108b61342b565b346105ef5760403660031901126105ef5761001860043561266b816105de565b60243590612678826105de565b61268061342b565b614237565b346105ef575f3660031901126105ef5760ff601a541660185490601954916126ab613367565b6126b3612a1b565b908181106126e45760c0945f935b6040519515158652602086015260408501526060840152608083015260a0820152f35b808203948286116126f85760c095936126c1565b612e64565b346105ef5760203660031901126105ef5760043561271a816105de565b60018060a01b03165f52600f602052602060ff60405f2054166040519015158152f35b346105ef575f3660031901126105ef576003546040516001600160a01b039091168152602090f35b346105ef575f3660031901126105ef576004546040516001600160a01b039091168152602090f35b346105ef575f3660031901126105ef575f516020615d435f395f51905f52546040516001600160a01b039091168152602090f35b346105ef5760203660031901126105ef576004356127de816105de565b6127e661342b565b5f516020615d435f395f51905f5280546001600160a01b0319166001600160a01b039283169081179091555f516020615ca35f395f51905f52549091167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e227005f80a3005b346105ef575f3660031901126105ef576005546040516001600160a01b039091168152602090f35b60ff8116036105ef57565b346105ef5760403660031901126105ef5761001860043561289c816105de565b602435906128a982612871565b6113f661342b565b346105ef575f3660031901126105ef576002546040516001600160a01b039091168152602090f35b346105ef5760203660031901126105ef576004356128f6816105de565b60018060a01b03165f526010602052602060ff60405f2054166040519015158152f35b346105ef575f3660031901126105ef57603b546040516001600160a01b039091168152602090f35b346105ef5761294f36611014565b909161295961342b565b5f5b83811061296457005b806129808461297660019488876129b5565b35611fee816105de565b0161295b565b5f516020615ca35f395f51905f52546001600160a01b031690565b634e487b7160e01b5f52603260045260245ffd5b91908110156129c55760051b0190565b6129a1565b35610a18816105de565b6040513d5f823e3d90fd5b908092918237015f815290565b3d15612a16573d906129fd826115b5565b91612a0b6040519384611545565b82523d5f602084013e565b606090565b60ff601a541615612a3557610a1860185460195490614011565b5f90565b6001600160a01b0381161561073357612a6190612a54615624565b612a5c615624565b614e16565b612a69615624565b612a71615624565b6001600160a01b03612a8360246129ca565b16612e09575b612a9661084760446129ca565b612dd1575b612aa861084760646129ca565b612da2575b612aba61084760846129ca565b612d73575b612acc61084760a46129ca565b612d44575b612ade61084760c46129ca565b612d15575b612af061084760e46129ca565b612ce6575b612b036108476101046129ca565b612cb6575b6101243580612cae5750612b1d610258600b55565b6101443580612ca55750612b7060035b6101643580612c9b5750612b576004915b610184359081612c9557612b529150612e78565b601355565b6101a4359081612c8f57612b6b9150612e78565b601455565b612b83612b7e601354614fa2565b600c55565b612b96612b91601454614fa2565b600d55565b612ba8600160ff196015541617601555565b63ffffffff612bb86101c4614223565b16612c7c57600e805463ffffffff191660781790555b612bd96101e461422d565b60020b612c6957600e805466ffffff0000000019166478000000001790555b612c28600b54601354601454600e5491612c22612c188463ffffffff1690565b9360201c60020b90565b936144a4565b612c47612c366102046129ca565b612c416102246129ca565b90614237565b612c556108476102446129ca565b612c5b57565b61060061201b6102446129ca565b612bf8612c776101e461422d565b611c50565b612bce612c8a6101c4614223565b611c3a565b50612b6b565b50612b52565b612b579091612b3e565b612b7090612b2d565b600b55612b1d565b612ce1612cc46101046129ca565b60018060a01b03166001600160601b0360a01b6008541617600855565b612b08565b612d10612cf360e46129ca565b60018060a01b03166001600160601b0360a01b6007541617600755565b612af5565b612d3f612d2260c46129ca565b60018060a01b03166001600160601b0360a01b6004541617600455565b612ae3565b612d6e612d5160a46129ca565b60018060a01b03166001600160601b0360a01b6003541617600355565b612ad1565b612d9d612d8060846129ca565b60018060a01b03166001600160601b0360a01b6002541617600255565b612abf565b612dcc612daf60646129ca565b60018060a01b03166001600160601b0360a01b6001541617600155565b612aad565b612e04612dde60446129ca565b5f8054610100600160a81b03191660089290921b610100600160a81b0316919091179055565b612a9b565b612e33612e1660246129ca565b60018060a01b03166001600160601b0360a01b6006541617600655565b612a89565b9060188210156129c55760188260021c601b019260031b1690565b60188110156129c557602101905f90565b634e487b7160e01b5f52601160045260245ffd5b906064820291808304606414901517156126f857565b92959193909495335f52600f60205260ff60405f20541680156131ec575b15610ace57612eb961344b565b612ec161354a565b612ecb868561481a565b612ed9610847979297612986565b33036131b3575b60c0870151306001600160a01b03909116036131a4576020870180516001600160a01b038b8116911603613195578751612f2f90610847906001600160a01b031692516001600160a01b031690565b6001600160a01b0390911614613195576001600160a01b03168015159081613175575b5061316657610100860193808551106130815760018311611401576001830361311c57836130f25786516001600160a01b0316612f95610847610842868661320c565b6001600160a01b0390911614801590613101575b6130f257612ff194612fbc610847612986565b33036130d8575b5190808211156130d05750965b612fdb610847612986565b3303613090575b612feb89614a99565b95614b4d565b612ffa84614a99565b908082106130815761300b91613225565b9182106130815761301d610847612986565b330361303d575b50505061060060015f516020615d035f395f51905f5255565b80516130799390613071906001600160a01b0316926130648560e083019585875191614c55565b516001600160a01b031690565b915191614c6a565b5f8080613024565b6362e7073960e01b5f5260045ffd5b6130cb888a6130b6826130a98c5160018060a01b031690565b60e08d019384519161495b565b89518c906001600160a01b0316915191614a0e565b612fe2565b905096612fd0565b6130ed6130e8610842868661320c565b61492a565b612fc3565b630bd8074560e21b5f5260045ffd5b5060e08701516020613113858561320c565b01351415612fa9565b83156107245786516001600160a01b031673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee14801590613158575b6130f257612ff194612fc3565b508360e0880151141561314b565b63a18d01bf60e01b5f5260045ffd5b60055490915061318d906001600160a01b0316610847565b14155f612f52565b6316f2578d60e31b5f5260045ffd5b63e294034b60e01b5f5260045ffd5b86516131c7906001600160a01b031661492a565b60208701516131de906001600160a01b031661492a565b6131e78961492a565b612ee0565b505f516020615ca35f395f51905f52546001600160a01b03163314612eac565b90156129c55790565b91908110156129c55760061b0190565b919082039182116126f857565b90811580613352575b6132f557670dbd2fc137a30000821080156132e4575b80156132d3575b80156132c2575b80156132b8575b611c7157816132957f5976992fe6bc159e825b489f5e427d6c113900ec0f428e3c0ba04fd70859d22593601655565b61329e82601755565b60408051918252602082019290925290819081015b0390a1565b5080821015613266565b50670de0b6b3a7640000811061325f565b50670de0b6b3a76400008211613258565b50670e043da6172500008111613251565b50506133005f601655565b6133095f601755565b7f5976992fe6bc159e825b489f5e427d6c113900ec0f428e3c0ba04fd70859d225604051806132b38190670de7d1b0f0f1000060206040840193670ddca0c869e6200081520152565b50801561323b565b919082018092116126f857565b5f90610e1042045f5b6018811061337c575050565b6001600160401b0361338d82612e38565b90549060031b1c168281111590816133ce575b506133ae575b600101613370565b926133b884612e53565b90549060031b1c81018091116126f857926133a6565b905082038281116126f8576018115f6133a0565b6001600160a01b0381165f8181526011602052604090205460ff16613425575f52601060205260ff60405f20541690811561341b575090565b610a189150614ee1565b50505f90565b5f516020615ca35f395f51905f52546001600160a01b03163303611dd657565b60025f516020615d035f395f51905f5254146134745760025f516020615d035f395f51905f5255565b633ee5aeb560e01b5f5260045ffd5b9061348f5f8284614fbe565b15613498575050565b6134a2818361500b565b156134da575f6134b2918361506f565b156134ba5750565b635274afe760e01b5f9081526001600160a01b0391909116600452602490fd5b50635274afe760e01b5f9081526001600160a01b0391909116600452602490fd5b9190613508828285614fbe565b1561351257505050565b61351c818461500b565b1561352c57906134b2918361506f565b635274afe760e01b5f9081526001600160a01b038416600452602490fd5b60ff5f516020615ce35f395f51905f52541661356257565b63d93c066560e01b5f5260045ffd5b90929192836004116105ef5783116105ef57600401916003190190565b6fffffffffffffffffffffffffffffffff8116036105ef57565b35906106008261358e565b6020818303126105ef578035906001600160401b0382116105ef570190610180828203126105ef576135e3611566565b916135ed81610602565b83526135fb60208201610602565b602084015261360c60408201610d42565b604084015261361d60608201611b7b565b606084015261362e60808201611b7b565b608084015261363f60a08201611b7b565b60a084015261365060c08201610602565b60c084015260e08101356001600160401b0381116105ef57610160926136779183016115d0565b60e084015261368961010082016135a8565b61010084015261369c61012082016135a8565b6101208401526136af6101408201610602565b610140840152013561016082015290565b6020818303126105ef578035906001600160401b0382116105ef5701906101a0828203126105ef576136f0611576565b916136fa81610602565b835261370860208201610602565b602084015261371960408201610d42565b604084015261372a60608201611b7b565b606084015261373b60808201611b7b565b608084015261374c60a08201611b7b565b60a084015261375d60c08201610602565b60c084015260e08101356001600160401b0381116105ef57610180926137849183016115d0565b60e084015261379661010082016135a8565b6101008401526137a961012082016135a8565b6101208401526137bc61014082016135a8565b6101408401526137cf6101608201610602565b610160840152013561018082015290565b91909160e0818403126105ef5780359260208201356137fe8161358e565b92604083013561380d8161358e565b92606081013561381c8161358e565b926080820135906001600160401b0382116105ef5761383c9183016115d0565b9160c060a083013561384d816105de565b92013590565b9060c0828203126105ef578135926020830135926040810135926060820135906001600160401b0382116105ef5761388c9183016115d0565b9160a0608083013561384d816105de565b91909160a0818403126105ef5780359260208201359260408301356138c18161358e565b9260608101356138d08161358e565b9260808201356001600160401b0381116105ef57610a1892016115d0565b906080828203126105ef57813592602083013561390a8161358e565b9260408101356139198161358e565b9260608201356001600160401b0381116105ef57610a1892016115d0565b5f516020615ca35f395f51905f525490919061395b906001600160a01b0316610847565b3314613bbe5761396b8183614ed5565b916001600160e01b0319831663106724a160e21b8114613b8657635cad5ee160e01b8114613acd5763e44eda8960e01b8114613a9f576330b82a3d60e21b8114613a6d5763e9b8312960e01b8114613a425763013d134360e61b8114613a2657631ce433c760e21b146139f557638959bb4d60e01b5f526001600160e01b0319831660045260245ffd5b613a239250613a0b82613a1e93613a1393613571565b8101906138ee565b9150509190916150b7565b6152c9565b50565b50613a23925081613a1e92613a3a92613571565b810190611e7d565b50613a239250613a5982613a1e93613a6193613571565b81019061389d565b925050509190916150b7565b506106009250613a8f613a8783613a1e94613a9a94613571565b810190613853565b5095925090506150b7565b6151b9565b506106009250613ac1613ab983613a1e94613a9a94613571565b8101906137e0565b509693509150506150b7565b50610600925081613ae992613ae192613571565b8101906136c0565b8051613b809061016090613b71906001600160a01b03165b6020850180519091613b1d916001600160a01b03165b906150aa565b613b2a60e08601516150b7565b8451613b48906001600160a01b03165b91516001600160a01b031690565b604086015162ffffff16606087015160020b60c08801519092906001600160a01b0316936150f7565b9201516001600160a01b031690565b906151b9565b50610600925081613ba292613b9a92613571565b8101906135b3565b8051613b809061014090613b71906001600160a01b0316613b01565b5050565b908160209103126105ef5751610a1881610dbc565b803b15610abf576040516301ffc9a760e01b815263eef390ed60e01b600482015290602090829060249082906001600160a01b03165afa5f9181613c31575b50613c2a5763350c20f160e01b5f5260045ffd5b15610abf57565b613c4b91925060203d602011610c4e57610c3f8183611545565b905f613c16565b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016308114908115613c8e575b506116b657565b5f516020615cc35f395f51905f52546001600160a01b0316141590505f613c87565b5190610600826105de565b908160209103126105ef5751610a18816105de565b5f54604051630b4c774160e11b81526001600160a01b039283166004820152928216602484015262ffffff9390931660448301529092916020918491606491839160081c165afa918215610959575f92613d46575b506001600160a01b03821615613d3757565b63c8e5b88d60e01b5f5260045ffd5b613d6991925060203d602011613d70575b613d618183611545565b810190613cbb565b905f613d25565b503d613d57565b90816101209103126105ef57610100613d8e611586565b91613d9881610602565b8352613da660208201610602565b6020840152613db760408201610d42565b6040840152613dc860608201611b7b565b6060840152613dd960808201611b7b565b608084015260a081013560a084015260c081013560c084015260e081013560e0840152013561010082015290565b908160a09103126105ef578035916020820135916040810135916080606083013592013590565b91908260809103126105ef578135916020810135613e4b8161358e565b916060604083013592013590565b5f516020615ca35f395f51905f5254909190613e7d906001600160a01b0316610847565b3314613bbe57613e8d8183614ed5565b916001600160e01b03198316637547a56560e01b8114613f8357637e09446960e11b8114613f49576341743b8560e01b8114613f255763d8632f3f60e01b8114908115613f14575b50613ef757638959bb4d60e01b5f526001600160e01b0319831660045260245ffd5b613f0f925081613f0a92613a3a92613571565b615511565b505050565b6308dd0f4b60e41b1490505f613ed5565b50613f0f925081613f4192613f3992613571565b810190613e2e565b505050615511565b506106009250613f6b613f6383613f7e94613f7494613571565b810190613e07565b50505050615511565b818394929461537f565b615415565b50610600925081613f9f92613f9792613571565b810190613d77565b80516001600160a01b03166020820180519091613fc4916001600160a01b0316613b17565b815161400490613b3a90613ff6906001600160a01b031684516001600160a01b0316604087015162ffffff169161537f565b93516001600160a01b031690565b91615415565b156105ef57565b808202905f1983820990828083109203918083039283620f424011156105ef5714614071577fde8f6cefed634549b62c77574f722e1ac57e23f24d8fd5cb790fb65668c2613993620f4240910990828211900360fa1b910360061c170290565b5050620f424091500490565b808202905f1983820990828083109203918083039283670de0b6b3a764000011156105ef57146140e7577faccb18165bd6fe31ae1cf318dc5b51eee0e1ba569b88cd74c1773b91fac1066993670de0b6b3a7640000910990828211900360ee1b910360121c170290565b5050670de0b6b3a764000091500490565b81810291905f1982820991838084109303928084039384600160601b11156105ef571461413857600160601b910990828211900360a01b910360601c1790565b50505060601c90565b91818302915f1981850993838086109503948086039561416287861161400a565b146141bc579082910981805f03168092046002816003021880820260020302808202600203028082026002030280820260020302808202600203028091026002030293600183805f03040190848311900302920304170290565b505091500490565b6001600160a01b03169081156107335760207f459374521a737ddab6c308cce84921454dc67504bab079c570f6b10783a9983391835f52601182526142188160405f209060ff801983541691151516179055565b6040519015158152a2565b35610a1881611b62565b35610a1881611b70565b6001600160a01b03811691908215801561431b575b610733573b15610abf576040516301ffc9a760e01b815263194d3dc360e11b6004820152602081602481865afa5f91816142fa575b506142955763350c20f160e01b5f5260045ffd5b15610abf576142a381613bd7565b816001600160601b0360a01b600954161760095560018060a01b031690816001600160601b0360a01b600a541617600a557fe7836f4c1585572e73ac1ebd237c17348e5b453da767958b34b22bd170f6e52f5f80a3565b61431491925060203d602011610c4e57610c3f8183611545565b905f614281565b506001600160a01b0382161561424c565b6001600160a01b038116908115610733573b15610abf57600580546001600160a01b031916821790557f582a9190e9698f4ae4033df26d63cee4674df3b1b6bc85f15c7b6f6e5b915b585f80a2565b6001600160a01b03169081156107335760ff16601281116143db575f82815260126020908152604091829020805460ff19168417905590519182527f31dfb0b93d14a11354bdf350f127e8377a7bd3cbbd5d0f0bfad2d98eb677663091a2565b90633477b72d60e21b5f5260045260245260445ffd5b60165480610a185750670ddca0c869e6200090565b60175480610a185750670de7d1b0f0f1000090565b9081156117985760207ff565a91252cfbf3ef576a7de924ab11175ba29b316695baeaa0762c25684fcdf91835f52603d82526142188160405f209060ff801983541691151516179055565b60207f8e9de2ad3a40d17f313c20330499cca08ea2af3f45dc68f8f03e27caab0bced391151560ff19603e541660ff821617603e55604051908152a1565b601e8110908115614509575b50611c715761271010611c715761271010611c715763ffffffff16601e81109081156144fd575b50611c715760020b5f81129081156144f1575b50611c7157565b6113889150135f6144ea565b610e109150115f6144d7565b610e109150115f6144b0565b6001600160401b0381116115405760051b60200190565b9080601f830112156105ef57813561454381614515565b926145516040519485611545565b81845260208085019260051b8201019283116105ef57602001905b8282106145795750505090565b602080918335614588816105de565b81520191019061456c565b9080601f830112156105ef5781356145aa81614515565b926145b86040519485611545565b81845260208085019260051b8201019283116105ef57602001905b8282106145e05750505090565b81358152602091820191016145d3565b919091610160818403126105ef57614606611596565b9261461082610602565b845261461e60208301610602565b602085015260408201356001600160401b0381116105ef578161464291840161452c565b604085015260608201356001600160401b0381116105ef5781614666918401614593565b606085015260808201356001600160401b0381116105ef578161468a91840161452c565b608085015260a08201356001600160401b0381116105ef57816146ae918401614593565b60a08501526146bf60c08301610602565b60c085015260e082013560e08501526101008201356101008501526101208201356101208501526101408201356001600160401b0381116105ef5761470492016115d0565b610140830152565b6020818303126105ef578035906001600160401b0382116105ef570160a0818303126105ef5761473a6115a6565b9161474482610602565b835261475260208301610602565b602084015260408201356001600160401b0381116105ef57816147769184016115d0565b604084015260608201356001600160401b0381116105ef578161479a9184016145f0565b606084015260808201356001600160401b0381116105ef576147bc92016115d0565b608082015290565b906080828203126105ef5781356147da816105de565b9260208301356001600160401b0381116105ef57826147fa9185016145f0565b9260408101356001600160401b0381116105ef57836139199183016115d0565b9060405161016081018181106001600160401b03821117611540576040525f81525f60208201526060604082015260608082015260606080820152606060a08201525f60c08201525f60e08201525f6101008201525f6101208201526060610140820152506004811061491b57806148929183613571565b91356001600160e01b03191663e21fd0e960e01b8114801561490b575b6148e457638af033fb60e01b146148cf57633e0420f760e11b5f5260045ffd5b6148db918101906147c4565b50509050905f90565b506148f19181019061470c565b60608101516020909101519091906001600160a01b031690565b506359e50fed60e01b81146148af565b633e0420f760e11b5f5260045ffd5b614933816133e2565b1561493b5750565b63094403b760e41b5f9081526001600160a01b0391909116600452602490fd5b601554919493929160ff16156149f257601454925b620f424080851015611c71576149896149a4928861566c565b9461499e614997868661566c565b9183613225565b90614141565b8084106149b757509361060093946156af565b604051633ec3d85360e01b81526001600160a01b039283166004820152918616602483015260448201849052606482015280608481015b0390fd5b600d546064810290808204606414901517156126f85792614970565b92909260ff601a541615614a9357614a2f92614a299161566c565b9261566c565b81811015613bbe5781039081116126f857614a48612a1b565b908115614a8457614a57613367565b8181018082116126f8578310614a6c57505050565b63e93203bf60e01b5f5260045260245260445260645ffd5b6322cfeb7760e01b5f5260045ffd5b50505050565b6001600160a01b031673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee8114614b1b576020602491604051928380926370a0823160e01b82523060048301525afa908115610959575f91614aec575090565b90506020813d602011614b13575b81614b0760209383611545565b810103126105ef575190565b3d9150614afa565b504790565b91926060938192845260406020850152816040850152848401375f828201840152601f01601f1916010190565b6005546001600160a01b0316949093909285908115614c4657821580614c3e575b610724575f5b838110614c0b57505f8060405180614b8d81898c6129df565b039088865af191614b9c6129ec565b935f5b818110614be8575050505015610ab7575090614be37f1c2e5a1031d3c1c47ea8f476f148cd18347010473bfddd5967d034cefbe63220939260405193849384614b20565b0390a2565b80614c0584614c00610847610842600196888b613215565b613483565b01614b9f565b80614c38614c226108476108426001958988613215565b856020614c30858a89613215565b0135916134fb565b01614b74565b508415614b6e565b6367d4f18960e11b5f5260045ffd5b9190614c64610600948261566c565b926156af565b929092614c7c611201601a5460ff1690565b614a9357614c8d92614a299161566c565b81811015613bbe57614c9e91613225565b614ca6612a1b565b908115614a8457614cb5613367565b9180614cc1838561335a565b11614dfb57610e1042049060188206906001600160401b038311614dec57614d7b847f621d1f8a268d20c5d876ea840dc388aa1ae082a4a6b1a64322be37e94911efec96614d60614d4e6132b3966001600160401b038916806001600160401b03614d41614d2e85612e38565b90546001600160401b039160031b1c1690565b1603614d9e575b50612e53565b614d6585614d608385549060031b1c90565b61335a565b82545f1960039390931b92831b1916911b179055565b604051948594859094939260609260808301968352602083015260408201520152565b614dca90614dab83612e38565b9091906001600160401b038084549260031b9316831b921b1916179055565b614de6614dd682612e53565b8154905f199060031b1b19169055565b5f614d48565b630625040160e01b5f5260045ffd5b63e93203bf60e01b5f5260049290925260245260445260645ffd5b5f516020615d435f395f51905f5280546001600160a01b03199081169091555f516020615ca35f395f51905f5280549182166001600160a01b0393841690811790915591167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a3565b6001600160a01b03169081156107335760207fdc86ea80c17dba36e8aac1a8a9461dcc3967506848bd50e2e48b90507867abb991835f52601082526142188160405f209060ff801983541691151516179055565b90600411610abf573590565b60014614614eee57505f90565b60018060a01b031673a0b86991c6218b36c1d19d4a2e9eb0ce3606eb488114908115614f84575b8115614f66575b8115614f48575b8115614f2d575090565b73e343167631d89b6ffc58b88d6b7fb0228795491d91501490565b734c9edd5852cd905f086c759e8383e09bff1e68b381149150614f23565b736b175474e89094c44da98b954eedeac495271d0f81149150614f1c565b73dac17f958d2ee523a2206206994597c13d831ec781149150614f15565b80614fac57505f90565b606381018091116126f8576064900490565b92916040519163095ea7b360e01b5f5260018060a01b031660045260245260205f60448180875af19260015f5114841615614ffa575b50604052565b3d15903b151516909216915f614ff4565b60405163095ea7b360e01b5f9081526001600160a01b03909316600452602483905290929160209060448180875af19260015f511484161561504d5750604052565b60018492941516615066573b15153d151616915f614ff4565b833d5f823e3d90fd5b92916040519163095ea7b360e01b5f5260018060a01b031660045260245260205f60448180875af19260015f511484161561504d5750604052565b906130e86106009261492a565b516150be57565b634ba0a8f360e01b5f5260045ffd5b604051906150da82611525565b5f6080838281528260208201528260408201528260608201520152565b939190926151036150cd565b506001600160a01b038516801580156151a8575b610733576001600160a01b03851611156151995761513761120184615714565b6121b15761517f61518992615173610a18966151636151546115a6565b6001600160a01b03909a168a52565b6001600160a01b03166020890152565b62ffffff166040870152565b60020b6060850152565b6001600160a01b03166080830152565b632e6c432360e01b5f5260045ffd5b506001600160a01b03851615615117565b9061060091604051602081019060018060a01b03835116825260018060a01b03602084015116604082015262ffffff6040840151166060820152606083015160020b608082015260018060a01b0360808401511660a082015260a0815261522160c082611545565b5190209061522e8261574e565b6157b4565b519061060082610d35565b519061060082611b70565b8092910360c081126105ef5760a0136105ef5760a060405161526a81611525565b8351615275816105de565b81526020840151615285816105de565b6020820152604084015161529881610d35565b604082015260608401516152ab81611b70565b606082015260808401516152be816105de565b608082015292015190565b9060c061531d926152d86150cd565b506004546001600160a01b03166152ef828261593d565b604051637ba03aad60e01b81526004810192909252909384916001600160a01b031690829081906024820190565b03915afa918215610959575f9261534d575b508151610600908390613b17906020906001600160a01b0316613b71565b61537091925060c03d60c011615378575b6153688183611545565b810190615249565b50905f61532f565b503d61535e565b9061538a9291613cd0565b906106006001600160a01b03831661574e565b519061ffff821682036105ef57565b908160e09103126105ef5780516153c2816105de565b9160208201516153d181611b70565b916153de6040820161539d565b916153eb6060830161539d565b916153f86080820161539d565b9160c060a083015161540981612871565b920151610a1881610dbc565b604051633850c7bd60e01b81529060e090829060049082906001600160a01b03165afa801561095957615462915f916154d1575b50615453836159d6565b61545c856159d6565b91615a27565b61546a6143f1565b615472614406565b9181811080156154c8575b615488575050505050565b60405163134e470960e11b81526001600160a01b03948516600482015294909316602485015260448401929092526064830191909152608482015260a490fd5b5082811161547d565b6154f3915060e03d60e0116154ff575b6154eb8183611545565b8101906153ac565b5050505050505f615449565b503d6154e1565b51906106008261358e565b6001546001600160a01b0316906101809061552c818461593d565b60246040518094819363133f757160e31b835260048301525afa918215610959575f925f925f91615564575b509061060083856150aa565b9250509150610180813d821161561c575b816155836101809383611545565b810103126105ef5780516001600160601b03811681036105ef57506155aa60208201613cb0565b506155b760408201613cb0565b916155c460608301613cb0565b926156136101606155d760808601615233565b946155e460a0820161523e565b506155f160c0820161523e565b506155fe60e08201615506565b5061560c6101408201615506565b5001615506565b5092915f615558565b3d9150615575565b60ff5f516020615d235f395f51905f525460401c161561564057565b631afcd79f60e31b5f5260045ffd5b908160209103126105ef575190565b604d81116126f857600a0a90565b61567760ff916159d6565b16601281146156ab5760120360ff81116126f85760ff615697911661565e565b908181029181830414901517156126f85790565b5090565b916156c06156ce919492948461566c565b6156c8614406565b9061407d565b908181116156dc5750505050565b60405163b971b92960e01b81526001600160a01b03938416600482015293909216602484015260448301919091526064820152608490fd5b6001600160a01b0381168015615747575f52603c60205260ff60405f205416908161573d575090565b61030f9150161590565b5050600190565b61575781615b29565b1561575f5750565b63064a469560e31b5f5260045260245ffd5b91908260809103126105ef578151615788816105de565b91602081015161579781611b70565b91606060408301516157a881610d35565b920151610a1881610d35565b916001600160a01b03161561592e576007546001600160a01b0316801561591f5761580e916080916157ee906001600160a01b0316610847565b6040518080958194633205590760e21b8352600483019190602083019252565b03915afa908115610959575f916158ed575b50815161585590615839906001600160a01b03166159d6565b6020840180519093919061545c906001600160a01b03166159d6565b9161585e6143f1565b615866614406565b9181851080156158e4575b61587c575050505050565b516149ee92919061589e906001600160a01b031694516001600160a01b031690565b60405163e97f7d1d60e01b81526001600160a01b0395861660048201529416602485015260448401949094526064830193909352608482019290925290819060a4820190565b50828511615871565b61590f915060803d608011615918575b6159078183611545565b810190615771565b5050505f615820565b503d6158fd565b6303bc067d60e61b5f5260045ffd5b630ef5e33360e41b5f5260045ffd5b6040516331a9108f60e11b81526004810183905291906020836024816001600160a01b0385165afa928315610959575f936159b5575b50306001600160a01b0384160361598957505050565b630e34ebdf60e41b5f9081526001600160a01b0391821660045260249290925291909116604452606490fd5b6159cf91935060203d602011613d7057613d618183611545565b915f615973565b6001600160a01b0381165f818152601260205260409020549092919060ff1680615a225750615a0490615b4c565b60ff8116615a1e5782622f5da360e81b5f5260045260245ffd5b9150565b925050565b60ff615a4981615a42615a509460018060a01b0316806140f8565b941661565e565b931661565e565b9180670de0b6b3a76400000290670de0b6b3a76400008204036126f8576001600160a01b03831683036126f857610a189260601b91614141565b90813b15615b08575f516020615cc35f395f51905f5280546001600160a01b0319166001600160a01b0384169081179091557fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b5f80a2805115615af057613a2391615c16565b505034615af957565b63b398979f60e01b5f5260045ffd5b50634c9c8ce360e01b5f9081526001600160a01b0391909116600452602490fd5b60ff603e541615615b46575f52603d60205260ff60405f20541690565b50600190565b60014614615b5957505f90565b6001600160a01b031673a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4881148015615bf9575b8015615bdc575b615bd657736b175474e89094c44da98b954eedeac495271d0f8114908115615bb8575b50615bb3575f90565b601290565b734c9edd5852cd905f086c759e8383e09bff1e68b39150145f615baa565b50600690565b5073e343167631d89b6ffc58b88d6b7fb0228795491d8114615b87565b5073dac17f958d2ee523a2206206994597c13d831ec78114615b80565b905f8091602081519101845af48080615c76575b15615c39575050610a18615c89565b15615c5e57639996b31560e01b5f9081526001600160a01b0391909116600452602490fd5b3d15155f036129d45763d6bda27560e01b5f5260045ffd5b503d151580615c2a5750813b1515615c2a565b604051903d82523d5f602084013e60203d83010160405256fe9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c199300360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbccd5ed15c6e187e77e9aee88184c21f4f2182ab5827cb3b7e07fbedcd63f033009b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00237e158222e3e6968b72b9db0d8043aacf074ad9f650f0d1606b4d82ee432c00a164736f6c6343000823000a","sourceMap":"653:39313:0:-:0;;;;;;;;;-1:-1:-1;653:39313:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;-1:-1:-1;;;;;653:39313:0;;;;;:::o;:::-;;;;;;;;;;;:::i;:::-;:::o;:::-;;;;;;:::i;:::-;;;;;;-1:-1:-1;;653:39313:0;;;;;;;;;:::i;:::-;;;2324:62:6;;;:::i;:::-;2989:103:26;;:::i;:::-;-1:-1:-1;;;;;653:39313:0;;17240:19;;17236:42;;17292:11;;17288:36;;653:39313;;;;;-1:-1:-1;;;;;;;;;;;653:39313:0;;;8544:1067:20;8509:24;;;;-1:-1:-1;8544:1067:20;653:39313:0;8544:1067:20;;653:39313:0;8544:1067:20;653:39313:0;-1:-1:-1;8544:1067:20;;;;;;1338:4;-1:-1:-1;8544:1067:20;;;;;;;653:39313:0;;8544:1067:20;;;;1305:38;1301:116;;653:39313:0;;;;;17392:23;;653:39313;;;;17392:23;;;;3054:1:26;2365;-1:-1:-1;;;;;;;;;;;1082:6:0;4047:253:26;1301:116:20;-1:-1:-1;;;;1366:40:20;-1:-1:-1;;;;;653:39313:0;;;;;-1:-1:-1;1366:40:20;8544:1067;1338:4;8544:1067;;;;;;;;;;;;;;;;;;-1:-1:-1;8544:1067:20;;;;;17288:36:0;17312:12;;;-1:-1:-1;17312:12:0;653:39313;-1:-1:-1;17312:12:0;17236:42;17268:10;;;-1:-1:-1;17268:10:0;653:39313;-1:-1:-1;17268:10:0;653:39313;;;;;;;:::o;:::-;;;;;;-1:-1:-1;;653:39313:0;;;;;9372:29:1;653:39313:0;;;;;;;;;;;;;-1:-1:-1;;653:39313:0;;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;653:39313:0;10399:47:1;653:39313:0;;;;;-1:-1:-1;653:39313:0;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;-1:-1:-1;;653:39313:0;;;;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;;:::i;:::-;2324:62:6;;;:::i;:::-;20158:7:0;653:39313;-1:-1:-1;;;;;653:39313:0;20158:21;20154:45;;-1:-1:-1;20230:17:0;;;;;;653:39313;20249:3;20268:42;:17;20275:9;;;;;;:::i;:::-;;:::i;:::-;-1:-1:-1;;;;;653:39313:0;;;20268:17;20158:7;653:39313;-1:-1:-1;;;;;653:39313:0;20268:42;;:::i;:::-;20158:7;653:39313;20324:35;;:27;;-1:-1:-1;;;;;653:39313:0;20324:27;653:39313;20324:35;20360:9;;;;;;;:::i;:::-;653:39313;;-1:-1:-1;;;;;653:39313:0;20324:71;;;;;653:39313;;-1:-1:-1;;;20324:71:0;;-1:-1:-1;;;;;653:39313:0;;;;20324:71;;653:39313;;;;;;;-1:-1:-1;653:39313:0;;;;;;;;;;;;;;;;;;;-1:-1:-1;;20324:71:0;;;;;;;653:39313;20324:71;;;20249:3;20437:9;;;;;;;:::i;:::-;653:39313;;;;;;;;;;;;-1:-1:-1;;;;;653:39313:0;;;20414:52;-1:-1:-1;;20414:52:0;653:39313;20215:13;;20324:71;;;-1:-1:-1;20324:71:0;;;:::i;:::-;;;:::i;:::-;;;;;;:::i;20154:45::-;20188:11;;;-1:-1:-1;20188:11:0;653:39313;-1:-1:-1;20188:11:0;653:39313;;;;;;;;;;;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;;;;;;:::o;:::-;;-1:-1:-1;;653:39313:0;;;;;;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::o;:::-;;;;:::i;:::-;4656:10;;-1:-1:-1;653:39313:0;4645:10;653:39313;;;;-1:-1:-1;653:39313:0;;;4645:47;;;;653:39313;4643:50;4639:83;;2989:103:26;;:::i;:::-;1965:72:9;;:::i;:::-;18672:4:0;;;;:::i;:::-;18691:8;653:39313;-1:-1:-1;;;;;653:39313:0;18691:22;;18687:55;;653:39313;-1:-1:-1;653:39313:0;;;;;;;;;;;;;;;;18785:27;;;;;;:::i;:::-;18826:3;;18822:112;;653:39313;1082:6;2365:1:26;-1:-1:-1;;;;;;;;;;;1082:6:0;653:39313;;;;;;;:::i;:::-;;;;18822:112;653:39313;18845:79;;;;;18687:55;18722:20;;;-1:-1:-1;18722:20:0;653:39313;-1:-1:-1;18722:20:0;4639:83;4702:20;;;-1:-1:-1;4702:20:0;653:39313;-1:-1:-1;4702:20:0;4645:47;-1:-1:-1;;;;;;;;;;;;653:39313:0;-1:-1:-1;;;;;653:39313:0;4656:10;4671:21;4645:47;;653:39313;;;;;;-1:-1:-1;;653:39313:0;;;;;;;;;:::i;:::-;2324:62:6;;:::i;:::-;12710:18:0;653:39313;;-1:-1:-1;;;;;;653:39313:0;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;;;;;;;;-1:-1:-1;;653:39313:0;;;;9211:22:1;653:39313:0;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;;;;;-1:-1:-1;;653:39313:0;;;;;;;;;:::i;:::-;2324:62:6;;:::i;:::-;-1:-1:-1;;;;;653:39313:0;;;13243:25;;13239:48;;38934:18;:23;38930:56;;653:39313;;-1:-1:-1;;;39000:46:0;;-1:-1:-1;;;653:39313:0;39000:46;;653:39313;;;;;39000:46;;;-1:-1:-1;;39000:46:0;;;653:39313;-1:-1:-1;38996:203:0;;18722:20;;;-1:-1:-1;39168:20:0;653:39313;-1:-1:-1;39168:20:0;38996:203;39090:10;39086:43;;13377:24;653:39313;;-1:-1:-1;;;;;;653:39313:0;;;;;13416:26;-1:-1:-1;;13416:26:0;653:39313;39000:46;;;;;653:39313;39000:46;653:39313;39000:46;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;;653:39313;;;;;;-1:-1:-1;;653:39313:0;;;;;9844:34:1;653:39313:0;;;;;;;;;;;;;-1:-1:-1;;653:39313:0;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;;:::i;:::-;-1:-1:-1;;653:39313:0;;-1:-1:-1;;;653:39313:0;;;;;;;;;;;-1:-1:-1;;653:39313:0;;;;2537:62:18;;:::i;:::-;2324::6;;:::i;:::-;653:39313:0;;;;;4787:52;;6222:4;653:39313;;;;;;;6241:16;653:39313;6241:16;;653:39313;4787:52;4820:19;;;653:39313;4820:19;653:39313;;4820:19;653:39313;;;;;;;:::o;:::-;;;;;;:::i;:::-;;;;;;-1:-1:-1;;653:39313:0;;;;;38158:28;653:39313;;;;;:::i;:::-;;;;;;:::i;:::-;;;;;;;:::i;:::-;38158:28;:::i;:::-;653:39313;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;;;-1:-1:-1;;653:39313:0;;;;;9884:44:1;653:39313:0;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;8334:30;653:39313;;;:::i;:::-;2324:62:6;;;;:::i;:::-;-1:-1:-1;;;;;653:39313:0;-1:-1:-1;653:39313:0;;;8289:10;653:39313;;;;;;;-1:-1:-1;;653:39313:0;;;;;;;;;;8289:30;653:39313;;;;;;;8334:30;653:39313;;;;;;;-1:-1:-1;;653:39313:0;;;;;9298:33:1;653:39313:0;;;;;;;;;;;;;-1:-1:-1;;653:39313:0;;;;;;;;;:::i;:::-;2324:62:6;;:::i;:::-;12607:23:0;653:39313;;-1:-1:-1;;;;;;653:39313:0;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;;;;;;:::i;:::-;4656:10;;-1:-1:-1;653:39313:0;4645:10;653:39313;;;;-1:-1:-1;653:39313:0;;;4645:47;;;;653:39313;4643:50;4639:83;;2989:103:26;;:::i;:::-;1965:72:9;;:::i;:::-;18159:4:0;;;;:::i;:::-;18178:8;653:39313;-1:-1:-1;;;;;653:39313:0;18178:22;;18174:55;;653:39313;-1:-1:-1;653:39313:0;;;;;;;;;;;;;;;;18272:27;;;;;;:::i;4645:47::-;-1:-1:-1;;;;;;;;;;;;653:39313:0;-1:-1:-1;;;;;653:39313:0;4656:10;4671:21;4645:47;;653:39313;;;;;;-1:-1:-1;;653:39313:0;;;;;;;8955:6:1;653:39313:0;;;;;;;;;-1:-1:-1;;653:39313:0;;;;;;;:::i;:::-;;;;;;;;;;;;;-1:-1:-1;;653:39313:0;;;;;;;1583:74;653:39313;;;;;;;;;-1:-1:-1;;653:39313:0;;;;10151:27:1;653:39313:0;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;;;;;-1:-1:-1;;653:39313:0;;;;9179:26:1;653:39313:0;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;-1:-1:-1;;653:39313:0;;;;;;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;2324:62:6;;;;:::i;:::-;11845:1:0;11848:17;;;;;;653:39313;11867:3;11903:9;11914:7;11903:9;;653:39313;11903:9;;;;:::i;:::-;653:39313;;;;:::i;:::-;11914:7;:::i;:::-;653:39313;11833:13;;653:39313;;;;;;-1:-1:-1;;653:39313:0;;;;;;;;;:::i;:::-;2537:62:18;;:::i;:::-;653:39313:0;;;;;;;:::i;:::-;-1:-1:-1;653:39313:0;;;-1:-1:-1;653:39313:0;;4787:52;;2537:62:18;;:::i;:::-;2324::6;;:::i;:::-;653:39313:0;;-1:-1:-1;;;5881:52:18;;653:39313:0;;;;;-1:-1:-1;;;;;653:39313:0;;5881:52:18;;-1:-1:-1;;5881:52:18;;;653:39313:0;-1:-1:-1;5877:437:18;;-1:-1:-1;;;;6243:60:18;-1:-1:-1;;;;;653:39313:0;;;;;-1:-1:-1;1366:40:20;5877:437:18;5975:40;-1:-1:-1;;;;;;;;;;;5975:40:18;;5971:120;;6153:4;;;;:::i;5971:120::-;-1:-1:-1;;;;6042:34:18;653:39313:0;;;;;-1:-1:-1;1366:40:20;5881:52:18;;;;;653:39313:0;5881:52:18;653:39313:0;5881:52:18;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;;653:39313:0;;;;;;-1:-1:-1;;653:39313:0;;;;;;;;;:::i;:::-;;;-1:-1:-1;;653:39313:0;;;;;;-1:-1:-1;;653:39313:0;;;;;;-1:-1:-1;;653:39313:0;;;;-1:-1:-1;;;;;;;;;;;653:39313:0;;-1:-1:-1;;;;;653:39313:0;;;;;;;4301:16:17;;653:39313:0;;4301:16:17;;653:39313:0;4301:16:17;653:39313:0;-1:-1:-1;;;;;653:39313:0;;;;;4724:16:17;;:34;;;;653:39313:0;4803:1:17;4788:16;:50;;;;653:39313:0;4853:13:17;:30;;;;653:39313:0;4849:91:17;;;5053:1;4949:18;;;653:39313:0;-1:-1:-1;;;;;653:39313:0;-1:-1:-1;;;;;;;;;;;653:39313:0;;;-1:-1:-1;;;;;;;;;;;653:39313:0;;4949:18:17;4977:67;;5053:1;:::i;:::-;5064:101;;653:39313:0;5064:101:17;5098:23;-1:-1:-1;;;653:39313:0;-1:-1:-1;;;;;;;;;;;653:39313:0;;-1:-1:-1;;;;;;;;;;;653:39313:0;;5098:23:17;653:39313:0;;4803:1:17;653:39313:0;;5140:14:17;;653:39313:0;;;;5140:14:17;;;;653:39313:0;4977:67:17;5011:22;653:39313:0;-1:-1:-1;;;653:39313:0;-1:-1:-1;;;;;;;;;;;653:39313:0;;;-1:-1:-1;;;;;;;;;;;653:39313:0;;5011:22:17;5053:1;:::i;4849:91::-;4906:23;;;-1:-1:-1;4906:23:17;653:39313:0;-1:-1:-1;4906:23:17;4853:30;4870:13;;;4853:30;;;4788:50;4816:4;4808:25;:30;;-1:-1:-1;4788:50:17;;4724:34;;;-1:-1:-1;4724:34:17;;653:39313:0;;;;;;-1:-1:-1;;653:39313:0;;;;;9441:28:1;653:39313:0;;;;;;;;;;;;;;;;;-1:-1:-1;;653:39313:0;;;;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;;:::i;:::-;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;;:::i;:::-;2324:62:6;;;:::i;:::-;8990:33:0;;;8986:62;;-1:-1:-1;9078:17:0;;;;;;653:39313;9097:3;9140:9;9151:12;9140:9;653:39313;9140:9;;;;:::i;:::-;653:39313;;;;:::i;:::-;9151:12;;;;;:::i;:::-;653:39313;;;;;:::i;:::-;9151:12;:::i;:::-;653:39313;9063:13;;8986:62;9032:16;;;-1:-1:-1;9032:16:0;653:39313;-1:-1:-1;9032:16:0;653:39313;;;;;;-1:-1:-1;;653:39313:0;;;;2324:62:6;;:::i;:::-;-1:-1:-1;;;;;;;;;;;653:39313:0;;;;2992:9:9;2988:62;;653:39313:0;;;-1:-1:-1;;;;;;;;;;;653:39313:0;3648:22:9;653:39313:0;;;987:10:8;653:39313:0;;3648:22:9;653:39313:0;2988:62:9;3024:15;;;653:39313:0;3024:15:9;653:39313:0;;3024:15:9;653:39313:0;;;;;;-1:-1:-1;;653:39313:0;;;;10105:31;;:::i;:::-;10138;;:::i;:::-;653:39313;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;653:39313:0;;;;;;10774:33:1;653:39313:0;;;;;;;;;;;;;;;;-1:-1:-1;;653:39313:0;;;;;;-1:-1:-1;653:39313:0;10640:45:1;653:39313:0;;;;;-1:-1:-1;653:39313:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;653:39313:0;;;;;;;:::o;:::-;;:::i;:::-;;;;;;;;;;;;;-1:-1:-1;;;;;653:39313:0;;;;;;;:::o;:::-;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;-1:-1:-1;;;;;653:39313:0;;;;;;-1:-1:-1;;653:39313:0;;;;:::o;:::-;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;-1:-1:-1;653:39313:0;;;;;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;653:39313:0;;;;;;;;;:::i;:::-;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;;:::i;:::-;;;-1:-1:-1;653:39313:0;;4787:52;;2537:62:18;;:::i;653:39313:0:-;;;;;;-1:-1:-1;;653:39313:0;;;;4840:6:18;-1:-1:-1;;;;;653:39313:0;4831:4:18;4823:23;4819:145;;653:39313:0;;;-1:-1:-1;;;;;;;;;;;653:39313:0;;;4819:145:18;4924:29;;;653:39313:0;4924:29:18;653:39313:0;;4924:29:18;653:39313:0;;;;;;-1:-1:-1;;653:39313:0;;;;2324:62:6;;:::i;:::-;653:39313:0;10887:3;12659:2:1;10855:30:0;;;;;10906:26;;653:39313;10906:26;;:::i;:::-;-1:-1:-1;;;;;12659:2:1;;;;;;;;;;653:39313:0;12659:2:1;10950:25:0;12659:2:1;;653:39313:0;10840:13;;653:39313;;;;;;;:::i;:::-;2324:62:6;;;:::i;:::-;15089:1:0;15092:19;;;;;;15212:8;;;:::i;15113:3::-;15148:11;;;;;:::i;:::-;653:39313;30344:21;;;30340:47;;653:39313;;;15089:1;653:39313;30397:13;653:39313;;;15089:1;653:39313;;;;;;;;;;30444:32;653:39313;;;;;;30444:32;653:39313;15077:13;;30340:47;30374:13;;;15089:1;30374:13;;15089:1;30374:13;653:39313;;;;;;-1:-1:-1;;653:39313:0;;;;-1:-1:-1;;;;;;;;;;;653:39313:0;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;;;;;-1:-1:-1;;653:39313:0;;;;;;-1:-1:-1;;;;;;;;;;;653:39313:0;;;;;;;;;;;;;;;;-1:-1:-1;;653:39313:0;;;;14807:8;653:39313;;;;;:::i;:::-;2324:62:6;;:::i;:::-;14807:8:0;:::i;653:39313::-;;;;;;-1:-1:-1;;653:39313:0;;;;;;;;;:::i;:::-;;;2324:62:6;;;:::i;:::-;2989:103:26;;:::i;:::-;-1:-1:-1;;;;;653:39313:0;;17520:17;;17516:40;;2591:8:6;;:::i;:::-;17566:53:0;;;;;;653:39313;;-1:-1:-1;;;17566:53:0;;17600:4;653:39313;17566:53;;653:39313;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;;;;;-1:-1:-1;653:39313:0;;;-1:-1:-1;17566:53:0;;;;;;;;17634:20;17566:53;17634:20;17566:53;;;653:39313;-1:-1:-1;653:39313:0;;;;;;;;;;;;;17566:53;;;-1:-1:-1;17566:53:0;;;:::i;:::-;;;;653:39313;;;;;;-1:-1:-1;;653:39313:0;;;;;;;;;:::i;:::-;2324:62:6;;:::i;:::-;-1:-1:-1;;;;;653:39313:0;;;39528:21;;39524:44;;39582:19;:24;39578:57;;39645:19;653:39313;;-1:-1:-1;;;;;;653:39313:0;;;;;39679:21;-1:-1:-1;;39679:21:0;653:39313;;;;;;;-1:-1:-1;;653:39313:0;;;;;;9765:32:1;653:39313:0;;;;;;;;;;;;;;;;-1:-1:-1;;653:39313:0;;;;;;9408:27:1;653:39313:0;;;;;;;;;;;;;;-1:-1:-1;;653:39313:0;;;;;;;;;:::i;:::-;;;;;;:::i;:::-;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;:::i;:::-;2324:62:6;;:::i;:::-;-1:-1:-1;;;;;653:39313:0;;12167:52;;653:39313;-1:-1:-1;;;;;;653:39313:0;;12229:52;;653:39313;-1:-1:-1;;;;;;653:39313:0;;12291:37;;653:39313;-1:-1:-1;;;;;;653:39313:0;;12338:43;;653:39313;-1:-1:-1;;;;;;653:39313:0;;12391:45;;653:39313;-1:-1:-1;;;;;;653:39313:0;;12446:76;;653:39313;12446:76;653:39313;;;-1:-1:-1;;;;;;653:39313:0;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;12391:45;12418:18;653:39313;;-1:-1:-1;;;;;;653:39313:0;-1:-1:-1;;;;;653:39313:0;;;;;;;;;12391:45;;;12338:43;12365:16;653:39313;;-1:-1:-1;;;;;;653:39313:0;-1:-1:-1;;;;;653:39313:0;;;;;;;;;12338:43;;;12291:37;653:39313;;;-1:-1:-1;;;;;;653:39313:0;-1:-1:-1;;;;;653:39313:0;;;;;;;;;12291:37;;;12229:52;12193:1;653:39313;;-1:-1:-1;;;;;;653:39313:0;;;;;;-1:-1:-1;;;;;653:39313:0;;;;;;;12229:52;;;12167;-1:-1:-1;;;;;653:39313:0;;12197:22;653:39313;;;12197:22;653:39313;12167:52;;;653:39313;;;;;;;:::o;:::-;;;;;;;:::o;:::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;:::i;:::-;2324:62:6;;;;;;:::i;:::-;15513:3:0;15471:45;;:107;;;;653:39313;15454:163;;16142:34;15693:21;15982;15693;16102:30;15693:21;15791:16;15693:21;;;16034;15693;;:::i;:::-;15728;;;:::i;:::-;15791:16;;;:::i;:::-;15827:40;1082:6;;15877:32;1082:6;;15919:32;1082:6;15982:21;:::i;:::-;15961:42;1082:6;16034:21;:::i;:::-;16013:42;1082:6;16065:27;16088:4;653:39313;;16065:27;653:39313;;;16065:27;653:39313;;16065:27;653:39313;;;1082:6;16102:30;1082:6;;;16102:30;1082:6;;16102:30;;1082:6;;;;;;;;;;;16102:30;1082:6;;15454:163;15596:21;;;-1:-1:-1;15596:21:0;653:39313;-1:-1:-1;15596:21:0;15471:107;15532:46;15513:3;15532:46;;15471:107;;653:39313;;;;;;-1:-1:-1;;653:39313:0;;;;6485:27;;;653:39313;6485:27;653:39313;;6485:27;653:39313;;;;;;-1:-1:-1;;653:39313:0;;;;;;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;;;;;-1:-1:-1;;653:39313:0;;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;653:39313:0;9628:52:1;653:39313:0;;;;;-1:-1:-1;653:39313:0;;;;;;;;;;;;;;;-1:-1:-1;;653:39313:0;;;;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;;;;;;20489:2474;;653:39313;;;;;:::i;:::-;;;;;;;20489:2474;;:::i;653:39313::-;;;;;;-1:-1:-1;;653:39313:0;;;;-1:-1:-1;;;;;;;;;;;653:39313:0;987:10:8;-1:-1:-1;;;;;653:39313:0;;;3373:24:5;3369:96;;3493:6;987:10:8;3493:6:5;:::i;3369:96::-;3420:34;;;653:39313:0;3420:34:5;987:10:8;653:39313:0;;;;3420:34:5;653:39313:0;;;;;;-1:-1:-1;;653:39313:0;;;;;;;;;;;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;;;-1:-1:-1;;653:39313:0;;;;10121:24:1;653:39313:0;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;;;;;;:::i;:::-;2324:62:6;;;;:::i;:::-;14502:1:0;14505:19;;;;;;653:39313;14526:3;14561:11;14574:7;14561:11;;653:39313;14561:11;;;;:::i;:::-;653:39313;14574:7;:::i;:::-;653:39313;14490:13;;653:39313;;;;;;;;;;;:::o;:::-;;;;;;-1:-1:-1;;653:39313:0;;;;;;2324:62:6;;:::i;:::-;2989:103:26;;:::i;:::-;17753:11:0;;17749:36;;-1:-1:-1;653:39313:0;;;;;;;;;-1:-1:-1;;;;;;;;;;;653:39313:0;;17808:40;;;;:::i;:::-;;17862:3;17858:35;;653:39313;17908:22;653:39313;;;;;;17908:22;2365:1:26;-1:-1:-1;;;;;;;;;;;1082:6:0;653:39313;17858:35;17874:19;;;-1:-1:-1;17874:19:0;653:39313;-1:-1:-1;17874:19:0;653:39313;;;;;;-1:-1:-1;;653:39313:0;;;;4656:10;653:39313;;4645:10;653:39313;;;;;;;;4645:47;;;;653:39313;4643:50;4639:83;;1965:72:9;;:::i;:::-;3321:4;653:39313:0;;-1:-1:-1;;;;;;;;;;;653:39313:0;;;-1:-1:-1;;;;;;;;;;;653:39313:0;3340:20:9;653:39313:0;;;4656:10;653:39313;;3340:20:9;653:39313:0;4645:47;-1:-1:-1;;;;;;;;;;;;653:39313:0;-1:-1:-1;;;;;653:39313:0;4656:10;4671:21;4645:47;;653:39313;;;;8484:7;653:39313;;;:::i;:::-;2324:62:6;;;:::i;:::-;8484:7:0;:::i;653:39313::-;;;;;;-1:-1:-1;;653:39313:0;;;;12827:7;653:39313;;;;;:::i;:::-;2324:62:6;;:::i;:::-;12827:7:0;:::i;653:39313::-;;;;;;-1:-1:-1;;653:39313:0;;;;-1:-1:-1;;;;;;;;;;;653:39313:0;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;;;;;-1:-1:-1;;653:39313:0;;;;;;;;;:::i;:::-;2324:62:6;;:::i;:::-;-1:-1:-1;;;;;653:39313:0;;;39779:21;;39775:44;;39833:19;:24;39829:57;;39896:22;653:39313;;-1:-1:-1;;;;;;653:39313:0;;;;;39933:24;-1:-1:-1;;39933:24:0;653:39313;;;;;;;-1:-1:-1;;653:39313:0;;;;2378:1:6;653:39313:0;;;;2324:62:6;;:::i;:::-;2378:1;:::i;653:39313:0:-;;;;;;-1:-1:-1;;653:39313:0;;;;;;;:::i;:::-;;;;;;-1:-1:-1;;653:39313:0;;;;14367:7;653:39313;;;;;;;:::i;:::-;2324:62:6;;:::i;:::-;14367:7:0;:::i;653:39313::-;;;;;;;:::i;:::-;2324:62:6;;:::i;:::-;-1:-1:-1;;;;;653:39313:0;;;13822:18;;13818:41;;13873:57;;;;;653:39313;13869:90;;;653:39313;14015:31;653:39313;;13838:1;653:39313;13969:15;653:39313;;13969:31;653:39313;;13838:1;653:39313;;;;;;;;;;;;;;;;13869:90;13939:20;;;13838:1;13939:20;653:39313;13838:1;13939:20;13873:57;11279:6:1;13885:39:0;;;13884:46;;13873:57;;;653:39313;;;;;;-1:-1:-1;;653:39313:0;;;;;9337:29:1;653:39313:0;;;;;;;;;;;;;;:::i;:::-;4656:10;;-1:-1:-1;653:39313:0;4645:10;653:39313;;;;-1:-1:-1;653:39313:0;;;4645:47;;;;653:39313;4643:50;4639:83;;2989:103:26;;:::i;:::-;1965:72:9;;:::i;:::-;19524:17:0;;;;:::i;:::-;-1:-1:-1;;;;;;653:39313:0;;-1:-1:-1;;;19568:53:0;;;;;:129;;653:39313;19551:200;;;-1:-1:-1;19778:10:0;653:39313;-1:-1:-1;;;;;653:39313:0;19802:20;;19798:47;;-1:-1:-1;653:39313:0;;;;;;;;;;;:::i;:::-;19888:25;;;;;;:::i;:::-;19927:3;;19923:112;;653:39313;3054:1:26;;2365;-1:-1:-1;;;;;;;;;;;1082:6:0;4047:253:26;3054:1;653:39313:0;;;;;;;:::i;19798:47::-;19831:14;;;-1:-1:-1;19831:14:0;653:39313;-1:-1:-1;19831:14:0;19551:200;-1:-1:-1;;;;19715:36:0;-1:-1:-1;;;;;;653:39313:0;;;;-1:-1:-1;1366:40:20;19568:129:0;-1:-1:-1;;;19641:56:0;;;-1:-1:-1;19568:129:0;;;4645:47;-1:-1:-1;;;;;;;;;;;;653:39313:0;-1:-1:-1;;;;;653:39313:0;4656:10;4671:21;4645:47;;653:39313;;;;;;-1:-1:-1;;653:39313:0;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;653:39313:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;-1:-1:-1;;653:39313:0;;;;;9804:34:1;653:39313:0;;;;;;;;;;;;;-1:-1:-1;;653:39313:0;;;;9239:23:1;653:39313:0;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;;;;;-1:-1:-1;;653:39313:0;;;;;9726:33:1;653:39313:0;;;;;;;;;;;;;-1:-1:-1;;653:39313:0;;;;;;9977:37:1;653:39313:0;;;;;;;;;;;;;;;;-1:-1:-1;;653:39313:0;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;;;;;;;-1:-1:-1;;653:39313:0;;;;9149:24:1;653:39313:0;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;;;;;-1:-1:-1;;653:39313:0;;;;;;;;;:::i;:::-;;;;;2324:62:6;;;:::i;:::-;8955:6:1;10342:43:0;;10338:77;;10429:58;;;;653:39313;10425:92;;10686:65;;653:39313;;;10528:35;653:39313;;;;;;;;10528:35;653:39313;1082:6;10573:53;1082:6;;10636:35;1082:6;653:39313;;10686:65;;;;1517:6;;;;;;;;653:39313;;;;;1517:6;;;653:39313;1517:6;653:39313;1517:6;10429:58;10441:26;;;:45;10429:58;10441:45;10471:15;;;10429:58;;653:39313;;;;;;-1:-1:-1;;653:39313:0;;;;9268:23:1;653:39313:0;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;;;;;-1:-1:-1;;653:39313:0;;;;;9687:33:1;653:39313:0;;;;;;;;;;;;;-1:-1:-1;;653:39313:0;;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;653:39313:0;9576:46:1;653:39313:0;;;;;-1:-1:-1;653:39313:0;;;;;;;;;;;;;;;16959:34;16843:29;653:39313;16787:29;653:39313;;;:::i;:::-;2324:62:6;;;;;;;;;:::i;:::-;16584:16:0;;;;;;;:::i;:::-;16620:40;1082:6;;16670:40;1082:6;;16720:40;1082:6;16787:29;:::i;:::-;16770:46;1082:6;16843:29;:::i;:::-;16826:46;1082:6;16905:4;653:39313;;16882:27;653:39313;;;16882:27;653:39313;;;1082:6;16919:30;1082:6;;;16919:30;1082:6;16102:30;1082:6;;;;;;;;;;;16102:30;1082:6;;653:39313;;;;;;-1:-1:-1;;653:39313:0;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;653:39313:0;;;;;9934:37:1;653:39313:0;;;;;;;;;;;11711:7;653:39313;;;:::i;:::-;2324:62:6;;;:::i;653:39313:0:-;;;;;;-1:-1:-1;;653:39313:0;;;;17116:9;653:39313;;;;;:::i;:::-;;;;;;;:::i;:::-;2324:62:6;;:::i;:::-;17116:9:0;:::i;653:39313::-;;;;;;-1:-1:-1;;653:39313:0;;;;;11313:25;653:39313;;11372:29;653:39313;;11424:22;653:39313;11466:21;;;:::i;:::-;11506:20;;:::i;:::-;11551:40;:17;;;;;653:39313;11551:40;653:39313;11551:40;;653:39313;;;;;;;;;;;;;;;;;;;;;;;;;;;;11551:40;12221:42:1;;;;;;;;;653:39313:0;11551:40;;;;12221:42:1;;:::i;653:39313:0:-;;;;;;-1:-1:-1;;653:39313:0;;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;653:39313:0;9476:42:1;653:39313:0;;;;;-1:-1:-1;653:39313:0;;;;;;;;;;;;;;;;;-1:-1:-1;;653:39313:0;;;;9050:23:1;653:39313:0;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;;;;;-1:-1:-1;;653:39313:0;;;;;;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;;;;;-1:-1:-1;;653:39313:0;;;;-1:-1:-1;;;;;;;;;;;653:39313:0;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;;;;;-1:-1:-1;;653:39313:0;;;;;;;;;:::i;:::-;2324:62:6;;:::i;:::-;-1:-1:-1;;;;;;;;;;;653:39313:0;;-1:-1:-1;;;;;;653:39313:0;-1:-1:-1;;;;;653:39313:0;;;;;;;;;-1:-1:-1;;;;;;;;;;;653:39313:0;;;;2742:43:5;-1:-1:-1;;2742:43:5;653:39313:0;;;;;;;-1:-1:-1;;653:39313:0;;;;9117:26:1;653:39313:0;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;;;;;;:::o;:::-;;;;;;-1:-1:-1;;653:39313:0;;;;8842:9;653:39313;;;;;:::i;:::-;;;;;;;:::i;:::-;2324:62:6;;:::i;653:39313:0:-;;;;;;-1:-1:-1;;653:39313:0;;;;9023:21:1;653:39313:0;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;;;;;-1:-1:-1;;653:39313:0;;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;653:39313:0;9524:46:1;653:39313:0;;;;;-1:-1:-1;653:39313:0;;;;;;;;;;;;;;;;;-1:-1:-1;;653:39313:0;;;;10273:25:1;653:39313:0;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;;;;;;:::i;:::-;2324:62:6;;;;:::i;:::-;8618:1:0;8621:17;;;;;;653:39313;8640:3;8676:9;8687:7;8676:9;;653:39313;8676:9;;;;:::i;:::-;653:39313;;;;:::i;8687:7::-;653:39313;8606:13;;653:39313;-1:-1:-1;;;;;;;;;;;653:39313:0;-1:-1:-1;;;;;653:39313:0;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;-1:-1:-1;653:39313:0;;;;:::o;:::-;;;:::o;13773:235:1:-;653:39313:0;13848:25:1;653:39313:0;;13847:26:1;13843:40;;13900:101;13916:29;653:39313:0;13947:22:1;653:39313:0;13900:101:1;;:::i;13843:40::-;653:39313:0;13875:8:1;:::o;4922:514:0:-;-1:-1:-1;;;;;653:39313:0;;5116:20;5112:43;;2216:12:6;6891:76:17;;;:::i;:::-;;;:::i;:::-;2216:12:6;:::i;:::-;6891:76:17;;:::i;:::-;;;:::i;:::-;-1:-1:-1;;;;;6598:16:0;653:39313;6598:16;:::i;:::-;653:39313;6594:64;;4922:514;6672:30;:16;;;:::i;:30::-;6668:64;;4922:514;6746:25;:11;;;:::i;:25::-;6742:49;;4922:514;6805:27;:13;;;:::i;:27::-;6801:55;;4922:514;6870:29;:15;;;:::i;:29::-;6866:61;;4922:514;6941:38;:24;;;:::i;:38::-;6937:88;;4922:514;7039:32;:18;;;:::i;:32::-;7035:70;;4922:514;7119:28;:14;;;:::i;:28::-;7115:58;;4922:514;7205:25;653:39313;7205:30;;;:64;7184:85;7238:3;15827:40;1082:6;;7184:85;7307:21;653:39313;7307:26;;;:54;7578:105;7336:1;7307:54;7399:21;653:39313;7399:26;;;:54;7463:105;7428:1;7399:54;;7484:25;653:39313;;7484:30;;;7517:23;;;;:::i;:::-;15961:42;1082:6;;7463:105;7599:25;653:39313;;7599:30;;;7632:23;;;;:::i;:::-;16013:42;1082:6;;7578:105;7693:45;7710:28;7463:105;653:39313;7710:28;:::i;:::-;15877:32;1082:6;;7693:45;7748;7765:28;7578:105;653:39313;7765:28;:::i;:::-;15919:32;1082:6;;7748:45;7803:27;16088:4;653:39313;;16065:27;653:39313;;;16065:27;653:39313;;7803:27;653:39313;7856:20;;;:::i;:::-;653:39313;7856:54;;16102:30;1082:6;;-1:-1:-1;;1082:6:0;7884:3;1082:6;;;7840:70;7938:22;;;:::i;:::-;653:39313;;7938:65;;16102:30;1082:6;;-1:-1:-1;;1082:6:0;;;;;7920:83;8169:15;7184:85;653:39313;7463:105;653:39313;7578:105;653:39313;7840:70;653:39313;;;;;;;;;;;;;;;;;;8169:15;;:::i;:::-;5317:16;5299;653:39313;5299:16;:::i;:::-;5317;;;:::i;:::-;;;:::i;:::-;5348:26;:12;653:39313;5348:12;:::i;:26::-;5344:86;;4922:514::o;5344:86::-;5406:12;;653:39313;5406:12;:::i;7938:65::-;7920:83;7981:22;7938;7981;:::i;:::-;7920:83;:::i;7856:54::-;7840:70;7890:20;7856;7890;:::i;:::-;7840:70;:::i;7599:84::-;;7578:105;:::i;7484:84::-;;7463:105;:::i;7399:54::-;7463:105;7399:54;;;;7307;7578:105;7307:54;;;7205:64;15827:40;1082:6;7184:85;1082:6;7115:58;7149:24;7159:14;7119;7159;:::i;:::-;653:39313;;;;;;-1:-1:-1;;;;;653:39313:0;;7149:24;653:39313;;;7149:24;653:39313;;7149:24;7115:58;;7035:70;7073:32;7087:18;7039;7087;:::i;:::-;653:39313;;;;;;-1:-1:-1;;;;;653:39313:0;;7073:32;653:39313;;;7073:32;653:39313;;7073:32;7035:70;;6937:88;6981:44;7001:24;6941;7001;:::i;:::-;653:39313;;;;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;6981:44;6937:88;;6866:61;6901:26;6912:15;6870;6912;:::i;:::-;653:39313;;;;;;-1:-1:-1;;;;;653:39313:0;;12418:18;653:39313;;;12418:18;653:39313;;6901:26;6866:61;;6801:55;6834:22;6843:13;6805;6843;:::i;:::-;653:39313;;;;;;-1:-1:-1;;;;;653:39313:0;;12365:16;653:39313;;;12365:16;653:39313;;6834:22;6801:55;;6742:49;6773:18;6780:11;6746;6780;:::i;:::-;653:39313;;;;;;-1:-1:-1;;;;;653:39313:0;;12316:12;653:39313;;;12316:12;653:39313;;6773:18;6742:49;;6668:64;6704:28;6716:16;6672;6716;:::i;:::-;12193:1;653:39313;;-1:-1:-1;;;;;;653:39313:0;;;;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;6704:28;6668:64;;6594;6630:28;6642:16;653:39313;6642:16;:::i;:::-;653:39313;;;;;;-1:-1:-1;;;;;653:39313:0;;6630:28;653:39313;;;6630:28;653:39313;;6630:28;6594:64;;12659:2:1;;;;;;;;;;;;10906:23:0;12659:2:1;;;;;;:::o;:::-;;;;;;;14408:25;12659:2;;;;:::o;1009:6:0:-;653:39313;;;1009:6;;;;;;;;1082;;15513:3;1082:6;;;;;;15513:3;1082:6;;;;;;;:::o;4598:142::-;;;;;;;;4656:10;-1:-1:-1;653:39313:0;4645:10;653:39313;;;;-1:-1:-1;653:39313:0;;;4645:47;;;;4598:142;4643:50;4639:83;;2989:103:26;;:::i;:::-;1965:72:9;;:::i;:::-;20830:38:0;;;;:::i;:::-;20883:21;2591:8:6;;;;;:::i;20883:21:0:-;4656:10;20883:21;20879:180;;4598:142;21073:16;;;653:39313;21101:4;-1:-1:-1;;;;;653:39313:0;;;21073:33;21069:70;;653:39313;21153:13;;653:39313;;-1:-1:-1;;;;;653:39313:0;;;;;21153:25;21149:58;;653:39313;;21221:30;;653:39313;;-1:-1:-1;;;;;653:39313:0;;;-1:-1:-1;;;;;653:39313:0;;;21221:30;-1:-1:-1;;;;;653:39313:0;;;21221:30;21217:63;;-1:-1:-1;;;;;653:39313:0;21294:27;;;;;:59;;4598:142;21290:100;;;21404:20;;;653:39313;;;;21404:35;21400:67;;21498:1;21482:17;;21478:46;;21498:1;21538:18;;21498:1;;21576:10;21572:44;;653:39313;;-1:-1:-1;;;;;653:39313:0;21634:32;21651:15;:9;;;;:::i;21634:32::-;-1:-1:-1;;;;;653:39313:0;;;21634:32;;;;:67;;21534:459;21630:101;;22456:5;2591:8:6;21749:21:0;2591:8:6;;:::i;21749:21:0:-;4656:10;21749:21;21745:64;;21534:459;653:39313;;22028:35;;;;;;:73;;;22115:21;2591:8:6;;:::i;22115:21:0:-;4656:10;22115:21;22111:235;;22028:73;22380:25;;;:::i;:::-;22456:5;;:::i;:::-;22495:25;;;:::i;:::-;22534:28;;;;22530:60;;22620:28;;;:::i;:::-;22662:27;;;22658:59;;22731:21;2591:8:6;;:::i;22731:21:0:-;4656:10;22731:21;22727:230;;22028:73;3054:1:26;;;;2365;-1:-1:-1;;;;;;;;;;;1082:6:0;4047:253:26;22727:230:0;653:39313;;22936:9;;653:39313;;;-1:-1:-1;;;;;653:39313:0;22826:11;22839:9;22826:11;;;;653:39313;;;;22839:9;;:::i;:::-;653:39313;-1:-1:-1;;;;;653:39313:0;;;;;;22936:9;;:::i;:::-;22727:230;;;;;22658:59;21448:19;;;-1:-1:-1;22698:19:0;;-1:-1:-1;22698:19:0;22111:235;22319:15;653:39313;;22216:15;653:39313;;;;;;;;;;;;;22203:11;;;653:39313;;;22216:15;;:::i;:::-;653:39313;;;;-1:-1:-1;;;;;653:39313:0;;;22319:15;;:::i;:::-;22111:235;;22028:73;;;;;;21745:64;21793:15;;:9;;;;:::i;:15::-;;:::i;:::-;21745:64;;21630:101;21961:21;;;-1:-1:-1;21710:21:0;;-1:-1:-1;21710:21:0;21634:67;21670:11;;;;653:39313;;21685:9;;;;:::i;:::-;:16;653:39313;21670:31;;21634:67;;21534:459;21844:10;;21840:35;;653:39313;;-1:-1:-1;;;;;653:39313:0;12221:42:1;21893:35:0;;;;:59;;21534:459;21889:93;;22456:5;21534:459;;;21893:59;21932:11;;;;;653:39313;21932:20;;21893:59;;21290:100;21362:28;;;-1:-1:-1;21362:28:0;;-1:-1:-1;21362:28:0;21294:59;21342:11;653:39313;;;-1:-1:-1;21325:28:0;;-1:-1:-1;;;;;653:39313:0;;;21325:28;;;21294:59;;;21217:63;21187:20;;;-1:-1:-1;21260:20:0;;-1:-1:-1;21260:20:0;21069:70;21115:24;;;-1:-1:-1;21115:24:0;;-1:-1:-1;21115:24:0;20879:180;653:39313;;20941:13;;-1:-1:-1;;;;;653:39313:0;21793:15;:::i;20941:13::-;653:39313;20990:13;;653:39313;20990:13;;-1:-1:-1;;;;;653:39313:0;21793:15;:::i;20990:13::-;21039:8;;;:::i;:::-;20879:180;;4645:47;-1:-1:-1;;;;;;;;;;;;653:39313:0;-1:-1:-1;;;;;653:39313:0;4656:10;4671:21;4645:47;;12221:42:1;;;;;;:::o;:::-;;;;;;;;;;;;:::o;:::-;;;;;;;;;;:::o;9187:798:0:-;;9294:16;;:36;;;9187:798;9290:254;;1324:23;9571:41;;:98;;;;9187:798;9571:137;;;;9187:798;9571:176;;;;9187:798;9571:218;;;;9187:798;9554:274;;9839:33;;9930:48;9839:33;;1082:6;;9839:33;9882;;;1082:6;;9882:33;653:39313;;;;;;;;;;;;;;;;;;9930:48;;;;9187:798::o;9571:218::-;9763:26;;;;;9571:218;;:176;9724:23;12307:4:1;9724:23:0;;9571:176;;:137;9685:23;12307:4:1;9685:23:0;;9571:137;;:98;9628:41;1418:25;9628:41;;9571:98;;9290:254;9346:23;;;9309:1;9346:23;1082:6;;9346:23;9383;9309:1;9383:23;1082:6;;9383:23;9425:88;653:39313;;9425:88;;;653:39313;12477:25:1;653:39313:0;;;;;12377:23:1;653:39313:0;;;;;9294:36;9314:16;;;9294:36;;653:39313;;;;;;;;;;:::o;14014:453:1:-;653:39313:0;14115:15:1;14133:7;14115:15;1009:6:0;653:39313;14170:30:1;12659:2;14170:30;;;;14014:453;;:::o;14202:3::-;-1:-1:-1;;;;;14250:26:1;;;:::i;:::-;653:39313:0;;;;;;;14295:25:1;;;;:82;;;;14202:3;14291:160;;;14202:3;653:39313:0;;14155:13:1;;14291:160;14408:28;;;;:::i;:::-;653:39313:0;;;;;;;;;;;;;14397:39:1;14291:160;;14295:82;14324:24;;12221:42;;;;;;;12659:2;-1:-1:-1;14295:82:1;;;13561:206;-1:-1:-1;;;;;653:39313:0;;;;;;13652:14:1;653:39313:0;;;;;;;;13648:39:1;;653:39313:0;;13704:14:1;653:39313:0;;;;;;;;13704:56:1;;;;;13697:63;13561:206;:::o;13704:56::-;13729:31;;;;:::i;13648:39::-;13675:12;;653:39313:0;13675:12:1;:::o;2679:162:6:-;-1:-1:-1;;;;;;;;;;;653:39313:0;-1:-1:-1;;;;;653:39313:0;987:10:8;2738:23:6;2734:101;;2679:162::o;3749:292:26:-;2407:1;-1:-1:-1;;;;;;;;;;;653:39313:0;4560:63:26;3644:93;;2407:1;-1:-1:-1;;;;;;;;;;;1082:6:0;3749:292:26:o;3644:93::-;3696:30;;;-1:-1:-1;3696:30:26;;-1:-1:-1;3696:30:26;5098:367:20;;5190:42;20177:1:0;5190:42:20;;;:::i;:::-;5189:43;5185:274;;5098:367;;:::o;5185:274::-;5253:37;;;;:::i;:::-;5252:38;5248:91;;20177:1:0;5358:41:20;;;;:::i;:::-;5357:42;5353:95;;5098:367;:::o;5353:95::-;-1:-1:-1;;;20177:1:0;5408:40:20;;;-1:-1:-1;;;;;653:39313:0;;;;5408:40:20;653:39313:0;;;5408:40:20;5248:91;-1:-1:-1;;;;20177:1:0;5299:40:20;;;-1:-1:-1;;;;;653:39313:0;;;;5299:40:20;653:39313:0;;;5299:40:20;5098:367;;;5190:42;;;;;:::i;:::-;5189:43;5185:274;;5098:367;;;:::o;5185:274::-;5253:37;;;;:::i;:::-;5252:38;5248:91;;5358:41;;;;;:::i;5248:91::-;-1:-1:-1;;;5226:5:20;5299:40;;;-1:-1:-1;;;;;653:39313:0;;5299:40:20;653:39313:0;;;5299:40:20;2730:128:9;653:39313:0;-1:-1:-1;;;;;;;;;;;653:39313:0;;2791:61:9;;2730:128::o;2791:61::-;2826:15;;;-1:-1:-1;2826:15:9;;-1:-1:-1;2826:15:9;653:39313:0;;;;;;26054:1;653:39313;;;;;;;26054:1;653:39313;;-1:-1:-1;;653:39313:0;;:::o;:::-;;;;;;;:::o;:::-;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;:::i;25583:3514::-;-1:-1:-1;;;;;;;;;;;653:39313:0;25583:3514;;;25667:21;;-1:-1:-1;;;;;653:39313:0;;;25667:21;:10;:21;25663:34;;25724:17;;;;:::i;:::-;653:39313;-1:-1:-1;;;;;;653:39313:0;;-1:-1:-1;;;25768:206:0;;25751:681;;-1:-1:-1;;;26458:206:0;;26441:691;;-1:-1:-1;;;27145:112:0;;27141:487;;-1:-1:-1;;;27641:99:0;;27637:464;;-1:-1:-1;;;28114:91:0;;28110:370;;-1:-1:-1;;;28493:55:0;;28489:209;;-1:-1:-1;;;28711:78:0;28707:331;;-1:-1:-1;;;29054:36:0;;-1:-1:-1;;;;;;653:39313:0;;;;;-1:-1:-1;1366:40:20;28707:331:0;28967:40;28861:8;;;;28944;28861;28850:56;28861:8;;:::i;:::-;28850:56;;;;:::i;:::-;28944:8;;;;;;;:::i;:::-;28967:40;:::i;:::-;;29021:7::o;28489:209::-;28593:8;28627:40;28593:8;;;28582:31;28593:8;;;;:::i;:::-;28582:31;;;;:::i;28110:370::-;28294:8;28409:40;28294:8;;;;28386;28294;28283:65;28294:8;;:::i;:::-;28283:65;;;;:::i;:::-;28386:8;;;;;;;;:::i;27637:464::-;27859:8;28049:20;27859:8;;27848:74;27859:8;;27960;27859;28007:40;27859:8;;:::i;:::-;27848:74;;;;:::i;:::-;27960:8;;;;;;;:::i;28007:40::-;28049:20;:::i;27141:487::-;27377:8;27576:20;27377:8;;27366:83;27377:8;;27487;27377;27534:40;27377:8;;:::i;:::-;27366:83;;;;:::i;:::-;27487:8;;;;;;;;:::i;26441:691::-;26744:8;27060:27;26744:8;;;26733:51;26744:8;;;;:::i;:::-;26733:51;;;;:::i;:::-;653:39313;;;;27060:27;;26956:86;;-1:-1:-1;;;;;653:39313:0;;26833:13;;;653:39313;;26833:13;;;;-1:-1:-1;;;;;653:39313:0;;26833:13;;:::i;:::-;26885:15;;;;;;:::i;:::-;653:39313;;;;-1:-1:-1;;;;;653:39313:0;;;;-1:-1:-1;;;;;653:39313:0;;;;26997:10;;;653:39313;;;27009:18;;;653:39313;;;27029:12;;;653:39313;27029:12;;;-1:-1:-1;;;;;653:39313:0;26956:86;;:::i;:::-;27060:27;;653:39313;-1:-1:-1;;;;;653:39313:0;;;;27060:27;;:::i;25751:681::-;26049:8;26360:27;26049:8;;;26038:46;26049:8;;;;:::i;:::-;26038:46;;;;:::i;:::-;653:39313;;;;26360:27;;26256:86;;-1:-1:-1;;;;;653:39313:0;;;25663:34;25690:7;;:::o;653:39313::-;;;;;;;;;;;;;:::i;38837:368::-;38934:18;;:23;38930:56;;653:39313;;-1:-1:-1;;;39000:46:0;;-1:-1:-1;;;39000:46:0;;;653:39313;;39000:46;;653:39313;;;;;;-1:-1:-1;;;;;653:39313:0;39000:46;;38956:1;;39000:46;;;38837:368;-1:-1:-1;38996:203:0;;18722:20;;;38956:1;39168:20;39000:46;38956:1;39168:20;38996:203;39090:10;39086:43;;38837:368::o;39000:46::-;;;;;;;;;;;;;;;:::i;:::-;;;;;4328:312:18;-1:-1:-1;;;;;4417:6:18;653:39313:0;4408:4:18;4400:23;;;:120;;;;4328:312;4383:251;;;4328:312::o;4400:120::-;-1:-1:-1;;;;;;;;;;;653:39313:0;-1:-1:-1;;;;;653:39313:0;4478:42:18;;;-1:-1:-1;4400:120:18;;;653:39313:0;;;;;;:::i;:::-;;;;;;;;;;;;;:::i;35504:228::-;35637:9;653:39313;;;-1:-1:-1;;;35619:57:0;;-1:-1:-1;;;;;653:39313:0;;;35619:57;;;653:39313;;;;;;;;;;;;;;;;;;;35504:228;35619:57;;653:39313;;;;;;;;;35619:57;;;;;;;35637:9;35619:57;;;35504:228;-1:-1:-1;;;;;;653:39313:0;;35690:18;35686:39;;35504:228::o;35686:39::-;35717:8;;;35637:9;35717:8;35619:57;35637:9;35717:8;35619:57;;;;;;;;;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;;653:39313;;;;;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;:::o;23785:1792::-;-1:-1:-1;;;;;;;;;;;653:39313:0;23785:1792;;;23869:21;;-1:-1:-1;;;;;653:39313:0;;;23869:21;:10;:21;23865:34;;23926:17;;;;:::i;:::-;653:39313;-1:-1:-1;;;;;;653:39313:0;;-1:-1:-1;;;23957:124:0;;23953:554;;-1:-1:-1;;;24520:93:0;;24516:444;;-1:-1:-1;;;24973:85:0;;24969:271;;-1:-1:-1;;;25253:55:0;;;:115;;;;23785:1792;25249:269;;;-1:-1:-1;;;25534:36:0;;-1:-1:-1;;;;;;653:39313:0;;;;;-1:-1:-1;1366:40:20;25249:269:0;25447:40;25413:8;;;25402:31;25413:8;;;;:::i;25402:31::-;25447:40;:::i;:::-;25501:7;;;:::o;25253:115::-;-1:-1:-1;;;25312:56:0;;-1:-1:-1;25253:115:0;;;24969:271;25108:8;25169:40;25108:8;;;25097:58;25108:8;;;;:::i;:::-;25097:58;;;;:::i;:::-;25169:40;;;;:::i;24516:444::-;24664:8;24922:6;24664:8;;24653:67;24664:8;;24862:50;24664:8;24781:40;24664:8;;:::i;:::-;24653:67;;;;:::i;:::-;24781:40;;;;;:::i;:::-;24862:50;;;;;;:::i;:::-;24922:6;:::i;23953:554::-;24168:8;24449:13;24168:8;;;24157:51;24168:8;;;;:::i;:::-;24157:51;;;;:::i;:::-;653:39313;;-1:-1:-1;;;;;653:39313:0;24257:13;;;653:39313;;24257:13;;;;-1:-1:-1;;;;;653:39313:0;;;24257:13;653:39313;;;;;;24329:71;;-1:-1:-1;;;;;653:39313:0;;;-1:-1:-1;;;;;653:39313:0;24389:10;;;653:39313;;;24329:71;;:::i;:::-;653:39313;;-1:-1:-1;;;;;653:39313:0;;;;24449:13;;:::i;653:39313::-;;;;:::o;741:4141:40:-;653:39313:0;;;;-1:-1:-1;;653:39313:0;;1347:147:40;;;;;;;;;;;;1619:19;;12576:9:1;1619:19:40;653:39313:0;;;1720:10:40;1716:177;;653:39313:0;2224:95:40;12576:9:1;2224:95:40;;2391:145;;;;;;653:39313:0;;2391:145:40;;2977:82;;3363:21;653:39313:0;741:4141:40;:::o;1716:177::-;1750:98;;12576:9:1;1750:98:40;;;1865:13;:::o;741:4141::-;653:39313:0;;;;-1:-1:-1;;653:39313:0;;1347:147:40;;;;;;;;;;;;1619:19;;12307:4:1;1619:19:40;653:39313:0;;;1720:10:40;1716:177;;653:39313:0;2224:95:40;12307:4:1;2224:95:40;;2391:145;;;;;;653:39313:0;;2391:145:40;;2977:82;;3363:21;653:39313:0;741:4141:40;:::o;1716:177::-;1750:98;;12307:4:1;1750:98:40;;;1865:13;:::o;741:4141::-;653:39313:0;;;;741:4141:40;-1:-1:-1;;741:4141:40;;1347:147;;;;;;;;;;;;335:27:39;;653:39313:0;335:27:39;;1619:19:40;653:39313:0;;;1720:10:40;1716:177;;-1:-1:-1;;;335:27:39;2224:95:40;2391:145;;;;;;653:39313:0;;2391:145:40;;2977:82;;3363:21;741:4141;:::o;1716:177::-;1750:98;;;;;1865:13;:::o;741:4141::-;;653:39313:0;;;;-1:-1:-1;;653:39313:0;741:4141:40;1347:147;;;;;;;;;;;;1619:19;1611:28;1619:19;;;1611:28;:::i;:::-;1720:10;1716:177;;2224:95;;;;653:39313:0;;;;2716:31:40;2811:94;;;3776:1;653:39313:0;3757:1:40;653:39313:0;3756:21:40;653:39313:0;;;3776:1:40;653:39313:0;;;;;3776:1:40;653:39313:0;;;;;3776:1:40;653:39313:0;;;;;3776:1:40;653:39313:0;;;;;3776:1:40;653:39313:0;;;;;3776:1:40;653:39313:0;;3254:96:40;;;;653:39313:0;3254:96:40;;;2391:145;;;;;;653:39313:0;2391:145:40;;2977:82;3363:21;653:39313:0;741:4141:40;:::o;1716:177::-;1750:98;;;;;1865:13;:::o;30975:210:0:-;-1:-1:-1;;;;;653:39313:0;;31053:19;;31049:42;;653:39313;31147:31;653:39313;;31070:1;653:39313;31101:14;653:39313;;31101:31;653:39313;;31070:1;653:39313;;;;;;;;;;;;;;;;31101:31;653:39313;;;;;;;31147:31;30975:210::o;653:39313::-;;;;;:::i;:::-;;;;;:::i;38414:417::-;-1:-1:-1;;;;;653:39313:0;;;38414:417;38496:23;;:50;;;;38414:417;38492:73;;38934:18;:23;38930:56;;653:39313;;-1:-1:-1;;;39000:46:0;;-1:-1:-1;;;39000:46:0;;;653:39313;39000:46;653:39313;;;39000:46;;;38517:1;;39000:46;;;38414:417;-1:-1:-1;38996:203:0;;18722:20;;;38517:1;39168:20;39000:46;38517:1;39168:20;38996:203;39090:10;39086:43;;38686:30;;;:::i;:::-;653:39313;-1:-1:-1;;;;;653:39313:0;;38727:20;653:39313;;;38727:20;653:39313;;;;;;;;;-1:-1:-1;;;;;653:39313:0;;38757:20;653:39313;;;38757:20;653:39313;38792:32;38517:1;38792:32;;38414:417::o;39000:46::-;;;;;;;;;;;;;;;:::i;:::-;;;;;38496:50;-1:-1:-1;;;;;;653:39313:0;;38523:23;38496:50;;39211:248;-1:-1:-1;;;;;653:39313:0;;;39276:21;;39272:44;;39330:19;:24;39326:57;;39393:21;653:39313;;-1:-1:-1;;;;;;653:39313:0;;;;;39429:23;-1:-1:-1;;39429:23:0;39211:248::o;30652:317::-;-1:-1:-1;;;;;653:39313:0;;30740:19;;30736:42;;653:39313;;30804:2;30792:14;;30788:71;;30757:1;653:39313;;;30804:2;653:39313;;;;;;;;;;;-1:-1:-1;;653:39313:0;;;;;;;;;;30922:40;;;30652:317::o;30788:71::-;30815:44;;;;30757:1;30815:44;;653:39313;;;;30757:1;30815:44;16170:177:1;16260:19;653:39313:0;16260:24:1;;;:80;12377:23;16170:177;:::o;16353:::-;16443:19;653:39313:0;16443:24:1;;;:80;12477:25;16353:177;:::o;30265:218:0:-;;30344:21;;30340:47;;653:39313;30444:32;653:39313;;30363:1;653:39313;30397:13;653:39313;;30397:32;653:39313;;30363:1;653:39313;;;;;;;;;;;;;;;;30489:157;653:39313;30605:34;30489:157;653:39313;;;;30558:32;653:39313;;;;;;30558:32;653:39313;;;;;;30605:34;30489:157::o;29241:802::-;898:2;29478:38;;:80;;;;;29241:802;29474:139;;;8955:6:1;-1:-1:-1;29622:77:0;;8955:6:1;-1:-1:-1;29709:78:0;;653:39313;;898:2;29801:36;;:76;;;;;29241:802;29797:135;;;653:39313;;29964:1;29945:20;;:61;;;;;29241:802;29941:95;;;29241:802::o;29945:61::-;1259:4;29969:37;;;29945:61;;;29801:76;1205:4;29841:36;;;29801:76;;;29478:80;950:4;29520:38;;;29478:80;;;653:39313;-1:-1:-1;;;;;653:39313:0;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;:::i;:::-;;;;;:::o;:::-;;;;;;;;;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;:::i;:::-;;;;;;:::o;:::-;;;;;;;;;;;;;;:::i;:::-;;;;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;:::i;:::-;;;;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;:::i;36979:1063::-;;653:39313;;;;;;;;-1:-1:-1;;;;;653:39313:0;;;;;;;-1:-1:-1;653:39313:0;;-1:-1:-1;653:39313:0;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;653:39313:0;;;;-1:-1:-1;653:39313:0;;;;-1:-1:-1;653:39313:0;;;;-1:-1:-1;653:39313:0;;;;;;;;;37145:21;37205:1;37186:20;;37182:56;;37383:13;;;;;:::i;:::-;653:39313;37274:75;-1:-1:-1;;;;;;653:39313:0;-1:-1:-1;;;37410:50:0;;:111;;;;36979:1063;37406:350;;-1:-1:-1;;;37769:60:0;37765:230;;37215:23;;;653:39313;38012:23;37205:1;653:39313;38012:23;37765:230;37858:87;;;;;;:::i;:::-;37959:25;;;;;653:39313;37959:25;:::o;37406:350::-;37617:66;;;;;;;:::i;:::-;37705:14;;;;37721:23;;;;653:39313;37705:14;;;-1:-1:-1;;;;;653:39313:0;;:::o;37410:111::-;-1:-1:-1;;;;37464:57:0;;37410:111;;37182:56;37215:23;;;653:39313;37215:23;37205:1;653:39313;37215:23;14919:144:1;14993:32;;;:::i;:::-;14992:33;14988:68;;14919:144;:::o;14988:68::-;-1:-1:-1;;;;15034:22:1;;;-1:-1:-1;;;;;653:39313:0;;;;15034:22:1;653:39313:0;;;15034:22:1;16536:794;15146:20;653:39313:0;16536:794:1;;;;;653:39313:0;;15146:64:1;;;15169:18;653:39313:0;15146:64:1;;1082:6:0;16768:27:1;;;;16764:61;;16863:49;16963:97;16863:49;;;:::i;:::-;16979:41;17022:26;16979:41;;;;:::i;:::-;17022:26;;;:::i;:::-;16963:97;;:::i;:::-;17074:37;;;17070:155;;17306:16;;;;;;:::i;17070:155::-;653:39313:0;;-1:-1:-1;;;17134:80:1;;-1:-1:-1;;;;;653:39313:0;;;17134:80:1;;;653:39313:0;;;;;;;;;;;;;;;;;;;;;;17134:80:1;;;;15146:64;15190:14;653:39313:0;15207:3:1;1082:6:0;;;;;;15207:3:1;1082:6:0;;;;;;;15146:64:1;;;18318:835;;;;653:39313:0;18507:25:1;653:39313:0;;18506:26:1;18502:39;;18655:49;18577:41;;;;:::i;:::-;18655:49;;:::i;:::-;18718:35;;;;18714:48;;12221:42;;;;;;;18862:20;;:::i;:::-;18896:11;;;18892:57;;18978:21;;:::i;:::-;653:39313:0;;;;;;;;19013:37:1;-1:-1:-1;19009:138:1;;18318:835;;;:::o;19009:138::-;-1:-1:-1;;;;19073:63:1;;653:39313:0;;;;;;-1:-1:-1;1366:40:20;18892:57:1;18916:33;;;-1:-1:-1;18916:33:1;;-1:-1:-1;18916:33:1;18502:39;18534:7;;;;:::o;20651:205::-;-1:-1:-1;;;;;653:39313:0;12221:42:1;20737:27;;20733:61;;653:39313:0;20811:38:1;653:39313:0;;;;;;;;;;20811:38:1;;20843:4;20811:38;;;653:39313:0;20811:38:1;;;;;;;653:39313:0;20811:38:1;;;20804:45;20651:205;:::o;20811:38::-;;;653:39313:0;20811:38:1;;653:39313:0;20811:38:1;;;;;;653:39313:0;20811:38:1;;;:::i;:::-;;;653:39313:0;;;;;20651:205:1;:::o;20811:38::-;;;-1:-1:-1;20811:38:1;;20733:61;20773:21;;20766:28;:::o;653:39313:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;653:39313:0;;;;:::o;22969:810::-;23103:11;653:39313;-1:-1:-1;;;;;653:39313:0;;22969:810;;;;653:39313;;23128:21;;23124:49;;23187:18;;:32;;;22969:810;23183:57;;23147:1;23271:17;;;;;;653:39313;23147:1;653:39313;;;;;;;;;:::i;:::-;23426:37;;;;;;;;;:::i;:::-;23479:13;23147:1;23494:17;;;;;;23605:3;;;;;23601:112;;653:39313;;23728:44;;653:39313;;;;23728:44;;;;;:::i;:::-;;;;22969:810::o;23513:3::-;23539:9;23532:48;23539:9;23532:23;23539:15;:9;653:39313;23539:9;;;;:::i;23532:23::-;:48;:::i;:::-;653:39313;23479:13;;23290:3;23316:9;23355:16;23309:23;23316:15;:9;653:39313;23316:9;;;;:::i;23309:23::-;23355:9;:16;:9;;;;;:::i;:::-;:16;653:39313;23355:16;;:::i;:::-;653:39313;23256:13;;23187:32;23209:10;;;23187:32;;23124:49;23158:15;;;23147:1;23158:15;;23147:1;23158:15;17336:357:1;;;17633:43;;17336:357;17633:43;;:::i;:::-;;;:::i;19159:1486::-;;;;19336:26;653:39313:0;19337:25:1;653:39313:0;;;;;19336:26:1;19332:39;;19485:43;19407:41;;;;:::i;19485:43::-;19542:35;;;;19538:48;;19621:34;;;:::i;:::-;19682:20;;:::i;:::-;19716:11;;;19712:57;;19798:21;;:::i;:::-;19833:24;;;;;;:::i;:::-;:33;19829:130;;20009:7;19991:15;1009:6:0;20048:40:1;12659:2;653:39313:0;;20102:30:1;-1:-1:-1;;;;;20102:30:1;;20098:59;;20605:24;653:39313:0;20549:89:1;653:39313:0;20478:56:1;:38;20549:89;653:39313:0;-1:-1:-1;;;;;653:39313:0;;20281:36:1;-1:-1:-1;;;;;653:39313:0;20281:36:1;;;:::i;:::-;653:39313:0;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;20281:53:1;20277:192;;19159:1486;20478:38;;:::i;:::-;:56;653:39313:0;;;;;;;;;;;;20478:56:1;:::i;:::-;12659:2;;-1:-1:-1;;12659:2:1;;;;;;;;;;;;;;;;20605:24;653:39313:0;;20549:89:1;;;;653:39313:0;;;;;;;;;;;;;;;;;;;;;;;20277:192:1;20350:52;:36;;;;:::i;:::-;:52;12659:2;;-1:-1:-1;;;;;12659:2:1;;;;;;653:39313:0;;12659:2:1;;;;;;;;;;20350:52;20416:42;:38;;;:::i;:::-;12659:2;;;;;;;;;;;;;;20416:42;20277:192;;;20098:59;20141:16;;;19726:1;20141:16;;19726:1;20141:16;19829:130;-1:-1:-1;;;19726:1:1;19889:59;19073:63;653:39313:0;;;;;;;;;-1:-1:-1;1366:40:20;2976:222:5;-1:-1:-1;;;;;;;;;;;653:39313:0;;-1:-1:-1;;;;;;653:39313:0;;;;;;-1:-1:-1;;;;;;;;;;;653:39313:0;;;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;;3996:40:6;-1:-1:-1;;3996:40:6;2976:222:5:o;30049:210:0:-;-1:-1:-1;;;;;653:39313:0;;30127:19;;30123:42;;653:39313;30221:31;653:39313;;30144:1;653:39313;30175:14;653:39313;;30175:31;653:39313;;30144:1;653:39313;;;;;;;;;;;;;;;;36747:226;;36857:1;-1:-1:-1;36839:48:0;;36897:70;36747:226;:::o;14473:187:1:-;14582:1;14565:13;:18;14561:70;;14641:12;653:39313:0;14473:187:1;:::o;14561:70::-;653:39313:0;;;;;;13041:42:1;14769:22;;:48;;;;;14561:70;14769:73;;;;14561:70;14769:99;;;;14561:70;14769:137;;;;14585:46;;:::o;14769:137::-;13400:42;14884:22;;;14585:46;:::o;14769:99::-;13310:42;14846:22;;;-1:-1:-1;14769:99:1;;:73;13220:42;14821:21;;;-1:-1:-1;14769:73:1;;:48;13131:42;14795:22;;;-1:-1:-1;14769:48:1;;29103:132:0;29187:12;;;:41;29198:1;29103:132;:::o;29187:41::-;29218:2;653:39313;;;;;;;29224:3;1009:6;;29103:132;:::o;12059:1252:20:-;;;12233:1072;;12199:23;;;;5226:5;12233:1072;653:39313:0;;;;;12233:1072:20;;;;;;5226:5;12233:1072;;;;;;;;5226:5;12233:1072;;;;;;;12059:1252;12233:1072;;;12059:1252::o;12233:1072::-;;;;;;;;;;;;5226:5;12233:1072;;12059:1252;12233:1072;;-1:-1:-1;;;5226:5:20;12233:1072;;;-1:-1:-1;;;;;12233:1072:20;;;;;;;;;12059:1252;;;12233:1072;;;5226:5;;12059:1252;12233:1072;;;5285:4;5226:5;12233:1072;;;;;;;;;;12059:1252::o;12233:1072::-;5285:4;12233:1072;;;;;;;;;;;;;;;;;;;;;5226:5;12233:1072;;;;;12059:1252;;;12233:1072;;12199:23;;;;12233:1072;;653:39313:0;;;;;12233:1072:20;;;;;;;;;;;;;;5285:4;12233:1072;;;;;;;;;;;12059:1252::o;31191:158:0:-;;31297:6;31335;31191:158;31297:6;:::i;31546:142::-;653:39313;31626:55;;31546:142::o;31626:55::-;31659:22;;;31649:1;31659:22;;31649:1;31659:22;653:39313;;;;;;;:::i;:::-;-1:-1:-1;653:39313:0;;;;;;;;;;;;;;;;;;;;;;:::o;31694:596::-;;;;;653:39313;;:::i;:::-;-1:-1:-1;;;;;;653:39313:0;;31896:20;;:44;;;;31694:596;31892:67;;-1:-1:-1;;;;;653:39313:0;;-1:-1:-1;31973:16:0;31969:39;;32022:30;32023:29;;;:::i;32022:30::-;32018:63;;32097:186;;653:39313;32097:186;;653:39313;32097:186;653:39313;;:::i;:::-;-1:-1:-1;;;;;653:39313:0;;;;;;32097:186;-1:-1:-1;;;;;653:39313:0;32097:186;;;653:39313;;32097:186;653:39313;;32097:186;;;653:39313;;32097:186;653:39313;;32097:186;;;653:39313;;32097:186;-1:-1:-1;;;;;653:39313:0;32097:186;;;653:39313;;31969:39;31998:10;;;31914:1;31998:10;;31914:1;31998:10;31896:44;-1:-1:-1;;;;;;653:39313:0;;31920:20;31896:44;;33226:312;;33510:20;33226:312;653:39313;;33399:15;;;653:39313;;;;;;;;;;;;;;;;33399:15;653:39313;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33399:15;;;;;;:::i;:::-;653:39313;33389:26;;33453:6;;;;:::i;:::-;33510:20;:::i;653:39313::-;;;;;;:::i;:::-;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;653:39313:0;;;;;;;;:::i;:::-;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;;;;;;;;;:::o;36380:361::-;;36606:69;;36380:361;653:39313;;:::i;:::-;-1:-1:-1;36560:17:0;653:39313;-1:-1:-1;;;;;653:39313:0;36579:7;;653:39313;36579:7;:::i;:::-;653:39313;;-1:-1:-1;;;36606:69:0;;36560:17;36606:69;;653:39313;;;;;;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;;36606:69;;;;;;;;;;-1:-1:-1;36606:69:0;;;36380:361;-1:-1:-1;653:39313:0;;36720:13;;36597:78;;653:39313;;36720:13;;-1:-1:-1;;;;;653:39313:0;;;36606:69;;;;;;;;;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;;;32859:270;;33024:28;32859:270;;33024:28;:::i;:::-;653:39313;33090:31;-1:-1:-1;;;;;653:39313:0;;33090:31;:::i;653:39313::-;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;:::i;35738:636::-;653:39313;;-1:-1:-1;;;35867:28:0;;653:39313;;;;;35867:28;;653:39313;;-1:-1:-1;;;;;653:39313:0;35867:28;;;;;;35924:147;35867:28;-1:-1:-1;35867:28:0;;;35738:636;35975:36;;;;:::i;:::-;36025;;;:::i;:::-;35924:147;;:::i;:::-;36103:31;;:::i;:::-;36166;;:::i;:::-;36211:22;;;;:48;;;;35738:636;36207:161;;35738:636;;;;;:::o;36207:161::-;653:39313;;-1:-1:-1;;;36282:75:0;;-1:-1:-1;;;;;653:39313:0;;;35867:28;36282:75;;653:39313;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17134:80:1;36211:48:0;36237:22;;;;36211:48;;35867:28;;;;653:39313;35867:28;653:39313;35867:28;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;;;;;;;653:39313;;;;;;:::i;35151:347::-;653:39313;;-1:-1:-1;;;;;653:39313:0;;35394:52;;35342:7;;653:39313;35342:7;:::i;:::-;35394:52;653:39313;;;;;;;;;35394:52;;;;;653:39313;35394:52;;;;;;;-1:-1:-1;;;;;35394:52:0;;;35151:347;35360:86;;35484:6;35360:86;;35484:6;:::i;35394:52::-;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;653:39313;;;;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;:::i;:::-;-1:-1:-1;653:39313:0;;;;;:::i;:::-;;;;:::i;:::-;35394:52;;;;;;;;;-1:-1:-1;35394:52:0;;7082:141:17;653:39313:0;-1:-1:-1;;;;;;;;;;;653:39313:0;;;;7148:18:17;7144:73;;7082:141::o;7144:73::-;7189:17;;;-1:-1:-1;7189:17:17;;-1:-1:-1;7189:17:17;653:39313:0;;;;;;;;;;;:::o;:::-;;;;;;;;;:::o;15898:266:1:-;16021:35;653:39313:0;15898:266:1;16021:35;:::i;:::-;653:39313:0;16083:2:1;16070:15;;16066:34;;16083:2;653:39313:0;;;;;;;16127:29:1;653:39313:0;;16127:29:1;:::i;:::-;16117:40;1082:6:0;;;;;;;;;;;;;;15898:266:1;:::o;16066:34::-;16087:13;;:::o;17699:508::-;;17950:41;17934:102;17699:508;;;;17950:41;;:::i;:::-;17993:31;;:::i;:::-;17934:102;;:::i;:::-;18050:38;;;;18046:155;;17699:508;;;;:::o;18046:155::-;653:39313:0;;-1:-1:-1;;;18111:79:1;;-1:-1:-1;;;;;653:39313:0;;;18111:79:1;;;653:39313:0;;;;;;;;;;;;;;;;;;;;;;17134:80:1;11292:219;-1:-1:-1;;;;;653:39313:0;;11382:19:1;;11378:36;;653:39313:0;;11431:15:1;653:39313:0;;;;;;;;11431:73:1;;;;11424:80;11292:219;:::o;11431:73::-;11279:6;11458:40;;;11457:47;11292:219;:::o;11378:36::-;11403:11;;11410:4;11403:11;:::o;32605:151:0:-;32688:29;;;:::i;:::-;32687:30;32683:66;;32605:151;:::o;32683:66::-;32726:23;;;-1:-1:-1;32726:23:0;;653:39313;;-1:-1:-1;32726:23:0;653:39313;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;:::i;33544:900::-;;-1:-1:-1;;;;;653:39313:0;33723:25;33719:60;;33793:11;653:39313;-1:-1:-1;;;;;653:39313:0;33793:25;;33789:48;;33867:42;;;;:34;;-1:-1:-1;;;;;653:39313:0;33867:25;653:39313;33867:34;653:39313;;;;;;;;;;33867:42;;;;;653:39313;;;;;;;;33867:42;;;;;;;;;;33747:1;33867:42;;;33544:900;-1:-1:-1;653:39313:0;;34080:47;;33937:43;;-1:-1:-1;;;;;653:39313:0;33937:43;:::i;:::-;34037:13;;;653:39313;;34037:13;;;;34008:43;;-1:-1:-1;;;;;653:39313:0;33937:43;:::i;34080:47::-;34159:31;;;:::i;:::-;34222;;:::i;:::-;34267:22;;;;:48;;;;33544:900;34263:175;;33544:900;;;;;:::o;34263:175::-;653:39313;34338:89;;653:39313;;;;-1:-1:-1;;;;;653:39313:0;;;-1:-1:-1;;;;;653:39313:0;;;;;;-1:-1:-1;;;34338:89:0;;-1:-1:-1;;;;;653:39313:0;;;33867:42;34338:89;;653:39313;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34267:48;34293:22;;;;34267:48;;33867:42;;;;;;;;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;;;;33789:48;33827:10;;;33747:1;33827:10;;33747:1;33827:10;33719:60;33757:22;;;33747:1;33757:22;;33747:1;33757:22;34908:237;653:39313;;-1:-1:-1;;;35015:29:0;;;;;653:39313;;;;34908:237;653:39313;;35015:29;653:39313;-1:-1:-1;;;;;653:39313:0;;35015:29;;;;;;;-1:-1:-1;35015:29:0;;;34908:237;-1:-1:-1;35081:4:0;-1:-1:-1;;;;;653:39313:0;;35058:28;35054:84;;34908:237;;;:::o;35054:84::-;-1:-1:-1;;;;35095:43:0;;;-1:-1:-1;;;;;653:39313:0;;;35015:29;653:39313;;;;;;;;;;;;;;35095:43;35015:29;;;;;653:39313;35015:29;653:39313;35015:29;;;;;;;:::i;:::-;;;;;15556:336:1;-1:-1:-1;;;;;653:39313:0;;;;;;15668:19:1;653:39313:0;;;;;;;;15556:336:1;;653:39313:0;;;15704:38:1;;15766:32;;;;:::i;:::-;653:39313:0;;;15808:28:1;;15853:32;;;;653:39313:0;15853:32:1;;653:39313:0;;;15853:32:1;15808:28;15824:12;-1:-1:-1;15824:12:1:o;15704:38::-;15725:17;-1:-1:-1;;15725:17:1:o;34450:452:0:-;653:39313;34733:24;34450:452;34627:79;34784:24;34450:452;653:39313;;;;;;34627:79;;:::i;:::-;653:39313;;34733:24;:::i;:::-;653:39313;;34784:24;:::i;:::-;1082:6;;34854:4;1082:6;;34854:4;1082:6;;;;;-1:-1:-1;;;;;1082:6:0;;;;;;34825:70;1082:6;;;34825:70;;:::i;2264:344:15:-;;1748:29;;:34;1744:119;;-1:-1:-1;;;;;;;;;;;653:39313:0;;-1:-1:-1;;;;;;653:39313:0;-1:-1:-1;;;;;653:39313:0;;;;;;;;2407:36:15;-1:-1:-1;;2407:36:15;653:39313:0;;2458:15:15;:11;;2489:53;;;:::i;2454:148::-;6185:9;;;6181:70;;2264:344::o;6181:70::-;6221:19;;;1781:1;6221:19;;1781:1;6221:19;1744:119;-1:-1:-1;;;;1781:1:15;1805:47;;;-1:-1:-1;;;;;653:39313:0;;;;1805:47:15;653:39313:0;;;1805:47:15;11517:171:1;653:39313:0;11608:21:1;653:39313:0;;11607:22:1;11603:39;;653:39313:0;;11659:13:1;653:39313:0;;;;;;;;11517:171:1;:::o;11603:39::-;11631:11;11638:4;11631:11;:::o;15223:327::-;15334:1;15317:13;:18;15313:213;;15535:8;653:39313:0;15223:327:1;:::o;15313:213::-;-1:-1:-1;;;;;653:39313:0;13041:42:1;15355:22;;:48;;;;15313:213;15355:74;;;;15313:213;15351:88;;13220:42;15457:21;;:47;;;;;15313:213;15453:62;;;653:39313:0;15223:327:1;:::o;15453:62::-;15513:2;15506:9;:::o;15457:47::-;13310:42;15482:22;;;15457:47;;;15351:88;15431:8;15438:1;15431:8;:::o;15355:74::-;15407:22;13400:42;15407:22;;15355:74;;:48;15381:22;13131:42;15381:22;;15355:48;;4691:549:23;;-1:-1:-1;4691:549:23;;3526:129:25;;;;;;;;;;4874:72:23;;4691:549;4870:364;;;4969:25;;;;:::i;4870:364::-;5011:223;;;-1:-1:-1;;;;5045:24:23;;;-1:-1:-1;;;;;653:39313:0;;;;5045:24:23;653:39313:0;;;5045:24:23;5011:223;4578:73:25;5090:33:23;;5086:148;4578:73:25;5139:12:23;4578:73:25;5204:19:23;;;-1:-1:-1;5204:19:23;;-1:-1:-1;5204:19:23;4874:72;-1:-1:-1;4578:73:25;4886:33:23;;;4874:72;4886:59;4923:18;;;:22;;4874:72;;4740:334:25;4816:252;;;;;;;;;;;;;;;;;;;4740:334::o","linkReferences":{},"cborAuxdata":{"1":{"value":"0xa164736f6c6343000823000a","offset":23907}},"immutableReferences":{"7099":[{"start":5745,"length":32},{"start":15452,"length":32}]},"transformations":[{"id":"7099","type":"replace","offset":5745,"reason":"immutable"},{"id":"7099","type":"replace","offset":15452,"reason":"immutable"}],"transformationValues":{"immutables":{"7099":"0x0000000000000000000000004a6be3014231a6c687727f8cb16eded8d163d0d1"}}},"deployment":{"transactionHash":"0x76a980b704687c8e5f783b65a96366112ced7725485c87e11cdbf5e68222113d","blockNumber":"26096632","transactionIndex":"283","deployer":"0x4f4618beA7Bd94Df7866fAeb594E72176E7C0467"},"sources":{"ALMCoreUpgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity =0.8.35;\n\nimport \"./ALMShared.sol\";\nimport {IMetaAggregationRouterV2} from \"./interfaces/IMetaAggregationRouterV2.sol\";\nimport {Ownable2StepUpgradeable} from \"@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable.sol\";\nimport {PausableUpgradeable} from \"@openzeppelin/contracts-upgradeable/utils/PausableUpgradeable.sol\";\nimport {UUPSUpgradeable} from \"@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.sol\";\nimport {ERC1967Utils} from \"@openzeppelin/contracts/proxy/ERC1967/ERC1967Utils.sol\";\nimport {ReentrancyGuard} from \"@openzeppelin/contracts/utils/ReentrancyGuard.sol\";\n\ncontract ALMCoreUpgradeable is\n    ALMGuards,\n    Ownable2StepUpgradeable,\n    PausableUpgradeable,\n    ReentrancyGuard,\n    UUPSUpgradeable,\n    IERC721Receiver\n{\n    using SafeERC20 for IERC20;\n\n    uint256 private constant MIN_DEADLINE_SEC = 30;\n    uint256 private constant MAX_DEADLINE_SEC = 3600;\n    uint256 private constant MAX_SLIPPAGE_BPS_X100 = 10_000; // 100 bps\n    uint256 private constant MAX_SWAP_LOSS_BPS_X100 = 10_000; // 100 bps\n    uint32 private constant MIN_TWAP_WINDOW_SEC = 30;\n    uint32 private constant MAX_TWAP_WINDOW_SEC = 3600;\n    int24 private constant MAX_TWAP_TICK_DIFF = 5000;\n    uint256 private constant MIN_V4_STABLE_PRICE_MIN_X18 = 990_000_000_000_000_000; // 0.9900\n    uint256 private constant MAX_V4_STABLE_PRICE_MAX_X18 = 1_010_000_000_000_000_000; // 1.0100\n    uint256 private constant MAX_EXECUTOR_LOSS_CAP_BPS_X100 = 10_000; // 100 bps\n    bytes32 private constant CORE_BUILD_SALT = keccak256(\"ALMv2eth-forced-fresh-bytecode-20260930-poolallowlist-01-core\");\n\n    struct CoreConfig {\n        address baseToken;\n        address v3Factory;\n        address nfpm;\n        address router;\n        address quoterV2;\n        address v4PositionManager;\n        address v4StateView;\n        address permit2;\n        uint256 defaultDeadlineSec;\n        uint256 slippageBpsMax;\n        uint256 swapLossBpsMax;\n        uint256 slippageBpsMaxX100;\n        uint256 swapLossBpsMaxX100;\n        uint32 twapWindowSec;\n        int24 twapMaxTickDiff;\n    }\n\n    struct ModuleRefs {\n        address v3Module;\n        address v4Module;\n    }\n\n    struct KyberConfig {\n        address router;\n    }\n\n    struct ExecutorCreateV3ExactParams {\n        address token0;\n        address token1;\n        uint24 fee;\n        int24 tickLower;\n        int24 tickUpper;\n        uint256 amount0Desired;\n        uint256 amount1Desired;\n        uint256 amount0Min;\n        uint256 amount1Min;\n    }\n\n    struct ExecutorCreateV4Params {\n        address token0;\n        address token1;\n        uint24 fee;\n        int24 tickSpacing;\n        int24 tickLower;\n        int24 tickUpper;\n        address hooks;\n        bytes hookData;\n        uint128 amount0Min;\n        uint128 amount1Min;\n        uint160 expectedSqrtPriceX96;\n        uint256 maxSqrtPriceDeviationBpsX100;\n    }\n\n    struct ExecutorCreateV4ExactParams {\n        address token0;\n        address token1;\n        uint24 fee;\n        int24 tickSpacing;\n        int24 tickLower;\n        int24 tickUpper;\n        address hooks;\n        bytes hookData;\n        uint128 liquidity;\n        uint128 amount0Max;\n        uint128 amount1Max;\n        uint160 expectedSqrtPriceX96;\n        uint256 maxSqrtPriceDeviationBpsX100;\n    }\n\n    event ExecutorSet(address indexed executor, bool enabled);\n    event Withdraw(address indexed token, uint256 amount);\n    event WithdrawNFT(address indexed nft, uint256 id);\n    event WithdrawNative(uint256 amount);\n    event ModulesSet(address indexed v3Module, address indexed v4Module);\n    event SwapModuleSet(address indexed swapModule);\n    event V4HookAllowedSet(address indexed hook, bool allowed);\n    event PoolAllowedSet(bytes32 indexed poolKey, bool allowed);\n    event PoolAllowlistEnforcedSet(bool enforced);\n    event KyberRouterSet(address indexed router);\n    event KyberSwapExecuted(address indexed router, uint256 value, bytes routeData);\n    event FlyRouterSet(address indexed router);\n    event VeloraRouterSet(address indexed router);\n    event Permit2ApprovalRevoked(address indexed token, address indexed spender);\n    event TokenAllowedSet(address indexed token, bool allowed);\n    event TokenBlockedSet(address indexed token, bool blocked);\n    event StableTokenDecimalsSet(address indexed token, uint8 decimals_);\n    event V4StablePriceBoundsSet(uint256 minPriceX18, uint256 maxPriceX18);\n    event ExecutorLossBudgetSet(bool enabled, uint256 riskCapitalNormalized, uint256 capBpsX100);\n    event UpgradesFrozen();\n\n    modifier onlyExecutorOrOwner() {\n        if (!(isExecutor[msg.sender] || msg.sender == owner())) revert NotExecutorOrOwner();\n        _;\n    }\n\n    modifier whenUpgradesAllowed() {\n        if (upgradeabilityFrozen) revert UpgradesFrozenErr();\n        _;\n    }\n\n    constructor() {\n        _disableInitializers();\n    }\n\n    function initialize(\n        address owner_,\n        CoreConfig calldata config,\n        ModuleRefs calldata modules,\n        KyberConfig calldata kyber\n    ) external initializer {\n        if (owner_ == address(0)) revert ZeroAddr();\n\n        __Ownable_init(owner_);\n        __Ownable2Step_init();\n        __Pausable_init();\n\n        _applyConfig(config);\n        _setModules(modules.v3Module, modules.v4Module);\n        if (kyber.router != address(0)) {\n            _setKyberRouter(kyber.router);\n        }\n    }\n\n    function _authorizeUpgrade(address) internal override onlyOwner whenUpgradesAllowed {}\n\n    function implementation() public view returns (address) {\n        return ERC1967Utils.getImplementation();\n    }\n\n    function contractBuildSalt() external pure returns (bytes32) {\n        return CORE_BUILD_SALT;\n    }\n\n    function upgradeTo(address newImplementation) external onlyProxy {\n        upgradeToAndCall(newImplementation, bytes(\"\"));\n    }\n\n    function upgradeToAndCall(address newImplementation, bytes memory data)\n        public\n        payable\n        override\n        whenUpgradesAllowed\n    {\n        super.upgradeToAndCall(newImplementation, data);\n    }\n\n    function freezeUpgrades() external onlyProxy onlyOwner whenUpgradesAllowed {\n        upgradeabilityFrozen = true;\n        emit UpgradesFrozen();\n    }\n\n    function pause() external onlyExecutorOrOwner {\n        _pause();\n    }\n\n    function unpause() external onlyOwner {\n        _unpause();\n    }\n\n    function renounceOwnership() public pure override {\n        revert RenounceOwnershipDisabled();\n    }\n\n    function _applyConfig(CoreConfig calldata config) internal {\n        if (config.baseToken != address(0)) baseToken = config.baseToken;\n        if (config.v3Factory != address(0)) v3Factory = config.v3Factory;\n        if (config.nfpm != address(0)) nfpm = config.nfpm;\n        if (config.router != address(0)) router = config.router;\n        if (config.quoterV2 != address(0)) quoterV2 = config.quoterV2;\n        if (config.v4PositionManager != address(0)) v4PositionManager = config.v4PositionManager;\n        if (config.v4StateView != address(0)) v4StateView = config.v4StateView;\n        if (config.permit2 != address(0)) permit2 = config.permit2;\n\n        defaultDeadlineSec = config.defaultDeadlineSec == 0 ? 600 : config.defaultDeadlineSec;\n        uint256 legacySlippageBps = config.slippageBpsMax == 0 ? 3 : config.slippageBpsMax;\n        uint256 legacySwapLossBps = config.swapLossBpsMax == 0 ? 4 : config.swapLossBpsMax;\n        slippageBpsMaxX100 = config.slippageBpsMaxX100 == 0 ? legacySlippageBps * 100 : config.slippageBpsMaxX100;\n        swapLossBpsMaxX100 = config.swapLossBpsMaxX100 == 0 ? legacySwapLossBps * 100 : config.swapLossBpsMaxX100;\n        slippageBpsMax = _ceilBps(slippageBpsMaxX100);\n        swapLossBpsMax = _ceilBps(swapLossBpsMaxX100);\n        fineBpsParamsEnabled = true;\n        twapWindowSec = config.twapWindowSec == 0 ? 120 : config.twapWindowSec;\n        twapMaxTickDiff = config.twapMaxTickDiff == 0 ? int24(120) : config.twapMaxTickDiff;\n        _validateRiskParams(\n            defaultDeadlineSec,\n            slippageBpsMaxX100,\n            swapLossBpsMaxX100,\n            twapWindowSec,\n            twapMaxTickDiff\n        );\n    }\n\n    function setExecutor(address executor, bool enabled) external onlyOwner {\n        isExecutor[executor] = enabled;\n        emit ExecutorSet(executor, enabled);\n    }\n\n    function setAllowedToken(address token, bool allowed) external onlyOwner {\n        _setAllowedToken(token, allowed);\n    }\n\n    function setAllowedTokens(address[] calldata tokens, bool allowed) external onlyOwner {\n        for (uint256 i = 0; i < tokens.length; i++) {\n            _setAllowedToken(tokens[i], allowed);\n        }\n    }\n\n    function setStableTokenDecimals(address token, uint8 decimals_) external onlyOwner {\n        _setStableTokenDecimals(token, decimals_);\n    }\n\n    function setStableTokenDecimalsBatch(address[] calldata tokens, uint8[] calldata decimals_) external onlyOwner {\n        if (tokens.length != decimals_.length) revert LengthMismatch();\n        for (uint256 i = 0; i < tokens.length; i++) {\n            _setStableTokenDecimals(tokens[i], decimals_[i]);\n        }\n    }\n\n    function setV4StablePriceBounds(uint256 minPriceX18, uint256 maxPriceX18) external onlyOwner {\n        if (minPriceX18 == 0 && maxPriceX18 == 0) {\n            v4StablePriceMinX18 = 0;\n            v4StablePriceMaxX18 = 0;\n            emit V4StablePriceBoundsSet(DEFAULT_V4_STABLE_PRICE_MIN_X18, DEFAULT_V4_STABLE_PRICE_MAX_X18);\n            return;\n        }\n\n        if (\n            minPriceX18 < MIN_V4_STABLE_PRICE_MIN_X18 ||\n            maxPriceX18 > MAX_V4_STABLE_PRICE_MAX_X18 ||\n            minPriceX18 > PRICE_X18 ||\n            maxPriceX18 < PRICE_X18 ||\n            minPriceX18 >= maxPriceX18\n        ) revert RiskParamOutOfRange();\n\n        v4StablePriceMinX18 = minPriceX18;\n        v4StablePriceMaxX18 = maxPriceX18;\n        emit V4StablePriceBoundsSet(minPriceX18, maxPriceX18);\n    }\n\n    function v4StablePriceBounds() external view returns (uint256 minPriceX18, uint256 maxPriceX18) {\n        return (_effectiveV4StablePriceMinX18(), _effectiveV4StablePriceMaxX18());\n    }\n\n    function setExecutorLossBudget(\n        bool enabled,\n        uint256 riskCapitalNormalized,\n        uint256 capBpsX100\n    ) external onlyOwner {\n        if (capBpsX100 > MAX_EXECUTOR_LOSS_CAP_BPS_X100) revert RiskParamOutOfRange();\n        if (enabled && (riskCapitalNormalized == 0 || capBpsX100 == 0)) revert RiskParamOutOfRange();\n\n        executorLossBudgetEnabled = enabled;\n        executorRiskCapitalNormalized = riskCapitalNormalized;\n        executorLossCapBpsX100 = capBpsX100;\n        emit ExecutorLossBudgetSet(enabled, riskCapitalNormalized, capBpsX100);\n    }\n\n    function resetExecutorLossBudgetBuckets() external onlyOwner {\n        for (uint256 i = 0; i < EXECUTOR_LOSS_WINDOW_HOURS; i++) {\n            executorLossBucketHours[i] = 0;\n            executorLossBucketAmounts[i] = 0;\n        }\n    }\n\n    function executorLossBudgetState()\n        external\n        view\n        returns (\n            bool enabled,\n            uint256 riskCapitalNormalized,\n            uint256 capBpsX100,\n            uint256 used24h,\n            uint256 cap24h,\n            uint256 remaining24h\n        )\n    {\n        enabled = executorLossBudgetEnabled;\n        riskCapitalNormalized = executorRiskCapitalNormalized;\n        capBpsX100 = executorLossCapBpsX100;\n        used24h = executorLossUsed24h();\n        cap24h = executorLossCap24h();\n        remaining24h = used24h >= cap24h ? 0 : cap24h - used24h;\n    }\n\n    function setBlockedToken(address token, bool blocked) external onlyOwner {\n        _setBlockedToken(token, blocked);\n    }\n\n    function setBlockedTokens(address[] calldata tokens, bool blocked) external onlyOwner {\n        for (uint256 i = 0; i < tokens.length; i++) {\n            _setBlockedToken(tokens[i], blocked);\n        }\n    }\n\n    function setAddresses(\n        address baseToken_,\n        address v3Factory_,\n        address nfpm_,\n        address router_,\n        address quoter_,\n        address v4PositionManager_\n    ) external onlyOwner {\n        if (baseToken_ != address(0)) baseToken = baseToken_;\n        if (v3Factory_ != address(0)) v3Factory = v3Factory_;\n        if (nfpm_ != address(0)) nfpm = nfpm_;\n        if (router_ != address(0)) router = router_;\n        if (quoter_ != address(0)) quoterV2 = quoter_;\n        if (v4PositionManager_ != address(0)) v4PositionManager = v4PositionManager_;\n    }\n\n    function setV4StateView(address stateView) external onlyOwner {\n        v4StateView = stateView;\n    }\n\n    function setPermit2(address permit2_) external onlyOwner {\n        permit2 = permit2_;\n    }\n\n    function setKyberRouter(address router_) external onlyOwner {\n        _setKyberRouter(router_);\n    }\n\n    function setFlyRouter(address router_) external onlyOwner {\n        _setFlyRouter(router_);\n    }\n\n    function setVeloraRouter(address router_) external onlyOwner {\n        _setVeloraRouter(router_);\n    }\n\n    /// @dev Upgrades set it atomically: `upgradeToAndCall(newImpl, abi.encodeCall(setSwapModule, (m)))`.\n    function setSwapModule(address swapModule_) external onlyOwner {\n        if (swapModule_ == address(0)) revert ZeroAddr();\n        _requireModuleInterface(swapModule_, type(IALMSwapModule).interfaceId);\n        swapModule = swapModule_;\n        emit SwapModuleSet(swapModule_);\n    }\n\n    /// @notice Allow (or stop allowing) NEW V4 positions in pools using `hook`. De-listing never traps\n    /// capital: exits (decrease/collect/burn) are not gated by this list.\n    /// @dev Enabling refuses a hook whose address carries remove-liquidity or *_RETURNS_DELTA bits.\n    function setV4HookAllowed(address hook, bool allowed) external onlyOwner {\n        if (hook == address(0)) revert ZeroAddr();\n        if (allowed && (uint160(hook) & V4_HOOK_FORBIDDEN_FLAGS) != 0) revert V4HooksUnsupported();\n        isV4HookAllowed[hook] = allowed;\n        emit V4HookAllowedSet(hook, allowed);\n    }\n\n    /// @notice Allow (or stop allowing) NEW executor positions in a pool. Key: V4 poolId, or the V3\n    /// pool address left-padded to bytes32. De-listing never traps capital: exits are not gated.\n    function setPoolAllowed(bytes32 poolKey, bool allowed) external onlyOwner {\n        _setPoolAllowed(poolKey, allowed);\n    }\n\n    function setPoolsAllowed(bytes32[] calldata poolKeys, bool allowed) external onlyOwner {\n        for (uint256 i = 0; i < poolKeys.length; i++) {\n            _setPoolAllowed(poolKeys[i], allowed);\n        }\n    }\n\n    /// @dev Enforced with an empty list denies every executor entry (owner entries stay exempt).\n    function setPoolAllowlistEnforced(bool enforced) external onlyOwner {\n        _setPoolAllowlistEnforced(enforced);\n    }\n\n    /// @notice Seed the allowlist and set the enforcement flag in ONE call, so a redeploy never\n    /// leaves the flag on over an empty list.\n    function setPoolAllowlist(bytes32[] calldata poolKeys, bool enforced) external onlyOwner {\n        for (uint256 i = 0; i < poolKeys.length; i++) {\n            _setPoolAllowed(poolKeys[i], true);\n        }\n        _setPoolAllowlistEnforced(enforced);\n    }\n\n    function setParams(\n        uint256 defaultDeadlineSec_,\n        uint256 slippageBpsMax_,\n        uint256 swapLossBpsMax_,\n        uint32 twapWindowSec_,\n        int24 twapMaxTickDiff_\n    ) external onlyOwner {\n        if (\n            slippageBpsMax_ > MAX_SLIPPAGE_BPS_X100 / 100 ||\n            swapLossBpsMax_ > MAX_SWAP_LOSS_BPS_X100 / 100\n        ) revert RiskParamOutOfRange();\n        _validateRiskParams(\n            defaultDeadlineSec_,\n            slippageBpsMax_ * 100,\n            swapLossBpsMax_ * 100,\n            twapWindowSec_,\n            twapMaxTickDiff_\n        );\n        defaultDeadlineSec = defaultDeadlineSec_;\n        slippageBpsMax = slippageBpsMax_;\n        swapLossBpsMax = swapLossBpsMax_;\n        slippageBpsMaxX100 = slippageBpsMax_ * 100;\n        swapLossBpsMaxX100 = swapLossBpsMax_ * 100;\n        fineBpsParamsEnabled = true;\n        twapWindowSec = twapWindowSec_;\n        twapMaxTickDiff = twapMaxTickDiff_;\n    }\n\n    function setParamsBpsX100(\n        uint256 defaultDeadlineSec_,\n        uint256 slippageBpsMaxX100_,\n        uint256 swapLossBpsMaxX100_,\n        uint32 twapWindowSec_,\n        int24 twapMaxTickDiff_\n    ) external onlyOwner {\n        _validateRiskParams(\n            defaultDeadlineSec_,\n            slippageBpsMaxX100_,\n            swapLossBpsMaxX100_,\n            twapWindowSec_,\n            twapMaxTickDiff_\n        );\n        defaultDeadlineSec = defaultDeadlineSec_;\n        slippageBpsMaxX100 = slippageBpsMaxX100_;\n        swapLossBpsMaxX100 = swapLossBpsMaxX100_;\n        slippageBpsMax = _ceilBps(slippageBpsMaxX100_);\n        swapLossBpsMax = _ceilBps(swapLossBpsMaxX100_);\n        fineBpsParamsEnabled = true;\n        twapWindowSec = twapWindowSec_;\n        twapMaxTickDiff = twapMaxTickDiff_;\n    }\n\n    function setModules(address v3Module_, address v4Module_) external onlyOwner {\n        _setModules(v3Module_, v4Module_);\n    }\n\n    function withdrawTokens(address token, uint256 amount) external onlyOwner nonReentrant {\n        if (token == address(0)) revert ZeroAddr();\n        if (amount == 0) revert AmountZero();\n        IERC20(token).safeTransfer(owner(), amount);\n        emit Withdraw(token, amount);\n    }\n\n    function withdrawNFT(address nft, uint256 id) external onlyOwner nonReentrant {\n        if (nft == address(0)) revert ZeroAddr();\n        IERC721(nft).transferFrom(address(this), owner(), id);\n        emit WithdrawNFT(nft, id);\n    }\n\n    function withdrawNative(uint256 amount) external onlyOwner nonReentrant {\n        if (amount == 0) revert AmountZero();\n        (bool ok,) = payable(owner()).call{value: amount}(\"\");\n        if (!ok) revert NativeSendFailErr();\n        emit WithdrawNative(amount);\n    }\n\n    function execV3(bytes calldata data)\n        external\n        payable\n        onlyExecutorOrOwner\n        nonReentrant\n        whenNotPaused\n        returns (bytes memory ret)\n    {\n        _requireExecutorAllowedV3(data);\n        if (v3Module == address(0)) revert ExternalCallFailed();\n        (bool ok, bytes memory result) = v3Module.delegatecall(data);\n        if (!ok) {\n            assembly {\n                revert(add(result, 32), mload(result))\n            }\n        }\n        return result;\n    }\n\n    function execV4(bytes calldata data)\n        external\n        payable\n        onlyExecutorOrOwner\n        nonReentrant\n        whenNotPaused\n        returns (bytes memory ret)\n    {\n        _requireExecutorAllowedV4(data);\n        if (v4Module == address(0)) revert ExternalCallFailed();\n        (bool ok, bytes memory result) = v4Module.delegatecall(data);\n        if (!ok) {\n            assembly {\n                revert(add(result, 32), mload(result))\n            }\n        }\n        return result;\n    }\n\n    /// @notice Velora / Fly guarded swaps, delegatecalled into `swapModule`.\n    /// @dev Only the two `IALMSwapModule` swap selectors pass, for EVERY caller (owner included).\n    /// The module's revert data is bubbled RAW: offchain error decoding and the Velora\n    /// `EnforcedPause` attribution read it byte-for-byte. `whenNotPaused` stays on this entry.\n    function execSwap(bytes calldata data)\n        external\n        onlyExecutorOrOwner\n        nonReentrant\n        whenNotPaused\n        returns (bytes memory ret)\n    {\n        bytes4 selector = _selectorOf(data);\n        if (\n            selector != IALMSwapModule.swapViaFlyGuarded.selector\n                && selector != IALMSwapModule.swapViaVeloraGuarded.selector\n        ) revert ExecutorSelectorNotAllowed(selector);\n        address module = swapModule;\n        if (module == address(0)) revert SwapModuleNA();\n        (bool ok, bytes memory result) = module.delegatecall(data);\n        if (!ok) {\n            assembly {\n                revert(add(result, 32), mload(result))\n            }\n        }\n        return result;\n    }\n\n    function revokePermit2ForV4(address[] calldata tokens) external onlyOwner {\n        if (permit2 == address(0)) revert Permit2NA();\n\n        for (uint256 i = 0; i < tokens.length; i++) {\n            IERC20(tokens[i]).forceApprove(permit2, 0);\n            IAllowanceTransfer(permit2).approve(tokens[i], v4PositionManager, 0, 1);\n            emit Permit2ApprovalRevoked(tokens[i], v4PositionManager);\n        }\n    }\n\n    function swapViaKyberGuarded(\n        bytes calldata routeData,\n        Spend[] calldata spends,\n        uint256 value,\n        address tokenOut,\n        uint256 minAmountOut\n    ) external onlyExecutorOrOwner nonReentrant whenNotPaused {\n        (IMetaAggregationRouterV2.SwapDescriptionV2 memory desc, address approveTarget) =\n            _decodeKyberSwapDescription(routeData);\n\n        if (msg.sender != owner()) {\n            _requireAllowedToken(desc.srcToken);\n            _requireAllowedToken(desc.dstToken);\n            _requireAllowedToken(tokenOut);\n        }\n\n        if (desc.dstReceiver != address(this)) revert KyberRecipientMismatch();\n        if (desc.dstToken != tokenOut) revert KyberTokenMismatch();\n        if (desc.srcToken == desc.dstToken) revert KyberTokenMismatch();\n        if (approveTarget != address(0) && approveTarget != kyberRouter) revert KyberApproveTargetMismatch();\n        if (desc.minReturnAmount < minAmountOut) revert KyberMinOutNotMet();\n\n        if (spends.length > 1) revert LengthMismatch();\n        if (spends.length == 1) {\n            if (value != 0) revert KyberAmountMismatch();\n            if (desc.srcToken != spends[0].token || desc.amount != spends[0].amount) revert KyberAmountMismatch();\n            if (msg.sender != owner()) _requireAllowedToken(spends[0].token);\n        } else {\n            if (value == 0) revert AmountZero();\n            if (desc.srcToken != KYBER_NATIVE_TOKEN || desc.amount != value) revert KyberAmountMismatch();\n        }\n        uint256 effectiveMinOut = desc.minReturnAmount > minAmountOut ? desc.minReturnAmount : minAmountOut;\n        if (msg.sender != owner()) {\n            _requireKyberStableMinOut(desc.srcToken, tokenOut, desc.amount, effectiveMinOut);\n            _requireExecutorLossBudgetHeadroom(desc.srcToken, tokenOut, desc.amount, effectiveMinOut);\n        }\n\n        uint256 balanceBefore = _kyberBalanceOf(tokenOut);\n        _swapViaKyberInternal(routeData, spends, value);\n        uint256 balanceAfter = _kyberBalanceOf(tokenOut);\n        if (balanceAfter < balanceBefore) revert KyberMinOutNotMet();\n        uint256 actualOut = balanceAfter - balanceBefore;\n        if (actualOut < effectiveMinOut) revert KyberMinOutNotMet();\n        if (msg.sender != owner()) {\n            _requireKyberStableOutNotTooHigh(desc.srcToken, tokenOut, desc.amount, actualOut);\n            _consumeExecutorLossBudgetRealized(desc.srcToken, tokenOut, desc.amount, actualOut);\n        }\n    }\n\n    function _swapViaKyberInternal(bytes calldata routeData, Spend[] calldata spends, uint256 value) internal {\n        address router_ = kyberRouter;\n        if (router_ == address(0)) revert KyberRouterNA();\n        if (spends.length == 0 && value == 0) revert AmountZero();\n\n        for (uint256 i = 0; i < spends.length; i++) {\n            IERC20(spends[i].token).forceApprove(router_, spends[i].amount);\n        }\n\n        (bool ok, bytes memory reason) = router_.call{value: value}(routeData);\n\n        for (uint256 j = 0; j < spends.length; j++) {\n            IERC20(spends[j].token).forceApprove(router_, 0);\n        }\n\n        if (!ok) {\n            assembly {\n                revert(add(reason, 32), mload(reason))\n            }\n        }\n\n        emit KyberSwapExecuted(router_, value, routeData);\n    }\n\n    function _requireExecutorAllowedV3(bytes calldata data) internal view {\n        if (msg.sender == owner()) return;\n        bytes4 selector = _selectorOf(data);\n        if (selector == bytes4(keccak256(\"createPositionV3Exact((address,address,uint24,int24,int24,uint256,uint256,uint256,uint256))\"))) {\n            ExecutorCreateV3ExactParams memory params =\n                abi.decode(data[4:], (ExecutorCreateV3ExactParams));\n            _requireAllowedPair(params.token0, params.token1);\n            _requireV3StablePriceGuard(\n                _requireExecutorPoolAllowedV3(params.token0, params.token1, params.fee),\n                params.token0,\n                params.token1\n            );\n            return;\n        }\n        if (selector == bytes4(keccak256(\"increaseLiquidityV3(uint256,uint256,uint256,uint256,uint256)\"))) {\n            (uint256 tokenId,,,,) = abi.decode(data[4:], (uint256, uint256, uint256, uint256, uint256));\n            (address token0, address token1, uint24 fee) = _requireAllowedV3PositionTokens(tokenId);\n            _requireV3StablePriceGuard(_requireExecutorPoolAllowedV3(token0, token1, fee), token0, token1);\n            return;\n        }\n        if (selector == bytes4(keccak256(\"decreaseLiquidityV3(uint256,uint128,uint256,uint256)\"))) {\n            (uint256 tokenId,,,) = abi.decode(data[4:], (uint256, uint128, uint256, uint256));\n            _requireAllowedV3PositionTokens(tokenId);\n            return;\n        }\n        if (selector == bytes4(keccak256(\"collectFeesV3(uint256)\")) || selector == bytes4(keccak256(\"burnPositionV3(uint256)\"))) {\n            uint256 tokenId = abi.decode(data[4:], (uint256));\n            _requireAllowedV3PositionTokens(tokenId);\n            return;\n        }\n        revert ExecutorSelectorNotAllowed(selector);\n    }\n\n    function _requireExecutorAllowedV4(bytes calldata data) internal view {\n        if (msg.sender == owner()) return;\n        bytes4 selector = _selectorOf(data);\n        if (\n            selector\n                == bytes4(\n                    keccak256(\"createPositionV4UsingBalances((address,address,uint24,int24,int24,int24,address,bytes,uint128,uint128,uint160,uint256))\")\n                )\n        ) {\n            ExecutorCreateV4Params memory params = abi.decode(data[4:], (ExecutorCreateV4Params));\n            _requireAllowedPair(params.token0, params.token1);\n            _requireEmptyV4HookData(params.hookData);\n            _requireExecutorEntryV4(\n                _v4PoolKey(params.token0, params.token1, params.fee, params.tickSpacing, params.hooks),\n                params.expectedSqrtPriceX96\n            );\n            return;\n        }\n        if (\n            selector\n                == bytes4(\n                    keccak256(\"createPositionV4Exact((address,address,uint24,int24,int24,int24,address,bytes,uint128,uint128,uint128,uint160,uint256))\")\n                )\n        ) {\n            ExecutorCreateV4ExactParams memory params = abi.decode(data[4:], (ExecutorCreateV4ExactParams));\n            _requireAllowedPair(params.token0, params.token1);\n            _requireEmptyV4HookData(params.hookData);\n            _requireExecutorEntryV4(\n                _v4PoolKey(params.token0, params.token1, params.fee, params.tickSpacing, params.hooks),\n                params.expectedSqrtPriceX96\n            );\n            return;\n        }\n        if (selector == bytes4(keccak256(\"increaseLiquidityV4Exact(uint256,uint128,uint128,uint128,bytes,uint160,uint256)\"))) {\n            (uint256 tokenId,,,, bytes memory hookData, uint160 expectedSqrtPriceX96,) =\n                abi.decode(data[4:], (uint256, uint128, uint128, uint128, bytes, uint160, uint256));\n            _requireEmptyV4HookData(hookData);\n            _requireExecutorEntryV4(_requireAllowedV4PositionTokens(tokenId), expectedSqrtPriceX96);\n            return;\n        }\n        if (selector == bytes4(keccak256(\"increaseLiquidityV4(uint256,uint256,uint256,bytes,uint160,uint256)\"))) {\n            (uint256 tokenId,,, bytes memory hookData, uint160 expectedSqrtPriceX96,) =\n                abi.decode(data[4:], (uint256, uint256, uint256, bytes, uint160, uint256));\n            _requireEmptyV4HookData(hookData);\n            _requireExecutorEntryV4(_requireAllowedV4PositionTokens(tokenId), expectedSqrtPriceX96);\n            return;\n        }\n        if (selector == bytes4(keccak256(\"decreaseLiquidityV4(uint256,uint256,uint128,uint128,bytes)\"))) {\n            (uint256 tokenId,,,, bytes memory hookData) =\n                abi.decode(data[4:], (uint256, uint256, uint128, uint128, bytes));\n            _requireEmptyV4HookData(hookData);\n            _requireAllowedV4PositionTokens(tokenId);\n            return;\n        }\n        if (selector == bytes4(keccak256(\"collectFeesV4(uint256)\"))) {\n            uint256 tokenId = abi.decode(data[4:], (uint256));\n            _requireAllowedV4PositionTokens(tokenId);\n            return;\n        }\n        if (selector == bytes4(keccak256(\"burnPositionV4(uint256,uint128,uint128,bytes)\"))) {\n            (uint256 tokenId,,, bytes memory hookData) = abi.decode(data[4:], (uint256, uint128, uint128, bytes));\n            _requireEmptyV4HookData(hookData);\n            _requireAllowedV4PositionTokens(tokenId);\n            return;\n        }\n        revert ExecutorSelectorNotAllowed(selector);\n    }\n\n    function _ceilBps(uint256 bpsX100) internal pure returns (uint256) {\n        return bpsX100 == 0 ? 0 : ((bpsX100 + 99) / 100);\n    }\n\n    function _validateRiskParams(\n        uint256 defaultDeadlineSec_,\n        uint256 slippageBpsMaxX100_,\n        uint256 swapLossBpsMaxX100_,\n        uint32 twapWindowSec_,\n        int24 twapMaxTickDiff_\n    ) internal pure {\n        if (defaultDeadlineSec_ < MIN_DEADLINE_SEC || defaultDeadlineSec_ > MAX_DEADLINE_SEC) {\n            revert RiskParamOutOfRange();\n        }\n        if (slippageBpsMaxX100_ > MAX_SLIPPAGE_BPS_X100) revert RiskParamOutOfRange();\n        if (swapLossBpsMaxX100_ > MAX_SWAP_LOSS_BPS_X100) revert RiskParamOutOfRange();\n        if (twapWindowSec_ < MIN_TWAP_WINDOW_SEC || twapWindowSec_ > MAX_TWAP_WINDOW_SEC) {\n            revert RiskParamOutOfRange();\n        }\n        if (twapMaxTickDiff_ < 0 || twapMaxTickDiff_ > MAX_TWAP_TICK_DIFF) revert RiskParamOutOfRange();\n    }\n\n    function _setAllowedToken(address token, bool allowed) internal {\n        if (token == address(0)) revert ZeroAddr();\n        isTokenAllowed[token] = allowed;\n        emit TokenAllowedSet(token, allowed);\n    }\n\n    function _setPoolAllowed(bytes32 poolKey, bool allowed) internal {\n        if (poolKey == bytes32(0)) revert ZeroPoolKey();\n        isPoolAllowed[poolKey] = allowed;\n        emit PoolAllowedSet(poolKey, allowed);\n    }\n\n    function _setPoolAllowlistEnforced(bool enforced) internal {\n        poolAllowlistEnforced = enforced;\n        emit PoolAllowlistEnforcedSet(enforced);\n    }\n\n    function _setStableTokenDecimals(address token, uint8 decimals_) internal {\n        if (token == address(0)) revert ZeroAddr();\n        if (decimals_ > 18) revert StableTokenDecimalsInvalid(token, decimals_);\n        stableTokenDecimals[token] = decimals_;\n        emit StableTokenDecimalsSet(token, decimals_);\n    }\n\n    function _setBlockedToken(address token, bool blocked) internal {\n        if (token == address(0)) revert ZeroAddr();\n        isTokenBlocked[token] = blocked;\n        emit TokenBlockedSet(token, blocked);\n    }\n\n    function _requireAllowedPair(address token0, address token1) internal view {\n        _requireAllowedToken(token0);\n        _requireAllowedToken(token1);\n    }\n\n    /// @dev Executor hookData is always empty: the offchain runtime sends `0x`, and an allowlisted\n    /// hook (upgradeable by its own governance) must never receive executor-chosen bytes.\n    function _requireEmptyV4HookData(bytes memory hookData) internal pure {\n        if (hookData.length != 0) revert V4HookDataNotAllowed();\n    }\n\n    function _v4PoolKey(address token0, address token1, uint24 fee, int24 tickSpacing, address hooks)\n        internal\n        view\n        returns (IPositionManagerV4.PoolKey memory key)\n    {\n        if (token0 == address(0) || token1 == address(0)) revert ZeroAddr();\n        if (token0 >= token1) revert OrderErr();\n        if (!_v4HookAllowedForEntry(hooks)) revert V4HooksUnsupported();\n        key = IPositionManagerV4.PoolKey({\n            currency0: token0,\n            currency1: token1,\n            fee: fee,\n            tickSpacing: tickSpacing,\n            hooks: hooks\n        });\n    }\n\n    /// @dev Executor ENTRY only (create/increase): with `poolAllowlistEnforced` on, the pool must be on\n    /// the owner-set allowlist. Exits (decrease/collect/burn) never come through here, so de-listing\n    /// a pool stops new deposits but cannot trap capital. The owner is exempt (guards return early).\n    function _requireExecutorPoolAllowed(bytes32 poolKey) internal view {\n        if (!_poolAllowedForEntry(poolKey)) revert PoolNotAllowed(poolKey);\n    }\n\n    /// @dev V3 allowlist key is the pool address the factory reports for (token0, token1, fee).\n    function _requireExecutorPoolAllowedV3(address token0, address token1, uint24 fee)\n        internal\n        view\n        returns (address pool)\n    {\n        pool = _v3Pool(token0, token1, fee);\n        _requireExecutorPoolAllowed(bytes32(uint256(uint160(pool))));\n    }\n\n    /// @dev V4 allowlist key is the poolId; the allowlist is asked before any price read.\n    function _requireExecutorEntryV4(IPositionManagerV4.PoolKey memory key, uint160 expectedSqrtPriceX96)\n        internal\n        view\n    {\n        bytes32 poolId = keccak256(abi.encode(key));\n        _requireExecutorPoolAllowed(poolId);\n        _requireV4StablePriceGuard(key, poolId, expectedSqrtPriceX96);\n    }\n\n    function _requireV4StablePriceGuard(\n        IPositionManagerV4.PoolKey memory key,\n        bytes32 poolId,\n        uint160 expectedSqrtPriceX96\n    ) internal view {\n        if (expectedSqrtPriceX96 == 0) revert V4PriceGuardRequired();\n        if (v4StateView == address(0)) revert V4ViewNA();\n        (uint160 spot,,,) = IStateViewV4(v4StateView).getSlot0(poolId);\n        uint8 decimals0 = _stableTokenDecimalsOrRevert(key.currency0);\n        uint8 decimals1 = _stableTokenDecimalsOrRevert(key.currency1);\n        uint256 priceX18 = _v4PriceX18FromSqrt(spot, decimals0, decimals1);\n        uint256 minPriceX18 = _effectiveV4StablePriceMinX18();\n        uint256 maxPriceX18 = _effectiveV4StablePriceMaxX18();\n        if (priceX18 < minPriceX18 || priceX18 > maxPriceX18) {\n            revert V4StablePriceOutOfRange(key.currency0, key.currency1, priceX18, minPriceX18, maxPriceX18);\n        }\n    }\n\n    function _v4PriceX18FromSqrt(uint160 sqrtPriceX96, uint8 decimals0, uint8 decimals1)\n        internal\n        pure\n        returns (uint256)\n    {\n        uint256 rawPriceX96 = FullMath.mulDiv(uint256(sqrtPriceX96), uint256(sqrtPriceX96), FixedPoint96.Q96);\n        uint256 scale0 = 10 ** uint256(decimals0);\n        uint256 scale1 = 10 ** uint256(decimals1);\n        return FullMath.mulDiv(rawPriceX96, 1e18 * scale0, FixedPoint96.Q96 * scale1);\n    }\n\n    function _requireOwnedPosition(address nft, uint256 tokenId) internal view {\n        address actualOwner = IERC721(nft).ownerOf(tokenId);\n        if (actualOwner != address(this)) revert PositionNotOwned(nft, tokenId, actualOwner);\n    }\n\n    function _requireAllowedV3PositionTokens(uint256 tokenId)\n        internal\n        view\n        returns (address token0, address token1, uint24 fee)\n    {\n        _requireOwnedPosition(nfpm, tokenId);\n        (,, token0, token1, fee,,,,,,,) = INonfungiblePositionManager(nfpm).positions(tokenId);\n        _requireAllowedPair(token0, token1);\n    }\n\n    function _v3Pool(address token0, address token1, uint24 fee) internal view returns (address pool) {\n        pool = IUniswapV3Factory(v3Factory).getPool(token0, token1, fee);\n        if (pool == address(0)) revert PoolNA();\n    }\n\n    function _requireV3StablePriceGuard(address pool, address token0, address token1) internal view {\n        (uint160 spot,,,,,,) = IUniswapV3Pool(pool).slot0();\n        uint256 priceX18 = _v4PriceX18FromSqrt(\n            spot,\n            _stableTokenDecimalsOrRevert(token0),\n            _stableTokenDecimalsOrRevert(token1)\n        );\n        uint256 minPriceX18 = _effectiveV4StablePriceMinX18();\n        uint256 maxPriceX18 = _effectiveV4StablePriceMaxX18();\n        if (priceX18 < minPriceX18 || priceX18 > maxPriceX18) {\n            revert V3StablePriceOutOfRange(token0, token1, priceX18, minPriceX18, maxPriceX18);\n        }\n    }\n\n    function _requireAllowedV4PositionTokens(uint256 tokenId)\n        internal\n        view\n        returns (IPositionManagerV4.PoolKey memory key)\n    {\n        _requireOwnedPosition(v4PositionManager, tokenId);\n        (key,) = IPositionManagerV4(v4PositionManager).getPoolAndPositionInfo(tokenId);\n        _requireAllowedPair(key.currency0, key.currency1);\n    }\n\n    function _selectorOf(bytes calldata data) internal pure returns (bytes4 selector) {\n        if (data.length < 4) revert ExternalCallFailed();\n        assembly {\n            selector := calldataload(data.offset)\n        }\n    }\n\n    function _decodeKyberSwapDescription(bytes calldata routeData)\n        internal\n        pure\n        returns (IMetaAggregationRouterV2.SwapDescriptionV2 memory desc, address approveTarget)\n    {\n        if (routeData.length < 4) revert KyberUnsupportedRoute();\n\n        bytes4 selector;\n        assembly {\n            selector := calldataload(routeData.offset)\n        }\n\n        bytes calldata params = routeData[4:];\n        if (selector == IMetaAggregationRouterV2.swap.selector || selector == IMetaAggregationRouterV2.swapGeneric.selector) {\n            IMetaAggregationRouterV2.SwapExecutionParams memory execution =\n                abi.decode(params, (IMetaAggregationRouterV2.SwapExecutionParams));\n            return (execution.desc, execution.approveTarget);\n        }\n        if (selector == IMetaAggregationRouterV2.swapSimpleMode.selector) {\n            (, desc,,) = abi.decode(params, (address, IMetaAggregationRouterV2.SwapDescriptionV2, bytes, bytes));\n            return (desc, address(0));\n        }\n\n        revert KyberUnsupportedRoute();\n    }\n\n    function getPool(address token0, address token1, uint24 fee) external view returns (address) {\n        return _v3Pool(token0, token1, fee);\n    }\n\n    function onERC721Received(address, address, uint256, bytes calldata) external pure override returns (bytes4) {\n        return IERC721Receiver.onERC721Received.selector;\n    }\n\n    receive() external payable {}\n\n    function _setModules(address v3Module_, address v4Module_) internal {\n        if (v3Module_ == address(0) || v4Module_ == address(0)) revert ZeroAddr();\n        _requireModuleInterface(v3Module_, type(IALMV3Module).interfaceId);\n        _requireModuleInterface(v4Module_, type(IALMV4Module).interfaceId);\n        v3Module = v3Module_;\n        v4Module = v4Module_;\n        emit ModulesSet(v3Module_, v4Module_);\n    }\n\n    function _requireModuleInterface(address module, bytes4 interfaceId) internal view {\n        if (module.code.length == 0) revert ExternalCallFailed();\n        try IERC165(module).supportsInterface(interfaceId) returns (bool supported) {\n            if (!supported) revert ExternalCallFailed();\n        } catch {\n            revert ExternalCallFailed();\n        }\n    }\n\n    function _setKyberRouter(address router_) internal {\n        if (router_ == address(0)) revert ZeroAddr();\n        if (router_.code.length == 0) revert ExternalCallFailed();\n        kyberRouter = router_;\n        emit KyberRouterSet(router_);\n    }\n\n    function _setFlyRouter(address router_) internal {\n        if (router_ == address(0)) revert ZeroAddr();\n        if (router_.code.length == 0) revert ExternalCallFailed();\n        flyRouter = router_;\n        emit FlyRouterSet(router_);\n    }\n\n    function _setVeloraRouter(address router_) internal {\n        if (router_ == address(0)) revert ZeroAddr();\n        if (router_.code.length == 0) revert ExternalCallFailed();\n        veloraRouter = router_;\n        emit VeloraRouterSet(router_);\n    }\n}\n"},"ALMShared.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity =0.8.35;\n\nimport {IERC20} from \"@openzeppelin/contracts/token/ERC20/IERC20.sol\";\nimport {SafeERC20} from \"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\";\nimport {IERC721} from \"@openzeppelin/contracts/token/ERC721/IERC721.sol\";\nimport {IERC721Receiver} from \"@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\";\nimport {IERC165} from \"@openzeppelin/contracts/utils/introspection/IERC165.sol\";\nimport {IUniswapV3Factory} from \"@uniswap/v3-core/contracts/interfaces/IUniswapV3Factory.sol\";\nimport {IUniswapV3Pool} from \"@uniswap/v3-core/contracts/interfaces/IUniswapV3Pool.sol\";\nimport {IAllowanceTransfer} from \"@uniswap/v4-periphery/lib/permit2/src/interfaces/IAllowanceTransfer.sol\";\nimport {FullMath} from \"@uniswap/v4-core/src/libraries/FullMath.sol\";\nimport {FixedPoint96} from \"@uniswap/v4-core/src/libraries/FixedPoint96.sol\";\nimport {SafeCast as V4SafeCast} from \"@uniswap/v4-core/src/libraries/SafeCast.sol\";\nimport {TickMath} from \"@uniswap/v4-core/src/libraries/TickMath.sol\";\nimport {SqrtPriceMath} from \"@uniswap/v4-core/src/libraries/SqrtPriceMath.sol\";\nimport {LiquidityAmounts} from \"@uniswap/v4-periphery/src/libraries/LiquidityAmounts.sol\";\n\n/* ========= Shared errors ========= */\nerror NotExecutorOrOwner();\nerror ZeroAddr();\nerror PoolNA();\nerror AmountZero();\nerror TwapCheckFailed();\nerror SwapSlip();\nerror Permit2NA();\nerror V4PMNA();\nerror V4ViewNA();\nerror TickRangeErr();\nerror TickAlignErr();\nerror LiquidityZeroErr();\nerror NativeSendFailErr();\nerror ExternalCallFailed();\nerror OrderErr();\nerror LengthMismatch();\nerror UpgradesFrozenErr();\nerror RenounceOwnershipDisabled();\nerror KyberRouterNA();\nerror ExecutorSelectorNotAllowed(bytes4 selector);\nerror KyberUnsupportedRoute();\nerror KyberTokenMismatch();\nerror KyberAmountMismatch();\nerror KyberRecipientMismatch();\nerror KyberMinOutNotMet();\nerror KyberApproveTargetMismatch();\nerror FlyRouterNA();\nerror FlyAmountMismatch();\nerror VeloraRouterNA();\nerror VeloraRouteMismatch();\nerror VeloraDeadline();\nerror AmountTooLarge();\nerror SwapModuleNA();\nerror V4HooksUnsupported();\nerror V4HookDataNotAllowed();\nerror PoolNotAllowed(bytes32 poolKey);\nerror ZeroPoolKey();\nerror TokenNotAllowed(address token);\nerror V4PriceGuardRequired();\nerror V4PriceCheckFailed();\nerror V4MintBelowMin(uint256 used0, uint256 used1, uint256 amount0Min, uint256 amount1Min);\nerror DirectModuleCall();\nerror StableTokenDecimalsInvalid(address token, uint8 decimals_);\nerror StableTokenDecimalsNotSet(address token);\nerror V4StablePriceOutOfRange(\n    address token0,\n    address token1,\n    uint256 priceX18,\n    uint256 minPriceX18,\n    uint256 maxPriceX18\n);\nerror V3StablePriceOutOfRange(\n    address token0,\n    address token1,\n    uint256 priceX18,\n    uint256 minPriceX18,\n    uint256 maxPriceX18\n);\nerror KyberStableMinOutTooLow(\n    address tokenIn,\n    address tokenOut,\n    uint256 effectiveMinOutNormalized,\n    uint256 requiredMinOutNormalized\n);\nerror KyberStableOutTooHigh(\n    address tokenIn,\n    address tokenOut,\n    uint256 outputNormalized,\n    uint256 maxOutputNormalized\n);\nerror ExecutorLossBudgetNotConfigured();\nerror ExecutorLossBudgetExceeded(uint256 used24h, uint256 loss, uint256 cap24h);\nerror RiskParamOutOfRange();\nerror PositionNotOwned(address nft, uint256 tokenId, address actualOwner);\nerror EmptyInitData();\n\n/* ========= Shared interfaces ========= */\n/// @dev Pinned minimal Uniswap V3 NonfungiblePositionManager ABI.\n/// The official v3-periphery interface imports pre-0.8 helper sources that do not compile under solc 0.8.35.\ninterface INonfungiblePositionManager {\n    struct MintParams {\n        address token0;\n        address token1;\n        uint24 fee;\n        int24 tickLower;\n        int24 tickUpper;\n        uint256 amount0Desired;\n        uint256 amount1Desired;\n        uint256 amount0Min;\n        uint256 amount1Min;\n        address recipient;\n        uint256 deadline;\n    }\n\n    struct IncreaseLiquidityParams {\n        uint256 tokenId;\n        uint256 amount0Desired;\n        uint256 amount1Desired;\n        uint256 amount0Min;\n        uint256 amount1Min;\n        uint256 deadline;\n    }\n\n    struct DecreaseLiquidityParams {\n        uint256 tokenId;\n        uint128 liquidity;\n        uint256 amount0Min;\n        uint256 amount1Min;\n        uint256 deadline;\n    }\n\n    struct CollectParams {\n        uint256 tokenId;\n        address recipient;\n        uint128 amount0Max;\n        uint128 amount1Max;\n    }\n\n    function positions(uint256 tokenId) external view returns (\n        uint96,\n        address,\n        address,\n        address,\n        uint24,\n        int24,\n        int24,\n        uint128,\n        uint256,\n        uint256,\n        uint128,\n        uint128\n    );\n\n    function mint(MintParams calldata) external payable returns (uint256, uint128, uint256, uint256);\n    function increaseLiquidity(IncreaseLiquidityParams calldata) external payable returns (uint128, uint256, uint256);\n    function decreaseLiquidity(DecreaseLiquidityParams calldata) external payable returns (uint256, uint256);\n    function collect(CollectParams calldata) external payable returns (uint256, uint256);\n    function burn(uint256 tokenId) external payable;\n}\n\ninterface IPositionManagerV4 {\n    struct PoolKey {\n        address currency0;\n        address currency1;\n        uint24 fee;\n        int24 tickSpacing;\n        address hooks;\n    }\n\n    function modifyLiquidities(bytes calldata unlockData, uint256 deadline) external payable;\n    function getPoolAndPositionInfo(uint256 tokenId) external view returns (PoolKey memory poolKey, uint256 infoPacked);\n    function getPositionLiquidity(uint256 tokenId) external view returns (uint128);\n    function nextTokenId() external view returns (uint256);\n}\n\ninterface IStateViewV4 {\n    function getSlot0(bytes32) external view returns (uint160, int24, uint24, uint24);\n}\n\ninterface IALMV3Module {\n    struct CreateV3ExactParams {\n        address token0;\n        address token1;\n        uint24 fee;\n        int24 tickLower;\n        int24 tickUpper;\n        uint256 amount0Desired;\n        uint256 amount1Desired;\n        uint256 amount0Min;\n        uint256 amount1Min;\n    }\n\n    function approveERC20(address token, address spender, uint256 amount) external;\n    function approveBoth(address token0, address token1, address spender, uint256 amount) external;\n    function revokeERC20(address token, address spender) external;\n    function createPositionV3Exact(CreateV3ExactParams calldata params) external;\n    function increaseLiquidityV3(\n        uint256 tokenId,\n        uint256 amount0Desired,\n        uint256 amount1Desired,\n        uint256 amount0Min,\n        uint256 amount1Min\n    ) external;\n    function decreaseLiquidityV3(uint256 tokenId, uint128 liquidity, uint256 amount0Min, uint256 amount1Min) external;\n    function collectFeesV3(uint256 tokenId) external;\n    function burnPositionV3(uint256 tokenId) external;\n}\n\ninterface IALMV4Module {\n    struct CreateV4Params {\n        address token0;\n        address token1;\n        uint24 fee;\n        int24 tickSpacing;\n        int24 tickLower;\n        int24 tickUpper;\n        address hooks;\n        bytes hookData;\n        uint128 amount0Min;\n        uint128 amount1Min;\n        uint160 expectedSqrtPriceX96;\n        uint256 maxSqrtPriceDeviationBpsX100;\n    }\n\n    struct CreateV4ExactParams {\n        address token0;\n        address token1;\n        uint24 fee;\n        int24 tickSpacing;\n        int24 tickLower;\n        int24 tickUpper;\n        address hooks;\n        bytes hookData;\n        uint128 liquidity;\n        uint128 amount0Max;\n        uint128 amount1Max;\n        uint160 expectedSqrtPriceX96;\n        uint256 maxSqrtPriceDeviationBpsX100;\n    }\n\n    function createPositionV4UsingBalances(CreateV4Params calldata params) external;\n    function createPositionV4Exact(CreateV4ExactParams calldata params) external;\n    function increaseLiquidityV4Exact(\n        uint256 tokenId,\n        uint128 liquidity,\n        uint128 amount0Max,\n        uint128 amount1Max,\n        bytes calldata hookData,\n        uint160 expectedSqrtPriceX96,\n        uint256 maxSqrtPriceDeviationBpsX100\n    ) external;\n    function increaseLiquidityV4(\n        uint256 tokenId,\n        uint256 amount0Max,\n        uint256 amount1Max,\n        bytes calldata hookData,\n        uint160 expectedSqrtPriceX96,\n        uint256 maxSqrtPriceDeviationBpsX100\n    ) external;\n    function decreaseLiquidityV4(\n        uint256 tokenId,\n        uint256 liquidity,\n        uint128 amount0Min,\n        uint128 amount1Min,\n        bytes calldata hookData\n    ) external;\n    function collectFeesV4(uint256 tokenId) external;\n    function burnPositionV4(uint256 tokenId, uint128 amount0Min, uint128 amount1Min, bytes calldata hookData) external;\n}\n\n/* ========= Shared storage ========= */\nabstract contract ALMStorage {\n    bool public upgradeabilityFrozen;\n\n    uint256 public constant BPS = 10_000;\n\n    address public v3Factory;\n    address public nfpm;\n    address public router;\n    address public quoterV2;\n    address public v4PositionManager;\n    address public kyberRouter;\n    address public baseToken;\n    address public v4StateView;\n    address public permit2;\n    address public v3Module;\n    address public v4Module;\n\n    uint256 public defaultDeadlineSec;\n    uint256 public slippageBpsMax;\n    uint256 public swapLossBpsMax;\n\n    uint32 public twapWindowSec;\n    int24 public twapMaxTickDiff;\n\n    mapping(address => bool) public isExecutor;\n    mapping(address => bool) public isTokenAllowed;\n    mapping(address => bool) public isTokenBlocked;\n    mapping(address => uint8) public stableTokenDecimals;\n\n    uint256 public slippageBpsMaxX100;\n    uint256 public swapLossBpsMaxX100;\n    bool public fineBpsParamsEnabled;\n\n    uint256 public v4StablePriceMinX18;\n    uint256 public v4StablePriceMaxX18;\n    uint256 public executorRiskCapitalNormalized;\n    uint256 public executorLossCapBpsX100;\n    bool public executorLossBudgetEnabled;\n    uint64[24] internal executorLossBucketHours;\n    uint256[24] internal executorLossBucketAmounts;\n    address public flyRouter;\n    address public veloraRouter;\n    /// @dev Delegatecall target for the Velora/Fly guarded swaps (`execSwap`). Slot 59.\n    address public swapModule;\n    /// @dev Owner-set Uniswap V4 hook allowlist; gates ENTRY (create/increase) only. Slot 60.\n    mapping(address => bool) public isV4HookAllowed;\n    /// @dev Owner-set pool allowlist; gates executor ENTRY (create/increase) only. Slot 61.\n    /// Key: V4 poolId = keccak256(abi.encode(PoolKey)); V3 = bytes32(uint256(uint160(pool))).\n    mapping(bytes32 => bool) public isPoolAllowed;\n    /// @dev When false the pool allowlist is not enforced (feature off). Slot 62.\n    bool public poolAllowlistEnforced;\n\n    uint256[45] private __gap;\n\n    /// @dev Hook permission bits (Uniswap v4 `Hooks.sol`) an allowlisted hook must NOT carry:\n    /// BEFORE/AFTER_REMOVE_LIQUIDITY (1<<9, 1<<8) could block or skim an exit, and the four\n    /// *_RETURNS_DELTA bits (1<<3..1<<0) let a hook rewrite the deltas the ALM settles against\n    /// full-balance allowances. Re-checked on every entry so a stale mapping entry cannot pass.\n    uint160 internal constant V4_HOOK_FORBIDDEN_FLAGS = 0x030F;\n\n    function _v4HookAllowedForEntry(address hooks) internal view returns (bool) {\n        if (hooks == address(0)) return true;\n        return isV4HookAllowed[hooks] && (uint160(hooks) & V4_HOOK_FORBIDDEN_FLAGS) == 0;\n    }\n\n    function _poolAllowedForEntry(bytes32 poolKey) internal view returns (bool) {\n        if (!poolAllowlistEnforced) return true;\n        return isPoolAllowed[poolKey];\n    }\n}\n\n/* ========= Guards shared by the core and the swap module ========= */\n/// @dev Executor token allowlist, stable decimals, stable min-out / max-out bounds and the 24h\n/// executor loss budget. The core (Kyber) and the SwapModule (Velora/Fly, via delegatecall) must\n/// apply the SAME guards, so they live here once. No state variables: layout is ALMStorage's.\nabstract contract ALMGuards is ALMStorage {\n    struct Spend {\n        address token;\n        uint256 amount;\n    }\n\n    address internal constant KYBER_NATIVE_TOKEN = 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE;\n    uint256 internal constant PRICE_X18 = 1e18;\n    uint256 internal constant DEFAULT_V4_STABLE_PRICE_MIN_X18 = 998_850_000_000_000_000; // 0.99885\n    uint256 internal constant DEFAULT_V4_STABLE_PRICE_MAX_X18 = 1_002_000_000_000_000_000; // 1.0020\n    uint256 internal constant EXECUTOR_LOSS_CAP_DENOMINATOR = 1_000_000; // BPS * 100\n    uint256 internal constant EXECUTOR_LOSS_WINDOW_HOURS = 24;\n    // Hardcoded allowlist: Ethereum only (this tree deploys to chainId 1 only). USDC/USDT/DAI/USDe\n    // since the 2026-09-06 size trim; USDG (Paxos Global Dollar, 6 decimals) added 2026-09-27 for the\n    // StablePair hook pool. Anything else must be enabled by the owner through setAllowedToken +\n    // setStableTokenDecimals.\n    address internal constant ETHEREUM_USDC = 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48;\n    address internal constant ETHEREUM_USDT = 0xdAC17F958D2ee523a2206206994597C13D831ec7;\n    address internal constant ETHEREUM_DAI = 0x6B175474E89094C44Da98b954EedeAC495271d0F;\n    address internal constant ETHEREUM_USDE = 0x4c9EDD5852cd905f086C759E8383e09bff1E68B3;\n    address internal constant ETHEREUM_USDG = 0xe343167631d89B6Ffc58B88d6b7fB0228795491D;\n\n    event ExecutorLossBudgetConsumed(uint256 hourId, uint256 lossNormalized, uint256 used24h, uint256 cap24h);\n\n    function isTokenAllowedForExecutor(address token) public view returns (bool) {\n        if (isTokenBlocked[token]) return false;\n        return isTokenAllowed[token] || _isHardcodedAllowedToken(token);\n    }\n\n    function executorLossCap24h() public view returns (uint256) {\n        if (!executorLossBudgetEnabled) return 0;\n        return FullMath.mulDiv(executorRiskCapitalNormalized, executorLossCapBpsX100, EXECUTOR_LOSS_CAP_DENOMINATOR);\n    }\n\n    function executorLossUsed24h() public view returns (uint256 used24h) {\n        uint256 currentHour = block.timestamp / 1 hours;\n        for (uint256 i = 0; i < EXECUTOR_LOSS_WINDOW_HOURS; i++) {\n            uint256 bucketHour = uint256(executorLossBucketHours[i]);\n            if (bucketHour <= currentHour && currentHour - bucketHour < EXECUTOR_LOSS_WINDOW_HOURS) {\n                used24h += executorLossBucketAmounts[i];\n            }\n        }\n    }\n\n    function _isHardcodedAllowedToken(address token) internal view returns (bool) {\n        if (block.chainid == 1) return _isEthereumHardcodedAllowedToken(token);\n        return false;\n    }\n\n    function _isEthereumHardcodedAllowedToken(address token) internal pure returns (bool) {\n        return token == ETHEREUM_USDC || token == ETHEREUM_USDT || token == ETHEREUM_DAI || token == ETHEREUM_USDE\n            || token == ETHEREUM_USDG;\n    }\n\n    function _requireAllowedToken(address token) internal view {\n        if (!isTokenAllowedForExecutor(token)) revert TokenNotAllowed(token);\n    }\n\n    function _swapLossBpsX100() internal view returns (uint256) {\n        return fineBpsParamsEnabled ? swapLossBpsMaxX100 : swapLossBpsMax * 100;\n    }\n\n    function _knownStableTokenDecimals(address token) internal view returns (uint8) {\n        if (block.chainid == 1) {\n            if (token == ETHEREUM_USDC || token == ETHEREUM_USDT || token == ETHEREUM_USDG) return 6;\n            if (token == ETHEREUM_DAI || token == ETHEREUM_USDE) return 18;\n        }\n        return 0;\n    }\n\n    function _stableTokenDecimalsOrRevert(address token) internal view returns (uint8) {\n        uint8 configured = stableTokenDecimals[token];\n        if (configured != 0) return configured;\n        uint8 known = _knownStableTokenDecimals(token);\n        if (known != 0) return known;\n        revert StableTokenDecimalsNotSet(token);\n    }\n\n    function _normalizeStableAmount(address token, uint256 amount) internal view returns (uint256) {\n        uint8 decimals_ = _stableTokenDecimalsOrRevert(token);\n        if (decimals_ == 18) return amount;\n        return amount * (10 ** uint256(18 - decimals_));\n    }\n\n    function _effectiveV4StablePriceMinX18() internal view returns (uint256) {\n        return v4StablePriceMinX18 == 0 ? DEFAULT_V4_STABLE_PRICE_MIN_X18 : v4StablePriceMinX18;\n    }\n\n    function _effectiveV4StablePriceMaxX18() internal view returns (uint256) {\n        return v4StablePriceMaxX18 == 0 ? DEFAULT_V4_STABLE_PRICE_MAX_X18 : v4StablePriceMaxX18;\n    }\n\n    function _requireKyberStableMinOut(\n        address tokenIn,\n        address tokenOut,\n        uint256 amountIn,\n        uint256 effectiveMinOut\n    ) internal view {\n        uint256 maxLossBpsX100 = _swapLossBpsX100();\n        if (maxLossBpsX100 >= BPS * 100) revert RiskParamOutOfRange();\n\n        uint256 minOutNormalized = _normalizeStableAmount(tokenOut, effectiveMinOut);\n        uint256 requiredNormalized =\n            FullMath.mulDiv(_normalizeStableAmount(tokenIn, amountIn), BPS * 100 - maxLossBpsX100, BPS * 100);\n        if (minOutNormalized < requiredNormalized) {\n            revert KyberStableMinOutTooLow(tokenIn, tokenOut, minOutNormalized, requiredNormalized);\n        }\n        _requireKyberStableOutNormalizedNotTooHigh(tokenIn, tokenOut, amountIn, minOutNormalized);\n    }\n\n    function _requireKyberStableOutNotTooHigh(\n        address tokenIn,\n        address tokenOut,\n        uint256 amountIn,\n        uint256 amountOut\n    ) internal view {\n        _requireKyberStableOutNormalizedNotTooHigh(\n            tokenIn,\n            tokenOut,\n            amountIn,\n            _normalizeStableAmount(tokenOut, amountOut)\n        );\n    }\n\n    function _requireKyberStableOutNormalizedNotTooHigh(\n        address tokenIn,\n        address tokenOut,\n        uint256 amountIn,\n        uint256 outputNormalized\n    ) internal view {\n        uint256 maxOutputNormalized =\n            FullMath.mulDiv(_normalizeStableAmount(tokenIn, amountIn), _effectiveV4StablePriceMaxX18(), PRICE_X18);\n        if (outputNormalized > maxOutputNormalized) {\n            revert KyberStableOutTooHigh(tokenIn, tokenOut, outputNormalized, maxOutputNormalized);\n        }\n    }\n\n    /// @dev Pre-swap check only: worst-case allowed slippage envelope must fit in remaining 24h budget.\n    function _requireExecutorLossBudgetHeadroom(\n        address tokenIn,\n        address tokenOut,\n        uint256 amountIn,\n        uint256 effectiveMinOut\n    ) internal view {\n        if (!executorLossBudgetEnabled) return;\n\n        uint256 inputNormalized = _normalizeStableAmount(tokenIn, amountIn);\n        uint256 outputNormalized = _normalizeStableAmount(tokenOut, effectiveMinOut);\n        if (outputNormalized >= inputNormalized) return;\n\n        uint256 envelopeNormalized = inputNormalized - outputNormalized;\n        uint256 cap24h = executorLossCap24h();\n        if (cap24h == 0) revert ExecutorLossBudgetNotConfigured();\n\n        uint256 used24h = executorLossUsed24h();\n        if (used24h + envelopeNormalized > cap24h) {\n            revert ExecutorLossBudgetExceeded(used24h, envelopeNormalized, cap24h);\n        }\n    }\n\n    function _consumeExecutorLossBudgetRealized(\n        address tokenIn,\n        address tokenOut,\n        uint256 amountIn,\n        uint256 actualOut\n    ) internal {\n        if (!executorLossBudgetEnabled) return;\n\n        uint256 inputNormalized = _normalizeStableAmount(tokenIn, amountIn);\n        uint256 outputNormalized = _normalizeStableAmount(tokenOut, actualOut);\n        if (outputNormalized >= inputNormalized) return;\n\n        uint256 lossNormalized = inputNormalized - outputNormalized;\n        uint256 cap24h = executorLossCap24h();\n        if (cap24h == 0) revert ExecutorLossBudgetNotConfigured();\n\n        uint256 used24h = executorLossUsed24h();\n        if (used24h + lossNormalized > cap24h) {\n            revert ExecutorLossBudgetExceeded(used24h, lossNormalized, cap24h);\n        }\n\n        uint256 currentHour = block.timestamp / 1 hours;\n        uint256 bucketIndex = currentHour % EXECUTOR_LOSS_WINDOW_HOURS;\n        if (currentHour > type(uint64).max) revert AmountTooLarge();\n        // forge-lint: disable-next-line(unsafe-typecast)\n        uint64 currentHour64 = uint64(currentHour);\n        if (executorLossBucketHours[bucketIndex] != currentHour64) {\n            executorLossBucketHours[bucketIndex] = currentHour64;\n            executorLossBucketAmounts[bucketIndex] = 0;\n        }\n        executorLossBucketAmounts[bucketIndex] += lossNormalized;\n        emit ExecutorLossBudgetConsumed(currentHour, lossNormalized, used24h + lossNormalized, cap24h);\n    }\n\n    function _kyberBalanceOf(address token) internal view returns (uint256) {\n        if (token == KYBER_NATIVE_TOKEN) return address(this).balance;\n        return IERC20(token).balanceOf(address(this));\n    }\n}\n\n/// @dev ERC-165 identity of the swap module (`swap.sol`) reached through the core's `execSwap`.\ninterface IALMSwapModule {\n    function swapViaFlyGuarded(\n        bytes calldata routeData,\n        ALMGuards.Spend[] calldata spends,\n        uint256 value,\n        address tokenOut,\n        uint256 minAmountOut\n    ) external;\n\n    function swapViaVeloraGuarded(\n        bytes calldata routeData,\n        ALMGuards.Spend[] calldata spends,\n        address tokenOut,\n        uint256 minAmountOut,\n        uint256 deadline\n    ) external;\n}\n"},"interfaces/IMetaAggregationRouterV2.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity =0.8.35;\n\n/// @dev Pinned KyberSwap MetaAggregationRouterV2 ABI surface used by ALM guarded swap validation.\n/// Keep this interface synchronized with the configured chain router deployment before router changes.\ninterface IMetaAggregationRouterV2 {\n    struct SwapDescriptionV2 {\n        address srcToken;\n        address dstToken;\n        address[] srcReceivers;\n        uint256[] srcAmounts;\n        address[] feeReceivers;\n        uint256[] feeAmounts;\n        address dstReceiver;\n        uint256 amount;\n        uint256 minReturnAmount;\n        uint256 flags;\n        bytes permit;\n    }\n\n    struct SwapExecutionParams {\n        address callTarget;\n        address approveTarget;\n        bytes targetData;\n        SwapDescriptionV2 desc;\n        bytes clientData;\n    }\n\n    function swap(SwapExecutionParams calldata execution) external payable returns (uint256 returnAmount, uint256 gasUsed);\n    function swapGeneric(SwapExecutionParams calldata execution)\n        external\n        payable\n        returns (uint256 returnAmount, uint256 gasUsed);\n    function swapSimpleMode(\n        address executor,\n        SwapDescriptionV2 calldata desc,\n        bytes calldata executorData,\n        bytes calldata clientData\n    ) external payable returns (uint256 returnAmount, uint256 gasUsed);\n}\n"},"node_modules/@openzeppelin/contracts/interfaces/IERC1363.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC1363.sol)\n\npragma solidity >=0.6.2;\n\nimport {IERC20} from \"./IERC20.sol\";\nimport {IERC165} from \"./IERC165.sol\";\n\n/**\n * @title IERC1363\n * @dev Interface of the ERC-1363 standard as defined in the https://eips.ethereum.org/EIPS/eip-1363[ERC-1363].\n *\n * Defines an extension interface for ERC-20 tokens that supports executing code on a recipient contract\n * after `transfer` or `transferFrom`, or code on a spender contract after `approve`, in a single transaction.\n */\ninterface IERC1363 is IERC20, IERC165 {\n    /*\n     * Note: the ERC-165 identifier for this interface is 0xb0202a11.\n     * 0xb0202a11 ===\n     *   bytes4(keccak256('transferAndCall(address,uint256)')) ^\n     *   bytes4(keccak256('transferAndCall(address,uint256,bytes)')) ^\n     *   bytes4(keccak256('transferFromAndCall(address,address,uint256)')) ^\n     *   bytes4(keccak256('transferFromAndCall(address,address,uint256,bytes)')) ^\n     *   bytes4(keccak256('approveAndCall(address,uint256)')) ^\n     *   bytes4(keccak256('approveAndCall(address,uint256,bytes)'))\n     */\n\n    /**\n     * @dev Moves a `value` amount of tokens from the caller's account to `to`\n     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.\n     * @param to The address which you want to transfer to.\n     * @param value The amount of tokens to be transferred.\n     * @return A boolean value indicating whether the operation succeeded unless throwing.\n     */\n    function transferAndCall(address to, uint256 value) external returns (bool);\n\n    /**\n     * @dev Moves a `value` amount of tokens from the caller's account to `to`\n     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.\n     * @param to The address which you want to transfer to.\n     * @param value The amount of tokens to be transferred.\n     * @param data Additional data with no specified format, sent in call to `to`.\n     * @return A boolean value indicating whether the operation succeeded unless throwing.\n     */\n    function transferAndCall(address to, uint256 value, bytes calldata data) external returns (bool);\n\n    /**\n     * @dev Moves a `value` amount of tokens from `from` to `to` using the allowance mechanism\n     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.\n     * @param from The address which you want to send tokens from.\n     * @param to The address which you want to transfer to.\n     * @param value The amount of tokens to be transferred.\n     * @return A boolean value indicating whether the operation succeeded unless throwing.\n     */\n    function transferFromAndCall(address from, address to, uint256 value) external returns (bool);\n\n    /**\n     * @dev Moves a `value` amount of tokens from `from` to `to` using the allowance mechanism\n     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.\n     * @param from The address which you want to send tokens from.\n     * @param to The address which you want to transfer to.\n     * @param value The amount of tokens to be transferred.\n     * @param data Additional data with no specified format, sent in call to `to`.\n     * @return A boolean value indicating whether the operation succeeded unless throwing.\n     */\n    function transferFromAndCall(address from, address to, uint256 value, bytes calldata data) external returns (bool);\n\n    /**\n     * @dev Sets a `value` amount of tokens as the allowance of `spender` over the\n     * caller's tokens and then calls {IERC1363Spender-onApprovalReceived} on `spender`.\n     * @param spender The address which will spend the funds.\n     * @param value The amount of tokens to be spent.\n     * @return A boolean value indicating whether the operation succeeded unless throwing.\n     */\n    function approveAndCall(address spender, uint256 value) external returns (bool);\n\n    /**\n     * @dev Sets a `value` amount of tokens as the allowance of `spender` over the\n     * caller's tokens and then calls {IERC1363Spender-onApprovalReceived} on `spender`.\n     * @param spender The address which will spend the funds.\n     * @param value The amount of tokens to be spent.\n     * @param data Additional data with no specified format, sent in call to `spender`.\n     * @return A boolean value indicating whether the operation succeeded unless throwing.\n     */\n    function approveAndCall(address spender, uint256 value, bytes calldata data) external returns (bool);\n}\n"},"node_modules/@openzeppelin/contracts/interfaces/IERC165.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC165.sol)\n\npragma solidity >=0.4.16;\n\nimport {IERC165} from \"../utils/introspection/IERC165.sol\";\n"},"node_modules/@openzeppelin/contracts/interfaces/IERC1967.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC1967.sol)\n\npragma solidity >=0.4.11;\n\n/**\n * @dev ERC-1967: Proxy Storage Slots. This interface contains the events defined in the ERC.\n */\ninterface IERC1967 {\n    /**\n     * @dev Emitted when the implementation is upgraded.\n     */\n    event Upgraded(address indexed implementation);\n\n    /**\n     * @dev Emitted when the admin account has changed.\n     */\n    event AdminChanged(address previousAdmin, address newAdmin);\n\n    /**\n     * @dev Emitted when the beacon is changed.\n     */\n    event BeaconUpgraded(address indexed beacon);\n}\n"},"node_modules/@openzeppelin/contracts/interfaces/IERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC20.sol)\n\npragma solidity >=0.4.16;\n\nimport {IERC20} from \"../token/ERC20/IERC20.sol\";\n"},"node_modules/@openzeppelin/contracts/interfaces/draft-IERC1822.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/draft-IERC1822.sol)\n\npragma solidity >=0.4.16;\n\n/**\n * @dev ERC-1822: Universal Upgradeable Proxy Standard (UUPS) documents a method for upgradeability through a simplified\n * proxy whose upgrades are fully controlled by the current implementation.\n */\ninterface IERC1822Proxiable {\n    /**\n     * @dev Returns the storage slot that the proxiable contract assumes is being used to store the implementation\n     * address.\n     *\n     * IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks\n     * bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this\n     * function revert if invoked through a proxy.\n     */\n    function proxiableUUID() external view returns (bytes32);\n}\n"},"node_modules/@openzeppelin/contracts/proxy/ERC1967/ERC1967Utils.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.6.0) (proxy/ERC1967/ERC1967Utils.sol)\n\npragma solidity ^0.8.21;\n\nimport {IBeacon} from \"../beacon/IBeacon.sol\";\nimport {IERC1967} from \"../../interfaces/IERC1967.sol\";\nimport {Address} from \"../../utils/Address.sol\";\nimport {StorageSlot} from \"../../utils/StorageSlot.sol\";\n\n/**\n * @dev This library provides getters and event emitting update functions for\n * https://eips.ethereum.org/EIPS/eip-1967[ERC-1967] slots.\n */\nlibrary ERC1967Utils {\n    /**\n     * @dev Storage slot with the address of the current implementation.\n     * This is the keccak-256 hash of \"eip1967.proxy.implementation\" subtracted by 1.\n     */\n    // solhint-disable-next-line private-vars-leading-underscore\n    bytes32 internal constant IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;\n\n    /**\n     * @dev The `implementation` of the proxy is invalid.\n     */\n    error ERC1967InvalidImplementation(address implementation);\n\n    /**\n     * @dev The `admin` of the proxy is invalid.\n     */\n    error ERC1967InvalidAdmin(address admin);\n\n    /**\n     * @dev The `beacon` of the proxy is invalid.\n     */\n    error ERC1967InvalidBeacon(address beacon);\n\n    /**\n     * @dev An upgrade function sees `msg.value > 0` that may be lost.\n     */\n    error ERC1967NonPayable();\n\n    /**\n     * @dev Returns the current implementation address.\n     */\n    function getImplementation() internal view returns (address) {\n        return StorageSlot.getAddressSlot(IMPLEMENTATION_SLOT).value;\n    }\n\n    /**\n     * @dev Stores a new address in the ERC-1967 implementation slot.\n     */\n    function _setImplementation(address newImplementation) private {\n        if (newImplementation.code.length == 0) {\n            revert ERC1967InvalidImplementation(newImplementation);\n        }\n        StorageSlot.getAddressSlot(IMPLEMENTATION_SLOT).value = newImplementation;\n    }\n\n    /**\n     * @dev Performs implementation upgrade with additional setup call if data is nonempty.\n     * This function is payable only if the setup call is performed, otherwise `msg.value` is rejected\n     * to avoid stuck value in the contract.\n     *\n     * Emits an {IERC1967-Upgraded} event.\n     */\n    function upgradeToAndCall(address newImplementation, bytes memory data) internal {\n        _setImplementation(newImplementation);\n        emit IERC1967.Upgraded(newImplementation);\n\n        if (data.length > 0) {\n            Address.functionDelegateCall(newImplementation, data);\n        } else {\n            _checkNonPayable();\n        }\n    }\n\n    /**\n     * @dev Storage slot with the admin of the contract.\n     * This is the keccak-256 hash of \"eip1967.proxy.admin\" subtracted by 1.\n     */\n    // solhint-disable-next-line private-vars-leading-underscore\n    bytes32 internal constant ADMIN_SLOT = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103;\n\n    /**\n     * @dev Returns the current admin.\n     *\n     * TIP: To get this value clients can read directly from the storage slot shown below (specified by ERC-1967) using\n     * the https://ethereum.org/developers/docs/apis/json-rpc/#eth_getstorageat[`eth_getStorageAt`] RPC call.\n     * `0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103`\n     */\n    function getAdmin() internal view returns (address) {\n        return StorageSlot.getAddressSlot(ADMIN_SLOT).value;\n    }\n\n    /**\n     * @dev Stores a new address in the ERC-1967 admin slot.\n     */\n    function _setAdmin(address newAdmin) private {\n        if (newAdmin == address(0)) {\n            revert ERC1967InvalidAdmin(address(0));\n        }\n        StorageSlot.getAddressSlot(ADMIN_SLOT).value = newAdmin;\n    }\n\n    /**\n     * @dev Changes the admin of the proxy.\n     *\n     * Emits an {IERC1967-AdminChanged} event.\n     */\n    function changeAdmin(address newAdmin) internal {\n        emit IERC1967.AdminChanged(getAdmin(), newAdmin);\n        _setAdmin(newAdmin);\n    }\n\n    /**\n     * @dev The storage slot of the UpgradeableBeacon contract which defines the implementation for this proxy.\n     * This is the keccak-256 hash of \"eip1967.proxy.beacon\" subtracted by 1.\n     */\n    // solhint-disable-next-line private-vars-leading-underscore\n    bytes32 internal constant BEACON_SLOT = 0xa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d50;\n\n    /**\n     * @dev Returns the current beacon.\n     */\n    function getBeacon() internal view returns (address) {\n        return StorageSlot.getAddressSlot(BEACON_SLOT).value;\n    }\n\n    /**\n     * @dev Stores a new beacon in the ERC-1967 beacon slot.\n     */\n    function _setBeacon(address newBeacon) private {\n        if (newBeacon.code.length == 0) {\n            revert ERC1967InvalidBeacon(newBeacon);\n        }\n\n        StorageSlot.getAddressSlot(BEACON_SLOT).value = newBeacon;\n\n        address beaconImplementation = IBeacon(newBeacon).implementation();\n        if (beaconImplementation.code.length == 0) {\n            revert ERC1967InvalidImplementation(beaconImplementation);\n        }\n    }\n\n    /**\n     * @dev Change the beacon and trigger a setup call if data is nonempty.\n     * This function is payable only if the setup call is performed, otherwise `msg.value` is rejected\n     * to avoid stuck value in the contract.\n     *\n     * Emits an {IERC1967-BeaconUpgraded} event.\n     *\n     * CAUTION: Invoking this function has no effect on an instance of {BeaconProxy} since v5, since\n     * it uses an immutable beacon without looking at the value of the ERC-1967 beacon slot for\n     * efficiency.\n     */\n    function upgradeBeaconToAndCall(address newBeacon, bytes memory data) internal {\n        _setBeacon(newBeacon);\n        emit IERC1967.BeaconUpgraded(newBeacon);\n\n        if (data.length > 0) {\n            Address.functionDelegateCall(IBeacon(newBeacon).implementation(), data);\n        } else {\n            _checkNonPayable();\n        }\n    }\n\n    /**\n     * @dev Reverts if `msg.value` is not zero. It can be used to avoid `msg.value` stuck in the contract\n     * if an upgrade doesn't perform an initialization call.\n     */\n    function _checkNonPayable() private {\n        if (msg.value > 0) {\n            revert ERC1967NonPayable();\n        }\n    }\n}\n"},"node_modules/@openzeppelin/contracts/proxy/beacon/IBeacon.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (proxy/beacon/IBeacon.sol)\n\npragma solidity >=0.4.16;\n\n/**\n * @dev This is the interface that {BeaconProxy} expects of its beacon.\n */\ninterface IBeacon {\n    /**\n     * @dev Must return an address that can be used as a delegate call target.\n     *\n     * {UpgradeableBeacon} will check that this address is a contract.\n     */\n    function implementation() external view returns (address);\n}\n"},"node_modules/@openzeppelin/contracts/proxy/utils/Initializable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.3.0) (proxy/utils/Initializable.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed\n * behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an\n * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer\n * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.\n *\n * The initialization functions use a version number. Once a version number is used, it is consumed and cannot be\n * reused. This mechanism prevents re-execution of each \"step\" but allows the creation of new initialization steps in\n * case an upgrade adds a module that needs to be initialized.\n *\n * For example:\n *\n * [.hljs-theme-light.nopadding]\n * ```solidity\n * contract MyToken is ERC20Upgradeable {\n *     function initialize() initializer public {\n *         __ERC20_init(\"MyToken\", \"MTK\");\n *     }\n * }\n *\n * contract MyTokenV2 is MyToken, ERC20PermitUpgradeable {\n *     function initializeV2() reinitializer(2) public {\n *         __ERC20Permit_init(\"MyToken\");\n *     }\n * }\n * ```\n *\n * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as\n * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.\n *\n * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure\n * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.\n *\n * [CAUTION]\n * ====\n * Avoid leaving a contract uninitialized.\n *\n * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation\n * contract, which may impact the proxy. To prevent the implementation contract from being used, you should invoke\n * the {_disableInitializers} function in the constructor to automatically lock it when it is deployed:\n *\n * [.hljs-theme-light.nopadding]\n * ```\n * /// @custom:oz-upgrades-unsafe-allow constructor\n * constructor() {\n *     _disableInitializers();\n * }\n * ```\n * ====\n */\nabstract contract Initializable {\n    /**\n     * @dev Storage of the initializable contract.\n     *\n     * It's implemented on a custom ERC-7201 namespace to reduce the risk of storage collisions\n     * when using with upgradeable contracts.\n     *\n     * @custom:storage-location erc7201:openzeppelin.storage.Initializable\n     */\n    struct InitializableStorage {\n        /**\n         * @dev Indicates that the contract has been initialized.\n         */\n        uint64 _initialized;\n        /**\n         * @dev Indicates that the contract is in the process of being initialized.\n         */\n        bool _initializing;\n    }\n\n    // keccak256(abi.encode(uint256(keccak256(\"openzeppelin.storage.Initializable\")) - 1)) & ~bytes32(uint256(0xff))\n    bytes32 private constant INITIALIZABLE_STORAGE = 0xf0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00;\n\n    /**\n     * @dev The contract is already initialized.\n     */\n    error InvalidInitialization();\n\n    /**\n     * @dev The contract is not initializing.\n     */\n    error NotInitializing();\n\n    /**\n     * @dev Triggered when the contract has been initialized or reinitialized.\n     */\n    event Initialized(uint64 version);\n\n    /**\n     * @dev A modifier that defines a protected initializer function that can be invoked at most once. In its scope,\n     * `onlyInitializing` functions can be used to initialize parent contracts.\n     *\n     * Similar to `reinitializer(1)`, except that in the context of a constructor an `initializer` may be invoked any\n     * number of times. This behavior in the constructor can be useful during testing and is not expected to be used in\n     * production.\n     *\n     * Emits an {Initialized} event.\n     */\n    modifier initializer() {\n        // solhint-disable-next-line var-name-mixedcase\n        InitializableStorage storage $ = _getInitializableStorage();\n\n        // Cache values to avoid duplicated sloads\n        bool isTopLevelCall = !$._initializing;\n        uint64 initialized = $._initialized;\n\n        // Allowed calls:\n        // - initialSetup: the contract is not in the initializing state and no previous version was\n        //                 initialized\n        // - construction: the contract is initialized at version 1 (no reinitialization) and the\n        //                 current contract is just being deployed\n        bool initialSetup = initialized == 0 && isTopLevelCall;\n        bool construction = initialized == 1 && address(this).code.length == 0;\n\n        if (!initialSetup && !construction) {\n            revert InvalidInitialization();\n        }\n        $._initialized = 1;\n        if (isTopLevelCall) {\n            $._initializing = true;\n        }\n        _;\n        if (isTopLevelCall) {\n            $._initializing = false;\n            emit Initialized(1);\n        }\n    }\n\n    /**\n     * @dev A modifier that defines a protected reinitializer function that can be invoked at most once, and only if the\n     * contract hasn't been initialized to a greater version before. In its scope, `onlyInitializing` functions can be\n     * used to initialize parent contracts.\n     *\n     * A reinitializer may be used after the original initialization step. This is essential to configure modules that\n     * are added through upgrades and that require initialization.\n     *\n     * When `version` is 1, this modifier is similar to `initializer`, except that functions marked with `reinitializer`\n     * cannot be nested. If one is invoked in the context of another, execution will revert.\n     *\n     * Note that versions can jump in increments greater than 1; this implies that if multiple reinitializers coexist in\n     * a contract, executing them in the right order is up to the developer or operator.\n     *\n     * WARNING: Setting the version to 2**64 - 1 will prevent any future reinitialization.\n     *\n     * Emits an {Initialized} event.\n     */\n    modifier reinitializer(uint64 version) {\n        // solhint-disable-next-line var-name-mixedcase\n        InitializableStorage storage $ = _getInitializableStorage();\n\n        if ($._initializing || $._initialized >= version) {\n            revert InvalidInitialization();\n        }\n        $._initialized = version;\n        $._initializing = true;\n        _;\n        $._initializing = false;\n        emit Initialized(version);\n    }\n\n    /**\n     * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the\n     * {initializer} and {reinitializer} modifiers, directly or indirectly.\n     */\n    modifier onlyInitializing() {\n        _checkInitializing();\n        _;\n    }\n\n    /**\n     * @dev Reverts if the contract is not in an initializing state. See {onlyInitializing}.\n     */\n    function _checkInitializing() internal view virtual {\n        if (!_isInitializing()) {\n            revert NotInitializing();\n        }\n    }\n\n    /**\n     * @dev Locks the contract, preventing any future reinitialization. This cannot be part of an initializer call.\n     * Calling this in the constructor of a contract will prevent that contract from being initialized or reinitialized\n     * to any version. It is recommended to use this to lock implementation contracts that are designed to be called\n     * through proxies.\n     *\n     * Emits an {Initialized} event the first time it is successfully executed.\n     */\n    function _disableInitializers() internal virtual {\n        // solhint-disable-next-line var-name-mixedcase\n        InitializableStorage storage $ = _getInitializableStorage();\n\n        if ($._initializing) {\n            revert InvalidInitialization();\n        }\n        if ($._initialized != type(uint64).max) {\n            $._initialized = type(uint64).max;\n            emit Initialized(type(uint64).max);\n        }\n    }\n\n    /**\n     * @dev Returns the highest version that has been initialized. See {reinitializer}.\n     */\n    function _getInitializedVersion() internal view returns (uint64) {\n        return _getInitializableStorage()._initialized;\n    }\n\n    /**\n     * @dev Returns `true` if the contract is currently initializing. See {onlyInitializing}.\n     */\n    function _isInitializing() internal view returns (bool) {\n        return _getInitializableStorage()._initializing;\n    }\n\n    /**\n     * @dev Pointer to storage slot. Allows integrators to override it with a custom storage location.\n     *\n     * NOTE: Consider following the ERC-7201 formula to derive storage locations.\n     */\n    function _initializableStorageSlot() internal pure virtual returns (bytes32) {\n        return INITIALIZABLE_STORAGE;\n    }\n\n    /**\n     * @dev Returns a pointer to the storage namespace.\n     */\n    // solhint-disable-next-line var-name-mixedcase\n    function _getInitializableStorage() private pure returns (InitializableStorage storage $) {\n        bytes32 slot = _initializableStorageSlot();\n        assembly {\n            $.slot := slot\n        }\n    }\n}\n"},"node_modules/@openzeppelin/contracts/proxy/utils/UUPSUpgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.5.0) (proxy/utils/UUPSUpgradeable.sol)\n\npragma solidity ^0.8.22;\n\nimport {IERC1822Proxiable} from \"../../interfaces/draft-IERC1822.sol\";\nimport {ERC1967Utils} from \"../ERC1967/ERC1967Utils.sol\";\n\n/**\n * @dev An upgradeability mechanism designed for UUPS proxies. The functions included here can perform an upgrade of an\n * {ERC1967Proxy}, when this contract is set as the implementation behind such a proxy.\n *\n * A security mechanism ensures that an upgrade does not turn off upgradeability accidentally, although this risk is\n * reinstated if the upgrade retains upgradeability but removes the security mechanism, e.g. by replacing\n * `UUPSUpgradeable` with a custom implementation of upgrades.\n *\n * The {_authorizeUpgrade} function must be overridden to include access restriction to the upgrade mechanism.\n *\n * @custom:stateless\n */\nabstract contract UUPSUpgradeable is IERC1822Proxiable {\n    /// @custom:oz-upgrades-unsafe-allow state-variable-immutable\n    address private immutable __self = address(this);\n\n    /**\n     * @dev The version of the upgrade interface of the contract. If this getter is missing, both `upgradeTo(address)`\n     * and `upgradeToAndCall(address,bytes)` are present, and `upgradeTo` must be used if no function should be called,\n     * while `upgradeToAndCall` will invoke the `receive` function if the second argument is the empty byte string.\n     * If the getter returns `\"5.0.0\"`, only `upgradeToAndCall(address,bytes)` is present, and the second argument must\n     * be the empty byte string if no function should be called, making it impossible to invoke the `receive` function\n     * during an upgrade.\n     */\n    string public constant UPGRADE_INTERFACE_VERSION = \"5.0.0\";\n\n    /**\n     * @dev The call is from an unauthorized context.\n     */\n    error UUPSUnauthorizedCallContext();\n\n    /**\n     * @dev The storage `slot` is unsupported as a UUID.\n     */\n    error UUPSUnsupportedProxiableUUID(bytes32 slot);\n\n    /**\n     * @dev Check that the execution is being performed through a delegatecall call and that the execution context is\n     * a proxy contract with an implementation (as defined in ERC-1967) pointing to self. This should only be the case\n     * for UUPS and transparent proxies that are using the current contract as their implementation. Execution of a\n     * function through ERC-1167 minimal proxies (clones) would not normally pass this test, but is not guaranteed to\n     * fail.\n     */\n    modifier onlyProxy() {\n        _checkProxy();\n        _;\n    }\n\n    /**\n     * @dev Check that the execution is not being performed through a delegate call. This allows a function to be\n     * callable on the implementing contract but not through proxies.\n     */\n    modifier notDelegated() {\n        _checkNotDelegated();\n        _;\n    }\n\n    /**\n     * @dev Implementation of the ERC-1822 {proxiableUUID} function. This returns the storage slot used by the\n     * implementation. It is used to validate the implementation's compatibility when performing an upgrade.\n     *\n     * IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks\n     * bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this\n     * function revert if invoked through a proxy. This is guaranteed by the `notDelegated` modifier.\n     */\n    function proxiableUUID() external view notDelegated returns (bytes32) {\n        return ERC1967Utils.IMPLEMENTATION_SLOT;\n    }\n\n    /**\n     * @dev Upgrade the implementation of the proxy to `newImplementation`, and subsequently execute the function call\n     * encoded in `data`.\n     *\n     * Calls {_authorizeUpgrade}.\n     *\n     * Emits an {Upgraded} event.\n     *\n     * @custom:oz-upgrades-unsafe-allow-reachable delegatecall\n     */\n    function upgradeToAndCall(address newImplementation, bytes memory data) public payable virtual onlyProxy {\n        _authorizeUpgrade(newImplementation);\n        _upgradeToAndCallUUPS(newImplementation, data);\n    }\n\n    /**\n     * @dev Reverts if the execution is not performed via delegatecall or the execution\n     * context is not of a proxy with an ERC-1967 compliant implementation pointing to self.\n     */\n    function _checkProxy() internal view virtual {\n        if (\n            address(this) == __self || // Must be called through delegatecall\n            ERC1967Utils.getImplementation() != __self // Must be called through an active proxy\n        ) {\n            revert UUPSUnauthorizedCallContext();\n        }\n    }\n\n    /**\n     * @dev Reverts if the execution is performed via delegatecall.\n     * See {notDelegated}.\n     */\n    function _checkNotDelegated() internal view virtual {\n        if (address(this) != __self) {\n            // Must not be called through delegatecall\n            revert UUPSUnauthorizedCallContext();\n        }\n    }\n\n    /**\n     * @dev Function that should revert when `msg.sender` is not authorized to upgrade the contract. Called by\n     * {upgradeToAndCall}.\n     *\n     * Normally, this function will use an xref:access.adoc[access control] modifier such as {Ownable-onlyOwner}.\n     *\n     * ```solidity\n     * function _authorizeUpgrade(address) internal onlyOwner {}\n     * ```\n     */\n    function _authorizeUpgrade(address newImplementation) internal virtual;\n\n    /**\n     * @dev Performs an implementation upgrade with a security check for UUPS proxies, and additional setup call.\n     *\n     * As a security check, {proxiableUUID} is invoked in the new implementation, and the return value\n     * is expected to be the implementation slot in ERC-1967.\n     *\n     * Emits an {IERC1967-Upgraded} event.\n     */\n    function _upgradeToAndCallUUPS(address newImplementation, bytes memory data) private {\n        try IERC1822Proxiable(newImplementation).proxiableUUID() returns (bytes32 slot) {\n            if (slot != ERC1967Utils.IMPLEMENTATION_SLOT) {\n                revert UUPSUnsupportedProxiableUUID(slot);\n            }\n            ERC1967Utils.upgradeToAndCall(newImplementation, data);\n        } catch {\n            // The implementation is not UUPS\n            revert ERC1967Utils.ERC1967InvalidImplementation(newImplementation);\n        }\n    }\n}\n"},"node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (token/ERC20/IERC20.sol)\n\npragma solidity >=0.4.16;\n\n/**\n * @dev Interface of the ERC-20 standard as defined in the ERC.\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 value of tokens in existence.\n     */\n    function totalSupply() external view returns (uint256);\n\n    /**\n     * @dev Returns the value of tokens owned by `account`.\n     */\n    function balanceOf(address account) external view returns (uint256);\n\n    /**\n     * @dev Moves a `value` amount of 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 value) 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 a `value` amount of tokens as the allowance of `spender` over the\n     * 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 value) external returns (bool);\n\n    /**\n     * @dev Moves a `value` amount of tokens from `from` to `to` using the\n     * allowance mechanism. `value` 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 value) external returns (bool);\n}\n"},"node_modules/@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.5.0) (token/ERC20/utils/SafeERC20.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC20} from \"../IERC20.sol\";\nimport {IERC1363} from \"../../../interfaces/IERC1363.sol\";\n\n/**\n * @title SafeERC20\n * @dev Wrappers around ERC-20 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    /**\n     * @dev An operation with an ERC-20 token failed.\n     */\n    error SafeERC20FailedOperation(address token);\n\n    /**\n     * @dev Indicates a failed `decreaseAllowance` request.\n     */\n    error SafeERC20FailedDecreaseAllowance(address spender, uint256 currentAllowance, uint256 requestedDecrease);\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        if (!_safeTransfer(token, to, value, true)) {\n            revert SafeERC20FailedOperation(address(token));\n        }\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        if (!_safeTransferFrom(token, from, to, value, true)) {\n            revert SafeERC20FailedOperation(address(token));\n        }\n    }\n\n    /**\n     * @dev Variant of {safeTransfer} that returns a bool instead of reverting if the operation is not successful.\n     */\n    function trySafeTransfer(IERC20 token, address to, uint256 value) internal returns (bool) {\n        return _safeTransfer(token, to, value, false);\n    }\n\n    /**\n     * @dev Variant of {safeTransferFrom} that returns a bool instead of reverting if the operation is not successful.\n     */\n    function trySafeTransferFrom(IERC20 token, address from, address to, uint256 value) internal returns (bool) {\n        return _safeTransferFrom(token, from, to, value, false);\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     * IMPORTANT: If the token implements ERC-7674 (ERC-20 with temporary allowance), and if the \"client\"\n     * smart contract uses ERC-7674 to set temporary allowances, then the \"client\" smart contract should avoid using\n     * this function. Performing a {safeIncreaseAllowance} or {safeDecreaseAllowance} operation on a token contract\n     * that has a non-zero temporary allowance (for that particular owner-spender) will result in unexpected behavior.\n     */\n    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {\n        uint256 oldAllowance = token.allowance(address(this), spender);\n        forceApprove(token, spender, oldAllowance + value);\n    }\n\n    /**\n     * @dev Decrease the calling contract's allowance toward `spender` by `requestedDecrease`. If `token` returns no\n     * value, non-reverting calls are assumed to be successful.\n     *\n     * IMPORTANT: If the token implements ERC-7674 (ERC-20 with temporary allowance), and if the \"client\"\n     * smart contract uses ERC-7674 to set temporary allowances, then the \"client\" smart contract should avoid using\n     * this function. Performing a {safeIncreaseAllowance} or {safeDecreaseAllowance} operation on a token contract\n     * that has a non-zero temporary allowance (for that particular owner-spender) will result in unexpected behavior.\n     */\n    function safeDecreaseAllowance(IERC20 token, address spender, uint256 requestedDecrease) internal {\n        unchecked {\n            uint256 currentAllowance = token.allowance(address(this), spender);\n            if (currentAllowance < requestedDecrease) {\n                revert SafeERC20FailedDecreaseAllowance(spender, currentAllowance, requestedDecrease);\n            }\n            forceApprove(token, spender, currentAllowance - requestedDecrease);\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     * NOTE: If the token implements ERC-7674, this function will not modify any temporary allowance. This function\n     * only sets the \"standard\" allowance. Any temporary allowance will remain active, in addition to the value being\n     * set here.\n     */\n    function forceApprove(IERC20 token, address spender, uint256 value) internal {\n        if (!_safeApprove(token, spender, value, false)) {\n            if (!_safeApprove(token, spender, 0, true)) revert SafeERC20FailedOperation(address(token));\n            if (!_safeApprove(token, spender, value, true)) revert SafeERC20FailedOperation(address(token));\n        }\n    }\n\n    /**\n     * @dev Performs an {ERC1363} transferAndCall, with a fallback to the simple {ERC20} transfer if the target has no\n     * code. This can be used to implement an {ERC721}-like safe transfer that relies on {ERC1363} checks when\n     * targeting contracts.\n     *\n     * Reverts if the returned value is other than `true`.\n     */\n    function transferAndCallRelaxed(IERC1363 token, address to, uint256 value, bytes memory data) internal {\n        if (to.code.length == 0) {\n            safeTransfer(token, to, value);\n        } else if (!token.transferAndCall(to, value, data)) {\n            revert SafeERC20FailedOperation(address(token));\n        }\n    }\n\n    /**\n     * @dev Performs an {ERC1363} transferFromAndCall, with a fallback to the simple {ERC20} transferFrom if the target\n     * has no code. This can be used to implement an {ERC721}-like safe transfer that relies on {ERC1363} checks when\n     * targeting contracts.\n     *\n     * Reverts if the returned value is other than `true`.\n     */\n    function transferFromAndCallRelaxed(\n        IERC1363 token,\n        address from,\n        address to,\n        uint256 value,\n        bytes memory data\n    ) internal {\n        if (to.code.length == 0) {\n            safeTransferFrom(token, from, to, value);\n        } else if (!token.transferFromAndCall(from, to, value, data)) {\n            revert SafeERC20FailedOperation(address(token));\n        }\n    }\n\n    /**\n     * @dev Performs an {ERC1363} approveAndCall, with a fallback to the simple {ERC20} approve if the target has no\n     * code. This can be used to implement an {ERC721}-like safe transfer that rely on {ERC1363} checks when\n     * targeting contracts.\n     *\n     * NOTE: When the recipient address (`to`) has no code (i.e. is an EOA), this function behaves as {forceApprove}.\n     * Oppositely, when the recipient address (`to`) has code, this function only attempts to call {ERC1363-approveAndCall}\n     * once without retrying, and relies on the returned value to be true.\n     *\n     * Reverts if the returned value is other than `true`.\n     */\n    function approveAndCallRelaxed(IERC1363 token, address to, uint256 value, bytes memory data) internal {\n        if (to.code.length == 0) {\n            forceApprove(token, to, value);\n        } else if (!token.approveAndCall(to, value, data)) {\n            revert SafeERC20FailedOperation(address(token));\n        }\n    }\n\n    /**\n     * @dev Imitates a Solidity `token.transfer(to, value)` call, relaxing the requirement on the return value: the\n     * return value is optional (but if data is returned, it must not be false).\n     *\n     * @param token The token targeted by the call.\n     * @param to The recipient of the tokens\n     * @param value The amount of token to transfer\n     * @param bubble Behavior switch if the transfer call reverts: bubble the revert reason or return a false boolean.\n     */\n    function _safeTransfer(IERC20 token, address to, uint256 value, bool bubble) private returns (bool success) {\n        bytes4 selector = IERC20.transfer.selector;\n\n        assembly (\"memory-safe\") {\n            let fmp := mload(0x40)\n            mstore(0x00, selector)\n            mstore(0x04, and(to, shr(96, not(0))))\n            mstore(0x24, value)\n            success := call(gas(), token, 0, 0x00, 0x44, 0x00, 0x20)\n            // if call success and return is true, all is good.\n            // otherwise (not success or return is not true), we need to perform further checks\n            if iszero(and(success, eq(mload(0x00), 1))) {\n                // if the call was a failure and bubble is enabled, bubble the error\n                if and(iszero(success), bubble) {\n                    returndatacopy(fmp, 0x00, returndatasize())\n                    revert(fmp, returndatasize())\n                }\n                // if the return value is not true, then the call is only successful if:\n                // - the token address has code\n                // - the returndata is empty\n                success := and(success, and(iszero(returndatasize()), gt(extcodesize(token), 0)))\n            }\n            mstore(0x40, fmp)\n        }\n    }\n\n    /**\n     * @dev Imitates a Solidity `token.transferFrom(from, to, value)` call, relaxing the requirement on the return\n     * value: the return value is optional (but if data is returned, it must not be false).\n     *\n     * @param token The token targeted by the call.\n     * @param from The sender of the tokens\n     * @param to The recipient of the tokens\n     * @param value The amount of token to transfer\n     * @param bubble Behavior switch if the transfer call reverts: bubble the revert reason or return a false boolean.\n     */\n    function _safeTransferFrom(\n        IERC20 token,\n        address from,\n        address to,\n        uint256 value,\n        bool bubble\n    ) private returns (bool success) {\n        bytes4 selector = IERC20.transferFrom.selector;\n\n        assembly (\"memory-safe\") {\n            let fmp := mload(0x40)\n            mstore(0x00, selector)\n            mstore(0x04, and(from, shr(96, not(0))))\n            mstore(0x24, and(to, shr(96, not(0))))\n            mstore(0x44, value)\n            success := call(gas(), token, 0, 0x00, 0x64, 0x00, 0x20)\n            // if call success and return is true, all is good.\n            // otherwise (not success or return is not true), we need to perform further checks\n            if iszero(and(success, eq(mload(0x00), 1))) {\n                // if the call was a failure and bubble is enabled, bubble the error\n                if and(iszero(success), bubble) {\n                    returndatacopy(fmp, 0x00, returndatasize())\n                    revert(fmp, returndatasize())\n                }\n                // if the return value is not true, then the call is only successful if:\n                // - the token address has code\n                // - the returndata is empty\n                success := and(success, and(iszero(returndatasize()), gt(extcodesize(token), 0)))\n            }\n            mstore(0x40, fmp)\n            mstore(0x60, 0)\n        }\n    }\n\n    /**\n     * @dev Imitates a Solidity `token.approve(spender, value)` call, relaxing the requirement on the return value:\n     * the return value is optional (but if data is returned, it must not be false).\n     *\n     * @param token The token targeted by the call.\n     * @param spender The spender of the tokens\n     * @param value The amount of token to transfer\n     * @param bubble Behavior switch if the transfer call reverts: bubble the revert reason or return a false boolean.\n     */\n    function _safeApprove(IERC20 token, address spender, uint256 value, bool bubble) private returns (bool success) {\n        bytes4 selector = IERC20.approve.selector;\n\n        assembly (\"memory-safe\") {\n            let fmp := mload(0x40)\n            mstore(0x00, selector)\n            mstore(0x04, and(spender, shr(96, not(0))))\n            mstore(0x24, value)\n            success := call(gas(), token, 0, 0x00, 0x44, 0x00, 0x20)\n            // if call success and return is true, all is good.\n            // otherwise (not success or return is not true), we need to perform further checks\n            if iszero(and(success, eq(mload(0x00), 1))) {\n                // if the call was a failure and bubble is enabled, bubble the error\n                if and(iszero(success), bubble) {\n                    returndatacopy(fmp, 0x00, returndatasize())\n                    revert(fmp, returndatasize())\n                }\n                // if the return value is not true, then the call is only successful if:\n                // - the token address has code\n                // - the returndata is empty\n                success := and(success, and(iszero(returndatasize()), gt(extcodesize(token), 0)))\n            }\n            mstore(0x40, fmp)\n        }\n    }\n}\n"},"node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (token/ERC721/IERC721.sol)\n\npragma solidity >=0.6.2;\n\nimport {IERC165} from \"../../utils/introspection/IERC165.sol\";\n\n/**\n * @dev Required interface of an ERC-721 compliant contract.\n */\ninterface IERC721 is IERC165 {\n    /**\n     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.\n     */\n    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);\n\n    /**\n     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.\n     */\n    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);\n\n    /**\n     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.\n     */\n    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);\n\n    /**\n     * @dev Returns the number of tokens in ``owner``'s account.\n     */\n    function balanceOf(address owner) external view returns (uint256 balance);\n\n    /**\n     * @dev Returns the owner of the `tokenId` token.\n     *\n     * Requirements:\n     *\n     * - `tokenId` must exist.\n     */\n    function ownerOf(uint256 tokenId) external view returns (address owner);\n\n    /**\n     * @dev Safely transfers `tokenId` token from `from` to `to`.\n     *\n     * Requirements:\n     *\n     * - `from` cannot be the zero address.\n     * - `to` cannot be the zero address.\n     * - `tokenId` token must exist and be owned by `from`.\n     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon\n     *   a safe transfer.\n     *\n     * Emits a {Transfer} event.\n     */\n    function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;\n\n    /**\n     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n     * are aware of the ERC-721 protocol to prevent tokens from being forever locked.\n     *\n     * Requirements:\n     *\n     * - `from` cannot be the zero address.\n     * - `to` cannot be the zero address.\n     * - `tokenId` token must exist and be owned by `from`.\n     * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or\n     *   {setApprovalForAll}.\n     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon\n     *   a safe transfer.\n     *\n     * Emits a {Transfer} event.\n     */\n    function safeTransferFrom(address from, address to, uint256 tokenId) external;\n\n    /**\n     * @dev Transfers `tokenId` token from `from` to `to`.\n     *\n     * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC-721\n     * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must\n     * understand this adds an external call which potentially creates a reentrancy vulnerability.\n     *\n     * Requirements:\n     *\n     * - `from` cannot be the zero address.\n     * - `to` cannot be the zero address.\n     * - `tokenId` token must be owned by `from`.\n     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n     *\n     * Emits a {Transfer} event.\n     */\n    function transferFrom(address from, address to, uint256 tokenId) external;\n\n    /**\n     * @dev Gives permission to `to` to transfer `tokenId` token to another account.\n     * The approval is cleared when the token is transferred.\n     *\n     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.\n     *\n     * Requirements:\n     *\n     * - The caller must own the token or be an approved operator.\n     * - `tokenId` must exist.\n     *\n     * Emits an {Approval} event.\n     */\n    function approve(address to, uint256 tokenId) external;\n\n    /**\n     * @dev Approve or remove `operator` as an operator for the caller.\n     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.\n     *\n     * Requirements:\n     *\n     * - The `operator` cannot be the address zero.\n     *\n     * Emits an {ApprovalForAll} event.\n     */\n    function setApprovalForAll(address operator, bool approved) external;\n\n    /**\n     * @dev Returns the account approved for `tokenId` token.\n     *\n     * Requirements:\n     *\n     * - `tokenId` must exist.\n     */\n    function getApproved(uint256 tokenId) external view returns (address operator);\n\n    /**\n     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.\n     *\n     * See {setApprovalForAll}\n     */\n    function isApprovedForAll(address owner, address operator) external view returns (bool);\n}\n"},"node_modules/@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (token/ERC721/IERC721Receiver.sol)\n\npragma solidity >=0.5.0;\n\n/**\n * @title ERC-721 token receiver interface\n * @dev Interface for any contract that wants to support safeTransfers\n * from ERC-721 asset contracts.\n */\ninterface IERC721Receiver {\n    /**\n     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}\n     * by `operator` from `from`, this function is called.\n     *\n     * It must return its Solidity selector to confirm the token transfer.\n     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be\n     * reverted.\n     *\n     * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`.\n     */\n    function onERC721Received(\n        address operator,\n        address from,\n        uint256 tokenId,\n        bytes calldata data\n    ) external returns (bytes4);\n}\n"},"node_modules/@openzeppelin/contracts/utils/Address.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.5.0) (utils/Address.sol)\n\npragma solidity ^0.8.20;\n\nimport {Errors} from \"./Errors.sol\";\nimport {LowLevelCall} from \"./LowLevelCall.sol\";\n\n/**\n * @dev Collection of functions related to the address type\n */\nlibrary Address {\n    /**\n     * @dev There's no code at `target` (it is not a contract).\n     */\n    error AddressEmptyCode(address target);\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.20/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\n     */\n    function sendValue(address payable recipient, uint256 amount) internal {\n        if (address(this).balance < amount) {\n            revert Errors.InsufficientBalance(address(this).balance, amount);\n        }\n        if (LowLevelCall.callNoReturn(recipient, amount, \"\")) {\n            // call successful, nothing to do\n            return;\n        } else if (LowLevelCall.returnDataSize() > 0) {\n            LowLevelCall.bubbleRevert();\n        } else {\n            revert Errors.FailedCall();\n        }\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 or custom error, it is bubbled\n     * up by this function (like regular Solidity function calls). However, if\n     * the call reverted with no returned reason, this function reverts with a\n     * {Errors.FailedCall} error.\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    function functionCall(address target, bytes memory data) internal returns (bytes memory) {\n        return functionCallWithValue(target, data, 0);\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    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {\n        if (address(this).balance < value) {\n            revert Errors.InsufficientBalance(address(this).balance, value);\n        }\n        bool success = LowLevelCall.callNoReturn(target, value, data);\n        if (success && (LowLevelCall.returnDataSize() > 0 || target.code.length > 0)) {\n            return LowLevelCall.returnData();\n        } else if (success) {\n            revert AddressEmptyCode(target);\n        } else if (LowLevelCall.returnDataSize() > 0) {\n            LowLevelCall.bubbleRevert();\n        } else {\n            revert Errors.FailedCall();\n        }\n    }\n\n    /**\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n     * but performing a static call.\n     */\n    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\n        bool success = LowLevelCall.staticcallNoReturn(target, data);\n        if (success && (LowLevelCall.returnDataSize() > 0 || target.code.length > 0)) {\n            return LowLevelCall.returnData();\n        } else if (success) {\n            revert AddressEmptyCode(target);\n        } else if (LowLevelCall.returnDataSize() > 0) {\n            LowLevelCall.bubbleRevert();\n        } else {\n            revert Errors.FailedCall();\n        }\n    }\n\n    /**\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n     * but performing a delegate call.\n     */\n    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\n        bool success = LowLevelCall.delegatecallNoReturn(target, data);\n        if (success && (LowLevelCall.returnDataSize() > 0 || target.code.length > 0)) {\n            return LowLevelCall.returnData();\n        } else if (success) {\n            revert AddressEmptyCode(target);\n        } else if (LowLevelCall.returnDataSize() > 0) {\n            LowLevelCall.bubbleRevert();\n        } else {\n            revert Errors.FailedCall();\n        }\n    }\n\n    /**\n     * @dev Tool to verify that a low level call to smart-contract was successful, and reverts if the target\n     * was not a contract or bubbling up the revert reason (falling back to {Errors.FailedCall}) in case\n     * of an unsuccessful call.\n     *\n     * NOTE: This function is DEPRECATED and may be removed in the next major release.\n     */\n    function verifyCallResultFromTarget(\n        address target,\n        bool success,\n        bytes memory returndata\n    ) internal view returns (bytes memory) {\n        // only check if target is a contract if the call was successful and the return data is empty\n        // otherwise we already know that it was a contract\n        if (success && (returndata.length > 0 || target.code.length > 0)) {\n            return returndata;\n        } else if (success) {\n            revert AddressEmptyCode(target);\n        } else if (returndata.length > 0) {\n            LowLevelCall.bubbleRevert(returndata);\n        } else {\n            revert Errors.FailedCall();\n        }\n    }\n\n    /**\n     * @dev Tool to verify that a low level call was successful, and reverts if it wasn't, either by bubbling the\n     * revert reason or with a default {Errors.FailedCall} error.\n     */\n    function verifyCallResult(bool success, bytes memory returndata) internal pure returns (bytes memory) {\n        if (success) {\n            return returndata;\n        } else if (returndata.length > 0) {\n            LowLevelCall.bubbleRevert(returndata);\n        } else {\n            revert Errors.FailedCall();\n        }\n    }\n}\n"},"node_modules/@openzeppelin/contracts/utils/Errors.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/Errors.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Collection of common custom errors used in multiple contracts\n *\n * IMPORTANT: Backwards compatibility is not guaranteed in future versions of the library.\n * It is recommended to avoid relying on the error API for critical functionality.\n *\n * _Available since v5.1._\n */\nlibrary Errors {\n    /**\n     * @dev The ETH balance of the account is not enough to perform the operation.\n     */\n    error InsufficientBalance(uint256 balance, uint256 needed);\n\n    /**\n     * @dev A call to an address target failed. The target may have reverted.\n     */\n    error FailedCall();\n\n    /**\n     * @dev The deployment failed.\n     */\n    error FailedDeployment();\n\n    /**\n     * @dev A necessary precompile is missing.\n     */\n    error MissingPrecompile(address);\n}\n"},"node_modules/@openzeppelin/contracts/utils/LowLevelCall.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.6.0) (utils/LowLevelCall.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Library of low level call functions that implement different calling strategies to deal with the return data.\n *\n * WARNING: Using this library requires an advanced understanding of Solidity and how the EVM works. It is recommended\n * to use the {Address} library instead.\n */\nlibrary LowLevelCall {\n    /// @dev Performs a Solidity function call using a low level `call` and ignoring the return data.\n    function callNoReturn(address target, bytes memory data) internal returns (bool success) {\n        return callNoReturn(target, 0, data);\n    }\n\n    /// @dev Same as {callNoReturn-address-bytes}, but allows specifying the value to be sent in the call.\n    function callNoReturn(address target, uint256 value, bytes memory data) internal returns (bool success) {\n        assembly (\"memory-safe\") {\n            success := call(gas(), target, value, add(data, 0x20), mload(data), 0x00, 0x00)\n        }\n    }\n\n    /// @dev Performs a Solidity function call using a low level `call` and returns the first 64 bytes of the result\n    /// in the scratch space of memory. Useful for functions that return a tuple with two single-word values.\n    ///\n    /// WARNING: Do not assume that the results are zero if `success` is false. Memory can be already allocated\n    /// and this function doesn't zero it out.\n    function callReturn64Bytes(\n        address target,\n        bytes memory data\n    ) internal returns (bool success, bytes32 result1, bytes32 result2) {\n        return callReturn64Bytes(target, 0, data);\n    }\n\n    /// @dev Same as {callReturn64Bytes-address-bytes}, but allows specifying the value to be sent in the call.\n    function callReturn64Bytes(\n        address target,\n        uint256 value,\n        bytes memory data\n    ) internal returns (bool success, bytes32 result1, bytes32 result2) {\n        assembly (\"memory-safe\") {\n            success := call(gas(), target, value, add(data, 0x20), mload(data), 0x00, 0x40)\n            result1 := mload(0x00)\n            result2 := mload(0x20)\n        }\n    }\n\n    /// @dev Performs a Solidity function call using a low level `staticcall` and ignoring the return data.\n    function staticcallNoReturn(address target, bytes memory data) internal view returns (bool success) {\n        assembly (\"memory-safe\") {\n            success := staticcall(gas(), target, add(data, 0x20), mload(data), 0x00, 0x00)\n        }\n    }\n\n    /// @dev Performs a Solidity function call using a low level `staticcall` and returns the first 64 bytes of the result\n    /// in the scratch space of memory. Useful for functions that return a tuple with two single-word values.\n    ///\n    /// WARNING: Do not assume that the results are zero if `success` is false. Memory can be already allocated\n    /// and this function doesn't zero it out.\n    function staticcallReturn64Bytes(\n        address target,\n        bytes memory data\n    ) internal view returns (bool success, bytes32 result1, bytes32 result2) {\n        assembly (\"memory-safe\") {\n            success := staticcall(gas(), target, add(data, 0x20), mload(data), 0x00, 0x40)\n            result1 := mload(0x00)\n            result2 := mload(0x20)\n        }\n    }\n\n    /// @dev Performs a Solidity function call using a low level `delegatecall` and ignoring the return data.\n    function delegatecallNoReturn(address target, bytes memory data) internal returns (bool success) {\n        assembly (\"memory-safe\") {\n            success := delegatecall(gas(), target, add(data, 0x20), mload(data), 0x00, 0x00)\n        }\n    }\n\n    /// @dev Performs a Solidity function call using a low level `delegatecall` and returns the first 64 bytes of the result\n    /// in the scratch space of memory. Useful for functions that return a tuple with two single-word values.\n    ///\n    /// WARNING: Do not assume that the results are zero if `success` is false. Memory can be already allocated\n    /// and this function doesn't zero it out.\n    function delegatecallReturn64Bytes(\n        address target,\n        bytes memory data\n    ) internal returns (bool success, bytes32 result1, bytes32 result2) {\n        assembly (\"memory-safe\") {\n            success := delegatecall(gas(), target, add(data, 0x20), mload(data), 0x00, 0x40)\n            result1 := mload(0x00)\n            result2 := mload(0x20)\n        }\n    }\n\n    /// @dev Returns the size of the return data buffer.\n    function returnDataSize() internal pure returns (uint256 size) {\n        assembly (\"memory-safe\") {\n            size := returndatasize()\n        }\n    }\n\n    /// @dev Returns a buffer containing the return data from the last call.\n    function returnData() internal pure returns (bytes memory result) {\n        assembly (\"memory-safe\") {\n            result := mload(0x40)\n            mstore(result, returndatasize())\n            returndatacopy(add(result, 0x20), 0x00, returndatasize())\n            mstore(0x40, add(result, add(0x20, returndatasize())))\n        }\n    }\n\n    /// @dev Revert with the return data from the last call.\n    function bubbleRevert() internal pure {\n        assembly (\"memory-safe\") {\n            let fmp := mload(0x40)\n            returndatacopy(fmp, 0x00, returndatasize())\n            revert(fmp, returndatasize())\n        }\n    }\n\n    function bubbleRevert(bytes memory returndata) internal pure {\n        assembly (\"memory-safe\") {\n            revert(add(returndata, 0x20), mload(returndata))\n        }\n    }\n}\n"},"node_modules/@openzeppelin/contracts/utils/ReentrancyGuard.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.5.0) (utils/ReentrancyGuard.sol)\n\npragma solidity ^0.8.20;\n\nimport {StorageSlot} from \"./StorageSlot.sol\";\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 EIP-1153 (transient storage) is available on the chain you're deploying at,\n * consider using {ReentrancyGuardTransient} instead.\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 *\n * IMPORTANT: Deprecated. This storage-based reentrancy guard will be removed and replaced\n * by the {ReentrancyGuardTransient} variant in v6.0.\n *\n * @custom:stateless\n */\nabstract contract ReentrancyGuard {\n    using StorageSlot for bytes32;\n\n    // keccak256(abi.encode(uint256(keccak256(\"openzeppelin.storage.ReentrancyGuard\")) - 1)) & ~bytes32(uint256(0xff))\n    bytes32 private constant REENTRANCY_GUARD_STORAGE =\n        0x9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00;\n\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    /**\n     * @dev Unauthorized reentrant call.\n     */\n    error ReentrancyGuardReentrantCall();\n\n    constructor() {\n        _reentrancyGuardStorageSlot().getUint256Slot().value = 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 making it call a\n     * `private` function that does the actual work.\n     */\n    modifier nonReentrant() {\n        _nonReentrantBefore();\n        _;\n        _nonReentrantAfter();\n    }\n\n    /**\n     * @dev A `view` only version of {nonReentrant}. Use to block view functions\n     * from being called, preventing reading from inconsistent contract state.\n     *\n     * CAUTION: This is a \"view\" modifier and does not change the reentrancy\n     * status. Use it only on view functions. For payable or non-payable functions,\n     * use the standard {nonReentrant} modifier instead.\n     */\n    modifier nonReentrantView() {\n        _nonReentrantBeforeView();\n        _;\n    }\n\n    function _nonReentrantBeforeView() private view {\n        if (_reentrancyGuardEntered()) {\n            revert ReentrancyGuardReentrantCall();\n        }\n    }\n\n    function _nonReentrantBefore() private {\n        // On the first call to nonReentrant, _status will be NOT_ENTERED\n        _nonReentrantBeforeView();\n\n        // Any calls to nonReentrant after this point will fail\n        _reentrancyGuardStorageSlot().getUint256Slot().value = ENTERED;\n    }\n\n    function _nonReentrantAfter() private {\n        // By storing the original value once again, a refund is triggered (see\n        // https://eips.ethereum.org/EIPS/eip-2200)\n        _reentrancyGuardStorageSlot().getUint256Slot().value = NOT_ENTERED;\n    }\n\n    /**\n     * @dev Returns true if the reentrancy guard is currently set to \"entered\", which indicates there is a\n     * `nonReentrant` function in the call stack.\n     */\n    function _reentrancyGuardEntered() internal view returns (bool) {\n        return _reentrancyGuardStorageSlot().getUint256Slot().value == ENTERED;\n    }\n\n    function _reentrancyGuardStorageSlot() internal pure virtual returns (bytes32) {\n        return REENTRANCY_GUARD_STORAGE;\n    }\n}\n"},"node_modules/@openzeppelin/contracts/utils/StorageSlot.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/StorageSlot.sol)\n// This file was procedurally generated from scripts/generate/templates/StorageSlot.js.\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Library for reading and writing primitive types to specific storage slots.\n *\n * Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.\n * This library helps with reading and writing to such slots without the need for inline assembly.\n *\n * The functions in this library return Slot structs that contain a `value` member that can be used to read or write.\n *\n * Example usage to set ERC-1967 implementation slot:\n * ```solidity\n * contract ERC1967 {\n *     // Define the slot. Alternatively, use the SlotDerivation library to derive the slot.\n *     bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;\n *\n *     function _getImplementation() internal view returns (address) {\n *         return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;\n *     }\n *\n *     function _setImplementation(address newImplementation) internal {\n *         require(newImplementation.code.length > 0);\n *         StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;\n *     }\n * }\n * ```\n *\n * TIP: Consider using this library along with {SlotDerivation}.\n */\nlibrary StorageSlot {\n    struct AddressSlot {\n        address value;\n    }\n\n    struct BooleanSlot {\n        bool value;\n    }\n\n    struct Bytes32Slot {\n        bytes32 value;\n    }\n\n    struct Uint256Slot {\n        uint256 value;\n    }\n\n    struct Int256Slot {\n        int256 value;\n    }\n\n    struct StringSlot {\n        string value;\n    }\n\n    struct BytesSlot {\n        bytes value;\n    }\n\n    /**\n     * @dev Returns an `AddressSlot` with member `value` located at `slot`.\n     */\n    function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns a `BooleanSlot` with member `value` located at `slot`.\n     */\n    function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns a `Bytes32Slot` with member `value` located at `slot`.\n     */\n    function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns a `Uint256Slot` with member `value` located at `slot`.\n     */\n    function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns a `Int256Slot` with member `value` located at `slot`.\n     */\n    function getInt256Slot(bytes32 slot) internal pure returns (Int256Slot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns a `StringSlot` with member `value` located at `slot`.\n     */\n    function getStringSlot(bytes32 slot) internal pure returns (StringSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns an `StringSlot` representation of the string storage pointer `store`.\n     */\n    function getStringSlot(string storage store) internal pure returns (StringSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := store.slot\n        }\n    }\n\n    /**\n     * @dev Returns a `BytesSlot` with member `value` located at `slot`.\n     */\n    function getBytesSlot(bytes32 slot) internal pure returns (BytesSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns an `BytesSlot` representation of the bytes storage pointer `store`.\n     */\n    function getBytesSlot(bytes storage store) internal pure returns (BytesSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := store.slot\n        }\n    }\n}\n"},"node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (utils/introspection/IERC165.sol)\n\npragma solidity >=0.4.16;\n\n/**\n * @dev Interface of the ERC-165 standard, as defined in the\n * https://eips.ethereum.org/EIPS/eip-165[ERC].\n *\n * Implementers can declare support of contract interfaces, which can then be\n * queried by others ({ERC165Checker}).\n *\n * For an implementation, see {ERC165}.\n */\ninterface IERC165 {\n    /**\n     * @dev Returns true if this contract implements the interface defined by\n     * `interfaceId`. See the corresponding\n     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[ERC section]\n     * to learn more about how these ids are created.\n     *\n     * This function call must use less than 30 000 gas.\n     */\n    function supportsInterface(bytes4 interfaceId) external view returns (bool);\n}\n"},"node_modules/@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (access/Ownable2Step.sol)\n\npragma solidity ^0.8.20;\n\nimport {OwnableUpgradeable} from \"./OwnableUpgradeable.sol\";\nimport {Initializable} from \"@openzeppelin/contracts/proxy/utils/Initializable.sol\";\n\n/**\n * @dev Contract module which provides access control mechanism, where\n * there is an account (an owner) that can be granted exclusive access to\n * specific functions.\n *\n * This extension of the {Ownable} contract includes a two-step mechanism to transfer\n * ownership, where the new owner must call {acceptOwnership} in order to replace the\n * old one. This can help prevent common mistakes, such as transfers of ownership to\n * incorrect accounts, or to contracts that are unable to interact with the\n * permission system.\n *\n * The initial owner is specified at deployment time in the constructor for `Ownable`. This\n * can later be changed with {transferOwnership} and {acceptOwnership}.\n *\n * This module is used through inheritance. It will make available all functions\n * from parent (Ownable).\n */\nabstract contract Ownable2StepUpgradeable is Initializable, OwnableUpgradeable {\n    /// @custom:storage-location erc7201:openzeppelin.storage.Ownable2Step\n    struct Ownable2StepStorage {\n        address _pendingOwner;\n    }\n\n    // keccak256(abi.encode(uint256(keccak256(\"openzeppelin.storage.Ownable2Step\")) - 1)) & ~bytes32(uint256(0xff))\n    bytes32 private constant Ownable2StepStorageLocation = 0x237e158222e3e6968b72b9db0d8043aacf074ad9f650f0d1606b4d82ee432c00;\n\n    function _getOwnable2StepStorage() private pure returns (Ownable2StepStorage storage $) {\n        assembly {\n            $.slot := Ownable2StepStorageLocation\n        }\n    }\n\n    event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner);\n\n    function __Ownable2Step_init() internal onlyInitializing {\n    }\n\n    function __Ownable2Step_init_unchained() internal onlyInitializing {\n    }\n    /**\n     * @dev Returns the address of the pending owner.\n     */\n    function pendingOwner() public view virtual returns (address) {\n        Ownable2StepStorage storage $ = _getOwnable2StepStorage();\n        return $._pendingOwner;\n    }\n\n    /**\n     * @dev Starts the ownership transfer of the contract to a new account. Replaces the pending transfer if there is one.\n     * Can only be called by the current owner.\n     *\n     * Setting `newOwner` to the zero address is allowed; this can be used to cancel an initiated ownership transfer.\n     */\n    function transferOwnership(address newOwner) public virtual override onlyOwner {\n        Ownable2StepStorage storage $ = _getOwnable2StepStorage();\n        $._pendingOwner = newOwner;\n        emit OwnershipTransferStarted(owner(), newOwner);\n    }\n\n    /**\n     * @dev Transfers ownership of the contract to a new account (`newOwner`) and deletes any pending owner.\n     * Internal function without access restriction.\n     */\n    function _transferOwnership(address newOwner) internal virtual override {\n        Ownable2StepStorage storage $ = _getOwnable2StepStorage();\n        delete $._pendingOwner;\n        super._transferOwnership(newOwner);\n    }\n\n    /**\n     * @dev The new owner accepts the ownership transfer.\n     */\n    function acceptOwnership() public virtual {\n        address sender = _msgSender();\n        if (pendingOwner() != sender) {\n            revert OwnableUnauthorizedAccount(sender);\n        }\n        _transferOwnership(sender);\n    }\n}\n"},"node_modules/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)\n\npragma solidity ^0.8.20;\n\nimport {ContextUpgradeable} from \"../utils/ContextUpgradeable.sol\";\nimport {Initializable} from \"@openzeppelin/contracts/proxy/utils/Initializable.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 * The initial owner is set to the address provided by the deployer. This can\n * 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 OwnableUpgradeable is Initializable, ContextUpgradeable {\n    /// @custom:storage-location erc7201:openzeppelin.storage.Ownable\n    struct OwnableStorage {\n        address _owner;\n    }\n\n    // keccak256(abi.encode(uint256(keccak256(\"openzeppelin.storage.Ownable\")) - 1)) & ~bytes32(uint256(0xff))\n    bytes32 private constant OwnableStorageLocation = 0x9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c199300;\n\n    function _getOwnableStorage() private pure returns (OwnableStorage storage $) {\n        assembly {\n            $.slot := OwnableStorageLocation\n        }\n    }\n\n    /**\n     * @dev The caller account is not authorized to perform an operation.\n     */\n    error OwnableUnauthorizedAccount(address account);\n\n    /**\n     * @dev The owner is not a valid owner account. (eg. `address(0)`)\n     */\n    error OwnableInvalidOwner(address owner);\n\n    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\n\n    /**\n     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.\n     */\n    function __Ownable_init(address initialOwner) internal onlyInitializing {\n        __Ownable_init_unchained(initialOwner);\n    }\n\n    function __Ownable_init_unchained(address initialOwner) internal onlyInitializing {\n        if (initialOwner == address(0)) {\n            revert OwnableInvalidOwner(address(0));\n        }\n        _transferOwnership(initialOwner);\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        OwnableStorage storage $ = _getOwnableStorage();\n        return $._owner;\n    }\n\n    /**\n     * @dev Throws if the sender is not the owner.\n     */\n    function _checkOwner() internal view virtual {\n        if (owner() != _msgSender()) {\n            revert OwnableUnauthorizedAccount(_msgSender());\n        }\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        if (newOwner == address(0)) {\n            revert OwnableInvalidOwner(address(0));\n        }\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        OwnableStorage storage $ = _getOwnableStorage();\n        address oldOwner = $._owner;\n        $._owner = newOwner;\n        emit OwnershipTransferred(oldOwner, newOwner);\n    }\n}\n"},"node_modules/@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n\npragma solidity ^0.8.22;\n\nimport {UUPSUpgradeable} from \"@openzeppelin/contracts/proxy/utils/UUPSUpgradeable.sol\";\n"},"node_modules/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)\n\npragma solidity ^0.8.20;\nimport {Initializable} from \"@openzeppelin/contracts/proxy/utils/Initializable.sol\";\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 ContextUpgradeable is Initializable {\n    function __Context_init() internal onlyInitializing {\n    }\n\n    function __Context_init_unchained() internal onlyInitializing {\n    }\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"},"node_modules/@openzeppelin/contracts-upgradeable/utils/PausableUpgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.3.0) (utils/Pausable.sol)\n\npragma solidity ^0.8.20;\n\nimport {ContextUpgradeable} from \"../utils/ContextUpgradeable.sol\";\nimport {Initializable} from \"@openzeppelin/contracts/proxy/utils/Initializable.sol\";\n\n/**\n * @dev Contract module which allows children to implement an emergency stop\n * mechanism that can be triggered by an authorized account.\n *\n * This module is used through inheritance. It will make available the\n * modifiers `whenNotPaused` and `whenPaused`, which can be applied to\n * the functions of your contract. Note that they will not be pausable by\n * simply including this module, only once the modifiers are put in place.\n */\nabstract contract PausableUpgradeable is Initializable, ContextUpgradeable {\n    /// @custom:storage-location erc7201:openzeppelin.storage.Pausable\n    struct PausableStorage {\n        bool _paused;\n    }\n\n    // keccak256(abi.encode(uint256(keccak256(\"openzeppelin.storage.Pausable\")) - 1)) & ~bytes32(uint256(0xff))\n    bytes32 private constant PausableStorageLocation = 0xcd5ed15c6e187e77e9aee88184c21f4f2182ab5827cb3b7e07fbedcd63f03300;\n\n    function _getPausableStorage() private pure returns (PausableStorage storage $) {\n        assembly {\n            $.slot := PausableStorageLocation\n        }\n    }\n\n    /**\n     * @dev Emitted when the pause is triggered by `account`.\n     */\n    event Paused(address account);\n\n    /**\n     * @dev Emitted when the pause is lifted by `account`.\n     */\n    event Unpaused(address account);\n\n    /**\n     * @dev The operation failed because the contract is paused.\n     */\n    error EnforcedPause();\n\n    /**\n     * @dev The operation failed because the contract is not paused.\n     */\n    error ExpectedPause();\n\n    /**\n     * @dev Modifier to make a function callable only when the contract is not paused.\n     *\n     * Requirements:\n     *\n     * - The contract must not be paused.\n     */\n    modifier whenNotPaused() {\n        _requireNotPaused();\n        _;\n    }\n\n    /**\n     * @dev Modifier to make a function callable only when the contract is paused.\n     *\n     * Requirements:\n     *\n     * - The contract must be paused.\n     */\n    modifier whenPaused() {\n        _requirePaused();\n        _;\n    }\n\n    function __Pausable_init() internal onlyInitializing {\n    }\n\n    function __Pausable_init_unchained() internal onlyInitializing {\n    }\n    /**\n     * @dev Returns true if the contract is paused, and false otherwise.\n     */\n    function paused() public view virtual returns (bool) {\n        PausableStorage storage $ = _getPausableStorage();\n        return $._paused;\n    }\n\n    /**\n     * @dev Throws if the contract is paused.\n     */\n    function _requireNotPaused() internal view virtual {\n        if (paused()) {\n            revert EnforcedPause();\n        }\n    }\n\n    /**\n     * @dev Throws if the contract is not paused.\n     */\n    function _requirePaused() internal view virtual {\n        if (!paused()) {\n            revert ExpectedPause();\n        }\n    }\n\n    /**\n     * @dev Triggers stopped state.\n     *\n     * Requirements:\n     *\n     * - The contract must not be paused.\n     */\n    function _pause() internal virtual whenNotPaused {\n        PausableStorage storage $ = _getPausableStorage();\n        $._paused = true;\n        emit Paused(_msgSender());\n    }\n\n    /**\n     * @dev Returns to normal state.\n     *\n     * Requirements:\n     *\n     * - The contract must be paused.\n     */\n    function _unpause() internal virtual whenPaused {\n        PausableStorage storage $ = _getPausableStorage();\n        $._paused = false;\n        emit Unpaused(_msgSender());\n    }\n}\n"},"node_modules/@uniswap/v3-core/contracts/interfaces/IUniswapV3Factory.sol":{"content":"// SPDX-License-Identifier: GPL-2.0-or-later\npragma solidity >=0.5.0;\n\n/// @title The interface for the Uniswap V3 Factory\n/// @notice The Uniswap V3 Factory facilitates creation of Uniswap V3 pools and control over the protocol fees\ninterface IUniswapV3Factory {\n    /// @notice Emitted when the owner of the factory is changed\n    /// @param oldOwner The owner before the owner was changed\n    /// @param newOwner The owner after the owner was changed\n    event OwnerChanged(address indexed oldOwner, address indexed newOwner);\n\n    /// @notice Emitted when a pool is created\n    /// @param token0 The first token of the pool by address sort order\n    /// @param token1 The second token of the pool by address sort order\n    /// @param fee The fee collected upon every swap in the pool, denominated in hundredths of a bip\n    /// @param tickSpacing The minimum number of ticks between initialized ticks\n    /// @param pool The address of the created pool\n    event PoolCreated(\n        address indexed token0,\n        address indexed token1,\n        uint24 indexed fee,\n        int24 tickSpacing,\n        address pool\n    );\n\n    /// @notice Emitted when a new fee amount is enabled for pool creation via the factory\n    /// @param fee The enabled fee, denominated in hundredths of a bip\n    /// @param tickSpacing The minimum number of ticks between initialized ticks for pools created with the given fee\n    event FeeAmountEnabled(uint24 indexed fee, int24 indexed tickSpacing);\n\n    /// @notice Returns the current owner of the factory\n    /// @dev Can be changed by the current owner via setOwner\n    /// @return The address of the factory owner\n    function owner() external view returns (address);\n\n    /// @notice Returns the tick spacing for a given fee amount, if enabled, or 0 if not enabled\n    /// @dev A fee amount can never be removed, so this value should be hard coded or cached in the calling context\n    /// @param fee The enabled fee, denominated in hundredths of a bip. Returns 0 in case of unenabled fee\n    /// @return The tick spacing\n    function feeAmountTickSpacing(uint24 fee) external view returns (int24);\n\n    /// @notice Returns the pool address for a given pair of tokens and a fee, or address 0 if it does not exist\n    /// @dev tokenA and tokenB may be passed in either token0/token1 or token1/token0 order\n    /// @param tokenA The contract address of either token0 or token1\n    /// @param tokenB The contract address of the other token\n    /// @param fee The fee collected upon every swap in the pool, denominated in hundredths of a bip\n    /// @return pool The pool address\n    function getPool(\n        address tokenA,\n        address tokenB,\n        uint24 fee\n    ) external view returns (address pool);\n\n    /// @notice Creates a pool for the given two tokens and fee\n    /// @param tokenA One of the two tokens in the desired pool\n    /// @param tokenB The other of the two tokens in the desired pool\n    /// @param fee The desired fee for the pool\n    /// @dev tokenA and tokenB may be passed in either order: token0/token1 or token1/token0. tickSpacing is retrieved\n    /// from the fee. The call will revert if the pool already exists, the fee is invalid, or the token arguments\n    /// are invalid.\n    /// @return pool The address of the newly created pool\n    function createPool(\n        address tokenA,\n        address tokenB,\n        uint24 fee\n    ) external returns (address pool);\n\n    /// @notice Updates the owner of the factory\n    /// @dev Must be called by the current owner\n    /// @param _owner The new owner of the factory\n    function setOwner(address _owner) external;\n\n    /// @notice Enables a fee amount with the given tickSpacing\n    /// @dev Fee amounts may never be removed once enabled\n    /// @param fee The fee amount to enable, denominated in hundredths of a bip (i.e. 1e-6)\n    /// @param tickSpacing The spacing between ticks to be enforced for all pools created with the given fee amount\n    function enableFeeAmount(uint24 fee, int24 tickSpacing) external;\n}\n"},"node_modules/@uniswap/v3-core/contracts/interfaces/IUniswapV3Pool.sol":{"content":"// SPDX-License-Identifier: GPL-2.0-or-later\npragma solidity >=0.5.0;\n\nimport './pool/IUniswapV3PoolImmutables.sol';\nimport './pool/IUniswapV3PoolState.sol';\nimport './pool/IUniswapV3PoolDerivedState.sol';\nimport './pool/IUniswapV3PoolActions.sol';\nimport './pool/IUniswapV3PoolOwnerActions.sol';\nimport './pool/IUniswapV3PoolEvents.sol';\n\n/// @title The interface for a Uniswap V3 Pool\n/// @notice A Uniswap pool facilitates swapping and automated market making between any two assets that strictly conform\n/// to the ERC20 specification\n/// @dev The pool interface is broken up into many smaller pieces\ninterface IUniswapV3Pool is\n    IUniswapV3PoolImmutables,\n    IUniswapV3PoolState,\n    IUniswapV3PoolDerivedState,\n    IUniswapV3PoolActions,\n    IUniswapV3PoolOwnerActions,\n    IUniswapV3PoolEvents\n{\n\n}\n"},"node_modules/@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolActions.sol":{"content":"// SPDX-License-Identifier: GPL-2.0-or-later\npragma solidity >=0.5.0;\n\n/// @title Permissionless pool actions\n/// @notice Contains pool methods that can be called by anyone\ninterface IUniswapV3PoolActions {\n    /// @notice Sets the initial price for the pool\n    /// @dev Price is represented as a sqrt(amountToken1/amountToken0) Q64.96 value\n    /// @param sqrtPriceX96 the initial sqrt price of the pool as a Q64.96\n    function initialize(uint160 sqrtPriceX96) external;\n\n    /// @notice Adds liquidity for the given recipient/tickLower/tickUpper position\n    /// @dev The caller of this method receives a callback in the form of IUniswapV3MintCallback#uniswapV3MintCallback\n    /// in which they must pay any token0 or token1 owed for the liquidity. The amount of token0/token1 due depends\n    /// on tickLower, tickUpper, the amount of liquidity, and the current price.\n    /// @param recipient The address for which the liquidity will be created\n    /// @param tickLower The lower tick of the position in which to add liquidity\n    /// @param tickUpper The upper tick of the position in which to add liquidity\n    /// @param amount The amount of liquidity to mint\n    /// @param data Any data that should be passed through to the callback\n    /// @return amount0 The amount of token0 that was paid to mint the given amount of liquidity. Matches the value in the callback\n    /// @return amount1 The amount of token1 that was paid to mint the given amount of liquidity. Matches the value in the callback\n    function mint(\n        address recipient,\n        int24 tickLower,\n        int24 tickUpper,\n        uint128 amount,\n        bytes calldata data\n    ) external returns (uint256 amount0, uint256 amount1);\n\n    /// @notice Collects tokens owed to a position\n    /// @dev Does not recompute fees earned, which must be done either via mint or burn of any amount of liquidity.\n    /// Collect must be called by the position owner. To withdraw only token0 or only token1, amount0Requested or\n    /// amount1Requested may be set to zero. To withdraw all tokens owed, caller may pass any value greater than the\n    /// actual tokens owed, e.g. type(uint128).max. Tokens owed may be from accumulated swap fees or burned liquidity.\n    /// @param recipient The address which should receive the fees collected\n    /// @param tickLower The lower tick of the position for which to collect fees\n    /// @param tickUpper The upper tick of the position for which to collect fees\n    /// @param amount0Requested How much token0 should be withdrawn from the fees owed\n    /// @param amount1Requested How much token1 should be withdrawn from the fees owed\n    /// @return amount0 The amount of fees collected in token0\n    /// @return amount1 The amount of fees collected in token1\n    function collect(\n        address recipient,\n        int24 tickLower,\n        int24 tickUpper,\n        uint128 amount0Requested,\n        uint128 amount1Requested\n    ) external returns (uint128 amount0, uint128 amount1);\n\n    /// @notice Burn liquidity from the sender and account tokens owed for the liquidity to the position\n    /// @dev Can be used to trigger a recalculation of fees owed to a position by calling with an amount of 0\n    /// @dev Fees must be collected separately via a call to #collect\n    /// @param tickLower The lower tick of the position for which to burn liquidity\n    /// @param tickUpper The upper tick of the position for which to burn liquidity\n    /// @param amount How much liquidity to burn\n    /// @return amount0 The amount of token0 sent to the recipient\n    /// @return amount1 The amount of token1 sent to the recipient\n    function burn(\n        int24 tickLower,\n        int24 tickUpper,\n        uint128 amount\n    ) external returns (uint256 amount0, uint256 amount1);\n\n    /// @notice Swap token0 for token1, or token1 for token0\n    /// @dev The caller of this method receives a callback in the form of IUniswapV3SwapCallback#uniswapV3SwapCallback\n    /// @param recipient The address to receive the output of the swap\n    /// @param zeroForOne The direction of the swap, true for token0 to token1, false for token1 to token0\n    /// @param amountSpecified The amount of the swap, which implicitly configures the swap as exact input (positive), or exact output (negative)\n    /// @param sqrtPriceLimitX96 The Q64.96 sqrt price limit. If zero for one, the price cannot be less than this\n    /// value after the swap. If one for zero, the price cannot be greater than this value after the swap\n    /// @param data Any data to be passed through to the callback\n    /// @return amount0 The delta of the balance of token0 of the pool, exact when negative, minimum when positive\n    /// @return amount1 The delta of the balance of token1 of the pool, exact when negative, minimum when positive\n    function swap(\n        address recipient,\n        bool zeroForOne,\n        int256 amountSpecified,\n        uint160 sqrtPriceLimitX96,\n        bytes calldata data\n    ) external returns (int256 amount0, int256 amount1);\n\n    /// @notice Receive token0 and/or token1 and pay it back, plus a fee, in the callback\n    /// @dev The caller of this method receives a callback in the form of IUniswapV3FlashCallback#uniswapV3FlashCallback\n    /// @dev Can be used to donate underlying tokens pro-rata to currently in-range liquidity providers by calling\n    /// with 0 amount{0,1} and sending the donation amount(s) from the callback\n    /// @param recipient The address which will receive the token0 and token1 amounts\n    /// @param amount0 The amount of token0 to send\n    /// @param amount1 The amount of token1 to send\n    /// @param data Any data to be passed through to the callback\n    function flash(\n        address recipient,\n        uint256 amount0,\n        uint256 amount1,\n        bytes calldata data\n    ) external;\n\n    /// @notice Increase the maximum number of price and liquidity observations that this pool will store\n    /// @dev This method is no-op if the pool already has an observationCardinalityNext greater than or equal to\n    /// the input observationCardinalityNext.\n    /// @param observationCardinalityNext The desired minimum number of observations for the pool to store\n    function increaseObservationCardinalityNext(uint16 observationCardinalityNext) external;\n}\n"},"node_modules/@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolDerivedState.sol":{"content":"// SPDX-License-Identifier: GPL-2.0-or-later\npragma solidity >=0.5.0;\n\n/// @title Pool state that is not stored\n/// @notice Contains view functions to provide information about the pool that is computed rather than stored on the\n/// blockchain. The functions here may have variable gas costs.\ninterface IUniswapV3PoolDerivedState {\n    /// @notice Returns the cumulative tick and liquidity as of each timestamp `secondsAgo` from the current block timestamp\n    /// @dev To get a time weighted average tick or liquidity-in-range, you must call this with two values, one representing\n    /// the beginning of the period and another for the end of the period. E.g., to get the last hour time-weighted average tick,\n    /// you must call it with secondsAgos = [3600, 0].\n    /// @dev The time weighted average tick represents the geometric time weighted average price of the pool, in\n    /// log base sqrt(1.0001) of token1 / token0. The TickMath library can be used to go from a tick value to a ratio.\n    /// @param secondsAgos From how long ago each cumulative tick and liquidity value should be returned\n    /// @return tickCumulatives Cumulative tick values as of each `secondsAgos` from the current block timestamp\n    /// @return secondsPerLiquidityCumulativeX128s Cumulative seconds per liquidity-in-range value as of each `secondsAgos` from the current block\n    /// timestamp\n    function observe(uint32[] calldata secondsAgos)\n        external\n        view\n        returns (int56[] memory tickCumulatives, uint160[] memory secondsPerLiquidityCumulativeX128s);\n\n    /// @notice Returns a snapshot of the tick cumulative, seconds per liquidity and seconds inside a tick range\n    /// @dev Snapshots must only be compared to other snapshots, taken over a period for which a position existed.\n    /// I.e., snapshots cannot be compared if a position is not held for the entire period between when the first\n    /// snapshot is taken and the second snapshot is taken.\n    /// @param tickLower The lower tick of the range\n    /// @param tickUpper The upper tick of the range\n    /// @return tickCumulativeInside The snapshot of the tick accumulator for the range\n    /// @return secondsPerLiquidityInsideX128 The snapshot of seconds per liquidity for the range\n    /// @return secondsInside The snapshot of seconds per liquidity for the range\n    function snapshotCumulativesInside(int24 tickLower, int24 tickUpper)\n        external\n        view\n        returns (\n            int56 tickCumulativeInside,\n            uint160 secondsPerLiquidityInsideX128,\n            uint32 secondsInside\n        );\n}\n"},"node_modules/@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolEvents.sol":{"content":"// SPDX-License-Identifier: GPL-2.0-or-later\npragma solidity >=0.5.0;\n\n/// @title Events emitted by a pool\n/// @notice Contains all events emitted by the pool\ninterface IUniswapV3PoolEvents {\n    /// @notice Emitted exactly once by a pool when #initialize is first called on the pool\n    /// @dev Mint/Burn/Swap cannot be emitted by the pool before Initialize\n    /// @param sqrtPriceX96 The initial sqrt price of the pool, as a Q64.96\n    /// @param tick The initial tick of the pool, i.e. log base 1.0001 of the starting price of the pool\n    event Initialize(uint160 sqrtPriceX96, int24 tick);\n\n    /// @notice Emitted when liquidity is minted for a given position\n    /// @param sender The address that minted the liquidity\n    /// @param owner The owner of the position and recipient of any minted liquidity\n    /// @param tickLower The lower tick of the position\n    /// @param tickUpper The upper tick of the position\n    /// @param amount The amount of liquidity minted to the position range\n    /// @param amount0 How much token0 was required for the minted liquidity\n    /// @param amount1 How much token1 was required for the minted liquidity\n    event Mint(\n        address sender,\n        address indexed owner,\n        int24 indexed tickLower,\n        int24 indexed tickUpper,\n        uint128 amount,\n        uint256 amount0,\n        uint256 amount1\n    );\n\n    /// @notice Emitted when fees are collected by the owner of a position\n    /// @dev Collect events may be emitted with zero amount0 and amount1 when the caller chooses not to collect fees\n    /// @param owner The owner of the position for which fees are collected\n    /// @param tickLower The lower tick of the position\n    /// @param tickUpper The upper tick of the position\n    /// @param amount0 The amount of token0 fees collected\n    /// @param amount1 The amount of token1 fees collected\n    event Collect(\n        address indexed owner,\n        address recipient,\n        int24 indexed tickLower,\n        int24 indexed tickUpper,\n        uint128 amount0,\n        uint128 amount1\n    );\n\n    /// @notice Emitted when a position's liquidity is removed\n    /// @dev Does not withdraw any fees earned by the liquidity position, which must be withdrawn via #collect\n    /// @param owner The owner of the position for which liquidity is removed\n    /// @param tickLower The lower tick of the position\n    /// @param tickUpper The upper tick of the position\n    /// @param amount The amount of liquidity to remove\n    /// @param amount0 The amount of token0 withdrawn\n    /// @param amount1 The amount of token1 withdrawn\n    event Burn(\n        address indexed owner,\n        int24 indexed tickLower,\n        int24 indexed tickUpper,\n        uint128 amount,\n        uint256 amount0,\n        uint256 amount1\n    );\n\n    /// @notice Emitted by the pool for any swaps between token0 and token1\n    /// @param sender The address that initiated the swap call, and that received the callback\n    /// @param recipient The address that received the output of the swap\n    /// @param amount0 The delta of the token0 balance of the pool\n    /// @param amount1 The delta of the token1 balance of the pool\n    /// @param sqrtPriceX96 The sqrt(price) of the pool after the swap, as a Q64.96\n    /// @param liquidity The liquidity of the pool after the swap\n    /// @param tick The log base 1.0001 of price of the pool after the swap\n    event Swap(\n        address indexed sender,\n        address indexed recipient,\n        int256 amount0,\n        int256 amount1,\n        uint160 sqrtPriceX96,\n        uint128 liquidity,\n        int24 tick\n    );\n\n    /// @notice Emitted by the pool for any flashes of token0/token1\n    /// @param sender The address that initiated the swap call, and that received the callback\n    /// @param recipient The address that received the tokens from flash\n    /// @param amount0 The amount of token0 that was flashed\n    /// @param amount1 The amount of token1 that was flashed\n    /// @param paid0 The amount of token0 paid for the flash, which can exceed the amount0 plus the fee\n    /// @param paid1 The amount of token1 paid for the flash, which can exceed the amount1 plus the fee\n    event Flash(\n        address indexed sender,\n        address indexed recipient,\n        uint256 amount0,\n        uint256 amount1,\n        uint256 paid0,\n        uint256 paid1\n    );\n\n    /// @notice Emitted by the pool for increases to the number of observations that can be stored\n    /// @dev observationCardinalityNext is not the observation cardinality until an observation is written at the index\n    /// just before a mint/swap/burn.\n    /// @param observationCardinalityNextOld The previous value of the next observation cardinality\n    /// @param observationCardinalityNextNew The updated value of the next observation cardinality\n    event IncreaseObservationCardinalityNext(\n        uint16 observationCardinalityNextOld,\n        uint16 observationCardinalityNextNew\n    );\n\n    /// @notice Emitted when the protocol fee is changed by the pool\n    /// @param feeProtocol0Old The previous value of the token0 protocol fee\n    /// @param feeProtocol1Old The previous value of the token1 protocol fee\n    /// @param feeProtocol0New The updated value of the token0 protocol fee\n    /// @param feeProtocol1New The updated value of the token1 protocol fee\n    event SetFeeProtocol(uint8 feeProtocol0Old, uint8 feeProtocol1Old, uint8 feeProtocol0New, uint8 feeProtocol1New);\n\n    /// @notice Emitted when the collected protocol fees are withdrawn by the factory owner\n    /// @param sender The address that collects the protocol fees\n    /// @param recipient The address that receives the collected protocol fees\n    /// @param amount0 The amount of token0 protocol fees that is withdrawn\n    /// @param amount0 The amount of token1 protocol fees that is withdrawn\n    event CollectProtocol(address indexed sender, address indexed recipient, uint128 amount0, uint128 amount1);\n}\n"},"node_modules/@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolImmutables.sol":{"content":"// SPDX-License-Identifier: GPL-2.0-or-later\npragma solidity >=0.5.0;\n\n/// @title Pool state that never changes\n/// @notice These parameters are fixed for a pool forever, i.e., the methods will always return the same values\ninterface IUniswapV3PoolImmutables {\n    /// @notice The contract that deployed the pool, which must adhere to the IUniswapV3Factory interface\n    /// @return The contract address\n    function factory() external view returns (address);\n\n    /// @notice The first of the two tokens of the pool, sorted by address\n    /// @return The token contract address\n    function token0() external view returns (address);\n\n    /// @notice The second of the two tokens of the pool, sorted by address\n    /// @return The token contract address\n    function token1() external view returns (address);\n\n    /// @notice The pool's fee in hundredths of a bip, i.e. 1e-6\n    /// @return The fee\n    function fee() external view returns (uint24);\n\n    /// @notice The pool tick spacing\n    /// @dev Ticks can only be used at multiples of this value, minimum of 1 and always positive\n    /// e.g.: a tickSpacing of 3 means ticks can be initialized every 3rd tick, i.e., ..., -6, -3, 0, 3, 6, ...\n    /// This value is an int24 to avoid casting even though it is always positive.\n    /// @return The tick spacing\n    function tickSpacing() external view returns (int24);\n\n    /// @notice The maximum amount of position liquidity that can use any tick in the range\n    /// @dev This parameter is enforced per tick to prevent liquidity from overflowing a uint128 at any point, and\n    /// also prevents out-of-range liquidity from being used to prevent adding in-range liquidity to a pool\n    /// @return The max amount of liquidity per tick\n    function maxLiquidityPerTick() external view returns (uint128);\n}\n"},"node_modules/@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolOwnerActions.sol":{"content":"// SPDX-License-Identifier: GPL-2.0-or-later\npragma solidity >=0.5.0;\n\n/// @title Permissioned pool actions\n/// @notice Contains pool methods that may only be called by the factory owner\ninterface IUniswapV3PoolOwnerActions {\n    /// @notice Set the denominator of the protocol's % share of the fees\n    /// @param feeProtocol0 new protocol fee for token0 of the pool\n    /// @param feeProtocol1 new protocol fee for token1 of the pool\n    function setFeeProtocol(uint8 feeProtocol0, uint8 feeProtocol1) external;\n\n    /// @notice Collect the protocol fee accrued to the pool\n    /// @param recipient The address to which collected protocol fees should be sent\n    /// @param amount0Requested The maximum amount of token0 to send, can be 0 to collect fees in only token1\n    /// @param amount1Requested The maximum amount of token1 to send, can be 0 to collect fees in only token0\n    /// @return amount0 The protocol fee collected in token0\n    /// @return amount1 The protocol fee collected in token1\n    function collectProtocol(\n        address recipient,\n        uint128 amount0Requested,\n        uint128 amount1Requested\n    ) external returns (uint128 amount0, uint128 amount1);\n}\n"},"node_modules/@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolState.sol":{"content":"// SPDX-License-Identifier: GPL-2.0-or-later\npragma solidity >=0.5.0;\n\n/// @title Pool state that can change\n/// @notice These methods compose the pool's state, and can change with any frequency including multiple times\n/// per transaction\ninterface IUniswapV3PoolState {\n    /// @notice The 0th storage slot in the pool stores many values, and is exposed as a single method to save gas\n    /// when accessed externally.\n    /// @return sqrtPriceX96 The current price of the pool as a sqrt(token1/token0) Q64.96 value\n    /// tick The current tick of the pool, i.e. according to the last tick transition that was run.\n    /// This value may not always be equal to SqrtTickMath.getTickAtSqrtRatio(sqrtPriceX96) if the price is on a tick\n    /// boundary.\n    /// observationIndex The index of the last oracle observation that was written,\n    /// observationCardinality The current maximum number of observations stored in the pool,\n    /// observationCardinalityNext The next maximum number of observations, to be updated when the observation.\n    /// feeProtocol The protocol fee for both tokens of the pool.\n    /// Encoded as two 4 bit values, where the protocol fee of token1 is shifted 4 bits and the protocol fee of token0\n    /// is the lower 4 bits. Used as the denominator of a fraction of the swap fee, e.g. 4 means 1/4th of the swap fee.\n    /// unlocked Whether the pool is currently locked to reentrancy\n    function slot0()\n        external\n        view\n        returns (\n            uint160 sqrtPriceX96,\n            int24 tick,\n            uint16 observationIndex,\n            uint16 observationCardinality,\n            uint16 observationCardinalityNext,\n            uint8 feeProtocol,\n            bool unlocked\n        );\n\n    /// @notice The fee growth as a Q128.128 fees of token0 collected per unit of liquidity for the entire life of the pool\n    /// @dev This value can overflow the uint256\n    function feeGrowthGlobal0X128() external view returns (uint256);\n\n    /// @notice The fee growth as a Q128.128 fees of token1 collected per unit of liquidity for the entire life of the pool\n    /// @dev This value can overflow the uint256\n    function feeGrowthGlobal1X128() external view returns (uint256);\n\n    /// @notice The amounts of token0 and token1 that are owed to the protocol\n    /// @dev Protocol fees will never exceed uint128 max in either token\n    function protocolFees() external view returns (uint128 token0, uint128 token1);\n\n    /// @notice The currently in range liquidity available to the pool\n    /// @dev This value has no relationship to the total liquidity across all ticks\n    function liquidity() external view returns (uint128);\n\n    /// @notice Look up information about a specific tick in the pool\n    /// @param tick The tick to look up\n    /// @return liquidityGross the total amount of position liquidity that uses the pool either as tick lower or\n    /// tick upper,\n    /// liquidityNet how much liquidity changes when the pool price crosses the tick,\n    /// feeGrowthOutside0X128 the fee growth on the other side of the tick from the current tick in token0,\n    /// feeGrowthOutside1X128 the fee growth on the other side of the tick from the current tick in token1,\n    /// tickCumulativeOutside the cumulative tick value on the other side of the tick from the current tick\n    /// secondsPerLiquidityOutsideX128 the seconds spent per liquidity on the other side of the tick from the current tick,\n    /// secondsOutside the seconds spent on the other side of the tick from the current tick,\n    /// initialized Set to true if the tick is initialized, i.e. liquidityGross is greater than 0, otherwise equal to false.\n    /// Outside values can only be used if the tick is initialized, i.e. if liquidityGross is greater than 0.\n    /// In addition, these values are only relative and must be used only in comparison to previous snapshots for\n    /// a specific position.\n    function ticks(int24 tick)\n        external\n        view\n        returns (\n            uint128 liquidityGross,\n            int128 liquidityNet,\n            uint256 feeGrowthOutside0X128,\n            uint256 feeGrowthOutside1X128,\n            int56 tickCumulativeOutside,\n            uint160 secondsPerLiquidityOutsideX128,\n            uint32 secondsOutside,\n            bool initialized\n        );\n\n    /// @notice Returns 256 packed tick initialized boolean values. See TickBitmap for more information\n    function tickBitmap(int16 wordPosition) external view returns (uint256);\n\n    /// @notice Returns the information about a position by the position's key\n    /// @param key The position's key is a hash of a preimage composed by the owner, tickLower and tickUpper\n    /// @return _liquidity The amount of liquidity in the position,\n    /// Returns feeGrowthInside0LastX128 fee growth of token0 inside the tick range as of the last mint/burn/poke,\n    /// Returns feeGrowthInside1LastX128 fee growth of token1 inside the tick range as of the last mint/burn/poke,\n    /// Returns tokensOwed0 the computed amount of token0 owed to the position as of the last mint/burn/poke,\n    /// Returns tokensOwed1 the computed amount of token1 owed to the position as of the last mint/burn/poke\n    function positions(bytes32 key)\n        external\n        view\n        returns (\n            uint128 _liquidity,\n            uint256 feeGrowthInside0LastX128,\n            uint256 feeGrowthInside1LastX128,\n            uint128 tokensOwed0,\n            uint128 tokensOwed1\n        );\n\n    /// @notice Returns data about a specific observation index\n    /// @param index The element of the observations array to fetch\n    /// @dev You most likely want to use #observe() instead of this method to get an observation as of some amount of time\n    /// ago, rather than at a specific index in the array.\n    /// @return blockTimestamp The timestamp of the observation,\n    /// Returns tickCumulative the tick multiplied by seconds elapsed for the life of the pool as of the observation timestamp,\n    /// Returns secondsPerLiquidityCumulativeX128 the seconds per in range liquidity for the life of the pool as of the observation timestamp,\n    /// Returns initialized whether the observation has been initialized and the values are safe to use\n    function observations(uint256 index)\n        external\n        view\n        returns (\n            uint32 blockTimestamp,\n            int56 tickCumulative,\n            uint160 secondsPerLiquidityCumulativeX128,\n            bool initialized\n        );\n}\n"},"node_modules/@uniswap/v4-core/src/libraries/BitMath.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/// @title BitMath\n/// @dev This library provides functionality for computing bit properties of an unsigned integer\n/// @author Solady (https://github.com/Vectorized/solady/blob/8200a70e8dc2a77ecb074fc2e99a2a0d36547522/src/utils/LibBit.sol)\nlibrary BitMath {\n    /// @notice Returns the index of the most significant bit of the number,\n    ///     where the least significant bit is at index 0 and the most significant bit is at index 255\n    /// @param x the value for which to compute the most significant bit, must be greater than 0\n    /// @return r the index of the most significant bit\n    function mostSignificantBit(uint256 x) internal pure returns (uint8 r) {\n        require(x > 0);\n\n        assembly (\"memory-safe\") {\n            r := shl(7, lt(0xffffffffffffffffffffffffffffffff, x))\n            r := or(r, shl(6, lt(0xffffffffffffffff, shr(r, x))))\n            r := or(r, shl(5, lt(0xffffffff, shr(r, x))))\n            r := or(r, shl(4, lt(0xffff, shr(r, x))))\n            r := or(r, shl(3, lt(0xff, shr(r, x))))\n            // forgefmt: disable-next-item\n            r := or(r, byte(and(0x1f, shr(shr(r, x), 0x8421084210842108cc6318c6db6d54be)),\n                0x0706060506020500060203020504000106050205030304010505030400000000))\n        }\n    }\n\n    /// @notice Returns the index of the least significant bit of the number,\n    ///     where the least significant bit is at index 0 and the most significant bit is at index 255\n    /// @param x the value for which to compute the least significant bit, must be greater than 0\n    /// @return r the index of the least significant bit\n    function leastSignificantBit(uint256 x) internal pure returns (uint8 r) {\n        require(x > 0);\n\n        assembly (\"memory-safe\") {\n            // Isolate the least significant bit.\n            x := and(x, sub(0, x))\n            // For the upper 3 bits of the result, use a De Bruijn-like lookup.\n            // Credit to adhusson: https://blog.adhusson.com/cheap-find-first-set-evm/\n            // forgefmt: disable-next-item\n            r := shl(5, shr(252, shl(shl(2, shr(250, mul(x,\n                0xb6db6db6ddddddddd34d34d349249249210842108c6318c639ce739cffffffff))),\n                0x8040405543005266443200005020610674053026020000107506200176117077)))\n            // For the lower 5 bits of the result, use a De Bruijn lookup.\n            // forgefmt: disable-next-item\n            r := or(r, byte(and(div(0xd76453e0, shr(r, x)), 0x1f),\n                0x001f0d1e100c1d070f090b19131c1706010e11080a1a141802121b1503160405))\n        }\n    }\n}\n"},"node_modules/@uniswap/v4-core/src/libraries/CustomRevert.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/// @title Library for reverting with custom errors efficiently\n/// @notice Contains functions for reverting with custom errors with different argument types efficiently\n/// @dev To use this library, declare `using CustomRevert for bytes4;` and replace `revert CustomError()` with\n/// `CustomError.selector.revertWith()`\n/// @dev The functions may tamper with the free memory pointer but it is fine since the call context is exited immediately\nlibrary CustomRevert {\n    /// @dev ERC-7751 error for wrapping bubbled up reverts\n    error WrappedError(address target, bytes4 selector, bytes reason, bytes details);\n\n    /// @dev Reverts with the selector of a custom error in the scratch space\n    function revertWith(bytes4 selector) internal pure {\n        assembly (\"memory-safe\") {\n            mstore(0, selector)\n            revert(0, 0x04)\n        }\n    }\n\n    /// @dev Reverts with a custom error with an address argument in the scratch space\n    function revertWith(bytes4 selector, address addr) internal pure {\n        assembly (\"memory-safe\") {\n            mstore(0, selector)\n            mstore(0x04, and(addr, 0xffffffffffffffffffffffffffffffffffffffff))\n            revert(0, 0x24)\n        }\n    }\n\n    /// @dev Reverts with a custom error with an int24 argument in the scratch space\n    function revertWith(bytes4 selector, int24 value) internal pure {\n        assembly (\"memory-safe\") {\n            mstore(0, selector)\n            mstore(0x04, signextend(2, value))\n            revert(0, 0x24)\n        }\n    }\n\n    /// @dev Reverts with a custom error with a uint160 argument in the scratch space\n    function revertWith(bytes4 selector, uint160 value) internal pure {\n        assembly (\"memory-safe\") {\n            mstore(0, selector)\n            mstore(0x04, and(value, 0xffffffffffffffffffffffffffffffffffffffff))\n            revert(0, 0x24)\n        }\n    }\n\n    /// @dev Reverts with a custom error with two int24 arguments\n    function revertWith(bytes4 selector, int24 value1, int24 value2) internal pure {\n        assembly (\"memory-safe\") {\n            let fmp := mload(0x40)\n            mstore(fmp, selector)\n            mstore(add(fmp, 0x04), signextend(2, value1))\n            mstore(add(fmp, 0x24), signextend(2, value2))\n            revert(fmp, 0x44)\n        }\n    }\n\n    /// @dev Reverts with a custom error with two uint160 arguments\n    function revertWith(bytes4 selector, uint160 value1, uint160 value2) internal pure {\n        assembly (\"memory-safe\") {\n            let fmp := mload(0x40)\n            mstore(fmp, selector)\n            mstore(add(fmp, 0x04), and(value1, 0xffffffffffffffffffffffffffffffffffffffff))\n            mstore(add(fmp, 0x24), and(value2, 0xffffffffffffffffffffffffffffffffffffffff))\n            revert(fmp, 0x44)\n        }\n    }\n\n    /// @dev Reverts with a custom error with two address arguments\n    function revertWith(bytes4 selector, address value1, address value2) internal pure {\n        assembly (\"memory-safe\") {\n            let fmp := mload(0x40)\n            mstore(fmp, selector)\n            mstore(add(fmp, 0x04), and(value1, 0xffffffffffffffffffffffffffffffffffffffff))\n            mstore(add(fmp, 0x24), and(value2, 0xffffffffffffffffffffffffffffffffffffffff))\n            revert(fmp, 0x44)\n        }\n    }\n\n    /// @notice bubble up the revert message returned by a call and revert with a wrapped ERC-7751 error\n    /// @dev this method can be vulnerable to revert data bombs\n    function bubbleUpAndRevertWith(\n        address revertingContract,\n        bytes4 revertingFunctionSelector,\n        bytes4 additionalContext\n    ) internal pure {\n        bytes4 wrappedErrorSelector = WrappedError.selector;\n        assembly (\"memory-safe\") {\n            // Ensure the size of the revert data is a multiple of 32 bytes\n            let encodedDataSize := mul(div(add(returndatasize(), 31), 32), 32)\n\n            let fmp := mload(0x40)\n\n            // Encode wrapped error selector, address, function selector, offset, additional context, size, revert reason\n            mstore(fmp, wrappedErrorSelector)\n            mstore(add(fmp, 0x04), and(revertingContract, 0xffffffffffffffffffffffffffffffffffffffff))\n            mstore(\n                add(fmp, 0x24),\n                and(revertingFunctionSelector, 0xffffffff00000000000000000000000000000000000000000000000000000000)\n            )\n            // offset revert reason\n            mstore(add(fmp, 0x44), 0x80)\n            // offset additional context\n            mstore(add(fmp, 0x64), add(0xa0, encodedDataSize))\n            // size revert reason\n            mstore(add(fmp, 0x84), returndatasize())\n            // revert reason\n            returndatacopy(add(fmp, 0xa4), 0, returndatasize())\n            // size additional context\n            mstore(add(fmp, add(0xa4, encodedDataSize)), 0x04)\n            // additional context\n            mstore(\n                add(fmp, add(0xc4, encodedDataSize)),\n                and(additionalContext, 0xffffffff00000000000000000000000000000000000000000000000000000000)\n            )\n            revert(fmp, add(0xe4, encodedDataSize))\n        }\n    }\n}\n"},"node_modules/@uniswap/v4-core/src/libraries/FixedPoint96.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/// @title FixedPoint96\n/// @notice A library for handling binary fixed point numbers, see https://en.wikipedia.org/wiki/Q_(number_format)\n/// @dev Used in SqrtPriceMath.sol\nlibrary FixedPoint96 {\n    uint8 internal constant RESOLUTION = 96;\n    uint256 internal constant Q96 = 0x1000000000000000000000000;\n}\n"},"node_modules/@uniswap/v4-core/src/libraries/FullMath.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/// @title Contains 512-bit math functions\n/// @notice Facilitates multiplication and division that can have overflow of an intermediate value without any loss of precision\n/// @dev Handles \"phantom overflow\" i.e., allows multiplication and division where an intermediate value overflows 256 bits\nlibrary FullMath {\n    /// @notice Calculates floor(a×b÷denominator) with full precision. Throws if result overflows a uint256 or denominator == 0\n    /// @param a The multiplicand\n    /// @param b The multiplier\n    /// @param denominator The divisor\n    /// @return result The 256-bit result\n    /// @dev Credit to Remco Bloemen under MIT license https://xn--2-umb.com/21/muldiv\n    function mulDiv(uint256 a, uint256 b, uint256 denominator) internal pure returns (uint256 result) {\n        unchecked {\n            // 512-bit multiply [prod1 prod0] = a * b\n            // Compute the product mod 2**256 and mod 2**256 - 1\n            // then use the Chinese Remainder Theorem to reconstruct\n            // the 512 bit result. The result is stored in two 256\n            // variables such that product = prod1 * 2**256 + prod0\n            uint256 prod0 = a * b; // Least significant 256 bits of the product\n            uint256 prod1; // Most significant 256 bits of the product\n            assembly (\"memory-safe\") {\n                let mm := mulmod(a, b, not(0))\n                prod1 := sub(sub(mm, prod0), lt(mm, prod0))\n            }\n\n            // Make sure the result is less than 2**256.\n            // Also prevents denominator == 0\n            require(denominator > prod1);\n\n            // Handle non-overflow cases, 256 by 256 division\n            if (prod1 == 0) {\n                assembly (\"memory-safe\") {\n                    result := div(prod0, denominator)\n                }\n                return result;\n            }\n\n            ///////////////////////////////////////////////\n            // 512 by 256 division.\n            ///////////////////////////////////////////////\n\n            // Make division exact by subtracting the remainder from [prod1 prod0]\n            // Compute remainder using mulmod\n            uint256 remainder;\n            assembly (\"memory-safe\") {\n                remainder := mulmod(a, b, denominator)\n            }\n            // Subtract 256 bit number from 512 bit number\n            assembly (\"memory-safe\") {\n                prod1 := sub(prod1, gt(remainder, prod0))\n                prod0 := sub(prod0, remainder)\n            }\n\n            // Factor powers of two out of denominator\n            // Compute largest power of two divisor of denominator.\n            // Always >= 1.\n            uint256 twos = (0 - denominator) & denominator;\n            // Divide denominator by power of two\n            assembly (\"memory-safe\") {\n                denominator := div(denominator, twos)\n            }\n\n            // Divide [prod1 prod0] by the factors of two\n            assembly (\"memory-safe\") {\n                prod0 := div(prod0, twos)\n            }\n            // Shift in bits from prod1 into prod0. For this we need\n            // to flip `twos` such that it is 2**256 / twos.\n            // If twos is zero, then it becomes one\n            assembly (\"memory-safe\") {\n                twos := add(div(sub(0, twos), twos), 1)\n            }\n            prod0 |= prod1 * twos;\n\n            // Invert denominator mod 2**256\n            // Now that denominator is an odd number, it has an inverse\n            // modulo 2**256 such that denominator * inv = 1 mod 2**256.\n            // Compute the inverse by starting with a seed that is correct\n            // correct for four bits. That is, denominator * inv = 1 mod 2**4\n            uint256 inv = (3 * denominator) ^ 2;\n            // Now use Newton-Raphson iteration to improve the precision.\n            // Thanks to Hensel's lifting lemma, this also works in modular\n            // arithmetic, doubling the correct bits in each step.\n            inv *= 2 - denominator * inv; // inverse mod 2**8\n            inv *= 2 - denominator * inv; // inverse mod 2**16\n            inv *= 2 - denominator * inv; // inverse mod 2**32\n            inv *= 2 - denominator * inv; // inverse mod 2**64\n            inv *= 2 - denominator * inv; // inverse mod 2**128\n            inv *= 2 - denominator * inv; // inverse mod 2**256\n\n            // Because the division is now exact we can divide by multiplying\n            // with the modular inverse of denominator. This will give us the\n            // correct result modulo 2**256. Since the preconditions guarantee\n            // that the outcome is less than 2**256, this is the final result.\n            // We don't need to compute the high bits of the result and prod1\n            // is no longer required.\n            result = prod0 * inv;\n            return result;\n        }\n    }\n\n    /// @notice Calculates ceil(a×b÷denominator) with full precision. Throws if result overflows a uint256 or denominator == 0\n    /// @param a The multiplicand\n    /// @param b The multiplier\n    /// @param denominator The divisor\n    /// @return result The 256-bit result\n    function mulDivRoundingUp(uint256 a, uint256 b, uint256 denominator) internal pure returns (uint256 result) {\n        unchecked {\n            result = mulDiv(a, b, denominator);\n            if (mulmod(a, b, denominator) != 0) {\n                require(++result > 0);\n            }\n        }\n    }\n}\n"},"node_modules/@uniswap/v4-core/src/libraries/SafeCast.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {CustomRevert} from \"./CustomRevert.sol\";\n\n/// @title Safe casting methods\n/// @notice Contains methods for safely casting between types\nlibrary SafeCast {\n    using CustomRevert for bytes4;\n\n    error SafeCastOverflow();\n\n    /// @notice Cast a uint256 to a uint160, revert on overflow\n    /// @param x The uint256 to be downcasted\n    /// @return y The downcasted integer, now type uint160\n    function toUint160(uint256 x) internal pure returns (uint160 y) {\n        y = uint160(x);\n        if (y != x) SafeCastOverflow.selector.revertWith();\n    }\n\n    /// @notice Cast a uint256 to a uint128, revert on overflow\n    /// @param x The uint256 to be downcasted\n    /// @return y The downcasted integer, now type uint128\n    function toUint128(uint256 x) internal pure returns (uint128 y) {\n        y = uint128(x);\n        if (x != y) SafeCastOverflow.selector.revertWith();\n    }\n\n    /// @notice Cast a int128 to a uint128, revert on overflow or underflow\n    /// @param x The int128 to be casted\n    /// @return y The casted integer, now type uint128\n    function toUint128(int128 x) internal pure returns (uint128 y) {\n        if (x < 0) SafeCastOverflow.selector.revertWith();\n        y = uint128(x);\n    }\n\n    /// @notice Cast a int256 to a int128, revert on overflow or underflow\n    /// @param x The int256 to be downcasted\n    /// @return y The downcasted integer, now type int128\n    function toInt128(int256 x) internal pure returns (int128 y) {\n        y = int128(x);\n        if (y != x) SafeCastOverflow.selector.revertWith();\n    }\n\n    /// @notice Cast a uint256 to a int256, revert on overflow\n    /// @param x The uint256 to be casted\n    /// @return y The casted integer, now type int256\n    function toInt256(uint256 x) internal pure returns (int256 y) {\n        y = int256(x);\n        if (y < 0) SafeCastOverflow.selector.revertWith();\n    }\n\n    /// @notice Cast a uint256 to a int128, revert on overflow\n    /// @param x The uint256 to be downcasted\n    /// @return The downcasted integer, now type int128\n    function toInt128(uint256 x) internal pure returns (int128) {\n        if (x >= 1 << 127) SafeCastOverflow.selector.revertWith();\n        return int128(int256(x));\n    }\n}\n"},"node_modules/@uniswap/v4-core/src/libraries/SqrtPriceMath.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {SafeCast} from \"./SafeCast.sol\";\n\nimport {FullMath} from \"./FullMath.sol\";\nimport {UnsafeMath} from \"./UnsafeMath.sol\";\nimport {FixedPoint96} from \"./FixedPoint96.sol\";\n\n/// @title Functions based on Q64.96 sqrt price and liquidity\n/// @notice Contains the math that uses square root of price as a Q64.96 and liquidity to compute deltas\nlibrary SqrtPriceMath {\n    using SafeCast for uint256;\n\n    error InvalidPriceOrLiquidity();\n    error InvalidPrice();\n    error NotEnoughLiquidity();\n    error PriceOverflow();\n\n    /// @notice Gets the next sqrt price given a delta of currency0\n    /// @dev Always rounds up, because in the exact output case (increasing price) we need to move the price at least\n    /// far enough to get the desired output amount, and in the exact input case (decreasing price) we need to move the\n    /// price less in order to not send too much output.\n    /// The most precise formula for this is liquidity * sqrtPX96 / (liquidity +- amount * sqrtPX96),\n    /// if this is impossible because of overflow, we calculate liquidity / (liquidity / sqrtPX96 +- amount).\n    /// @param sqrtPX96 The starting price, i.e. before accounting for the currency0 delta\n    /// @param liquidity The amount of usable liquidity\n    /// @param amount How much of currency0 to add or remove from virtual reserves\n    /// @param add Whether to add or remove the amount of currency0\n    /// @return The price after adding or removing amount, depending on add\n    function getNextSqrtPriceFromAmount0RoundingUp(uint160 sqrtPX96, uint128 liquidity, uint256 amount, bool add)\n        internal\n        pure\n        returns (uint160)\n    {\n        // we short circuit amount == 0 because the result is otherwise not guaranteed to equal the input price\n        if (amount == 0) return sqrtPX96;\n        uint256 numerator1 = uint256(liquidity) << FixedPoint96.RESOLUTION;\n\n        if (add) {\n            unchecked {\n                uint256 product = amount * sqrtPX96;\n                if (product / amount == sqrtPX96) {\n                    uint256 denominator = numerator1 + product;\n                    if (denominator >= numerator1) {\n                        // always fits in 160 bits\n                        return uint160(FullMath.mulDivRoundingUp(numerator1, sqrtPX96, denominator));\n                    }\n                }\n            }\n            // denominator is checked for overflow\n            return uint160(UnsafeMath.divRoundingUp(numerator1, (numerator1 / sqrtPX96) + amount));\n        } else {\n            unchecked {\n                uint256 product = amount * sqrtPX96;\n                // if the product overflows, we know the denominator underflows\n                // in addition, we must check that the denominator does not underflow\n                // equivalent: if (product / amount != sqrtPX96 || numerator1 <= product) revert PriceOverflow();\n                assembly (\"memory-safe\") {\n                    if iszero(\n                        and(\n                            eq(div(product, amount), and(sqrtPX96, 0xffffffffffffffffffffffffffffffffffffffff)),\n                            gt(numerator1, product)\n                        )\n                    ) {\n                        mstore(0, 0xf5c787f1) // selector for PriceOverflow()\n                        revert(0x1c, 0x04)\n                    }\n                }\n                uint256 denominator = numerator1 - product;\n                return FullMath.mulDivRoundingUp(numerator1, sqrtPX96, denominator).toUint160();\n            }\n        }\n    }\n\n    /// @notice Gets the next sqrt price given a delta of currency1\n    /// @dev Always rounds down, because in the exact output case (decreasing price) we need to move the price at least\n    /// far enough to get the desired output amount, and in the exact input case (increasing price) we need to move the\n    /// price less in order to not send too much output.\n    /// The formula we compute is within <1 wei of the lossless version: sqrtPX96 +- amount / liquidity\n    /// @param sqrtPX96 The starting price, i.e., before accounting for the currency1 delta\n    /// @param liquidity The amount of usable liquidity\n    /// @param amount How much of currency1 to add, or remove, from virtual reserves\n    /// @param add Whether to add, or remove, the amount of currency1\n    /// @return The price after adding or removing `amount`\n    function getNextSqrtPriceFromAmount1RoundingDown(uint160 sqrtPX96, uint128 liquidity, uint256 amount, bool add)\n        internal\n        pure\n        returns (uint160)\n    {\n        // if we're adding (subtracting), rounding down requires rounding the quotient down (up)\n        // in both cases, avoid a mulDiv for most inputs\n        if (add) {\n            uint256 quotient = (\n                amount <= type(uint160).max\n                    ? (amount << FixedPoint96.RESOLUTION) / liquidity\n                    : FullMath.mulDiv(amount, FixedPoint96.Q96, liquidity)\n            );\n\n            return (uint256(sqrtPX96) + quotient).toUint160();\n        } else {\n            uint256 quotient = (\n                amount <= type(uint160).max\n                    ? UnsafeMath.divRoundingUp(amount << FixedPoint96.RESOLUTION, liquidity)\n                    : FullMath.mulDivRoundingUp(amount, FixedPoint96.Q96, liquidity)\n            );\n\n            // equivalent: if (sqrtPX96 <= quotient) revert NotEnoughLiquidity();\n            assembly (\"memory-safe\") {\n                if iszero(gt(and(sqrtPX96, 0xffffffffffffffffffffffffffffffffffffffff), quotient)) {\n                    mstore(0, 0x4323a555) // selector for NotEnoughLiquidity()\n                    revert(0x1c, 0x04)\n                }\n            }\n            // always fits 160 bits\n            unchecked {\n                return uint160(sqrtPX96 - quotient);\n            }\n        }\n    }\n\n    /// @notice Gets the next sqrt price given an input amount of currency0 or currency1\n    /// @dev Throws if price or liquidity are 0, or if the next price is out of bounds\n    /// @param sqrtPX96 The starting price, i.e., before accounting for the input amount\n    /// @param liquidity The amount of usable liquidity\n    /// @param amountIn How much of currency0, or currency1, is being swapped in\n    /// @param zeroForOne Whether the amount in is currency0 or currency1\n    /// @return uint160 The price after adding the input amount to currency0 or currency1\n    function getNextSqrtPriceFromInput(uint160 sqrtPX96, uint128 liquidity, uint256 amountIn, bool zeroForOne)\n        internal\n        pure\n        returns (uint160)\n    {\n        // equivalent: if (sqrtPX96 == 0 || liquidity == 0) revert InvalidPriceOrLiquidity();\n        assembly (\"memory-safe\") {\n            if or(\n                iszero(and(sqrtPX96, 0xffffffffffffffffffffffffffffffffffffffff)),\n                iszero(and(liquidity, 0xffffffffffffffffffffffffffffffff))\n            ) {\n                mstore(0, 0x4f2461b8) // selector for InvalidPriceOrLiquidity()\n                revert(0x1c, 0x04)\n            }\n        }\n\n        // round to make sure that we don't pass the target price\n        return zeroForOne\n            ? getNextSqrtPriceFromAmount0RoundingUp(sqrtPX96, liquidity, amountIn, true)\n            : getNextSqrtPriceFromAmount1RoundingDown(sqrtPX96, liquidity, amountIn, true);\n    }\n\n    /// @notice Gets the next sqrt price given an output amount of currency0 or currency1\n    /// @dev Throws if price or liquidity are 0 or the next price is out of bounds\n    /// @param sqrtPX96 The starting price before accounting for the output amount\n    /// @param liquidity The amount of usable liquidity\n    /// @param amountOut How much of currency0, or currency1, is being swapped out\n    /// @param zeroForOne Whether the amount out is currency1 or currency0\n    /// @return uint160 The price after removing the output amount of currency0 or currency1\n    function getNextSqrtPriceFromOutput(uint160 sqrtPX96, uint128 liquidity, uint256 amountOut, bool zeroForOne)\n        internal\n        pure\n        returns (uint160)\n    {\n        // equivalent: if (sqrtPX96 == 0 || liquidity == 0) revert InvalidPriceOrLiquidity();\n        assembly (\"memory-safe\") {\n            if or(\n                iszero(and(sqrtPX96, 0xffffffffffffffffffffffffffffffffffffffff)),\n                iszero(and(liquidity, 0xffffffffffffffffffffffffffffffff))\n            ) {\n                mstore(0, 0x4f2461b8) // selector for InvalidPriceOrLiquidity()\n                revert(0x1c, 0x04)\n            }\n        }\n\n        // round to make sure that we pass the target price\n        return zeroForOne\n            ? getNextSqrtPriceFromAmount1RoundingDown(sqrtPX96, liquidity, amountOut, false)\n            : getNextSqrtPriceFromAmount0RoundingUp(sqrtPX96, liquidity, amountOut, false);\n    }\n\n    /// @notice Gets the amount0 delta between two prices\n    /// @dev Calculates liquidity / sqrt(lower) - liquidity / sqrt(upper),\n    /// i.e. liquidity * (sqrt(upper) - sqrt(lower)) / (sqrt(upper) * sqrt(lower))\n    /// @param sqrtPriceAX96 A sqrt price\n    /// @param sqrtPriceBX96 Another sqrt price\n    /// @param liquidity The amount of usable liquidity\n    /// @param roundUp Whether to round the amount up or down\n    /// @return uint256 Amount of currency0 required to cover a position of size liquidity between the two passed prices\n    function getAmount0Delta(uint160 sqrtPriceAX96, uint160 sqrtPriceBX96, uint128 liquidity, bool roundUp)\n        internal\n        pure\n        returns (uint256)\n    {\n        unchecked {\n            if (sqrtPriceAX96 > sqrtPriceBX96) (sqrtPriceAX96, sqrtPriceBX96) = (sqrtPriceBX96, sqrtPriceAX96);\n\n            // equivalent: if (sqrtPriceAX96 == 0) revert InvalidPrice();\n            assembly (\"memory-safe\") {\n                if iszero(and(sqrtPriceAX96, 0xffffffffffffffffffffffffffffffffffffffff)) {\n                    mstore(0, 0x00bfc921) // selector for InvalidPrice()\n                    revert(0x1c, 0x04)\n                }\n            }\n\n            uint256 numerator1 = uint256(liquidity) << FixedPoint96.RESOLUTION;\n            uint256 numerator2 = sqrtPriceBX96 - sqrtPriceAX96;\n\n            return roundUp\n                ? UnsafeMath.divRoundingUp(FullMath.mulDivRoundingUp(numerator1, numerator2, sqrtPriceBX96), sqrtPriceAX96)\n                : FullMath.mulDiv(numerator1, numerator2, sqrtPriceBX96) / sqrtPriceAX96;\n        }\n    }\n\n    /// @notice Equivalent to: `a >= b ? a - b : b - a`\n    function absDiff(uint160 a, uint160 b) internal pure returns (uint256 res) {\n        assembly (\"memory-safe\") {\n            let diff :=\n                sub(and(a, 0xffffffffffffffffffffffffffffffffffffffff), and(b, 0xffffffffffffffffffffffffffffffffffffffff))\n            // mask = 0 if a >= b else -1 (all 1s)\n            let mask := sar(255, diff)\n            // if a >= b, res = a - b = 0 ^ (a - b)\n            // if a < b, res = b - a = ~~(b - a) = ~(-(b - a) - 1) = ~(a - b - 1) = (-1) ^ (a - b - 1)\n            // either way, res = mask ^ (a - b + mask)\n            res := xor(mask, add(mask, diff))\n        }\n    }\n\n    /// @notice Gets the amount1 delta between two prices\n    /// @dev Calculates liquidity * (sqrt(upper) - sqrt(lower))\n    /// @param sqrtPriceAX96 A sqrt price\n    /// @param sqrtPriceBX96 Another sqrt price\n    /// @param liquidity The amount of usable liquidity\n    /// @param roundUp Whether to round the amount up, or down\n    /// @return amount1 Amount of currency1 required to cover a position of size liquidity between the two passed prices\n    function getAmount1Delta(uint160 sqrtPriceAX96, uint160 sqrtPriceBX96, uint128 liquidity, bool roundUp)\n        internal\n        pure\n        returns (uint256 amount1)\n    {\n        uint256 numerator = absDiff(sqrtPriceAX96, sqrtPriceBX96);\n        uint256 denominator = FixedPoint96.Q96;\n        uint256 _liquidity = uint256(liquidity);\n\n        /**\n         * Equivalent to:\n         *   amount1 = roundUp\n         *       ? FullMath.mulDivRoundingUp(liquidity, sqrtPriceBX96 - sqrtPriceAX96, FixedPoint96.Q96)\n         *       : FullMath.mulDiv(liquidity, sqrtPriceBX96 - sqrtPriceAX96, FixedPoint96.Q96);\n         * Cannot overflow because `type(uint128).max * type(uint160).max >> 96 < (1 << 192)`.\n         */\n        amount1 = FullMath.mulDiv(_liquidity, numerator, denominator);\n        assembly (\"memory-safe\") {\n            amount1 := add(amount1, and(gt(mulmod(_liquidity, numerator, denominator), 0), roundUp))\n        }\n    }\n\n    /// @notice Helper that gets signed currency0 delta\n    /// @param sqrtPriceAX96 A sqrt price\n    /// @param sqrtPriceBX96 Another sqrt price\n    /// @param liquidity The change in liquidity for which to compute the amount0 delta\n    /// @return int256 Amount of currency0 corresponding to the passed liquidityDelta between the two prices\n    function getAmount0Delta(uint160 sqrtPriceAX96, uint160 sqrtPriceBX96, int128 liquidity)\n        internal\n        pure\n        returns (int256)\n    {\n        unchecked {\n            return liquidity < 0\n                ? getAmount0Delta(sqrtPriceAX96, sqrtPriceBX96, uint128(-liquidity), false).toInt256()\n                : -getAmount0Delta(sqrtPriceAX96, sqrtPriceBX96, uint128(liquidity), true).toInt256();\n        }\n    }\n\n    /// @notice Helper that gets signed currency1 delta\n    /// @param sqrtPriceAX96 A sqrt price\n    /// @param sqrtPriceBX96 Another sqrt price\n    /// @param liquidity The change in liquidity for which to compute the amount1 delta\n    /// @return int256 Amount of currency1 corresponding to the passed liquidityDelta between the two prices\n    function getAmount1Delta(uint160 sqrtPriceAX96, uint160 sqrtPriceBX96, int128 liquidity)\n        internal\n        pure\n        returns (int256)\n    {\n        unchecked {\n            return liquidity < 0\n                ? getAmount1Delta(sqrtPriceAX96, sqrtPriceBX96, uint128(-liquidity), false).toInt256()\n                : -getAmount1Delta(sqrtPriceAX96, sqrtPriceBX96, uint128(liquidity), true).toInt256();\n        }\n    }\n}\n"},"node_modules/@uniswap/v4-core/src/libraries/TickMath.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {BitMath} from \"./BitMath.sol\";\nimport {CustomRevert} from \"./CustomRevert.sol\";\n\n/// @title Math library for computing sqrt prices from ticks and vice versa\n/// @notice Computes sqrt price for ticks of size 1.0001, i.e. sqrt(1.0001^tick) as fixed point Q64.96 numbers. Supports\n/// prices between 2**-128 and 2**128\nlibrary TickMath {\n    using CustomRevert for bytes4;\n\n    /// @notice Thrown when the tick passed to #getSqrtPriceAtTick is not between MIN_TICK and MAX_TICK\n    error InvalidTick(int24 tick);\n    /// @notice Thrown when the price passed to #getTickAtSqrtPrice does not correspond to a price between MIN_TICK and MAX_TICK\n    error InvalidSqrtPrice(uint160 sqrtPriceX96);\n\n    /// @dev The minimum tick that may be passed to #getSqrtPriceAtTick computed from log base 1.0001 of 2**-128\n    /// @dev If ever MIN_TICK and MAX_TICK are not centered around 0, the absTick logic in getSqrtPriceAtTick cannot be used\n    int24 internal constant MIN_TICK = -887272;\n    /// @dev The maximum tick that may be passed to #getSqrtPriceAtTick computed from log base 1.0001 of 2**128\n    /// @dev If ever MIN_TICK and MAX_TICK are not centered around 0, the absTick logic in getSqrtPriceAtTick cannot be used\n    int24 internal constant MAX_TICK = 887272;\n\n    /// @dev The minimum tick spacing value drawn from the range of type int16 that is greater than 0, i.e. min from the range [1, 32767]\n    int24 internal constant MIN_TICK_SPACING = 1;\n    /// @dev The maximum tick spacing value drawn from the range of type int16, i.e. max from the range [1, 32767]\n    int24 internal constant MAX_TICK_SPACING = type(int16).max;\n\n    /// @dev The minimum value that can be returned from #getSqrtPriceAtTick. Equivalent to getSqrtPriceAtTick(MIN_TICK)\n    uint160 internal constant MIN_SQRT_PRICE = 4295128739;\n    /// @dev The maximum value that can be returned from #getSqrtPriceAtTick. Equivalent to getSqrtPriceAtTick(MAX_TICK)\n    uint160 internal constant MAX_SQRT_PRICE = 1461446703485210103287273052203988822378723970342;\n    /// @dev A threshold used for optimized bounds check, equals `MAX_SQRT_PRICE - MIN_SQRT_PRICE - 1`\n    uint160 internal constant MAX_SQRT_PRICE_MINUS_MIN_SQRT_PRICE_MINUS_ONE =\n        1461446703485210103287273052203988822378723970342 - 4295128739 - 1;\n\n    /// @notice Given a tickSpacing, compute the maximum usable tick\n    function maxUsableTick(int24 tickSpacing) internal pure returns (int24) {\n        unchecked {\n            return (MAX_TICK / tickSpacing) * tickSpacing;\n        }\n    }\n\n    /// @notice Given a tickSpacing, compute the minimum usable tick\n    function minUsableTick(int24 tickSpacing) internal pure returns (int24) {\n        unchecked {\n            return (MIN_TICK / tickSpacing) * tickSpacing;\n        }\n    }\n\n    /// @notice Calculates sqrt(1.0001^tick) * 2^96\n    /// @dev Throws if |tick| > max tick\n    /// @param tick The input tick for the above formula\n    /// @return sqrtPriceX96 A Fixed point Q64.96 number representing the sqrt of the price of the two assets (currency1/currency0)\n    /// at the given tick\n    function getSqrtPriceAtTick(int24 tick) internal pure returns (uint160 sqrtPriceX96) {\n        unchecked {\n            uint256 absTick;\n            assembly (\"memory-safe\") {\n                tick := signextend(2, tick)\n                // mask = 0 if tick >= 0 else -1 (all 1s)\n                let mask := sar(255, tick)\n                // if tick >= 0, |tick| = tick = 0 ^ tick\n                // if tick < 0, |tick| = ~~|tick| = ~(-|tick| - 1) = ~(tick - 1) = (-1) ^ (tick - 1)\n                // either way, |tick| = mask ^ (tick + mask)\n                absTick := xor(mask, add(mask, tick))\n            }\n\n            if (absTick > uint256(int256(MAX_TICK))) InvalidTick.selector.revertWith(tick);\n\n            // The tick is decomposed into bits, and for each bit with index i that is set, the product of 1/sqrt(1.0001^(2^i))\n            // is calculated (using Q128.128). The constants used for this calculation are rounded to the nearest integer\n\n            // Equivalent to:\n            //     price = absTick & 0x1 != 0 ? 0xfffcb933bd6fad37aa2d162d1a594001 : 0x100000000000000000000000000000000;\n            //     or price = int(2**128 / sqrt(1.0001)) if (absTick & 0x1) else 1 << 128\n            uint256 price;\n            assembly (\"memory-safe\") {\n                price := xor(shl(128, 1), mul(xor(shl(128, 1), 0xfffcb933bd6fad37aa2d162d1a594001), and(absTick, 0x1)))\n            }\n            if (absTick & 0x2 != 0) price = (price * 0xfff97272373d413259a46990580e213a) >> 128;\n            if (absTick & 0x4 != 0) price = (price * 0xfff2e50f5f656932ef12357cf3c7fdcc) >> 128;\n            if (absTick & 0x8 != 0) price = (price * 0xffe5caca7e10e4e61c3624eaa0941cd0) >> 128;\n            if (absTick & 0x10 != 0) price = (price * 0xffcb9843d60f6159c9db58835c926644) >> 128;\n            if (absTick & 0x20 != 0) price = (price * 0xff973b41fa98c081472e6896dfb254c0) >> 128;\n            if (absTick & 0x40 != 0) price = (price * 0xff2ea16466c96a3843ec78b326b52861) >> 128;\n            if (absTick & 0x80 != 0) price = (price * 0xfe5dee046a99a2a811c461f1969c3053) >> 128;\n            if (absTick & 0x100 != 0) price = (price * 0xfcbe86c7900a88aedcffc83b479aa3a4) >> 128;\n            if (absTick & 0x200 != 0) price = (price * 0xf987a7253ac413176f2b074cf7815e54) >> 128;\n            if (absTick & 0x400 != 0) price = (price * 0xf3392b0822b70005940c7a398e4b70f3) >> 128;\n            if (absTick & 0x800 != 0) price = (price * 0xe7159475a2c29b7443b29c7fa6e889d9) >> 128;\n            if (absTick & 0x1000 != 0) price = (price * 0xd097f3bdfd2022b8845ad8f792aa5825) >> 128;\n            if (absTick & 0x2000 != 0) price = (price * 0xa9f746462d870fdf8a65dc1f90e061e5) >> 128;\n            if (absTick & 0x4000 != 0) price = (price * 0x70d869a156d2a1b890bb3df62baf32f7) >> 128;\n            if (absTick & 0x8000 != 0) price = (price * 0x31be135f97d08fd981231505542fcfa6) >> 128;\n            if (absTick & 0x10000 != 0) price = (price * 0x9aa508b5b7a84e1c677de54f3e99bc9) >> 128;\n            if (absTick & 0x20000 != 0) price = (price * 0x5d6af8dedb81196699c329225ee604) >> 128;\n            if (absTick & 0x40000 != 0) price = (price * 0x2216e584f5fa1ea926041bedfe98) >> 128;\n            if (absTick & 0x80000 != 0) price = (price * 0x48a170391f7dc42444e8fa2) >> 128;\n\n            assembly (\"memory-safe\") {\n                // if (tick > 0) price = type(uint256).max / price;\n                if sgt(tick, 0) { price := div(not(0), price) }\n\n                // this divides by 1<<32 rounding up to go from a Q128.128 to a Q128.96.\n                // we then downcast because we know the result always fits within 160 bits due to our tick input constraint\n                // we round up in the division so getTickAtSqrtPrice of the output price is always consistent\n                // `sub(shl(32, 1), 1)` is `type(uint32).max`\n                // `price + type(uint32).max` will not overflow because `price` fits in 192 bits\n                sqrtPriceX96 := shr(32, add(price, sub(shl(32, 1), 1)))\n            }\n        }\n    }\n\n    /// @notice Calculates the greatest tick value such that getSqrtPriceAtTick(tick) <= sqrtPriceX96\n    /// @dev Throws in case sqrtPriceX96 < MIN_SQRT_PRICE, as MIN_SQRT_PRICE is the lowest value getSqrtPriceAtTick may\n    /// ever return.\n    /// @param sqrtPriceX96 The sqrt price for which to compute the tick as a Q64.96\n    /// @return tick The greatest tick for which the getSqrtPriceAtTick(tick) is less than or equal to the input sqrtPriceX96\n    function getTickAtSqrtPrice(uint160 sqrtPriceX96) internal pure returns (int24 tick) {\n        unchecked {\n            // Equivalent: if (sqrtPriceX96 < MIN_SQRT_PRICE || sqrtPriceX96 >= MAX_SQRT_PRICE) revert InvalidSqrtPrice();\n            // second inequality must be >= because the price can never reach the price at the max tick\n            // if sqrtPriceX96 < MIN_SQRT_PRICE, the `sub` underflows and `gt` is true\n            // if sqrtPriceX96 >= MAX_SQRT_PRICE, sqrtPriceX96 - MIN_SQRT_PRICE > MAX_SQRT_PRICE - MIN_SQRT_PRICE - 1\n            if ((sqrtPriceX96 - MIN_SQRT_PRICE) > MAX_SQRT_PRICE_MINUS_MIN_SQRT_PRICE_MINUS_ONE) {\n                InvalidSqrtPrice.selector.revertWith(sqrtPriceX96);\n            }\n\n            uint256 price = uint256(sqrtPriceX96) << 32;\n\n            uint256 r = price;\n            uint256 msb = BitMath.mostSignificantBit(r);\n\n            if (msb >= 128) r = price >> (msb - 127);\n            else r = price << (127 - msb);\n\n            int256 log_2 = (int256(msb) - 128) << 64;\n\n            assembly (\"memory-safe\") {\n                r := shr(127, mul(r, r))\n                let f := shr(128, r)\n                log_2 := or(log_2, shl(63, f))\n                r := shr(f, r)\n            }\n            assembly (\"memory-safe\") {\n                r := shr(127, mul(r, r))\n                let f := shr(128, r)\n                log_2 := or(log_2, shl(62, f))\n                r := shr(f, r)\n            }\n            assembly (\"memory-safe\") {\n                r := shr(127, mul(r, r))\n                let f := shr(128, r)\n                log_2 := or(log_2, shl(61, f))\n                r := shr(f, r)\n            }\n            assembly (\"memory-safe\") {\n                r := shr(127, mul(r, r))\n                let f := shr(128, r)\n                log_2 := or(log_2, shl(60, f))\n                r := shr(f, r)\n            }\n            assembly (\"memory-safe\") {\n                r := shr(127, mul(r, r))\n                let f := shr(128, r)\n                log_2 := or(log_2, shl(59, f))\n                r := shr(f, r)\n            }\n            assembly (\"memory-safe\") {\n                r := shr(127, mul(r, r))\n                let f := shr(128, r)\n                log_2 := or(log_2, shl(58, f))\n                r := shr(f, r)\n            }\n            assembly (\"memory-safe\") {\n                r := shr(127, mul(r, r))\n                let f := shr(128, r)\n                log_2 := or(log_2, shl(57, f))\n                r := shr(f, r)\n            }\n            assembly (\"memory-safe\") {\n                r := shr(127, mul(r, r))\n                let f := shr(128, r)\n                log_2 := or(log_2, shl(56, f))\n                r := shr(f, r)\n            }\n            assembly (\"memory-safe\") {\n                r := shr(127, mul(r, r))\n                let f := shr(128, r)\n                log_2 := or(log_2, shl(55, f))\n                r := shr(f, r)\n            }\n            assembly (\"memory-safe\") {\n                r := shr(127, mul(r, r))\n                let f := shr(128, r)\n                log_2 := or(log_2, shl(54, f))\n                r := shr(f, r)\n            }\n            assembly (\"memory-safe\") {\n                r := shr(127, mul(r, r))\n                let f := shr(128, r)\n                log_2 := or(log_2, shl(53, f))\n                r := shr(f, r)\n            }\n            assembly (\"memory-safe\") {\n                r := shr(127, mul(r, r))\n                let f := shr(128, r)\n                log_2 := or(log_2, shl(52, f))\n                r := shr(f, r)\n            }\n            assembly (\"memory-safe\") {\n                r := shr(127, mul(r, r))\n                let f := shr(128, r)\n                log_2 := or(log_2, shl(51, f))\n                r := shr(f, r)\n            }\n            assembly (\"memory-safe\") {\n                r := shr(127, mul(r, r))\n                let f := shr(128, r)\n                log_2 := or(log_2, shl(50, f))\n            }\n\n            int256 log_sqrt10001 = log_2 * 255738958999603826347141; // Q22.128 number\n\n            // Magic number represents the ceiling of the maximum value of the error when approximating log_sqrt10001(x)\n            int24 tickLow = int24((log_sqrt10001 - 3402992956809132418596140100660247210) >> 128);\n\n            // Magic number represents the minimum value of the error when approximating log_sqrt10001(x), when\n            // sqrtPrice is from the range (2^-64, 2^64). This is safe as MIN_SQRT_PRICE is more than 2^-64. If MIN_SQRT_PRICE\n            // is changed, this may need to be changed too\n            int24 tickHi = int24((log_sqrt10001 + 291339464771989622907027621153398088495) >> 128);\n\n            tick = tickLow == tickHi ? tickLow : getSqrtPriceAtTick(tickHi) <= sqrtPriceX96 ? tickHi : tickLow;\n        }\n    }\n}\n"},"node_modules/@uniswap/v4-core/src/libraries/UnsafeMath.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/// @title Math functions that do not check inputs or outputs\n/// @notice Contains methods that perform common math functions but do not do any overflow or underflow checks\nlibrary UnsafeMath {\n    /// @notice Returns ceil(x / y)\n    /// @dev division by 0 will return 0, and should be checked externally\n    /// @param x The dividend\n    /// @param y The divisor\n    /// @return z The quotient, ceil(x / y)\n    function divRoundingUp(uint256 x, uint256 y) internal pure returns (uint256 z) {\n        assembly (\"memory-safe\") {\n            z := add(div(x, y), gt(mod(x, y), 0))\n        }\n    }\n\n    /// @notice Calculates floor(a×b÷denominator)\n    /// @dev division by 0 will return 0, and should be checked externally\n    /// @param a The multiplicand\n    /// @param b The multiplier\n    /// @param denominator The divisor\n    /// @return result The 256-bit result, floor(a×b÷denominator)\n    function simpleMulDiv(uint256 a, uint256 b, uint256 denominator) internal pure returns (uint256 result) {\n        assembly (\"memory-safe\") {\n            result := div(mul(a, b), denominator)\n        }\n    }\n}\n"},"node_modules/@uniswap/v4-periphery/lib/permit2/src/interfaces/IAllowanceTransfer.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {IEIP712} from \"./IEIP712.sol\";\n\n/// @title AllowanceTransfer\n/// @notice Handles ERC20 token permissions through signature based allowance setting and ERC20 token transfers by checking allowed amounts\n/// @dev Requires user's token approval on the Permit2 contract\ninterface IAllowanceTransfer is IEIP712 {\n    /// @notice Thrown when an allowance on a token has expired.\n    /// @param deadline The timestamp at which the allowed amount is no longer valid\n    error AllowanceExpired(uint256 deadline);\n\n    /// @notice Thrown when an allowance on a token has been depleted.\n    /// @param amount The maximum amount allowed\n    error InsufficientAllowance(uint256 amount);\n\n    /// @notice Thrown when too many nonces are invalidated.\n    error ExcessiveInvalidation();\n\n    /// @notice Emits an event when the owner successfully invalidates an ordered nonce.\n    event NonceInvalidation(\n        address indexed owner, address indexed token, address indexed spender, uint48 newNonce, uint48 oldNonce\n    );\n\n    /// @notice Emits an event when the owner successfully sets permissions on a token for the spender.\n    event Approval(\n        address indexed owner, address indexed token, address indexed spender, uint160 amount, uint48 expiration\n    );\n\n    /// @notice Emits an event when the owner successfully sets permissions using a permit signature on a token for the spender.\n    event Permit(\n        address indexed owner,\n        address indexed token,\n        address indexed spender,\n        uint160 amount,\n        uint48 expiration,\n        uint48 nonce\n    );\n\n    /// @notice Emits an event when the owner sets the allowance back to 0 with the lockdown function.\n    event Lockdown(address indexed owner, address token, address spender);\n\n    /// @notice The permit data for a token\n    struct PermitDetails {\n        // ERC20 token address\n        address token;\n        // the maximum amount allowed to spend\n        uint160 amount;\n        // timestamp at which a spender's token allowances become invalid\n        uint48 expiration;\n        // an incrementing value indexed per owner,token,and spender for each signature\n        uint48 nonce;\n    }\n\n    /// @notice The permit message signed for a single token allowance\n    struct PermitSingle {\n        // the permit data for a single token alownce\n        PermitDetails details;\n        // address permissioned on the allowed tokens\n        address spender;\n        // deadline on the permit signature\n        uint256 sigDeadline;\n    }\n\n    /// @notice The permit message signed for multiple token allowances\n    struct PermitBatch {\n        // the permit data for multiple token allowances\n        PermitDetails[] details;\n        // address permissioned on the allowed tokens\n        address spender;\n        // deadline on the permit signature\n        uint256 sigDeadline;\n    }\n\n    /// @notice The saved permissions\n    /// @dev This info is saved per owner, per token, per spender and all signed over in the permit message\n    /// @dev Setting amount to type(uint160).max sets an unlimited approval\n    struct PackedAllowance {\n        // amount allowed\n        uint160 amount;\n        // permission expiry\n        uint48 expiration;\n        // an incrementing value indexed per owner,token,and spender for each signature\n        uint48 nonce;\n    }\n\n    /// @notice A token spender pair.\n    struct TokenSpenderPair {\n        // the token the spender is approved\n        address token;\n        // the spender address\n        address spender;\n    }\n\n    /// @notice Details for a token transfer.\n    struct AllowanceTransferDetails {\n        // the owner of the token\n        address from;\n        // the recipient of the token\n        address to;\n        // the amount of the token\n        uint160 amount;\n        // the token to be transferred\n        address token;\n    }\n\n    /// @notice A mapping from owner address to token address to spender address to PackedAllowance struct, which contains details and conditions of the approval.\n    /// @notice The mapping is indexed in the above order see: allowance[ownerAddress][tokenAddress][spenderAddress]\n    /// @dev The packed slot holds the allowed amount, expiration at which the allowed amount is no longer valid, and current nonce thats updated on any signature based approvals.\n    function allowance(address user, address token, address spender)\n        external\n        view\n        returns (uint160 amount, uint48 expiration, uint48 nonce);\n\n    /// @notice Approves the spender to use up to amount of the specified token up until the expiration\n    /// @param token The token to approve\n    /// @param spender The spender address to approve\n    /// @param amount The approved amount of the token\n    /// @param expiration The timestamp at which the approval is no longer valid\n    /// @dev The packed allowance also holds a nonce, which will stay unchanged in approve\n    /// @dev Setting amount to type(uint160).max sets an unlimited approval\n    function approve(address token, address spender, uint160 amount, uint48 expiration) external;\n\n    /// @notice Permit a spender to a given amount of the owners token via the owner's EIP-712 signature\n    /// @dev May fail if the owner's nonce was invalidated in-flight by invalidateNonce\n    /// @param owner The owner of the tokens being approved\n    /// @param permitSingle Data signed over by the owner specifying the terms of approval\n    /// @param signature The owner's signature over the permit data\n    function permit(address owner, PermitSingle memory permitSingle, bytes calldata signature) external;\n\n    /// @notice Permit a spender to the signed amounts of the owners tokens via the owner's EIP-712 signature\n    /// @dev May fail if the owner's nonce was invalidated in-flight by invalidateNonce\n    /// @param owner The owner of the tokens being approved\n    /// @param permitBatch Data signed over by the owner specifying the terms of approval\n    /// @param signature The owner's signature over the permit data\n    function permit(address owner, PermitBatch memory permitBatch, bytes calldata signature) external;\n\n    /// @notice Transfer approved tokens from one address to another\n    /// @param from The address to transfer from\n    /// @param to The address of the recipient\n    /// @param amount The amount of the token to transfer\n    /// @param token The token address to transfer\n    /// @dev Requires the from address to have approved at least the desired amount\n    /// of tokens to msg.sender.\n    function transferFrom(address from, address to, uint160 amount, address token) external;\n\n    /// @notice Transfer approved tokens in a batch\n    /// @param transferDetails Array of owners, recipients, amounts, and tokens for the transfers\n    /// @dev Requires the from addresses to have approved at least the desired amount\n    /// of tokens to msg.sender.\n    function transferFrom(AllowanceTransferDetails[] calldata transferDetails) external;\n\n    /// @notice Enables performing a \"lockdown\" of the sender's Permit2 identity\n    /// by batch revoking approvals\n    /// @param approvals Array of approvals to revoke.\n    function lockdown(TokenSpenderPair[] calldata approvals) external;\n\n    /// @notice Invalidate nonces for a given (token, spender) pair\n    /// @param token The token to invalidate nonces for\n    /// @param spender The spender to invalidate nonces for\n    /// @param newNonce The new nonce to set. Invalidates all nonces less than it.\n    /// @dev Can't invalidate more than 2**16 nonces per transaction.\n    function invalidateNonces(address token, address spender, uint48 newNonce) external;\n}\n"},"node_modules/@uniswap/v4-periphery/lib/permit2/src/interfaces/IEIP712.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\ninterface IEIP712 {\n    function DOMAIN_SEPARATOR() external view returns (bytes32);\n}\n"},"node_modules/@uniswap/v4-periphery/src/libraries/LiquidityAmounts.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {FullMath} from \"@uniswap/v4-core/src/libraries/FullMath.sol\";\nimport {FixedPoint96} from \"@uniswap/v4-core/src/libraries/FixedPoint96.sol\";\nimport {SafeCast} from \"@uniswap/v4-core/src/libraries/SafeCast.sol\";\n\n/// @notice Provides functions for computing liquidity amounts from token amounts and prices\nlibrary LiquidityAmounts {\n    using SafeCast for uint256;\n\n    /// @notice Computes the amount of liquidity received for a given amount of token0 and price range\n    /// @dev Calculates amount0 * (sqrt(upper) * sqrt(lower)) / (sqrt(upper) - sqrt(lower))\n    /// @param sqrtPriceAX96 A sqrt price representing the first tick boundary\n    /// @param sqrtPriceBX96 A sqrt price representing the second tick boundary\n    /// @param amount0 The amount0 being sent in\n    /// @return liquidity The amount of returned liquidity\n    function getLiquidityForAmount0(uint160 sqrtPriceAX96, uint160 sqrtPriceBX96, uint256 amount0)\n        internal\n        pure\n        returns (uint128 liquidity)\n    {\n        unchecked {\n            if (sqrtPriceAX96 > sqrtPriceBX96) (sqrtPriceAX96, sqrtPriceBX96) = (sqrtPriceBX96, sqrtPriceAX96);\n            uint256 intermediate = FullMath.mulDiv(sqrtPriceAX96, sqrtPriceBX96, FixedPoint96.Q96);\n            return FullMath.mulDiv(amount0, intermediate, sqrtPriceBX96 - sqrtPriceAX96).toUint128();\n        }\n    }\n\n    /// @notice Computes the amount of liquidity received for a given amount of token1 and price range\n    /// @dev Calculates amount1 / (sqrt(upper) - sqrt(lower)).\n    /// @param sqrtPriceAX96 A sqrt price representing the first tick boundary\n    /// @param sqrtPriceBX96 A sqrt price representing the second tick boundary\n    /// @param amount1 The amount1 being sent in\n    /// @return liquidity The amount of returned liquidity\n    function getLiquidityForAmount1(uint160 sqrtPriceAX96, uint160 sqrtPriceBX96, uint256 amount1)\n        internal\n        pure\n        returns (uint128 liquidity)\n    {\n        unchecked {\n            if (sqrtPriceAX96 > sqrtPriceBX96) (sqrtPriceAX96, sqrtPriceBX96) = (sqrtPriceBX96, sqrtPriceAX96);\n            return FullMath.mulDiv(amount1, FixedPoint96.Q96, sqrtPriceBX96 - sqrtPriceAX96).toUint128();\n        }\n    }\n\n    /// @notice Computes the maximum amount of liquidity received for a given amount of token0, token1, the current\n    /// pool prices and the prices at the tick boundaries\n    /// @param sqrtPriceX96 A sqrt price representing the current pool prices\n    /// @param sqrtPriceAX96 A sqrt price representing the first tick boundary\n    /// @param sqrtPriceBX96 A sqrt price representing the second tick boundary\n    /// @param amount0 The amount of token0 being sent in\n    /// @param amount1 The amount of token1 being sent in\n    /// @return liquidity The maximum amount of liquidity received\n    function getLiquidityForAmounts(\n        uint160 sqrtPriceX96,\n        uint160 sqrtPriceAX96,\n        uint160 sqrtPriceBX96,\n        uint256 amount0,\n        uint256 amount1\n    ) internal pure returns (uint128 liquidity) {\n        if (sqrtPriceAX96 > sqrtPriceBX96) (sqrtPriceAX96, sqrtPriceBX96) = (sqrtPriceBX96, sqrtPriceAX96);\n\n        if (sqrtPriceX96 <= sqrtPriceAX96) {\n            liquidity = getLiquidityForAmount0(sqrtPriceAX96, sqrtPriceBX96, amount0);\n        } else if (sqrtPriceX96 < sqrtPriceBX96) {\n            uint128 liquidity0 = getLiquidityForAmount0(sqrtPriceX96, sqrtPriceBX96, amount0);\n            uint128 liquidity1 = getLiquidityForAmount1(sqrtPriceAX96, sqrtPriceX96, amount1);\n\n            liquidity = liquidity0 < liquidity1 ? liquidity0 : liquidity1;\n        } else {\n            liquidity = getLiquidityForAmount1(sqrtPriceAX96, sqrtPriceBX96, amount1);\n        }\n    }\n}\n"}},"compilation":{"language":"Solidity","compiler":"solc","compilerVersion":"0.8.35+commit.47b9dedd","compilerSettings":{"viaIR":true,"metadata":{"appendCBOR":true,"bytecodeHash":"none","useLiteralContent":true},"optimizer":{"runs":200,"enabled":true},"evmVersion":"shanghai","remappings":["@openzeppelin/contracts/=node_modules/@openzeppelin/contracts/","@openzeppelin/contracts-upgradeable/=node_modules/@openzeppelin/contracts-upgradeable/","@uniswap/v3-core/=node_modules/@uniswap/v3-core/","@uniswap/v4-core/=node_modules/@uniswap/v4-core/","@uniswap/v4-periphery/=node_modules/@uniswap/v4-periphery/","base64-sol/=node_modules/base64-sol/","ds-test/=node_modules/@uniswap/v4-core/lib/solmate/lib/ds-test/","erc4626-tests/=node_modules/@uniswap/v4-core/lib/openzeppelin-contracts/lib/erc4626-tests/","forge-gas-snapshot/=node_modules/@uniswap/v4-periphery/lib/permit2/lib/forge-gas-snapshot/","forge-std/=node_modules/@uniswap/v4-core/lib/forge-std/","openzeppelin-contracts/=node_modules/@uniswap/v4-core/lib/openzeppelin-contracts/","permit2/=node_modules/@uniswap/v4-periphery/lib/permit2/","solmate/=node_modules/@uniswap/v4-core/lib/solmate/","v4-core/=node_modules/@uniswap/v4-periphery/lib/v4-core/"]},"name":"ALMCoreUpgradeable","fullyQualifiedName":"ALMCoreUpgradeable.sol:ALMCoreUpgradeable"},"abi":[{"type":"constructor","inputs":[],"stateMutability":"nonpayable"},{"name":"AddressEmptyCode","type":"error","inputs":[{"name":"target","type":"address","internalType":"address"}]},{"name":"AmountTooLarge","type":"error","inputs":[]},{"name":"AmountZero","type":"error","inputs":[]},{"name":"ERC1967InvalidImplementation","type":"error","inputs":[{"name":"implementation","type":"address","internalType":"address"}]},{"name":"ERC1967NonPayable","type":"error","inputs":[]},{"name":"EnforcedPause","type":"error","inputs":[]},{"name":"ExecutorLossBudgetExceeded","type":"error","inputs":[{"name":"used24h","type":"uint256","internalType":"uint256"},{"name":"loss","type":"uint256","internalType":"uint256"},{"name":"cap24h","type":"uint256","internalType":"uint256"}]},{"name":"ExecutorLossBudgetNotConfigured","type":"error","inputs":[]},{"name":"ExecutorSelectorNotAllowed","type":"error","inputs":[{"name":"selector","type":"bytes4","internalType":"bytes4"}]},{"name":"ExpectedPause","type":"error","inputs":[]},{"name":"ExternalCallFailed","type":"error","inputs":[]},{"name":"FailedCall","type":"error","inputs":[]},{"name":"InvalidInitialization","type":"error","inputs":[]},{"name":"KyberAmountMismatch","type":"error","inputs":[]},{"name":"KyberApproveTargetMismatch","type":"error","inputs":[]},{"name":"KyberMinOutNotMet","type":"error","inputs":[]},{"name":"KyberRecipientMismatch","type":"error","inputs":[]},{"name":"KyberRouterNA","type":"error","inputs":[]},{"name":"KyberStableMinOutTooLow","type":"error","inputs":[{"name":"tokenIn","type":"address","internalType":"address"},{"name":"tokenOut","type":"address","internalType":"address"},{"name":"effectiveMinOutNormalized","type":"uint256","internalType":"uint256"},{"name":"requiredMinOutNormalized","type":"uint256","internalType":"uint256"}]},{"name":"KyberStableOutTooHigh","type":"error","inputs":[{"name":"tokenIn","type":"address","internalType":"address"},{"name":"tokenOut","type":"address","internalType":"address"},{"name":"outputNormalized","type":"uint256","internalType":"uint256"},{"name":"maxOutputNormalized","type":"uint256","internalType":"uint256"}]},{"name":"KyberTokenMismatch","type":"error","inputs":[]},{"name":"KyberUnsupportedRoute","type":"error","inputs":[]},{"name":"LengthMismatch","type":"error","inputs":[]},{"name":"NativeSendFailErr","type":"error","inputs":[]},{"name":"NotExecutorOrOwner","type":"error","inputs":[]},{"name":"NotInitializing","type":"error","inputs":[]},{"name":"OrderErr","type":"error","inputs":[]},{"name":"OwnableInvalidOwner","type":"error","inputs":[{"name":"owner","type":"address","internalType":"address"}]},{"name":"OwnableUnauthorizedAccount","type":"error","inputs":[{"name":"account","type":"address","internalType":"address"}]},{"name":"Permit2NA","type":"error","inputs":[]},{"name":"PoolNA","type":"error","inputs":[]},{"name":"PoolNotAllowed","type":"error","inputs":[{"name":"poolKey","type":"bytes32","internalType":"bytes32"}]},{"name":"PositionNotOwned","type":"error","inputs":[{"name":"nft","type":"address","internalType":"address"},{"name":"tokenId","type":"uint256","internalType":"uint256"},{"name":"actualOwner","type":"address","internalType":"address"}]},{"name":"ReentrancyGuardReentrantCall","type":"error","inputs":[]},{"name":"RenounceOwnershipDisabled","type":"error","inputs":[]},{"name":"RiskParamOutOfRange","type":"error","inputs":[]},{"name":"SafeERC20FailedOperation","type":"error","inputs":[{"name":"token","type":"address","internalType":"address"}]},{"name":"StableTokenDecimalsInvalid","type":"error","inputs":[{"name":"token","type":"address","internalType":"address"},{"name":"decimals_","type":"uint8","internalType":"uint8"}]},{"name":"StableTokenDecimalsNotSet","type":"error","inputs":[{"name":"token","type":"address","internalType":"address"}]},{"name":"SwapModuleNA","type":"error","inputs":[]},{"name":"TokenNotAllowed","type":"error","inputs":[{"name":"token","type":"address","internalType":"address"}]},{"name":"UUPSUnauthorizedCallContext","type":"error","inputs":[]},{"name":"UUPSUnsupportedProxiableUUID","type":"error","inputs":[{"name":"slot","type":"bytes32","internalType":"bytes32"}]},{"name":"UpgradesFrozenErr","type":"error","inputs":[]},{"name":"V3StablePriceOutOfRange","type":"error","inputs":[{"name":"token0","type":"address","internalType":"address"},{"name":"token1","type":"address","internalType":"address"},{"name":"priceX18","type":"uint256","internalType":"uint256"},{"name":"minPriceX18","type":"uint256","internalType":"uint256"},{"name":"maxPriceX18","type":"uint256","internalType":"uint256"}]},{"name":"V4HookDataNotAllowed","type":"error","inputs":[]},{"name":"V4HooksUnsupported","type":"error","inputs":[]},{"name":"V4PriceGuardRequired","type":"error","inputs":[]},{"name":"V4StablePriceOutOfRange","type":"error","inputs":[{"name":"token0","type":"address","internalType":"address"},{"name":"token1","type":"address","internalType":"address"},{"name":"priceX18","type":"uint256","internalType":"uint256"},{"name":"minPriceX18","type":"uint256","internalType":"uint256"},{"name":"maxPriceX18","type":"uint256","internalType":"uint256"}]},{"name":"V4ViewNA","type":"error","inputs":[]},{"name":"ZeroAddr","type":"error","inputs":[]},{"name":"ZeroPoolKey","type":"error","inputs":[]},{"name":"ExecutorLossBudgetConsumed","type":"event","inputs":[{"name":"hourId","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"lossNormalized","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"used24h","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"cap24h","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"ExecutorLossBudgetSet","type":"event","inputs":[{"name":"enabled","type":"bool","indexed":false,"internalType":"bool"},{"name":"riskCapitalNormalized","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"capBpsX100","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"ExecutorSet","type":"event","inputs":[{"name":"executor","type":"address","indexed":true,"internalType":"address"},{"name":"enabled","type":"bool","indexed":false,"internalType":"bool"}],"anonymous":false},{"name":"FlyRouterSet","type":"event","inputs":[{"name":"router","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"Initialized","type":"event","inputs":[{"name":"version","type":"uint64","indexed":false,"internalType":"uint64"}],"anonymous":false},{"name":"KyberRouterSet","type":"event","inputs":[{"name":"router","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"KyberSwapExecuted","type":"event","inputs":[{"name":"router","type":"address","indexed":true,"internalType":"address"},{"name":"value","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"routeData","type":"bytes","indexed":false,"internalType":"bytes"}],"anonymous":false},{"name":"ModulesSet","type":"event","inputs":[{"name":"v3Module","type":"address","indexed":true,"internalType":"address"},{"name":"v4Module","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"OwnershipTransferStarted","type":"event","inputs":[{"name":"previousOwner","type":"address","indexed":true,"internalType":"address"},{"name":"newOwner","type":"address","indexed":true,"internalType":"address"}],"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":"Paused","type":"event","inputs":[{"name":"account","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"name":"Permit2ApprovalRevoked","type":"event","inputs":[{"name":"token","type":"address","indexed":true,"internalType":"address"},{"name":"spender","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"PoolAllowedSet","type":"event","inputs":[{"name":"poolKey","type":"bytes32","indexed":true,"internalType":"bytes32"},{"name":"allowed","type":"bool","indexed":false,"internalType":"bool"}],"anonymous":false},{"name":"PoolAllowlistEnforcedSet","type":"event","inputs":[{"name":"enforced","type":"bool","indexed":false,"internalType":"bool"}],"anonymous":false},{"name":"StableTokenDecimalsSet","type":"event","inputs":[{"name":"token","type":"address","indexed":true,"internalType":"address"},{"name":"decimals_","type":"uint8","indexed":false,"internalType":"uint8"}],"anonymous":false},{"name":"SwapModuleSet","type":"event","inputs":[{"name":"swapModule","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"TokenAllowedSet","type":"event","inputs":[{"name":"token","type":"address","indexed":true,"internalType":"address"},{"name":"allowed","type":"bool","indexed":false,"internalType":"bool"}],"anonymous":false},{"name":"TokenBlockedSet","type":"event","inputs":[{"name":"token","type":"address","indexed":true,"internalType":"address"},{"name":"blocked","type":"bool","indexed":false,"internalType":"bool"}],"anonymous":false},{"name":"Unpaused","type":"event","inputs":[{"name":"account","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"name":"Upgraded","type":"event","inputs":[{"name":"implementation","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"UpgradesFrozen","type":"event","inputs":[],"anonymous":false},{"name":"V4HookAllowedSet","type":"event","inputs":[{"name":"hook","type":"address","indexed":true,"internalType":"address"},{"name":"allowed","type":"bool","indexed":false,"internalType":"bool"}],"anonymous":false},{"name":"V4StablePriceBoundsSet","type":"event","inputs":[{"name":"minPriceX18","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"maxPriceX18","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"VeloraRouterSet","type":"event","inputs":[{"name":"router","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"Withdraw","type":"event","inputs":[{"name":"token","type":"address","indexed":true,"internalType":"address"},{"name":"amount","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"WithdrawNFT","type":"event","inputs":[{"name":"nft","type":"address","indexed":true,"internalType":"address"},{"name":"id","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"WithdrawNative","type":"event","inputs":[{"name":"amount","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"BPS","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"UPGRADE_INTERFACE_VERSION","type":"function","inputs":[],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"view"},{"name":"acceptOwnership","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"baseToken","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"contractBuildSalt","type":"function","inputs":[],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"pure"},{"name":"defaultDeadlineSec","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"execSwap","type":"function","inputs":[{"name":"data","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"ret","type":"bytes","internalType":"bytes"}],"stateMutability":"nonpayable"},{"name":"execV3","type":"function","inputs":[{"name":"data","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"ret","type":"bytes","internalType":"bytes"}],"stateMutability":"payable"},{"name":"execV4","type":"function","inputs":[{"name":"data","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"ret","type":"bytes","internalType":"bytes"}],"stateMutability":"payable"},{"name":"executorLossBudgetEnabled","type":"function","inputs":[],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"executorLossBudgetState","type":"function","inputs":[],"outputs":[{"name":"enabled","type":"bool","internalType":"bool"},{"name":"riskCapitalNormalized","type":"uint256","internalType":"uint256"},{"name":"capBpsX100","type":"uint256","internalType":"uint256"},{"name":"used24h","type":"uint256","internalType":"uint256"},{"name":"cap24h","type":"uint256","internalType":"uint256"},{"name":"remaining24h","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"executorLossCap24h","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"executorLossCapBpsX100","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"executorLossUsed24h","type":"function","inputs":[],"outputs":[{"name":"used24h","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"executorRiskCapitalNormalized","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"fineBpsParamsEnabled","type":"function","inputs":[],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"flyRouter","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"freezeUpgrades","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"getPool","type":"function","inputs":[{"name":"token0","type":"address","internalType":"address"},{"name":"token1","type":"address","internalType":"address"},{"name":"fee","type":"uint24","internalType":"uint24"}],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"implementation","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"initialize","type":"function","inputs":[{"name":"owner_","type":"address","internalType":"address"},{"name":"config","type":"tuple","components":[{"name":"baseToken","type":"address","internalType":"address"},{"name":"v3Factory","type":"address","internalType":"address"},{"name":"nfpm","type":"address","internalType":"address"},{"name":"router","type":"address","internalType":"address"},{"name":"quoterV2","type":"address","internalType":"address"},{"name":"v4PositionManager","type":"address","internalType":"address"},{"name":"v4StateView","type":"address","internalType":"address"},{"name":"permit2","type":"address","internalType":"address"},{"name":"defaultDeadlineSec","type":"uint256","internalType":"uint256"},{"name":"slippageBpsMax","type":"uint256","internalType":"uint256"},{"name":"swapLossBpsMax","type":"uint256","internalType":"uint256"},{"name":"slippageBpsMaxX100","type":"uint256","internalType":"uint256"},{"name":"swapLossBpsMaxX100","type":"uint256","internalType":"uint256"},{"name":"twapWindowSec","type":"uint32","internalType":"uint32"},{"name":"twapMaxTickDiff","type":"int24","internalType":"int24"}],"internalType":"struct ALMCoreUpgradeable.CoreConfig"},{"name":"modules","type":"tuple","components":[{"name":"v3Module","type":"address","internalType":"address"},{"name":"v4Module","type":"address","internalType":"address"}],"internalType":"struct ALMCoreUpgradeable.ModuleRefs"},{"name":"kyber","type":"tuple","components":[{"name":"router","type":"address","internalType":"address"}],"internalType":"struct ALMCoreUpgradeable.KyberConfig"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"isExecutor","type":"function","inputs":[{"name":"","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"isPoolAllowed","type":"function","inputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"isTokenAllowed","type":"function","inputs":[{"name":"","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"isTokenAllowedForExecutor","type":"function","inputs":[{"name":"token","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"isTokenBlocked","type":"function","inputs":[{"name":"","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"isV4HookAllowed","type":"function","inputs":[{"name":"","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"kyberRouter","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"nfpm","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"onERC721Received","type":"function","inputs":[{"name":"","type":"address","internalType":"address"},{"name":"","type":"address","internalType":"address"},{"name":"","type":"uint256","internalType":"uint256"},{"name":"","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"","type":"bytes4","internalType":"bytes4"}],"stateMutability":"pure"},{"name":"owner","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"pause","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"paused","type":"function","inputs":[],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"pendingOwner","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"permit2","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"poolAllowlistEnforced","type":"function","inputs":[],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"proxiableUUID","type":"function","inputs":[],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"name":"quoterV2","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"renounceOwnership","type":"function","inputs":[],"outputs":[],"stateMutability":"pure"},{"name":"resetExecutorLossBudgetBuckets","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"revokePermit2ForV4","type":"function","inputs":[{"name":"tokens","type":"address[]","internalType":"address[]"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"router","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"setAddresses","type":"function","inputs":[{"name":"baseToken_","type":"address","internalType":"address"},{"name":"v3Factory_","type":"address","internalType":"address"},{"name":"nfpm_","type":"address","internalType":"address"},{"name":"router_","type":"address","internalType":"address"},{"name":"quoter_","type":"address","internalType":"address"},{"name":"v4PositionManager_","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setAllowedToken","type":"function","inputs":[{"name":"token","type":"address","internalType":"address"},{"name":"allowed","type":"bool","internalType":"bool"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setAllowedTokens","type":"function","inputs":[{"name":"tokens","type":"address[]","internalType":"address[]"},{"name":"allowed","type":"bool","internalType":"bool"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setBlockedToken","type":"function","inputs":[{"name":"token","type":"address","internalType":"address"},{"name":"blocked","type":"bool","internalType":"bool"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setBlockedTokens","type":"function","inputs":[{"name":"tokens","type":"address[]","internalType":"address[]"},{"name":"blocked","type":"bool","internalType":"bool"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setExecutor","type":"function","inputs":[{"name":"executor","type":"address","internalType":"address"},{"name":"enabled","type":"bool","internalType":"bool"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setExecutorLossBudget","type":"function","inputs":[{"name":"enabled","type":"bool","internalType":"bool"},{"name":"riskCapitalNormalized","type":"uint256","internalType":"uint256"},{"name":"capBpsX100","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setFlyRouter","type":"function","inputs":[{"name":"router_","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setKyberRouter","type":"function","inputs":[{"name":"router_","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setModules","type":"function","inputs":[{"name":"v3Module_","type":"address","internalType":"address"},{"name":"v4Module_","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setParams","type":"function","inputs":[{"name":"defaultDeadlineSec_","type":"uint256","internalType":"uint256"},{"name":"slippageBpsMax_","type":"uint256","internalType":"uint256"},{"name":"swapLossBpsMax_","type":"uint256","internalType":"uint256"},{"name":"twapWindowSec_","type":"uint32","internalType":"uint32"},{"name":"twapMaxTickDiff_","type":"int24","internalType":"int24"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setParamsBpsX100","type":"function","inputs":[{"name":"defaultDeadlineSec_","type":"uint256","internalType":"uint256"},{"name":"slippageBpsMaxX100_","type":"uint256","internalType":"uint256"},{"name":"swapLossBpsMaxX100_","type":"uint256","internalType":"uint256"},{"name":"twapWindowSec_","type":"uint32","internalType":"uint32"},{"name":"twapMaxTickDiff_","type":"int24","internalType":"int24"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setPermit2","type":"function","inputs":[{"name":"permit2_","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setPoolAllowed","type":"function","inputs":[{"name":"poolKey","type":"bytes32","internalType":"bytes32"},{"name":"allowed","type":"bool","internalType":"bool"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setPoolAllowlist","type":"function","inputs":[{"name":"poolKeys","type":"bytes32[]","internalType":"bytes32[]"},{"name":"enforced","type":"bool","internalType":"bool"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setPoolAllowlistEnforced","type":"function","inputs":[{"name":"enforced","type":"bool","internalType":"bool"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setPoolsAllowed","type":"function","inputs":[{"name":"poolKeys","type":"bytes32[]","internalType":"bytes32[]"},{"name":"allowed","type":"bool","internalType":"bool"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setStableTokenDecimals","type":"function","inputs":[{"name":"token","type":"address","internalType":"address"},{"name":"decimals_","type":"uint8","internalType":"uint8"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setStableTokenDecimalsBatch","type":"function","inputs":[{"name":"tokens","type":"address[]","internalType":"address[]"},{"name":"decimals_","type":"uint8[]","internalType":"uint8[]"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setSwapModule","type":"function","inputs":[{"name":"swapModule_","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setV4HookAllowed","type":"function","inputs":[{"name":"hook","type":"address","internalType":"address"},{"name":"allowed","type":"bool","internalType":"bool"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setV4StablePriceBounds","type":"function","inputs":[{"name":"minPriceX18","type":"uint256","internalType":"uint256"},{"name":"maxPriceX18","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setV4StateView","type":"function","inputs":[{"name":"stateView","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setVeloraRouter","type":"function","inputs":[{"name":"router_","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"slippageBpsMax","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"slippageBpsMaxX100","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"stableTokenDecimals","type":"function","inputs":[{"name":"","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint8","internalType":"uint8"}],"stateMutability":"view"},{"name":"swapLossBpsMax","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"swapLossBpsMaxX100","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"swapModule","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"swapViaKyberGuarded","type":"function","inputs":[{"name":"routeData","type":"bytes","internalType":"bytes"},{"name":"spends","type":"tuple[]","components":[{"name":"token","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"}],"internalType":"struct ALMGuards.Spend[]"},{"name":"value","type":"uint256","internalType":"uint256"},{"name":"tokenOut","type":"address","internalType":"address"},{"name":"minAmountOut","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"transferOwnership","type":"function","inputs":[{"name":"newOwner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"twapMaxTickDiff","type":"function","inputs":[],"outputs":[{"name":"","type":"int24","internalType":"int24"}],"stateMutability":"view"},{"name":"twapWindowSec","type":"function","inputs":[],"outputs":[{"name":"","type":"uint32","internalType":"uint32"}],"stateMutability":"view"},{"name":"unpause","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"upgradeTo","type":"function","inputs":[{"name":"newImplementation","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"upgradeToAndCall","type":"function","inputs":[{"name":"newImplementation","type":"address","internalType":"address"},{"name":"data","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"payable"},{"name":"upgradeabilityFrozen","type":"function","inputs":[],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"v3Factory","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"v3Module","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"v4Module","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"v4PositionManager","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"v4StablePriceBounds","type":"function","inputs":[],"outputs":[{"name":"minPriceX18","type":"uint256","internalType":"uint256"},{"name":"maxPriceX18","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"v4StablePriceMaxX18","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"v4StablePriceMinX18","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"v4StateView","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"veloraRouter","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"withdrawNFT","type":"function","inputs":[{"name":"nft","type":"address","internalType":"address"},{"name":"id","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"withdrawNative","type":"function","inputs":[{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"withdrawTokens","type":"function","inputs":[{"name":"token","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"receive","stateMutability":"payable"}],"metadata":{"compiler":{"version":"0.8.35+commit.47b9dedd"},"language":"Solidity","output":{"abi":[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"target","type":"address"}],"name":"AddressEmptyCode","type":"error"},{"inputs":[],"name":"AmountTooLarge","type":"error"},{"inputs":[],"name":"AmountZero","type":"error"},{"inputs":[{"internalType":"address","name":"implementation","type":"address"}],"name":"ERC1967InvalidImplementation","type":"error"},{"inputs":[],"name":"ERC1967NonPayable","type":"error"},{"inputs":[],"name":"EnforcedPause","type":"error"},{"inputs":[{"internalType":"uint256","name":"used24h","type":"uint256"},{"internalType":"uint256","name":"loss","type":"uint256"},{"internalType":"uint256","name":"cap24h","type":"uint256"}],"name":"ExecutorLossBudgetExceeded","type":"error"},{"inputs":[],"name":"ExecutorLossBudgetNotConfigured","type":"error"},{"inputs":[{"internalType":"bytes4","name":"selector","type":"bytes4"}],"name":"ExecutorSelectorNotAllowed","type":"error"},{"inputs":[],"name":"ExpectedPause","type":"error"},{"inputs":[],"name":"ExternalCallFailed","type":"error"},{"inputs":[],"name":"FailedCall","type":"error"},{"inputs":[],"name":"InvalidInitialization","type":"error"},{"inputs":[],"name":"KyberAmountMismatch","type":"error"},{"inputs":[],"name":"KyberApproveTargetMismatch","type":"error"},{"inputs":[],"name":"KyberMinOutNotMet","type":"error"},{"inputs":[],"name":"KyberRecipientMismatch","type":"error"},{"inputs":[],"name":"KyberRouterNA","type":"error"},{"inputs":[{"internalType":"address","name":"tokenIn","type":"address"},{"internalType":"address","name":"tokenOut","type":"address"},{"internalType":"uint256","name":"effectiveMinOutNormalized","type":"uint256"},{"internalType":"uint256","name":"requiredMinOutNormalized","type":"uint256"}],"name":"KyberStableMinOutTooLow","type":"error"},{"inputs":[{"internalType":"address","name":"tokenIn","type":"address"},{"internalType":"address","name":"tokenOut","type":"address"},{"internalType":"uint256","name":"outputNormalized","type":"uint256"},{"internalType":"uint256","name":"maxOutputNormalized","type":"uint256"}],"name":"KyberStableOutTooHigh","type":"error"},{"inputs":[],"name":"KyberTokenMismatch","type":"error"},{"inputs":[],"name":"KyberUnsupportedRoute","type":"error"},{"inputs":[],"name":"LengthMismatch","type":"error"},{"inputs":[],"name":"NativeSendFailErr","type":"error"},{"inputs":[],"name":"NotExecutorOrOwner","type":"error"},{"inputs":[],"name":"NotInitializing","type":"error"},{"inputs":[],"name":"OrderErr","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[],"name":"Permit2NA","type":"error"},{"inputs":[],"name":"PoolNA","type":"error"},{"inputs":[{"internalType":"bytes32","name":"poolKey","type":"bytes32"}],"name":"PoolNotAllowed","type":"error"},{"inputs":[{"internalType":"address","name":"nft","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"actualOwner","type":"address"}],"name":"PositionNotOwned","type":"error"},{"inputs":[],"name":"ReentrancyGuardReentrantCall","type":"error"},{"inputs":[],"name":"RenounceOwnershipDisabled","type":"error"},{"inputs":[],"name":"RiskParamOutOfRange","type":"error"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"SafeERC20FailedOperation","type":"error"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint8","name":"decimals_","type":"uint8"}],"name":"StableTokenDecimalsInvalid","type":"error"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"StableTokenDecimalsNotSet","type":"error"},{"inputs":[],"name":"SwapModuleNA","type":"error"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"TokenNotAllowed","type":"error"},{"inputs":[],"name":"UUPSUnauthorizedCallContext","type":"error"},{"inputs":[{"internalType":"bytes32","name":"slot","type":"bytes32"}],"name":"UUPSUnsupportedProxiableUUID","type":"error"},{"inputs":[],"name":"UpgradesFrozenErr","type":"error"},{"inputs":[{"internalType":"address","name":"token0","type":"address"},{"internalType":"address","name":"token1","type":"address"},{"internalType":"uint256","name":"priceX18","type":"uint256"},{"internalType":"uint256","name":"minPriceX18","type":"uint256"},{"internalType":"uint256","name":"maxPriceX18","type":"uint256"}],"name":"V3StablePriceOutOfRange","type":"error"},{"inputs":[],"name":"V4HookDataNotAllowed","type":"error"},{"inputs":[],"name":"V4HooksUnsupported","type":"error"},{"inputs":[],"name":"V4PriceGuardRequired","type":"error"},{"inputs":[{"internalType":"address","name":"token0","type":"address"},{"internalType":"address","name":"token1","type":"address"},{"internalType":"uint256","name":"priceX18","type":"uint256"},{"internalType":"uint256","name":"minPriceX18","type":"uint256"},{"internalType":"uint256","name":"maxPriceX18","type":"uint256"}],"name":"V4StablePriceOutOfRange","type":"error"},{"inputs":[],"name":"V4ViewNA","type":"error"},{"inputs":[],"name":"ZeroAddr","type":"error"},{"inputs":[],"name":"ZeroPoolKey","type":"error"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"hourId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"lossNormalized","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"used24h","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"cap24h","type":"uint256"}],"name":"ExecutorLossBudgetConsumed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"enabled","type":"bool"},{"indexed":false,"internalType":"uint256","name":"riskCapitalNormalized","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"capBpsX100","type":"uint256"}],"name":"ExecutorLossBudgetSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"executor","type":"address"},{"indexed":false,"internalType":"bool","name":"enabled","type":"bool"}],"name":"ExecutorSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"router","type":"address"}],"name":"FlyRouterSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint64","name":"version","type":"uint64"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"router","type":"address"}],"name":"KyberRouterSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"router","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"routeData","type":"bytes"}],"name":"KyberSwapExecuted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"v3Module","type":"address"},{"indexed":true,"internalType":"address","name":"v4Module","type":"address"}],"name":"ModulesSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferStarted","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":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"}],"name":"Permit2ApprovalRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"poolKey","type":"bytes32"},{"indexed":false,"internalType":"bool","name":"allowed","type":"bool"}],"name":"PoolAllowedSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"enforced","type":"bool"}],"name":"PoolAllowlistEnforcedSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint8","name":"decimals_","type":"uint8"}],"name":"StableTokenDecimalsSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"swapModule","type":"address"}],"name":"SwapModuleSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"bool","name":"allowed","type":"bool"}],"name":"TokenAllowedSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"bool","name":"blocked","type":"bool"}],"name":"TokenBlockedSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"implementation","type":"address"}],"name":"Upgraded","type":"event"},{"anonymous":false,"inputs":[],"name":"UpgradesFrozen","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"hook","type":"address"},{"indexed":false,"internalType":"bool","name":"allowed","type":"bool"}],"name":"V4HookAllowedSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"minPriceX18","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"maxPriceX18","type":"uint256"}],"name":"V4StablePriceBoundsSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"router","type":"address"}],"name":"VeloraRouterSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"nft","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"}],"name":"WithdrawNFT","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"WithdrawNative","type":"event"},{"inputs":[],"name":"BPS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"UPGRADE_INTERFACE_VERSION","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"acceptOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"baseToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractBuildSalt","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"defaultDeadlineSec","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"data","type":"bytes"}],"name":"execSwap","outputs":[{"internalType":"bytes","name":"ret","type":"bytes"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes","name":"data","type":"bytes"}],"name":"execV3","outputs":[{"internalType":"bytes","name":"ret","type":"bytes"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes","name":"data","type":"bytes"}],"name":"execV4","outputs":[{"internalType":"bytes","name":"ret","type":"bytes"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"executorLossBudgetEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"executorLossBudgetState","outputs":[{"internalType":"bool","name":"enabled","type":"bool"},{"internalType":"uint256","name":"riskCapitalNormalized","type":"uint256"},{"internalType":"uint256","name":"capBpsX100","type":"uint256"},{"internalType":"uint256","name":"used24h","type":"uint256"},{"internalType":"uint256","name":"cap24h","type":"uint256"},{"internalType":"uint256","name":"remaining24h","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"executorLossCap24h","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"executorLossCapBpsX100","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"executorLossUsed24h","outputs":[{"internalType":"uint256","name":"used24h","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"executorRiskCapitalNormalized","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"fineBpsParamsEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flyRouter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freezeUpgrades","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token0","type":"address"},{"internalType":"address","name":"token1","type":"address"},{"internalType":"uint24","name":"fee","type":"uint24"}],"name":"getPool","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"implementation","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner_","type":"address"},{"components":[{"internalType":"address","name":"baseToken","type":"address"},{"internalType":"address","name":"v3Factory","type":"address"},{"internalType":"address","name":"nfpm","type":"address"},{"internalType":"address","name":"router","type":"address"},{"internalType":"address","name":"quoterV2","type":"address"},{"internalType":"address","name":"v4PositionManager","type":"address"},{"internalType":"address","name":"v4StateView","type":"address"},{"internalType":"address","name":"permit2","type":"address"},{"internalType":"uint256","name":"defaultDeadlineSec","type":"uint256"},{"internalType":"uint256","name":"slippageBpsMax","type":"uint256"},{"internalType":"uint256","name":"swapLossBpsMax","type":"uint256"},{"internalType":"uint256","name":"slippageBpsMaxX100","type":"uint256"},{"internalType":"uint256","name":"swapLossBpsMaxX100","type":"uint256"},{"internalType":"uint32","name":"twapWindowSec","type":"uint32"},{"internalType":"int24","name":"twapMaxTickDiff","type":"int24"}],"internalType":"struct ALMCoreUpgradeable.CoreConfig","name":"config","type":"tuple"},{"components":[{"internalType":"address","name":"v3Module","type":"address"},{"internalType":"address","name":"v4Module","type":"address"}],"internalType":"struct ALMCoreUpgradeable.ModuleRefs","name":"modules","type":"tuple"},{"components":[{"internalType":"address","name":"router","type":"address"}],"internalType":"struct ALMCoreUpgradeable.KyberConfig","name":"kyber","type":"tuple"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isExecutor","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"isPoolAllowed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isTokenAllowed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"isTokenAllowedForExecutor","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isTokenBlocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isV4HookAllowed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"kyberRouter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nfpm","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC721Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pendingOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"permit2","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolAllowlistEnforced","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"proxiableUUID","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"quoterV2","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"resetExecutorLossBudgetBuckets","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"tokens","type":"address[]"}],"name":"revokePermit2ForV4","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"router","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"baseToken_","type":"address"},{"internalType":"address","name":"v3Factory_","type":"address"},{"internalType":"address","name":"nfpm_","type":"address"},{"internalType":"address","name":"router_","type":"address"},{"internalType":"address","name":"quoter_","type":"address"},{"internalType":"address","name":"v4PositionManager_","type":"address"}],"name":"setAddresses","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"bool","name":"allowed","type":"bool"}],"name":"setAllowedToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"tokens","type":"address[]"},{"internalType":"bool","name":"allowed","type":"bool"}],"name":"setAllowedTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"bool","name":"blocked","type":"bool"}],"name":"setBlockedToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"tokens","type":"address[]"},{"internalType":"bool","name":"blocked","type":"bool"}],"name":"setBlockedTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"executor","type":"address"},{"internalType":"bool","name":"enabled","type":"bool"}],"name":"setExecutor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"enabled","type":"bool"},{"internalType":"uint256","name":"riskCapitalNormalized","type":"uint256"},{"internalType":"uint256","name":"capBpsX100","type":"uint256"}],"name":"setExecutorLossBudget","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"router_","type":"address"}],"name":"setFlyRouter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"router_","type":"address"}],"name":"setKyberRouter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"v3Module_","type":"address"},{"internalType":"address","name":"v4Module_","type":"address"}],"name":"setModules","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"defaultDeadlineSec_","type":"uint256"},{"internalType":"uint256","name":"slippageBpsMax_","type":"uint256"},{"internalType":"uint256","name":"swapLossBpsMax_","type":"uint256"},{"internalType":"uint32","name":"twapWindowSec_","type":"uint32"},{"internalType":"int24","name":"twapMaxTickDiff_","type":"int24"}],"name":"setParams","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"defaultDeadlineSec_","type":"uint256"},{"internalType":"uint256","name":"slippageBpsMaxX100_","type":"uint256"},{"internalType":"uint256","name":"swapLossBpsMaxX100_","type":"uint256"},{"internalType":"uint32","name":"twapWindowSec_","type":"uint32"},{"internalType":"int24","name":"twapMaxTickDiff_","type":"int24"}],"name":"setParamsBpsX100","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"permit2_","type":"address"}],"name":"setPermit2","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"poolKey","type":"bytes32"},{"internalType":"bool","name":"allowed","type":"bool"}],"name":"setPoolAllowed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"poolKeys","type":"bytes32[]"},{"internalType":"bool","name":"enforced","type":"bool"}],"name":"setPoolAllowlist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"enforced","type":"bool"}],"name":"setPoolAllowlistEnforced","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"poolKeys","type":"bytes32[]"},{"internalType":"bool","name":"allowed","type":"bool"}],"name":"setPoolsAllowed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint8","name":"decimals_","type":"uint8"}],"name":"setStableTokenDecimals","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"tokens","type":"address[]"},{"internalType":"uint8[]","name":"decimals_","type":"uint8[]"}],"name":"setStableTokenDecimalsBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"swapModule_","type":"address"}],"name":"setSwapModule","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"hook","type":"address"},{"internalType":"bool","name":"allowed","type":"bool"}],"name":"setV4HookAllowed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"minPriceX18","type":"uint256"},{"internalType":"uint256","name":"maxPriceX18","type":"uint256"}],"name":"setV4StablePriceBounds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"stateView","type":"address"}],"name":"setV4StateView","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"router_","type":"address"}],"name":"setVeloraRouter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"slippageBpsMax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"slippageBpsMaxX100","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"stableTokenDecimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapLossBpsMax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapLossBpsMaxX100","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapModule","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"routeData","type":"bytes"},{"components":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"internalType":"struct ALMGuards.Spend[]","name":"spends","type":"tuple[]"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"address","name":"tokenOut","type":"address"},{"internalType":"uint256","name":"minAmountOut","type":"uint256"}],"name":"swapViaKyberGuarded","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"twapMaxTickDiff","outputs":[{"internalType":"int24","name":"","type":"int24"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"twapWindowSec","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"}],"name":"upgradeTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"upgradeToAndCall","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"upgradeabilityFrozen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"v3Factory","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"v3Module","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"v4Module","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"v4PositionManager","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"v4StablePriceBounds","outputs":[{"internalType":"uint256","name":"minPriceX18","type":"uint256"},{"internalType":"uint256","name":"maxPriceX18","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"v4StablePriceMaxX18","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"v4StablePriceMinX18","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"v4StateView","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"veloraRouter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"nft","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"withdrawNFT","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawNative","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}],"devdoc":{"errors":{"AddressEmptyCode(address)":[{"details":"There's no code at `target` (it is not a contract)."}],"ERC1967InvalidImplementation(address)":[{"details":"The `implementation` of the proxy is invalid."}],"ERC1967NonPayable()":[{"details":"An upgrade function sees `msg.value > 0` that may be lost."}],"EnforcedPause()":[{"details":"The operation failed because the contract is paused."}],"ExpectedPause()":[{"details":"The operation failed because the contract is not paused."}],"FailedCall()":[{"details":"A call to an address target failed. The target may have reverted."}],"InvalidInitialization()":[{"details":"The contract is already initialized."}],"NotInitializing()":[{"details":"The contract is not initializing."}],"OwnableInvalidOwner(address)":[{"details":"The owner is not a valid owner account. (eg. `address(0)`)"}],"OwnableUnauthorizedAccount(address)":[{"details":"The caller account is not authorized to perform an operation."}],"ReentrancyGuardReentrantCall()":[{"details":"Unauthorized reentrant call."}],"SafeERC20FailedOperation(address)":[{"details":"An operation with an ERC-20 token failed."}],"UUPSUnauthorizedCallContext()":[{"details":"The call is from an unauthorized context."}],"UUPSUnsupportedProxiableUUID(bytes32)":[{"details":"The storage `slot` is unsupported as a UUID."}]},"events":{"Initialized(uint64)":{"details":"Triggered when the contract has been initialized or reinitialized."},"Paused(address)":{"details":"Emitted when the pause is triggered by `account`."},"Unpaused(address)":{"details":"Emitted when the pause is lifted by `account`."},"Upgraded(address)":{"details":"Emitted when the implementation is upgraded."}},"kind":"dev","methods":{"acceptOwnership()":{"details":"The new owner accepts the ownership transfer."},"execSwap(bytes)":{"details":"Only the two `IALMSwapModule` swap selectors pass, for EVERY caller (owner included). The module's revert data is bubbled RAW: offchain error decoding and the Velora `EnforcedPause` attribution read it byte-for-byte. `whenNotPaused` stays on this entry."},"owner()":{"details":"Returns the address of the current owner."},"paused()":{"details":"Returns true if the contract is paused, and false otherwise."},"pendingOwner()":{"details":"Returns the address of the pending owner."},"proxiableUUID()":{"details":"Implementation of the ERC-1822 {proxiableUUID} function. This returns the storage slot used by the implementation. It is used to validate the implementation's compatibility when performing an upgrade. IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this function revert if invoked through a proxy. This is guaranteed by the `notDelegated` modifier."},"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."},"setPoolAllowlistEnforced(bool)":{"details":"Enforced with an empty list denies every executor entry (owner entries stay exempt)."},"setSwapModule(address)":{"details":"Upgrades set it atomically: `upgradeToAndCall(newImpl, abi.encodeCall(setSwapModule, (m)))`."},"setV4HookAllowed(address,bool)":{"details":"Enabling refuses a hook whose address carries remove-liquidity or *_RETURNS_DELTA bits."},"transferOwnership(address)":{"details":"Starts the ownership transfer of the contract to a new account. Replaces the pending transfer if there is one. Can only be called by the current owner. Setting `newOwner` to the zero address is allowed; this can be used to cancel an initiated ownership transfer."},"upgradeToAndCall(address,bytes)":{"details":"Upgrade the implementation of the proxy to `newImplementation`, and subsequently execute the function call encoded in `data`. Calls {_authorizeUpgrade}. Emits an {Upgraded} event."}},"version":1},"userdoc":{"kind":"user","methods":{"execSwap(bytes)":{"notice":"Velora / Fly guarded swaps, delegatecalled into `swapModule`."},"setPoolAllowed(bytes32,bool)":{"notice":"Allow (or stop allowing) NEW executor positions in a pool. Key: V4 poolId, or the V3 pool address left-padded to bytes32. De-listing never traps capital: exits are not gated."},"setPoolAllowlist(bytes32[],bool)":{"notice":"Seed the allowlist and set the enforcement flag in ONE call, so a redeploy never leaves the flag on over an empty list."},"setV4HookAllowed(address,bool)":{"notice":"Allow (or stop allowing) NEW V4 positions in pools using `hook`. De-listing never traps capital: exits (decrease/collect/burn) are not gated by this list."}},"version":1}},"settings":{"compilationTarget":{"ALMCoreUpgradeable.sol":"ALMCoreUpgradeable"},"evmVersion":"shanghai","libraries":{},"metadata":{"bytecodeHash":"none","useLiteralContent":true},"optimizer":{"enabled":true,"runs":200},"remappings":[":@openzeppelin/contracts-upgradeable/=node_modules/@openzeppelin/contracts-upgradeable/",":@openzeppelin/contracts/=node_modules/@openzeppelin/contracts/",":@uniswap/v3-core/=node_modules/@uniswap/v3-core/",":@uniswap/v4-core/=node_modules/@uniswap/v4-core/",":@uniswap/v4-periphery/=node_modules/@uniswap/v4-periphery/",":base64-sol/=node_modules/base64-sol/",":ds-test/=node_modules/@uniswap/v4-core/lib/solmate/lib/ds-test/",":erc4626-tests/=node_modules/@uniswap/v4-core/lib/openzeppelin-contracts/lib/erc4626-tests/",":forge-gas-snapshot/=node_modules/@uniswap/v4-periphery/lib/permit2/lib/forge-gas-snapshot/",":forge-std/=node_modules/@uniswap/v4-core/lib/forge-std/",":openzeppelin-contracts/=node_modules/@uniswap/v4-core/lib/openzeppelin-contracts/",":permit2/=node_modules/@uniswap/v4-periphery/lib/permit2/",":solmate/=node_modules/@uniswap/v4-core/lib/solmate/",":v4-core/=node_modules/@uniswap/v4-periphery/lib/v4-core/"],"viaIR":true},"sources":{"ALMCoreUpgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity =0.8.35;\n\nimport \"./ALMShared.sol\";\nimport {IMetaAggregationRouterV2} from \"./interfaces/IMetaAggregationRouterV2.sol\";\nimport {Ownable2StepUpgradeable} from \"@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable.sol\";\nimport {PausableUpgradeable} from \"@openzeppelin/contracts-upgradeable/utils/PausableUpgradeable.sol\";\nimport {UUPSUpgradeable} from \"@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.sol\";\nimport {ERC1967Utils} from \"@openzeppelin/contracts/proxy/ERC1967/ERC1967Utils.sol\";\nimport {ReentrancyGuard} from \"@openzeppelin/contracts/utils/ReentrancyGuard.sol\";\n\ncontract ALMCoreUpgradeable is\n    ALMGuards,\n    Ownable2StepUpgradeable,\n    PausableUpgradeable,\n    ReentrancyGuard,\n    UUPSUpgradeable,\n    IERC721Receiver\n{\n    using SafeERC20 for IERC20;\n\n    uint256 private constant MIN_DEADLINE_SEC = 30;\n    uint256 private constant MAX_DEADLINE_SEC = 3600;\n    uint256 private constant MAX_SLIPPAGE_BPS_X100 = 10_000; // 100 bps\n    uint256 private constant MAX_SWAP_LOSS_BPS_X100 = 10_000; // 100 bps\n    uint32 private constant MIN_TWAP_WINDOW_SEC = 30;\n    uint32 private constant MAX_TWAP_WINDOW_SEC = 3600;\n    int24 private constant MAX_TWAP_TICK_DIFF = 5000;\n    uint256 private constant MIN_V4_STABLE_PRICE_MIN_X18 = 990_000_000_000_000_000; // 0.9900\n    uint256 private constant MAX_V4_STABLE_PRICE_MAX_X18 = 1_010_000_000_000_000_000; // 1.0100\n    uint256 private constant MAX_EXECUTOR_LOSS_CAP_BPS_X100 = 10_000; // 100 bps\n    bytes32 private constant CORE_BUILD_SALT = keccak256(\"ALMv2eth-forced-fresh-bytecode-20260930-poolallowlist-01-core\");\n\n    struct CoreConfig {\n        address baseToken;\n        address v3Factory;\n        address nfpm;\n        address router;\n        address quoterV2;\n        address v4PositionManager;\n        address v4StateView;\n        address permit2;\n        uint256 defaultDeadlineSec;\n        uint256 slippageBpsMax;\n        uint256 swapLossBpsMax;\n        uint256 slippageBpsMaxX100;\n        uint256 swapLossBpsMaxX100;\n        uint32 twapWindowSec;\n        int24 twapMaxTickDiff;\n    }\n\n    struct ModuleRefs {\n        address v3Module;\n        address v4Module;\n    }\n\n    struct KyberConfig {\n        address router;\n    }\n\n    struct ExecutorCreateV3ExactParams {\n        address token0;\n        address token1;\n        uint24 fee;\n        int24 tickLower;\n        int24 tickUpper;\n        uint256 amount0Desired;\n        uint256 amount1Desired;\n        uint256 amount0Min;\n        uint256 amount1Min;\n    }\n\n    struct ExecutorCreateV4Params {\n        address token0;\n        address token1;\n        uint24 fee;\n        int24 tickSpacing;\n        int24 tickLower;\n        int24 tickUpper;\n        address hooks;\n        bytes hookData;\n        uint128 amount0Min;\n        uint128 amount1Min;\n        uint160 expectedSqrtPriceX96;\n        uint256 maxSqrtPriceDeviationBpsX100;\n    }\n\n    struct ExecutorCreateV4ExactParams {\n        address token0;\n        address token1;\n        uint24 fee;\n        int24 tickSpacing;\n        int24 tickLower;\n        int24 tickUpper;\n        address hooks;\n        bytes hookData;\n        uint128 liquidity;\n        uint128 amount0Max;\n        uint128 amount1Max;\n        uint160 expectedSqrtPriceX96;\n        uint256 maxSqrtPriceDeviationBpsX100;\n    }\n\n    event ExecutorSet(address indexed executor, bool enabled);\n    event Withdraw(address indexed token, uint256 amount);\n    event WithdrawNFT(address indexed nft, uint256 id);\n    event WithdrawNative(uint256 amount);\n    event ModulesSet(address indexed v3Module, address indexed v4Module);\n    event SwapModuleSet(address indexed swapModule);\n    event V4HookAllowedSet(address indexed hook, bool allowed);\n    event PoolAllowedSet(bytes32 indexed poolKey, bool allowed);\n    event PoolAllowlistEnforcedSet(bool enforced);\n    event KyberRouterSet(address indexed router);\n    event KyberSwapExecuted(address indexed router, uint256 value, bytes routeData);\n    event FlyRouterSet(address indexed router);\n    event VeloraRouterSet(address indexed router);\n    event Permit2ApprovalRevoked(address indexed token, address indexed spender);\n    event TokenAllowedSet(address indexed token, bool allowed);\n    event TokenBlockedSet(address indexed token, bool blocked);\n    event StableTokenDecimalsSet(address indexed token, uint8 decimals_);\n    event V4StablePriceBoundsSet(uint256 minPriceX18, uint256 maxPriceX18);\n    event ExecutorLossBudgetSet(bool enabled, uint256 riskCapitalNormalized, uint256 capBpsX100);\n    event UpgradesFrozen();\n\n    modifier onlyExecutorOrOwner() {\n        if (!(isExecutor[msg.sender] || msg.sender == owner())) revert NotExecutorOrOwner();\n        _;\n    }\n\n    modifier whenUpgradesAllowed() {\n        if (upgradeabilityFrozen) revert UpgradesFrozenErr();\n        _;\n    }\n\n    constructor() {\n        _disableInitializers();\n    }\n\n    function initialize(\n        address owner_,\n        CoreConfig calldata config,\n        ModuleRefs calldata modules,\n        KyberConfig calldata kyber\n    ) external initializer {\n        if (owner_ == address(0)) revert ZeroAddr();\n\n        __Ownable_init(owner_);\n        __Ownable2Step_init();\n        __Pausable_init();\n\n        _applyConfig(config);\n        _setModules(modules.v3Module, modules.v4Module);\n        if (kyber.router != address(0)) {\n            _setKyberRouter(kyber.router);\n        }\n    }\n\n    function _authorizeUpgrade(address) internal override onlyOwner whenUpgradesAllowed {}\n\n    function implementation() public view returns (address) {\n        return ERC1967Utils.getImplementation();\n    }\n\n    function contractBuildSalt() external pure returns (bytes32) {\n        return CORE_BUILD_SALT;\n    }\n\n    function upgradeTo(address newImplementation) external onlyProxy {\n        upgradeToAndCall(newImplementation, bytes(\"\"));\n    }\n\n    function upgradeToAndCall(address newImplementation, bytes memory data)\n        public\n        payable\n        override\n        whenUpgradesAllowed\n    {\n        super.upgradeToAndCall(newImplementation, data);\n    }\n\n    function freezeUpgrades() external onlyProxy onlyOwner whenUpgradesAllowed {\n        upgradeabilityFrozen = true;\n        emit UpgradesFrozen();\n    }\n\n    function pause() external onlyExecutorOrOwner {\n        _pause();\n    }\n\n    function unpause() external onlyOwner {\n        _unpause();\n    }\n\n    function renounceOwnership() public pure override {\n        revert RenounceOwnershipDisabled();\n    }\n\n    function _applyConfig(CoreConfig calldata config) internal {\n        if (config.baseToken != address(0)) baseToken = config.baseToken;\n        if (config.v3Factory != address(0)) v3Factory = config.v3Factory;\n        if (config.nfpm != address(0)) nfpm = config.nfpm;\n        if (config.router != address(0)) router = config.router;\n        if (config.quoterV2 != address(0)) quoterV2 = config.quoterV2;\n        if (config.v4PositionManager != address(0)) v4PositionManager = config.v4PositionManager;\n        if (config.v4StateView != address(0)) v4StateView = config.v4StateView;\n        if (config.permit2 != address(0)) permit2 = config.permit2;\n\n        defaultDeadlineSec = config.defaultDeadlineSec == 0 ? 600 : config.defaultDeadlineSec;\n        uint256 legacySlippageBps = config.slippageBpsMax == 0 ? 3 : config.slippageBpsMax;\n        uint256 legacySwapLossBps = config.swapLossBpsMax == 0 ? 4 : config.swapLossBpsMax;\n        slippageBpsMaxX100 = config.slippageBpsMaxX100 == 0 ? legacySlippageBps * 100 : config.slippageBpsMaxX100;\n        swapLossBpsMaxX100 = config.swapLossBpsMaxX100 == 0 ? legacySwapLossBps * 100 : config.swapLossBpsMaxX100;\n        slippageBpsMax = _ceilBps(slippageBpsMaxX100);\n        swapLossBpsMax = _ceilBps(swapLossBpsMaxX100);\n        fineBpsParamsEnabled = true;\n        twapWindowSec = config.twapWindowSec == 0 ? 120 : config.twapWindowSec;\n        twapMaxTickDiff = config.twapMaxTickDiff == 0 ? int24(120) : config.twapMaxTickDiff;\n        _validateRiskParams(\n            defaultDeadlineSec,\n            slippageBpsMaxX100,\n            swapLossBpsMaxX100,\n            twapWindowSec,\n            twapMaxTickDiff\n        );\n    }\n\n    function setExecutor(address executor, bool enabled) external onlyOwner {\n        isExecutor[executor] = enabled;\n        emit ExecutorSet(executor, enabled);\n    }\n\n    function setAllowedToken(address token, bool allowed) external onlyOwner {\n        _setAllowedToken(token, allowed);\n    }\n\n    function setAllowedTokens(address[] calldata tokens, bool allowed) external onlyOwner {\n        for (uint256 i = 0; i < tokens.length; i++) {\n            _setAllowedToken(tokens[i], allowed);\n        }\n    }\n\n    function setStableTokenDecimals(address token, uint8 decimals_) external onlyOwner {\n        _setStableTokenDecimals(token, decimals_);\n    }\n\n    function setStableTokenDecimalsBatch(address[] calldata tokens, uint8[] calldata decimals_) external onlyOwner {\n        if (tokens.length != decimals_.length) revert LengthMismatch();\n        for (uint256 i = 0; i < tokens.length; i++) {\n            _setStableTokenDecimals(tokens[i], decimals_[i]);\n        }\n    }\n\n    function setV4StablePriceBounds(uint256 minPriceX18, uint256 maxPriceX18) external onlyOwner {\n        if (minPriceX18 == 0 && maxPriceX18 == 0) {\n            v4StablePriceMinX18 = 0;\n            v4StablePriceMaxX18 = 0;\n            emit V4StablePriceBoundsSet(DEFAULT_V4_STABLE_PRICE_MIN_X18, DEFAULT_V4_STABLE_PRICE_MAX_X18);\n            return;\n        }\n\n        if (\n            minPriceX18 < MIN_V4_STABLE_PRICE_MIN_X18 ||\n            maxPriceX18 > MAX_V4_STABLE_PRICE_MAX_X18 ||\n            minPriceX18 > PRICE_X18 ||\n            maxPriceX18 < PRICE_X18 ||\n            minPriceX18 >= maxPriceX18\n        ) revert RiskParamOutOfRange();\n\n        v4StablePriceMinX18 = minPriceX18;\n        v4StablePriceMaxX18 = maxPriceX18;\n        emit V4StablePriceBoundsSet(minPriceX18, maxPriceX18);\n    }\n\n    function v4StablePriceBounds() external view returns (uint256 minPriceX18, uint256 maxPriceX18) {\n        return (_effectiveV4StablePriceMinX18(), _effectiveV4StablePriceMaxX18());\n    }\n\n    function setExecutorLossBudget(\n        bool enabled,\n        uint256 riskCapitalNormalized,\n        uint256 capBpsX100\n    ) external onlyOwner {\n        if (capBpsX100 > MAX_EXECUTOR_LOSS_CAP_BPS_X100) revert RiskParamOutOfRange();\n        if (enabled && (riskCapitalNormalized == 0 || capBpsX100 == 0)) revert RiskParamOutOfRange();\n\n        executorLossBudgetEnabled = enabled;\n        executorRiskCapitalNormalized = riskCapitalNormalized;\n        executorLossCapBpsX100 = capBpsX100;\n        emit ExecutorLossBudgetSet(enabled, riskCapitalNormalized, capBpsX100);\n    }\n\n    function resetExecutorLossBudgetBuckets() external onlyOwner {\n        for (uint256 i = 0; i < EXECUTOR_LOSS_WINDOW_HOURS; i++) {\n            executorLossBucketHours[i] = 0;\n            executorLossBucketAmounts[i] = 0;\n        }\n    }\n\n    function executorLossBudgetState()\n        external\n        view\n        returns (\n            bool enabled,\n            uint256 riskCapitalNormalized,\n            uint256 capBpsX100,\n            uint256 used24h,\n            uint256 cap24h,\n            uint256 remaining24h\n        )\n    {\n        enabled = executorLossBudgetEnabled;\n        riskCapitalNormalized = executorRiskCapitalNormalized;\n        capBpsX100 = executorLossCapBpsX100;\n        used24h = executorLossUsed24h();\n        cap24h = executorLossCap24h();\n        remaining24h = used24h >= cap24h ? 0 : cap24h - used24h;\n    }\n\n    function setBlockedToken(address token, bool blocked) external onlyOwner {\n        _setBlockedToken(token, blocked);\n    }\n\n    function setBlockedTokens(address[] calldata tokens, bool blocked) external onlyOwner {\n        for (uint256 i = 0; i < tokens.length; i++) {\n            _setBlockedToken(tokens[i], blocked);\n        }\n    }\n\n    function setAddresses(\n        address baseToken_,\n        address v3Factory_,\n        address nfpm_,\n        address router_,\n        address quoter_,\n        address v4PositionManager_\n    ) external onlyOwner {\n        if (baseToken_ != address(0)) baseToken = baseToken_;\n        if (v3Factory_ != address(0)) v3Factory = v3Factory_;\n        if (nfpm_ != address(0)) nfpm = nfpm_;\n        if (router_ != address(0)) router = router_;\n        if (quoter_ != address(0)) quoterV2 = quoter_;\n        if (v4PositionManager_ != address(0)) v4PositionManager = v4PositionManager_;\n    }\n\n    function setV4StateView(address stateView) external onlyOwner {\n        v4StateView = stateView;\n    }\n\n    function setPermit2(address permit2_) external onlyOwner {\n        permit2 = permit2_;\n    }\n\n    function setKyberRouter(address router_) external onlyOwner {\n        _setKyberRouter(router_);\n    }\n\n    function setFlyRouter(address router_) external onlyOwner {\n        _setFlyRouter(router_);\n    }\n\n    function setVeloraRouter(address router_) external onlyOwner {\n        _setVeloraRouter(router_);\n    }\n\n    /// @dev Upgrades set it atomically: `upgradeToAndCall(newImpl, abi.encodeCall(setSwapModule, (m)))`.\n    function setSwapModule(address swapModule_) external onlyOwner {\n        if (swapModule_ == address(0)) revert ZeroAddr();\n        _requireModuleInterface(swapModule_, type(IALMSwapModule).interfaceId);\n        swapModule = swapModule_;\n        emit SwapModuleSet(swapModule_);\n    }\n\n    /// @notice Allow (or stop allowing) NEW V4 positions in pools using `hook`. De-listing never traps\n    /// capital: exits (decrease/collect/burn) are not gated by this list.\n    /// @dev Enabling refuses a hook whose address carries remove-liquidity or *_RETURNS_DELTA bits.\n    function setV4HookAllowed(address hook, bool allowed) external onlyOwner {\n        if (hook == address(0)) revert ZeroAddr();\n        if (allowed && (uint160(hook) & V4_HOOK_FORBIDDEN_FLAGS) != 0) revert V4HooksUnsupported();\n        isV4HookAllowed[hook] = allowed;\n        emit V4HookAllowedSet(hook, allowed);\n    }\n\n    /// @notice Allow (or stop allowing) NEW executor positions in a pool. Key: V4 poolId, or the V3\n    /// pool address left-padded to bytes32. De-listing never traps capital: exits are not gated.\n    function setPoolAllowed(bytes32 poolKey, bool allowed) external onlyOwner {\n        _setPoolAllowed(poolKey, allowed);\n    }\n\n    function setPoolsAllowed(bytes32[] calldata poolKeys, bool allowed) external onlyOwner {\n        for (uint256 i = 0; i < poolKeys.length; i++) {\n            _setPoolAllowed(poolKeys[i], allowed);\n        }\n    }\n\n    /// @dev Enforced with an empty list denies every executor entry (owner entries stay exempt).\n    function setPoolAllowlistEnforced(bool enforced) external onlyOwner {\n        _setPoolAllowlistEnforced(enforced);\n    }\n\n    /// @notice Seed the allowlist and set the enforcement flag in ONE call, so a redeploy never\n    /// leaves the flag on over an empty list.\n    function setPoolAllowlist(bytes32[] calldata poolKeys, bool enforced) external onlyOwner {\n        for (uint256 i = 0; i < poolKeys.length; i++) {\n            _setPoolAllowed(poolKeys[i], true);\n        }\n        _setPoolAllowlistEnforced(enforced);\n    }\n\n    function setParams(\n        uint256 defaultDeadlineSec_,\n        uint256 slippageBpsMax_,\n        uint256 swapLossBpsMax_,\n        uint32 twapWindowSec_,\n        int24 twapMaxTickDiff_\n    ) external onlyOwner {\n        if (\n            slippageBpsMax_ > MAX_SLIPPAGE_BPS_X100 / 100 ||\n            swapLossBpsMax_ > MAX_SWAP_LOSS_BPS_X100 / 100\n        ) revert RiskParamOutOfRange();\n        _validateRiskParams(\n            defaultDeadlineSec_,\n            slippageBpsMax_ * 100,\n            swapLossBpsMax_ * 100,\n            twapWindowSec_,\n            twapMaxTickDiff_\n        );\n        defaultDeadlineSec = defaultDeadlineSec_;\n        slippageBpsMax = slippageBpsMax_;\n        swapLossBpsMax = swapLossBpsMax_;\n        slippageBpsMaxX100 = slippageBpsMax_ * 100;\n        swapLossBpsMaxX100 = swapLossBpsMax_ * 100;\n        fineBpsParamsEnabled = true;\n        twapWindowSec = twapWindowSec_;\n        twapMaxTickDiff = twapMaxTickDiff_;\n    }\n\n    function setParamsBpsX100(\n        uint256 defaultDeadlineSec_,\n        uint256 slippageBpsMaxX100_,\n        uint256 swapLossBpsMaxX100_,\n        uint32 twapWindowSec_,\n        int24 twapMaxTickDiff_\n    ) external onlyOwner {\n        _validateRiskParams(\n            defaultDeadlineSec_,\n            slippageBpsMaxX100_,\n            swapLossBpsMaxX100_,\n            twapWindowSec_,\n            twapMaxTickDiff_\n        );\n        defaultDeadlineSec = defaultDeadlineSec_;\n        slippageBpsMaxX100 = slippageBpsMaxX100_;\n        swapLossBpsMaxX100 = swapLossBpsMaxX100_;\n        slippageBpsMax = _ceilBps(slippageBpsMaxX100_);\n        swapLossBpsMax = _ceilBps(swapLossBpsMaxX100_);\n        fineBpsParamsEnabled = true;\n        twapWindowSec = twapWindowSec_;\n        twapMaxTickDiff = twapMaxTickDiff_;\n    }\n\n    function setModules(address v3Module_, address v4Module_) external onlyOwner {\n        _setModules(v3Module_, v4Module_);\n    }\n\n    function withdrawTokens(address token, uint256 amount) external onlyOwner nonReentrant {\n        if (token == address(0)) revert ZeroAddr();\n        if (amount == 0) revert AmountZero();\n        IERC20(token).safeTransfer(owner(), amount);\n        emit Withdraw(token, amount);\n    }\n\n    function withdrawNFT(address nft, uint256 id) external onlyOwner nonReentrant {\n        if (nft == address(0)) revert ZeroAddr();\n        IERC721(nft).transferFrom(address(this), owner(), id);\n        emit WithdrawNFT(nft, id);\n    }\n\n    function withdrawNative(uint256 amount) external onlyOwner nonReentrant {\n        if (amount == 0) revert AmountZero();\n        (bool ok,) = payable(owner()).call{value: amount}(\"\");\n        if (!ok) revert NativeSendFailErr();\n        emit WithdrawNative(amount);\n    }\n\n    function execV3(bytes calldata data)\n        external\n        payable\n        onlyExecutorOrOwner\n        nonReentrant\n        whenNotPaused\n        returns (bytes memory ret)\n    {\n        _requireExecutorAllowedV3(data);\n        if (v3Module == address(0)) revert ExternalCallFailed();\n        (bool ok, bytes memory result) = v3Module.delegatecall(data);\n        if (!ok) {\n            assembly {\n                revert(add(result, 32), mload(result))\n            }\n        }\n        return result;\n    }\n\n    function execV4(bytes calldata data)\n        external\n        payable\n        onlyExecutorOrOwner\n        nonReentrant\n        whenNotPaused\n        returns (bytes memory ret)\n    {\n        _requireExecutorAllowedV4(data);\n        if (v4Module == address(0)) revert ExternalCallFailed();\n        (bool ok, bytes memory result) = v4Module.delegatecall(data);\n        if (!ok) {\n            assembly {\n                revert(add(result, 32), mload(result))\n            }\n        }\n        return result;\n    }\n\n    /// @notice Velora / Fly guarded swaps, delegatecalled into `swapModule`.\n    /// @dev Only the two `IALMSwapModule` swap selectors pass, for EVERY caller (owner included).\n    /// The module's revert data is bubbled RAW: offchain error decoding and the Velora\n    /// `EnforcedPause` attribution read it byte-for-byte. `whenNotPaused` stays on this entry.\n    function execSwap(bytes calldata data)\n        external\n        onlyExecutorOrOwner\n        nonReentrant\n        whenNotPaused\n        returns (bytes memory ret)\n    {\n        bytes4 selector = _selectorOf(data);\n        if (\n            selector != IALMSwapModule.swapViaFlyGuarded.selector\n                && selector != IALMSwapModule.swapViaVeloraGuarded.selector\n        ) revert ExecutorSelectorNotAllowed(selector);\n        address module = swapModule;\n        if (module == address(0)) revert SwapModuleNA();\n        (bool ok, bytes memory result) = module.delegatecall(data);\n        if (!ok) {\n            assembly {\n                revert(add(result, 32), mload(result))\n            }\n        }\n        return result;\n    }\n\n    function revokePermit2ForV4(address[] calldata tokens) external onlyOwner {\n        if (permit2 == address(0)) revert Permit2NA();\n\n        for (uint256 i = 0; i < tokens.length; i++) {\n            IERC20(tokens[i]).forceApprove(permit2, 0);\n            IAllowanceTransfer(permit2).approve(tokens[i], v4PositionManager, 0, 1);\n            emit Permit2ApprovalRevoked(tokens[i], v4PositionManager);\n        }\n    }\n\n    function swapViaKyberGuarded(\n        bytes calldata routeData,\n        Spend[] calldata spends,\n        uint256 value,\n        address tokenOut,\n        uint256 minAmountOut\n    ) external onlyExecutorOrOwner nonReentrant whenNotPaused {\n        (IMetaAggregationRouterV2.SwapDescriptionV2 memory desc, address approveTarget) =\n            _decodeKyberSwapDescription(routeData);\n\n        if (msg.sender != owner()) {\n            _requireAllowedToken(desc.srcToken);\n            _requireAllowedToken(desc.dstToken);\n            _requireAllowedToken(tokenOut);\n        }\n\n        if (desc.dstReceiver != address(this)) revert KyberRecipientMismatch();\n        if (desc.dstToken != tokenOut) revert KyberTokenMismatch();\n        if (desc.srcToken == desc.dstToken) revert KyberTokenMismatch();\n        if (approveTarget != address(0) && approveTarget != kyberRouter) revert KyberApproveTargetMismatch();\n        if (desc.minReturnAmount < minAmountOut) revert KyberMinOutNotMet();\n\n        if (spends.length > 1) revert LengthMismatch();\n        if (spends.length == 1) {\n            if (value != 0) revert KyberAmountMismatch();\n            if (desc.srcToken != spends[0].token || desc.amount != spends[0].amount) revert KyberAmountMismatch();\n            if (msg.sender != owner()) _requireAllowedToken(spends[0].token);\n        } else {\n            if (value == 0) revert AmountZero();\n            if (desc.srcToken != KYBER_NATIVE_TOKEN || desc.amount != value) revert KyberAmountMismatch();\n        }\n        uint256 effectiveMinOut = desc.minReturnAmount > minAmountOut ? desc.minReturnAmount : minAmountOut;\n        if (msg.sender != owner()) {\n            _requireKyberStableMinOut(desc.srcToken, tokenOut, desc.amount, effectiveMinOut);\n            _requireExecutorLossBudgetHeadroom(desc.srcToken, tokenOut, desc.amount, effectiveMinOut);\n        }\n\n        uint256 balanceBefore = _kyberBalanceOf(tokenOut);\n        _swapViaKyberInternal(routeData, spends, value);\n        uint256 balanceAfter = _kyberBalanceOf(tokenOut);\n        if (balanceAfter < balanceBefore) revert KyberMinOutNotMet();\n        uint256 actualOut = balanceAfter - balanceBefore;\n        if (actualOut < effectiveMinOut) revert KyberMinOutNotMet();\n        if (msg.sender != owner()) {\n            _requireKyberStableOutNotTooHigh(desc.srcToken, tokenOut, desc.amount, actualOut);\n            _consumeExecutorLossBudgetRealized(desc.srcToken, tokenOut, desc.amount, actualOut);\n        }\n    }\n\n    function _swapViaKyberInternal(bytes calldata routeData, Spend[] calldata spends, uint256 value) internal {\n        address router_ = kyberRouter;\n        if (router_ == address(0)) revert KyberRouterNA();\n        if (spends.length == 0 && value == 0) revert AmountZero();\n\n        for (uint256 i = 0; i < spends.length; i++) {\n            IERC20(spends[i].token).forceApprove(router_, spends[i].amount);\n        }\n\n        (bool ok, bytes memory reason) = router_.call{value: value}(routeData);\n\n        for (uint256 j = 0; j < spends.length; j++) {\n            IERC20(spends[j].token).forceApprove(router_, 0);\n        }\n\n        if (!ok) {\n            assembly {\n                revert(add(reason, 32), mload(reason))\n            }\n        }\n\n        emit KyberSwapExecuted(router_, value, routeData);\n    }\n\n    function _requireExecutorAllowedV3(bytes calldata data) internal view {\n        if (msg.sender == owner()) return;\n        bytes4 selector = _selectorOf(data);\n        if (selector == bytes4(keccak256(\"createPositionV3Exact((address,address,uint24,int24,int24,uint256,uint256,uint256,uint256))\"))) {\n            ExecutorCreateV3ExactParams memory params =\n                abi.decode(data[4:], (ExecutorCreateV3ExactParams));\n            _requireAllowedPair(params.token0, params.token1);\n            _requireV3StablePriceGuard(\n                _requireExecutorPoolAllowedV3(params.token0, params.token1, params.fee),\n                params.token0,\n                params.token1\n            );\n            return;\n        }\n        if (selector == bytes4(keccak256(\"increaseLiquidityV3(uint256,uint256,uint256,uint256,uint256)\"))) {\n            (uint256 tokenId,,,,) = abi.decode(data[4:], (uint256, uint256, uint256, uint256, uint256));\n            (address token0, address token1, uint24 fee) = _requireAllowedV3PositionTokens(tokenId);\n            _requireV3StablePriceGuard(_requireExecutorPoolAllowedV3(token0, token1, fee), token0, token1);\n            return;\n        }\n        if (selector == bytes4(keccak256(\"decreaseLiquidityV3(uint256,uint128,uint256,uint256)\"))) {\n            (uint256 tokenId,,,) = abi.decode(data[4:], (uint256, uint128, uint256, uint256));\n            _requireAllowedV3PositionTokens(tokenId);\n            return;\n        }\n        if (selector == bytes4(keccak256(\"collectFeesV3(uint256)\")) || selector == bytes4(keccak256(\"burnPositionV3(uint256)\"))) {\n            uint256 tokenId = abi.decode(data[4:], (uint256));\n            _requireAllowedV3PositionTokens(tokenId);\n            return;\n        }\n        revert ExecutorSelectorNotAllowed(selector);\n    }\n\n    function _requireExecutorAllowedV4(bytes calldata data) internal view {\n        if (msg.sender == owner()) return;\n        bytes4 selector = _selectorOf(data);\n        if (\n            selector\n                == bytes4(\n                    keccak256(\"createPositionV4UsingBalances((address,address,uint24,int24,int24,int24,address,bytes,uint128,uint128,uint160,uint256))\")\n                )\n        ) {\n            ExecutorCreateV4Params memory params = abi.decode(data[4:], (ExecutorCreateV4Params));\n            _requireAllowedPair(params.token0, params.token1);\n            _requireEmptyV4HookData(params.hookData);\n            _requireExecutorEntryV4(\n                _v4PoolKey(params.token0, params.token1, params.fee, params.tickSpacing, params.hooks),\n                params.expectedSqrtPriceX96\n            );\n            return;\n        }\n        if (\n            selector\n                == bytes4(\n                    keccak256(\"createPositionV4Exact((address,address,uint24,int24,int24,int24,address,bytes,uint128,uint128,uint128,uint160,uint256))\")\n                )\n        ) {\n            ExecutorCreateV4ExactParams memory params = abi.decode(data[4:], (ExecutorCreateV4ExactParams));\n            _requireAllowedPair(params.token0, params.token1);\n            _requireEmptyV4HookData(params.hookData);\n            _requireExecutorEntryV4(\n                _v4PoolKey(params.token0, params.token1, params.fee, params.tickSpacing, params.hooks),\n                params.expectedSqrtPriceX96\n            );\n            return;\n        }\n        if (selector == bytes4(keccak256(\"increaseLiquidityV4Exact(uint256,uint128,uint128,uint128,bytes,uint160,uint256)\"))) {\n            (uint256 tokenId,,,, bytes memory hookData, uint160 expectedSqrtPriceX96,) =\n                abi.decode(data[4:], (uint256, uint128, uint128, uint128, bytes, uint160, uint256));\n            _requireEmptyV4HookData(hookData);\n            _requireExecutorEntryV4(_requireAllowedV4PositionTokens(tokenId), expectedSqrtPriceX96);\n            return;\n        }\n        if (selector == bytes4(keccak256(\"increaseLiquidityV4(uint256,uint256,uint256,bytes,uint160,uint256)\"))) {\n            (uint256 tokenId,,, bytes memory hookData, uint160 expectedSqrtPriceX96,) =\n                abi.decode(data[4:], (uint256, uint256, uint256, bytes, uint160, uint256));\n            _requireEmptyV4HookData(hookData);\n            _requireExecutorEntryV4(_requireAllowedV4PositionTokens(tokenId), expectedSqrtPriceX96);\n            return;\n        }\n        if (selector == bytes4(keccak256(\"decreaseLiquidityV4(uint256,uint256,uint128,uint128,bytes)\"))) {\n            (uint256 tokenId,,,, bytes memory hookData) =\n                abi.decode(data[4:], (uint256, uint256, uint128, uint128, bytes));\n            _requireEmptyV4HookData(hookData);\n            _requireAllowedV4PositionTokens(tokenId);\n            return;\n        }\n        if (selector == bytes4(keccak256(\"collectFeesV4(uint256)\"))) {\n            uint256 tokenId = abi.decode(data[4:], (uint256));\n            _requireAllowedV4PositionTokens(tokenId);\n            return;\n        }\n        if (selector == bytes4(keccak256(\"burnPositionV4(uint256,uint128,uint128,bytes)\"))) {\n            (uint256 tokenId,,, bytes memory hookData) = abi.decode(data[4:], (uint256, uint128, uint128, bytes));\n            _requireEmptyV4HookData(hookData);\n            _requireAllowedV4PositionTokens(tokenId);\n            return;\n        }\n        revert ExecutorSelectorNotAllowed(selector);\n    }\n\n    function _ceilBps(uint256 bpsX100) internal pure returns (uint256) {\n        return bpsX100 == 0 ? 0 : ((bpsX100 + 99) / 100);\n    }\n\n    function _validateRiskParams(\n        uint256 defaultDeadlineSec_,\n        uint256 slippageBpsMaxX100_,\n        uint256 swapLossBpsMaxX100_,\n        uint32 twapWindowSec_,\n        int24 twapMaxTickDiff_\n    ) internal pure {\n        if (defaultDeadlineSec_ < MIN_DEADLINE_SEC || defaultDeadlineSec_ > MAX_DEADLINE_SEC) {\n            revert RiskParamOutOfRange();\n        }\n        if (slippageBpsMaxX100_ > MAX_SLIPPAGE_BPS_X100) revert RiskParamOutOfRange();\n        if (swapLossBpsMaxX100_ > MAX_SWAP_LOSS_BPS_X100) revert RiskParamOutOfRange();\n        if (twapWindowSec_ < MIN_TWAP_WINDOW_SEC || twapWindowSec_ > MAX_TWAP_WINDOW_SEC) {\n            revert RiskParamOutOfRange();\n        }\n        if (twapMaxTickDiff_ < 0 || twapMaxTickDiff_ > MAX_TWAP_TICK_DIFF) revert RiskParamOutOfRange();\n    }\n\n    function _setAllowedToken(address token, bool allowed) internal {\n        if (token == address(0)) revert ZeroAddr();\n        isTokenAllowed[token] = allowed;\n        emit TokenAllowedSet(token, allowed);\n    }\n\n    function _setPoolAllowed(bytes32 poolKey, bool allowed) internal {\n        if (poolKey == bytes32(0)) revert ZeroPoolKey();\n        isPoolAllowed[poolKey] = allowed;\n        emit PoolAllowedSet(poolKey, allowed);\n    }\n\n    function _setPoolAllowlistEnforced(bool enforced) internal {\n        poolAllowlistEnforced = enforced;\n        emit PoolAllowlistEnforcedSet(enforced);\n    }\n\n    function _setStableTokenDecimals(address token, uint8 decimals_) internal {\n        if (token == address(0)) revert ZeroAddr();\n        if (decimals_ > 18) revert StableTokenDecimalsInvalid(token, decimals_);\n        stableTokenDecimals[token] = decimals_;\n        emit StableTokenDecimalsSet(token, decimals_);\n    }\n\n    function _setBlockedToken(address token, bool blocked) internal {\n        if (token == address(0)) revert ZeroAddr();\n        isTokenBlocked[token] = blocked;\n        emit TokenBlockedSet(token, blocked);\n    }\n\n    function _requireAllowedPair(address token0, address token1) internal view {\n        _requireAllowedToken(token0);\n        _requireAllowedToken(token1);\n    }\n\n    /// @dev Executor hookData is always empty: the offchain runtime sends `0x`, and an allowlisted\n    /// hook (upgradeable by its own governance) must never receive executor-chosen bytes.\n    function _requireEmptyV4HookData(bytes memory hookData) internal pure {\n        if (hookData.length != 0) revert V4HookDataNotAllowed();\n    }\n\n    function _v4PoolKey(address token0, address token1, uint24 fee, int24 tickSpacing, address hooks)\n        internal\n        view\n        returns (IPositionManagerV4.PoolKey memory key)\n    {\n        if (token0 == address(0) || token1 == address(0)) revert ZeroAddr();\n        if (token0 >= token1) revert OrderErr();\n        if (!_v4HookAllowedForEntry(hooks)) revert V4HooksUnsupported();\n        key = IPositionManagerV4.PoolKey({\n            currency0: token0,\n            currency1: token1,\n            fee: fee,\n            tickSpacing: tickSpacing,\n            hooks: hooks\n        });\n    }\n\n    /// @dev Executor ENTRY only (create/increase): with `poolAllowlistEnforced` on, the pool must be on\n    /// the owner-set allowlist. Exits (decrease/collect/burn) never come through here, so de-listing\n    /// a pool stops new deposits but cannot trap capital. The owner is exempt (guards return early).\n    function _requireExecutorPoolAllowed(bytes32 poolKey) internal view {\n        if (!_poolAllowedForEntry(poolKey)) revert PoolNotAllowed(poolKey);\n    }\n\n    /// @dev V3 allowlist key is the pool address the factory reports for (token0, token1, fee).\n    function _requireExecutorPoolAllowedV3(address token0, address token1, uint24 fee)\n        internal\n        view\n        returns (address pool)\n    {\n        pool = _v3Pool(token0, token1, fee);\n        _requireExecutorPoolAllowed(bytes32(uint256(uint160(pool))));\n    }\n\n    /// @dev V4 allowlist key is the poolId; the allowlist is asked before any price read.\n    function _requireExecutorEntryV4(IPositionManagerV4.PoolKey memory key, uint160 expectedSqrtPriceX96)\n        internal\n        view\n    {\n        bytes32 poolId = keccak256(abi.encode(key));\n        _requireExecutorPoolAllowed(poolId);\n        _requireV4StablePriceGuard(key, poolId, expectedSqrtPriceX96);\n    }\n\n    function _requireV4StablePriceGuard(\n        IPositionManagerV4.PoolKey memory key,\n        bytes32 poolId,\n        uint160 expectedSqrtPriceX96\n    ) internal view {\n        if (expectedSqrtPriceX96 == 0) revert V4PriceGuardRequired();\n        if (v4StateView == address(0)) revert V4ViewNA();\n        (uint160 spot,,,) = IStateViewV4(v4StateView).getSlot0(poolId);\n        uint8 decimals0 = _stableTokenDecimalsOrRevert(key.currency0);\n        uint8 decimals1 = _stableTokenDecimalsOrRevert(key.currency1);\n        uint256 priceX18 = _v4PriceX18FromSqrt(spot, decimals0, decimals1);\n        uint256 minPriceX18 = _effectiveV4StablePriceMinX18();\n        uint256 maxPriceX18 = _effectiveV4StablePriceMaxX18();\n        if (priceX18 < minPriceX18 || priceX18 > maxPriceX18) {\n            revert V4StablePriceOutOfRange(key.currency0, key.currency1, priceX18, minPriceX18, maxPriceX18);\n        }\n    }\n\n    function _v4PriceX18FromSqrt(uint160 sqrtPriceX96, uint8 decimals0, uint8 decimals1)\n        internal\n        pure\n        returns (uint256)\n    {\n        uint256 rawPriceX96 = FullMath.mulDiv(uint256(sqrtPriceX96), uint256(sqrtPriceX96), FixedPoint96.Q96);\n        uint256 scale0 = 10 ** uint256(decimals0);\n        uint256 scale1 = 10 ** uint256(decimals1);\n        return FullMath.mulDiv(rawPriceX96, 1e18 * scale0, FixedPoint96.Q96 * scale1);\n    }\n\n    function _requireOwnedPosition(address nft, uint256 tokenId) internal view {\n        address actualOwner = IERC721(nft).ownerOf(tokenId);\n        if (actualOwner != address(this)) revert PositionNotOwned(nft, tokenId, actualOwner);\n    }\n\n    function _requireAllowedV3PositionTokens(uint256 tokenId)\n        internal\n        view\n        returns (address token0, address token1, uint24 fee)\n    {\n        _requireOwnedPosition(nfpm, tokenId);\n        (,, token0, token1, fee,,,,,,,) = INonfungiblePositionManager(nfpm).positions(tokenId);\n        _requireAllowedPair(token0, token1);\n    }\n\n    function _v3Pool(address token0, address token1, uint24 fee) internal view returns (address pool) {\n        pool = IUniswapV3Factory(v3Factory).getPool(token0, token1, fee);\n        if (pool == address(0)) revert PoolNA();\n    }\n\n    function _requireV3StablePriceGuard(address pool, address token0, address token1) internal view {\n        (uint160 spot,,,,,,) = IUniswapV3Pool(pool).slot0();\n        uint256 priceX18 = _v4PriceX18FromSqrt(\n            spot,\n            _stableTokenDecimalsOrRevert(token0),\n            _stableTokenDecimalsOrRevert(token1)\n        );\n        uint256 minPriceX18 = _effectiveV4StablePriceMinX18();\n        uint256 maxPriceX18 = _effectiveV4StablePriceMaxX18();\n        if (priceX18 < minPriceX18 || priceX18 > maxPriceX18) {\n            revert V3StablePriceOutOfRange(token0, token1, priceX18, minPriceX18, maxPriceX18);\n        }\n    }\n\n    function _requireAllowedV4PositionTokens(uint256 tokenId)\n        internal\n        view\n        returns (IPositionManagerV4.PoolKey memory key)\n    {\n        _requireOwnedPosition(v4PositionManager, tokenId);\n        (key,) = IPositionManagerV4(v4PositionManager).getPoolAndPositionInfo(tokenId);\n        _requireAllowedPair(key.currency0, key.currency1);\n    }\n\n    function _selectorOf(bytes calldata data) internal pure returns (bytes4 selector) {\n        if (data.length < 4) revert ExternalCallFailed();\n        assembly {\n            selector := calldataload(data.offset)\n        }\n    }\n\n    function _decodeKyberSwapDescription(bytes calldata routeData)\n        internal\n        pure\n        returns (IMetaAggregationRouterV2.SwapDescriptionV2 memory desc, address approveTarget)\n    {\n        if (routeData.length < 4) revert KyberUnsupportedRoute();\n\n        bytes4 selector;\n        assembly {\n            selector := calldataload(routeData.offset)\n        }\n\n        bytes calldata params = routeData[4:];\n        if (selector == IMetaAggregationRouterV2.swap.selector || selector == IMetaAggregationRouterV2.swapGeneric.selector) {\n            IMetaAggregationRouterV2.SwapExecutionParams memory execution =\n                abi.decode(params, (IMetaAggregationRouterV2.SwapExecutionParams));\n            return (execution.desc, execution.approveTarget);\n        }\n        if (selector == IMetaAggregationRouterV2.swapSimpleMode.selector) {\n            (, desc,,) = abi.decode(params, (address, IMetaAggregationRouterV2.SwapDescriptionV2, bytes, bytes));\n            return (desc, address(0));\n        }\n\n        revert KyberUnsupportedRoute();\n    }\n\n    function getPool(address token0, address token1, uint24 fee) external view returns (address) {\n        return _v3Pool(token0, token1, fee);\n    }\n\n    function onERC721Received(address, address, uint256, bytes calldata) external pure override returns (bytes4) {\n        return IERC721Receiver.onERC721Received.selector;\n    }\n\n    receive() external payable {}\n\n    function _setModules(address v3Module_, address v4Module_) internal {\n        if (v3Module_ == address(0) || v4Module_ == address(0)) revert ZeroAddr();\n        _requireModuleInterface(v3Module_, type(IALMV3Module).interfaceId);\n        _requireModuleInterface(v4Module_, type(IALMV4Module).interfaceId);\n        v3Module = v3Module_;\n        v4Module = v4Module_;\n        emit ModulesSet(v3Module_, v4Module_);\n    }\n\n    function _requireModuleInterface(address module, bytes4 interfaceId) internal view {\n        if (module.code.length == 0) revert ExternalCallFailed();\n        try IERC165(module).supportsInterface(interfaceId) returns (bool supported) {\n            if (!supported) revert ExternalCallFailed();\n        } catch {\n            revert ExternalCallFailed();\n        }\n    }\n\n    function _setKyberRouter(address router_) internal {\n        if (router_ == address(0)) revert ZeroAddr();\n        if (router_.code.length == 0) revert ExternalCallFailed();\n        kyberRouter = router_;\n        emit KyberRouterSet(router_);\n    }\n\n    function _setFlyRouter(address router_) internal {\n        if (router_ == address(0)) revert ZeroAddr();\n        if (router_.code.length == 0) revert ExternalCallFailed();\n        flyRouter = router_;\n        emit FlyRouterSet(router_);\n    }\n\n    function _setVeloraRouter(address router_) internal {\n        if (router_ == address(0)) revert ZeroAddr();\n        if (router_.code.length == 0) revert ExternalCallFailed();\n        veloraRouter = router_;\n        emit VeloraRouterSet(router_);\n    }\n}\n","keccak256":"0xc1fac47e403eaa014b08faaa331cc4854b6b1ca14d2d847c5dd3d18c460a466c","license":"MIT"},"ALMShared.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity =0.8.35;\n\nimport {IERC20} from \"@openzeppelin/contracts/token/ERC20/IERC20.sol\";\nimport {SafeERC20} from \"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\";\nimport {IERC721} from \"@openzeppelin/contracts/token/ERC721/IERC721.sol\";\nimport {IERC721Receiver} from \"@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\";\nimport {IERC165} from \"@openzeppelin/contracts/utils/introspection/IERC165.sol\";\nimport {IUniswapV3Factory} from \"@uniswap/v3-core/contracts/interfaces/IUniswapV3Factory.sol\";\nimport {IUniswapV3Pool} from \"@uniswap/v3-core/contracts/interfaces/IUniswapV3Pool.sol\";\nimport {IAllowanceTransfer} from \"@uniswap/v4-periphery/lib/permit2/src/interfaces/IAllowanceTransfer.sol\";\nimport {FullMath} from \"@uniswap/v4-core/src/libraries/FullMath.sol\";\nimport {FixedPoint96} from \"@uniswap/v4-core/src/libraries/FixedPoint96.sol\";\nimport {SafeCast as V4SafeCast} from \"@uniswap/v4-core/src/libraries/SafeCast.sol\";\nimport {TickMath} from \"@uniswap/v4-core/src/libraries/TickMath.sol\";\nimport {SqrtPriceMath} from \"@uniswap/v4-core/src/libraries/SqrtPriceMath.sol\";\nimport {LiquidityAmounts} from \"@uniswap/v4-periphery/src/libraries/LiquidityAmounts.sol\";\n\n/* ========= Shared errors ========= */\nerror NotExecutorOrOwner();\nerror ZeroAddr();\nerror PoolNA();\nerror AmountZero();\nerror TwapCheckFailed();\nerror SwapSlip();\nerror Permit2NA();\nerror V4PMNA();\nerror V4ViewNA();\nerror TickRangeErr();\nerror TickAlignErr();\nerror LiquidityZeroErr();\nerror NativeSendFailErr();\nerror ExternalCallFailed();\nerror OrderErr();\nerror LengthMismatch();\nerror UpgradesFrozenErr();\nerror RenounceOwnershipDisabled();\nerror KyberRouterNA();\nerror ExecutorSelectorNotAllowed(bytes4 selector);\nerror KyberUnsupportedRoute();\nerror KyberTokenMismatch();\nerror KyberAmountMismatch();\nerror KyberRecipientMismatch();\nerror KyberMinOutNotMet();\nerror KyberApproveTargetMismatch();\nerror FlyRouterNA();\nerror FlyAmountMismatch();\nerror VeloraRouterNA();\nerror VeloraRouteMismatch();\nerror VeloraDeadline();\nerror AmountTooLarge();\nerror SwapModuleNA();\nerror V4HooksUnsupported();\nerror V4HookDataNotAllowed();\nerror PoolNotAllowed(bytes32 poolKey);\nerror ZeroPoolKey();\nerror TokenNotAllowed(address token);\nerror V4PriceGuardRequired();\nerror V4PriceCheckFailed();\nerror V4MintBelowMin(uint256 used0, uint256 used1, uint256 amount0Min, uint256 amount1Min);\nerror DirectModuleCall();\nerror StableTokenDecimalsInvalid(address token, uint8 decimals_);\nerror StableTokenDecimalsNotSet(address token);\nerror V4StablePriceOutOfRange(\n    address token0,\n    address token1,\n    uint256 priceX18,\n    uint256 minPriceX18,\n    uint256 maxPriceX18\n);\nerror V3StablePriceOutOfRange(\n    address token0,\n    address token1,\n    uint256 priceX18,\n    uint256 minPriceX18,\n    uint256 maxPriceX18\n);\nerror KyberStableMinOutTooLow(\n    address tokenIn,\n    address tokenOut,\n    uint256 effectiveMinOutNormalized,\n    uint256 requiredMinOutNormalized\n);\nerror KyberStableOutTooHigh(\n    address tokenIn,\n    address tokenOut,\n    uint256 outputNormalized,\n    uint256 maxOutputNormalized\n);\nerror ExecutorLossBudgetNotConfigured();\nerror ExecutorLossBudgetExceeded(uint256 used24h, uint256 loss, uint256 cap24h);\nerror RiskParamOutOfRange();\nerror PositionNotOwned(address nft, uint256 tokenId, address actualOwner);\nerror EmptyInitData();\n\n/* ========= Shared interfaces ========= */\n/// @dev Pinned minimal Uniswap V3 NonfungiblePositionManager ABI.\n/// The official v3-periphery interface imports pre-0.8 helper sources that do not compile under solc 0.8.35.\ninterface INonfungiblePositionManager {\n    struct MintParams {\n        address token0;\n        address token1;\n        uint24 fee;\n        int24 tickLower;\n        int24 tickUpper;\n        uint256 amount0Desired;\n        uint256 amount1Desired;\n        uint256 amount0Min;\n        uint256 amount1Min;\n        address recipient;\n        uint256 deadline;\n    }\n\n    struct IncreaseLiquidityParams {\n        uint256 tokenId;\n        uint256 amount0Desired;\n        uint256 amount1Desired;\n        uint256 amount0Min;\n        uint256 amount1Min;\n        uint256 deadline;\n    }\n\n    struct DecreaseLiquidityParams {\n        uint256 tokenId;\n        uint128 liquidity;\n        uint256 amount0Min;\n        uint256 amount1Min;\n        uint256 deadline;\n    }\n\n    struct CollectParams {\n        uint256 tokenId;\n        address recipient;\n        uint128 amount0Max;\n        uint128 amount1Max;\n    }\n\n    function positions(uint256 tokenId) external view returns (\n        uint96,\n        address,\n        address,\n        address,\n        uint24,\n        int24,\n        int24,\n        uint128,\n        uint256,\n        uint256,\n        uint128,\n        uint128\n    );\n\n    function mint(MintParams calldata) external payable returns (uint256, uint128, uint256, uint256);\n    function increaseLiquidity(IncreaseLiquidityParams calldata) external payable returns (uint128, uint256, uint256);\n    function decreaseLiquidity(DecreaseLiquidityParams calldata) external payable returns (uint256, uint256);\n    function collect(CollectParams calldata) external payable returns (uint256, uint256);\n    function burn(uint256 tokenId) external payable;\n}\n\ninterface IPositionManagerV4 {\n    struct PoolKey {\n        address currency0;\n        address currency1;\n        uint24 fee;\n        int24 tickSpacing;\n        address hooks;\n    }\n\n    function modifyLiquidities(bytes calldata unlockData, uint256 deadline) external payable;\n    function getPoolAndPositionInfo(uint256 tokenId) external view returns (PoolKey memory poolKey, uint256 infoPacked);\n    function getPositionLiquidity(uint256 tokenId) external view returns (uint128);\n    function nextTokenId() external view returns (uint256);\n}\n\ninterface IStateViewV4 {\n    function getSlot0(bytes32) external view returns (uint160, int24, uint24, uint24);\n}\n\ninterface IALMV3Module {\n    struct CreateV3ExactParams {\n        address token0;\n        address token1;\n        uint24 fee;\n        int24 tickLower;\n        int24 tickUpper;\n        uint256 amount0Desired;\n        uint256 amount1Desired;\n        uint256 amount0Min;\n        uint256 amount1Min;\n    }\n\n    function approveERC20(address token, address spender, uint256 amount) external;\n    function approveBoth(address token0, address token1, address spender, uint256 amount) external;\n    function revokeERC20(address token, address spender) external;\n    function createPositionV3Exact(CreateV3ExactParams calldata params) external;\n    function increaseLiquidityV3(\n        uint256 tokenId,\n        uint256 amount0Desired,\n        uint256 amount1Desired,\n        uint256 amount0Min,\n        uint256 amount1Min\n    ) external;\n    function decreaseLiquidityV3(uint256 tokenId, uint128 liquidity, uint256 amount0Min, uint256 amount1Min) external;\n    function collectFeesV3(uint256 tokenId) external;\n    function burnPositionV3(uint256 tokenId) external;\n}\n\ninterface IALMV4Module {\n    struct CreateV4Params {\n        address token0;\n        address token1;\n        uint24 fee;\n        int24 tickSpacing;\n        int24 tickLower;\n        int24 tickUpper;\n        address hooks;\n        bytes hookData;\n        uint128 amount0Min;\n        uint128 amount1Min;\n        uint160 expectedSqrtPriceX96;\n        uint256 maxSqrtPriceDeviationBpsX100;\n    }\n\n    struct CreateV4ExactParams {\n        address token0;\n        address token1;\n        uint24 fee;\n        int24 tickSpacing;\n        int24 tickLower;\n        int24 tickUpper;\n        address hooks;\n        bytes hookData;\n        uint128 liquidity;\n        uint128 amount0Max;\n        uint128 amount1Max;\n        uint160 expectedSqrtPriceX96;\n        uint256 maxSqrtPriceDeviationBpsX100;\n    }\n\n    function createPositionV4UsingBalances(CreateV4Params calldata params) external;\n    function createPositionV4Exact(CreateV4ExactParams calldata params) external;\n    function increaseLiquidityV4Exact(\n        uint256 tokenId,\n        uint128 liquidity,\n        uint128 amount0Max,\n        uint128 amount1Max,\n        bytes calldata hookData,\n        uint160 expectedSqrtPriceX96,\n        uint256 maxSqrtPriceDeviationBpsX100\n    ) external;\n    function increaseLiquidityV4(\n        uint256 tokenId,\n        uint256 amount0Max,\n        uint256 amount1Max,\n        bytes calldata hookData,\n        uint160 expectedSqrtPriceX96,\n        uint256 maxSqrtPriceDeviationBpsX100\n    ) external;\n    function decreaseLiquidityV4(\n        uint256 tokenId,\n        uint256 liquidity,\n        uint128 amount0Min,\n        uint128 amount1Min,\n        bytes calldata hookData\n    ) external;\n    function collectFeesV4(uint256 tokenId) external;\n    function burnPositionV4(uint256 tokenId, uint128 amount0Min, uint128 amount1Min, bytes calldata hookData) external;\n}\n\n/* ========= Shared storage ========= */\nabstract contract ALMStorage {\n    bool public upgradeabilityFrozen;\n\n    uint256 public constant BPS = 10_000;\n\n    address public v3Factory;\n    address public nfpm;\n    address public router;\n    address public quoterV2;\n    address public v4PositionManager;\n    address public kyberRouter;\n    address public baseToken;\n    address public v4StateView;\n    address public permit2;\n    address public v3Module;\n    address public v4Module;\n\n    uint256 public defaultDeadlineSec;\n    uint256 public slippageBpsMax;\n    uint256 public swapLossBpsMax;\n\n    uint32 public twapWindowSec;\n    int24 public twapMaxTickDiff;\n\n    mapping(address => bool) public isExecutor;\n    mapping(address => bool) public isTokenAllowed;\n    mapping(address => bool) public isTokenBlocked;\n    mapping(address => uint8) public stableTokenDecimals;\n\n    uint256 public slippageBpsMaxX100;\n    uint256 public swapLossBpsMaxX100;\n    bool public fineBpsParamsEnabled;\n\n    uint256 public v4StablePriceMinX18;\n    uint256 public v4StablePriceMaxX18;\n    uint256 public executorRiskCapitalNormalized;\n    uint256 public executorLossCapBpsX100;\n    bool public executorLossBudgetEnabled;\n    uint64[24] internal executorLossBucketHours;\n    uint256[24] internal executorLossBucketAmounts;\n    address public flyRouter;\n    address public veloraRouter;\n    /// @dev Delegatecall target for the Velora/Fly guarded swaps (`execSwap`). Slot 59.\n    address public swapModule;\n    /// @dev Owner-set Uniswap V4 hook allowlist; gates ENTRY (create/increase) only. Slot 60.\n    mapping(address => bool) public isV4HookAllowed;\n    /// @dev Owner-set pool allowlist; gates executor ENTRY (create/increase) only. Slot 61.\n    /// Key: V4 poolId = keccak256(abi.encode(PoolKey)); V3 = bytes32(uint256(uint160(pool))).\n    mapping(bytes32 => bool) public isPoolAllowed;\n    /// @dev When false the pool allowlist is not enforced (feature off). Slot 62.\n    bool public poolAllowlistEnforced;\n\n    uint256[45] private __gap;\n\n    /// @dev Hook permission bits (Uniswap v4 `Hooks.sol`) an allowlisted hook must NOT carry:\n    /// BEFORE/AFTER_REMOVE_LIQUIDITY (1<<9, 1<<8) could block or skim an exit, and the four\n    /// *_RETURNS_DELTA bits (1<<3..1<<0) let a hook rewrite the deltas the ALM settles against\n    /// full-balance allowances. Re-checked on every entry so a stale mapping entry cannot pass.\n    uint160 internal constant V4_HOOK_FORBIDDEN_FLAGS = 0x030F;\n\n    function _v4HookAllowedForEntry(address hooks) internal view returns (bool) {\n        if (hooks == address(0)) return true;\n        return isV4HookAllowed[hooks] && (uint160(hooks) & V4_HOOK_FORBIDDEN_FLAGS) == 0;\n    }\n\n    function _poolAllowedForEntry(bytes32 poolKey) internal view returns (bool) {\n        if (!poolAllowlistEnforced) return true;\n        return isPoolAllowed[poolKey];\n    }\n}\n\n/* ========= Guards shared by the core and the swap module ========= */\n/// @dev Executor token allowlist, stable decimals, stable min-out / max-out bounds and the 24h\n/// executor loss budget. The core (Kyber) and the SwapModule (Velora/Fly, via delegatecall) must\n/// apply the SAME guards, so they live here once. No state variables: layout is ALMStorage's.\nabstract contract ALMGuards is ALMStorage {\n    struct Spend {\n        address token;\n        uint256 amount;\n    }\n\n    address internal constant KYBER_NATIVE_TOKEN = 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE;\n    uint256 internal constant PRICE_X18 = 1e18;\n    uint256 internal constant DEFAULT_V4_STABLE_PRICE_MIN_X18 = 998_850_000_000_000_000; // 0.99885\n    uint256 internal constant DEFAULT_V4_STABLE_PRICE_MAX_X18 = 1_002_000_000_000_000_000; // 1.0020\n    uint256 internal constant EXECUTOR_LOSS_CAP_DENOMINATOR = 1_000_000; // BPS * 100\n    uint256 internal constant EXECUTOR_LOSS_WINDOW_HOURS = 24;\n    // Hardcoded allowlist: Ethereum only (this tree deploys to chainId 1 only). USDC/USDT/DAI/USDe\n    // since the 2026-09-06 size trim; USDG (Paxos Global Dollar, 6 decimals) added 2026-09-27 for the\n    // StablePair hook pool. Anything else must be enabled by the owner through setAllowedToken +\n    // setStableTokenDecimals.\n    address internal constant ETHEREUM_USDC = 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48;\n    address internal constant ETHEREUM_USDT = 0xdAC17F958D2ee523a2206206994597C13D831ec7;\n    address internal constant ETHEREUM_DAI = 0x6B175474E89094C44Da98b954EedeAC495271d0F;\n    address internal constant ETHEREUM_USDE = 0x4c9EDD5852cd905f086C759E8383e09bff1E68B3;\n    address internal constant ETHEREUM_USDG = 0xe343167631d89B6Ffc58B88d6b7fB0228795491D;\n\n    event ExecutorLossBudgetConsumed(uint256 hourId, uint256 lossNormalized, uint256 used24h, uint256 cap24h);\n\n    function isTokenAllowedForExecutor(address token) public view returns (bool) {\n        if (isTokenBlocked[token]) return false;\n        return isTokenAllowed[token] || _isHardcodedAllowedToken(token);\n    }\n\n    function executorLossCap24h() public view returns (uint256) {\n        if (!executorLossBudgetEnabled) return 0;\n        return FullMath.mulDiv(executorRiskCapitalNormalized, executorLossCapBpsX100, EXECUTOR_LOSS_CAP_DENOMINATOR);\n    }\n\n    function executorLossUsed24h() public view returns (uint256 used24h) {\n        uint256 currentHour = block.timestamp / 1 hours;\n        for (uint256 i = 0; i < EXECUTOR_LOSS_WINDOW_HOURS; i++) {\n            uint256 bucketHour = uint256(executorLossBucketHours[i]);\n            if (bucketHour <= currentHour && currentHour - bucketHour < EXECUTOR_LOSS_WINDOW_HOURS) {\n                used24h += executorLossBucketAmounts[i];\n            }\n        }\n    }\n\n    function _isHardcodedAllowedToken(address token) internal view returns (bool) {\n        if (block.chainid == 1) return _isEthereumHardcodedAllowedToken(token);\n        return false;\n    }\n\n    function _isEthereumHardcodedAllowedToken(address token) internal pure returns (bool) {\n        return token == ETHEREUM_USDC || token == ETHEREUM_USDT || token == ETHEREUM_DAI || token == ETHEREUM_USDE\n            || token == ETHEREUM_USDG;\n    }\n\n    function _requireAllowedToken(address token) internal view {\n        if (!isTokenAllowedForExecutor(token)) revert TokenNotAllowed(token);\n    }\n\n    function _swapLossBpsX100() internal view returns (uint256) {\n        return fineBpsParamsEnabled ? swapLossBpsMaxX100 : swapLossBpsMax * 100;\n    }\n\n    function _knownStableTokenDecimals(address token) internal view returns (uint8) {\n        if (block.chainid == 1) {\n            if (token == ETHEREUM_USDC || token == ETHEREUM_USDT || token == ETHEREUM_USDG) return 6;\n            if (token == ETHEREUM_DAI || token == ETHEREUM_USDE) return 18;\n        }\n        return 0;\n    }\n\n    function _stableTokenDecimalsOrRevert(address token) internal view returns (uint8) {\n        uint8 configured = stableTokenDecimals[token];\n        if (configured != 0) return configured;\n        uint8 known = _knownStableTokenDecimals(token);\n        if (known != 0) return known;\n        revert StableTokenDecimalsNotSet(token);\n    }\n\n    function _normalizeStableAmount(address token, uint256 amount) internal view returns (uint256) {\n        uint8 decimals_ = _stableTokenDecimalsOrRevert(token);\n        if (decimals_ == 18) return amount;\n        return amount * (10 ** uint256(18 - decimals_));\n    }\n\n    function _effectiveV4StablePriceMinX18() internal view returns (uint256) {\n        return v4StablePriceMinX18 == 0 ? DEFAULT_V4_STABLE_PRICE_MIN_X18 : v4StablePriceMinX18;\n    }\n\n    function _effectiveV4StablePriceMaxX18() internal view returns (uint256) {\n        return v4StablePriceMaxX18 == 0 ? DEFAULT_V4_STABLE_PRICE_MAX_X18 : v4StablePriceMaxX18;\n    }\n\n    function _requireKyberStableMinOut(\n        address tokenIn,\n        address tokenOut,\n        uint256 amountIn,\n        uint256 effectiveMinOut\n    ) internal view {\n        uint256 maxLossBpsX100 = _swapLossBpsX100();\n        if (maxLossBpsX100 >= BPS * 100) revert RiskParamOutOfRange();\n\n        uint256 minOutNormalized = _normalizeStableAmount(tokenOut, effectiveMinOut);\n        uint256 requiredNormalized =\n            FullMath.mulDiv(_normalizeStableAmount(tokenIn, amountIn), BPS * 100 - maxLossBpsX100, BPS * 100);\n        if (minOutNormalized < requiredNormalized) {\n            revert KyberStableMinOutTooLow(tokenIn, tokenOut, minOutNormalized, requiredNormalized);\n        }\n        _requireKyberStableOutNormalizedNotTooHigh(tokenIn, tokenOut, amountIn, minOutNormalized);\n    }\n\n    function _requireKyberStableOutNotTooHigh(\n        address tokenIn,\n        address tokenOut,\n        uint256 amountIn,\n        uint256 amountOut\n    ) internal view {\n        _requireKyberStableOutNormalizedNotTooHigh(\n            tokenIn,\n            tokenOut,\n            amountIn,\n            _normalizeStableAmount(tokenOut, amountOut)\n        );\n    }\n\n    function _requireKyberStableOutNormalizedNotTooHigh(\n        address tokenIn,\n        address tokenOut,\n        uint256 amountIn,\n        uint256 outputNormalized\n    ) internal view {\n        uint256 maxOutputNormalized =\n            FullMath.mulDiv(_normalizeStableAmount(tokenIn, amountIn), _effectiveV4StablePriceMaxX18(), PRICE_X18);\n        if (outputNormalized > maxOutputNormalized) {\n            revert KyberStableOutTooHigh(tokenIn, tokenOut, outputNormalized, maxOutputNormalized);\n        }\n    }\n\n    /// @dev Pre-swap check only: worst-case allowed slippage envelope must fit in remaining 24h budget.\n    function _requireExecutorLossBudgetHeadroom(\n        address tokenIn,\n        address tokenOut,\n        uint256 amountIn,\n        uint256 effectiveMinOut\n    ) internal view {\n        if (!executorLossBudgetEnabled) return;\n\n        uint256 inputNormalized = _normalizeStableAmount(tokenIn, amountIn);\n        uint256 outputNormalized = _normalizeStableAmount(tokenOut, effectiveMinOut);\n        if (outputNormalized >= inputNormalized) return;\n\n        uint256 envelopeNormalized = inputNormalized - outputNormalized;\n        uint256 cap24h = executorLossCap24h();\n        if (cap24h == 0) revert ExecutorLossBudgetNotConfigured();\n\n        uint256 used24h = executorLossUsed24h();\n        if (used24h + envelopeNormalized > cap24h) {\n            revert ExecutorLossBudgetExceeded(used24h, envelopeNormalized, cap24h);\n        }\n    }\n\n    function _consumeExecutorLossBudgetRealized(\n        address tokenIn,\n        address tokenOut,\n        uint256 amountIn,\n        uint256 actualOut\n    ) internal {\n        if (!executorLossBudgetEnabled) return;\n\n        uint256 inputNormalized = _normalizeStableAmount(tokenIn, amountIn);\n        uint256 outputNormalized = _normalizeStableAmount(tokenOut, actualOut);\n        if (outputNormalized >= inputNormalized) return;\n\n        uint256 lossNormalized = inputNormalized - outputNormalized;\n        uint256 cap24h = executorLossCap24h();\n        if (cap24h == 0) revert ExecutorLossBudgetNotConfigured();\n\n        uint256 used24h = executorLossUsed24h();\n        if (used24h + lossNormalized > cap24h) {\n            revert ExecutorLossBudgetExceeded(used24h, lossNormalized, cap24h);\n        }\n\n        uint256 currentHour = block.timestamp / 1 hours;\n        uint256 bucketIndex = currentHour % EXECUTOR_LOSS_WINDOW_HOURS;\n        if (currentHour > type(uint64).max) revert AmountTooLarge();\n        // forge-lint: disable-next-line(unsafe-typecast)\n        uint64 currentHour64 = uint64(currentHour);\n        if (executorLossBucketHours[bucketIndex] != currentHour64) {\n            executorLossBucketHours[bucketIndex] = currentHour64;\n            executorLossBucketAmounts[bucketIndex] = 0;\n        }\n        executorLossBucketAmounts[bucketIndex] += lossNormalized;\n        emit ExecutorLossBudgetConsumed(currentHour, lossNormalized, used24h + lossNormalized, cap24h);\n    }\n\n    function _kyberBalanceOf(address token) internal view returns (uint256) {\n        if (token == KYBER_NATIVE_TOKEN) return address(this).balance;\n        return IERC20(token).balanceOf(address(this));\n    }\n}\n\n/// @dev ERC-165 identity of the swap module (`swap.sol`) reached through the core's `execSwap`.\ninterface IALMSwapModule {\n    function swapViaFlyGuarded(\n        bytes calldata routeData,\n        ALMGuards.Spend[] calldata spends,\n        uint256 value,\n        address tokenOut,\n        uint256 minAmountOut\n    ) external;\n\n    function swapViaVeloraGuarded(\n        bytes calldata routeData,\n        ALMGuards.Spend[] calldata spends,\n        address tokenOut,\n        uint256 minAmountOut,\n        uint256 deadline\n    ) external;\n}\n","keccak256":"0xf59edfdc81007744c9b22495642c24f6a71bad0d7ae420caf2fef17109032090","license":"MIT"},"interfaces/IMetaAggregationRouterV2.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity =0.8.35;\n\n/// @dev Pinned KyberSwap MetaAggregationRouterV2 ABI surface used by ALM guarded swap validation.\n/// Keep this interface synchronized with the configured chain router deployment before router changes.\ninterface IMetaAggregationRouterV2 {\n    struct SwapDescriptionV2 {\n        address srcToken;\n        address dstToken;\n        address[] srcReceivers;\n        uint256[] srcAmounts;\n        address[] feeReceivers;\n        uint256[] feeAmounts;\n        address dstReceiver;\n        uint256 amount;\n        uint256 minReturnAmount;\n        uint256 flags;\n        bytes permit;\n    }\n\n    struct SwapExecutionParams {\n        address callTarget;\n        address approveTarget;\n        bytes targetData;\n        SwapDescriptionV2 desc;\n        bytes clientData;\n    }\n\n    function swap(SwapExecutionParams calldata execution) external payable returns (uint256 returnAmount, uint256 gasUsed);\n    function swapGeneric(SwapExecutionParams calldata execution)\n        external\n        payable\n        returns (uint256 returnAmount, uint256 gasUsed);\n    function swapSimpleMode(\n        address executor,\n        SwapDescriptionV2 calldata desc,\n        bytes calldata executorData,\n        bytes calldata clientData\n    ) external payable returns (uint256 returnAmount, uint256 gasUsed);\n}\n","keccak256":"0x82be5b648971171fbcfe3e920ddc1fa52eb04aa878ae1b2b8690cfb0caa18c64","license":"MIT"},"node_modules/@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (access/Ownable2Step.sol)\n\npragma solidity ^0.8.20;\n\nimport {OwnableUpgradeable} from \"./OwnableUpgradeable.sol\";\nimport {Initializable} from \"@openzeppelin/contracts/proxy/utils/Initializable.sol\";\n\n/**\n * @dev Contract module which provides access control mechanism, where\n * there is an account (an owner) that can be granted exclusive access to\n * specific functions.\n *\n * This extension of the {Ownable} contract includes a two-step mechanism to transfer\n * ownership, where the new owner must call {acceptOwnership} in order to replace the\n * old one. This can help prevent common mistakes, such as transfers of ownership to\n * incorrect accounts, or to contracts that are unable to interact with the\n * permission system.\n *\n * The initial owner is specified at deployment time in the constructor for `Ownable`. This\n * can later be changed with {transferOwnership} and {acceptOwnership}.\n *\n * This module is used through inheritance. It will make available all functions\n * from parent (Ownable).\n */\nabstract contract Ownable2StepUpgradeable is Initializable, OwnableUpgradeable {\n    /// @custom:storage-location erc7201:openzeppelin.storage.Ownable2Step\n    struct Ownable2StepStorage {\n        address _pendingOwner;\n    }\n\n    // keccak256(abi.encode(uint256(keccak256(\"openzeppelin.storage.Ownable2Step\")) - 1)) & ~bytes32(uint256(0xff))\n    bytes32 private constant Ownable2StepStorageLocation = 0x237e158222e3e6968b72b9db0d8043aacf074ad9f650f0d1606b4d82ee432c00;\n\n    function _getOwnable2StepStorage() private pure returns (Ownable2StepStorage storage $) {\n        assembly {\n            $.slot := Ownable2StepStorageLocation\n        }\n    }\n\n    event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner);\n\n    function __Ownable2Step_init() internal onlyInitializing {\n    }\n\n    function __Ownable2Step_init_unchained() internal onlyInitializing {\n    }\n    /**\n     * @dev Returns the address of the pending owner.\n     */\n    function pendingOwner() public view virtual returns (address) {\n        Ownable2StepStorage storage $ = _getOwnable2StepStorage();\n        return $._pendingOwner;\n    }\n\n    /**\n     * @dev Starts the ownership transfer of the contract to a new account. Replaces the pending transfer if there is one.\n     * Can only be called by the current owner.\n     *\n     * Setting `newOwner` to the zero address is allowed; this can be used to cancel an initiated ownership transfer.\n     */\n    function transferOwnership(address newOwner) public virtual override onlyOwner {\n        Ownable2StepStorage storage $ = _getOwnable2StepStorage();\n        $._pendingOwner = newOwner;\n        emit OwnershipTransferStarted(owner(), newOwner);\n    }\n\n    /**\n     * @dev Transfers ownership of the contract to a new account (`newOwner`) and deletes any pending owner.\n     * Internal function without access restriction.\n     */\n    function _transferOwnership(address newOwner) internal virtual override {\n        Ownable2StepStorage storage $ = _getOwnable2StepStorage();\n        delete $._pendingOwner;\n        super._transferOwnership(newOwner);\n    }\n\n    /**\n     * @dev The new owner accepts the ownership transfer.\n     */\n    function acceptOwnership() public virtual {\n        address sender = _msgSender();\n        if (pendingOwner() != sender) {\n            revert OwnableUnauthorizedAccount(sender);\n        }\n        _transferOwnership(sender);\n    }\n}\n","keccak256":"0x046f0d6d983477925b41d34b2afdb3c91baa0013ee0d75b8827272d5f7bd91b6","license":"MIT"},"node_modules/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)\n\npragma solidity ^0.8.20;\n\nimport {ContextUpgradeable} from \"../utils/ContextUpgradeable.sol\";\nimport {Initializable} from \"@openzeppelin/contracts/proxy/utils/Initializable.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 * The initial owner is set to the address provided by the deployer. This can\n * 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 OwnableUpgradeable is Initializable, ContextUpgradeable {\n    /// @custom:storage-location erc7201:openzeppelin.storage.Ownable\n    struct OwnableStorage {\n        address _owner;\n    }\n\n    // keccak256(abi.encode(uint256(keccak256(\"openzeppelin.storage.Ownable\")) - 1)) & ~bytes32(uint256(0xff))\n    bytes32 private constant OwnableStorageLocation = 0x9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c199300;\n\n    function _getOwnableStorage() private pure returns (OwnableStorage storage $) {\n        assembly {\n            $.slot := OwnableStorageLocation\n        }\n    }\n\n    /**\n     * @dev The caller account is not authorized to perform an operation.\n     */\n    error OwnableUnauthorizedAccount(address account);\n\n    /**\n     * @dev The owner is not a valid owner account. (eg. `address(0)`)\n     */\n    error OwnableInvalidOwner(address owner);\n\n    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\n\n    /**\n     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.\n     */\n    function __Ownable_init(address initialOwner) internal onlyInitializing {\n        __Ownable_init_unchained(initialOwner);\n    }\n\n    function __Ownable_init_unchained(address initialOwner) internal onlyInitializing {\n        if (initialOwner == address(0)) {\n            revert OwnableInvalidOwner(address(0));\n        }\n        _transferOwnership(initialOwner);\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        OwnableStorage storage $ = _getOwnableStorage();\n        return $._owner;\n    }\n\n    /**\n     * @dev Throws if the sender is not the owner.\n     */\n    function _checkOwner() internal view virtual {\n        if (owner() != _msgSender()) {\n            revert OwnableUnauthorizedAccount(_msgSender());\n        }\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        if (newOwner == address(0)) {\n            revert OwnableInvalidOwner(address(0));\n        }\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        OwnableStorage storage $ = _getOwnableStorage();\n        address oldOwner = $._owner;\n        $._owner = newOwner;\n        emit OwnershipTransferred(oldOwner, newOwner);\n    }\n}\n","keccak256":"0x85c3b9bac35a90dce9ed9b31532c3739cae432359d8d7ff59cb6712f21c7ed14","license":"MIT"},"node_modules/@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n\npragma solidity ^0.8.22;\n\nimport {UUPSUpgradeable} from \"@openzeppelin/contracts/proxy/utils/UUPSUpgradeable.sol\";\n","keccak256":"0x4918e374e9ce84e9b196486bafbd46851d5e72ab315e31f0b1d7c443dcfea5bf","license":"MIT"},"node_modules/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)\n\npragma solidity ^0.8.20;\nimport {Initializable} from \"@openzeppelin/contracts/proxy/utils/Initializable.sol\";\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 ContextUpgradeable is Initializable {\n    function __Context_init() internal onlyInitializing {\n    }\n\n    function __Context_init_unchained() internal onlyInitializing {\n    }\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","keccak256":"0xad316bdc3ee64a0e29773256245045dc57b92660799ff14f668f7c0da9456a9d","license":"MIT"},"node_modules/@openzeppelin/contracts-upgradeable/utils/PausableUpgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.3.0) (utils/Pausable.sol)\n\npragma solidity ^0.8.20;\n\nimport {ContextUpgradeable} from \"../utils/ContextUpgradeable.sol\";\nimport {Initializable} from \"@openzeppelin/contracts/proxy/utils/Initializable.sol\";\n\n/**\n * @dev Contract module which allows children to implement an emergency stop\n * mechanism that can be triggered by an authorized account.\n *\n * This module is used through inheritance. It will make available the\n * modifiers `whenNotPaused` and `whenPaused`, which can be applied to\n * the functions of your contract. Note that they will not be pausable by\n * simply including this module, only once the modifiers are put in place.\n */\nabstract contract PausableUpgradeable is Initializable, ContextUpgradeable {\n    /// @custom:storage-location erc7201:openzeppelin.storage.Pausable\n    struct PausableStorage {\n        bool _paused;\n    }\n\n    // keccak256(abi.encode(uint256(keccak256(\"openzeppelin.storage.Pausable\")) - 1)) & ~bytes32(uint256(0xff))\n    bytes32 private constant PausableStorageLocation = 0xcd5ed15c6e187e77e9aee88184c21f4f2182ab5827cb3b7e07fbedcd63f03300;\n\n    function _getPausableStorage() private pure returns (PausableStorage storage $) {\n        assembly {\n            $.slot := PausableStorageLocation\n        }\n    }\n\n    /**\n     * @dev Emitted when the pause is triggered by `account`.\n     */\n    event Paused(address account);\n\n    /**\n     * @dev Emitted when the pause is lifted by `account`.\n     */\n    event Unpaused(address account);\n\n    /**\n     * @dev The operation failed because the contract is paused.\n     */\n    error EnforcedPause();\n\n    /**\n     * @dev The operation failed because the contract is not paused.\n     */\n    error ExpectedPause();\n\n    /**\n     * @dev Modifier to make a function callable only when the contract is not paused.\n     *\n     * Requirements:\n     *\n     * - The contract must not be paused.\n     */\n    modifier whenNotPaused() {\n        _requireNotPaused();\n        _;\n    }\n\n    /**\n     * @dev Modifier to make a function callable only when the contract is paused.\n     *\n     * Requirements:\n     *\n     * - The contract must be paused.\n     */\n    modifier whenPaused() {\n        _requirePaused();\n        _;\n    }\n\n    function __Pausable_init() internal onlyInitializing {\n    }\n\n    function __Pausable_init_unchained() internal onlyInitializing {\n    }\n    /**\n     * @dev Returns true if the contract is paused, and false otherwise.\n     */\n    function paused() public view virtual returns (bool) {\n        PausableStorage storage $ = _getPausableStorage();\n        return $._paused;\n    }\n\n    /**\n     * @dev Throws if the contract is paused.\n     */\n    function _requireNotPaused() internal view virtual {\n        if (paused()) {\n            revert EnforcedPause();\n        }\n    }\n\n    /**\n     * @dev Throws if the contract is not paused.\n     */\n    function _requirePaused() internal view virtual {\n        if (!paused()) {\n            revert ExpectedPause();\n        }\n    }\n\n    /**\n     * @dev Triggers stopped state.\n     *\n     * Requirements:\n     *\n     * - The contract must not be paused.\n     */\n    function _pause() internal virtual whenNotPaused {\n        PausableStorage storage $ = _getPausableStorage();\n        $._paused = true;\n        emit Paused(_msgSender());\n    }\n\n    /**\n     * @dev Returns to normal state.\n     *\n     * Requirements:\n     *\n     * - The contract must be paused.\n     */\n    function _unpause() internal virtual whenPaused {\n        PausableStorage storage $ = _getPausableStorage();\n        $._paused = false;\n        emit Unpaused(_msgSender());\n    }\n}\n","keccak256":"0x1149f6c3445a564f5b9cd27c2dc85c6bcaed254c67cb57a416bc7ca1f667ad1f","license":"MIT"},"node_modules/@openzeppelin/contracts/interfaces/IERC1363.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC1363.sol)\n\npragma solidity >=0.6.2;\n\nimport {IERC20} from \"./IERC20.sol\";\nimport {IERC165} from \"./IERC165.sol\";\n\n/**\n * @title IERC1363\n * @dev Interface of the ERC-1363 standard as defined in the https://eips.ethereum.org/EIPS/eip-1363[ERC-1363].\n *\n * Defines an extension interface for ERC-20 tokens that supports executing code on a recipient contract\n * after `transfer` or `transferFrom`, or code on a spender contract after `approve`, in a single transaction.\n */\ninterface IERC1363 is IERC20, IERC165 {\n    /*\n     * Note: the ERC-165 identifier for this interface is 0xb0202a11.\n     * 0xb0202a11 ===\n     *   bytes4(keccak256('transferAndCall(address,uint256)')) ^\n     *   bytes4(keccak256('transferAndCall(address,uint256,bytes)')) ^\n     *   bytes4(keccak256('transferFromAndCall(address,address,uint256)')) ^\n     *   bytes4(keccak256('transferFromAndCall(address,address,uint256,bytes)')) ^\n     *   bytes4(keccak256('approveAndCall(address,uint256)')) ^\n     *   bytes4(keccak256('approveAndCall(address,uint256,bytes)'))\n     */\n\n    /**\n     * @dev Moves a `value` amount of tokens from the caller's account to `to`\n     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.\n     * @param to The address which you want to transfer to.\n     * @param value The amount of tokens to be transferred.\n     * @return A boolean value indicating whether the operation succeeded unless throwing.\n     */\n    function transferAndCall(address to, uint256 value) external returns (bool);\n\n    /**\n     * @dev Moves a `value` amount of tokens from the caller's account to `to`\n     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.\n     * @param to The address which you want to transfer to.\n     * @param value The amount of tokens to be transferred.\n     * @param data Additional data with no specified format, sent in call to `to`.\n     * @return A boolean value indicating whether the operation succeeded unless throwing.\n     */\n    function transferAndCall(address to, uint256 value, bytes calldata data) external returns (bool);\n\n    /**\n     * @dev Moves a `value` amount of tokens from `from` to `to` using the allowance mechanism\n     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.\n     * @param from The address which you want to send tokens from.\n     * @param to The address which you want to transfer to.\n     * @param value The amount of tokens to be transferred.\n     * @return A boolean value indicating whether the operation succeeded unless throwing.\n     */\n    function transferFromAndCall(address from, address to, uint256 value) external returns (bool);\n\n    /**\n     * @dev Moves a `value` amount of tokens from `from` to `to` using the allowance mechanism\n     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.\n     * @param from The address which you want to send tokens from.\n     * @param to The address which you want to transfer to.\n     * @param value The amount of tokens to be transferred.\n     * @param data Additional data with no specified format, sent in call to `to`.\n     * @return A boolean value indicating whether the operation succeeded unless throwing.\n     */\n    function transferFromAndCall(address from, address to, uint256 value, bytes calldata data) external returns (bool);\n\n    /**\n     * @dev Sets a `value` amount of tokens as the allowance of `spender` over the\n     * caller's tokens and then calls {IERC1363Spender-onApprovalReceived} on `spender`.\n     * @param spender The address which will spend the funds.\n     * @param value The amount of tokens to be spent.\n     * @return A boolean value indicating whether the operation succeeded unless throwing.\n     */\n    function approveAndCall(address spender, uint256 value) external returns (bool);\n\n    /**\n     * @dev Sets a `value` amount of tokens as the allowance of `spender` over the\n     * caller's tokens and then calls {IERC1363Spender-onApprovalReceived} on `spender`.\n     * @param spender The address which will spend the funds.\n     * @param value The amount of tokens to be spent.\n     * @param data Additional data with no specified format, sent in call to `spender`.\n     * @return A boolean value indicating whether the operation succeeded unless throwing.\n     */\n    function approveAndCall(address spender, uint256 value, bytes calldata data) external returns (bool);\n}\n","keccak256":"0xd5ea07362ab630a6a3dee4285a74cf2377044ca2e4be472755ad64d7c5d4b69d","license":"MIT"},"node_modules/@openzeppelin/contracts/interfaces/IERC165.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC165.sol)\n\npragma solidity >=0.4.16;\n\nimport {IERC165} from \"../utils/introspection/IERC165.sol\";\n","keccak256":"0x0afcb7e740d1537b252cb2676f600465ce6938398569f09ba1b9ca240dde2dfc","license":"MIT"},"node_modules/@openzeppelin/contracts/interfaces/IERC1967.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC1967.sol)\n\npragma solidity >=0.4.11;\n\n/**\n * @dev ERC-1967: Proxy Storage Slots. This interface contains the events defined in the ERC.\n */\ninterface IERC1967 {\n    /**\n     * @dev Emitted when the implementation is upgraded.\n     */\n    event Upgraded(address indexed implementation);\n\n    /**\n     * @dev Emitted when the admin account has changed.\n     */\n    event AdminChanged(address previousAdmin, address newAdmin);\n\n    /**\n     * @dev Emitted when the beacon is changed.\n     */\n    event BeaconUpgraded(address indexed beacon);\n}\n","keccak256":"0xbf2aefe54b76d7f7bcd4f6da1080b7b1662611937d870b880db584d09cea56b5","license":"MIT"},"node_modules/@openzeppelin/contracts/interfaces/IERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC20.sol)\n\npragma solidity >=0.4.16;\n\nimport {IERC20} from \"../token/ERC20/IERC20.sol\";\n","keccak256":"0x1a6221315ce0307746c2c4827c125d821ee796c74a676787762f4778671d4f44","license":"MIT"},"node_modules/@openzeppelin/contracts/interfaces/draft-IERC1822.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/draft-IERC1822.sol)\n\npragma solidity >=0.4.16;\n\n/**\n * @dev ERC-1822: Universal Upgradeable Proxy Standard (UUPS) documents a method for upgradeability through a simplified\n * proxy whose upgrades are fully controlled by the current implementation.\n */\ninterface IERC1822Proxiable {\n    /**\n     * @dev Returns the storage slot that the proxiable contract assumes is being used to store the implementation\n     * address.\n     *\n     * IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks\n     * bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this\n     * function revert if invoked through a proxy.\n     */\n    function proxiableUUID() external view returns (bytes32);\n}\n","keccak256":"0x82f757819bf2429a0d4db141b99a4bbe5039e4ef86dfb94e2e6d40577ed5b28b","license":"MIT"},"node_modules/@openzeppelin/contracts/proxy/ERC1967/ERC1967Utils.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.6.0) (proxy/ERC1967/ERC1967Utils.sol)\n\npragma solidity ^0.8.21;\n\nimport {IBeacon} from \"../beacon/IBeacon.sol\";\nimport {IERC1967} from \"../../interfaces/IERC1967.sol\";\nimport {Address} from \"../../utils/Address.sol\";\nimport {StorageSlot} from \"../../utils/StorageSlot.sol\";\n\n/**\n * @dev This library provides getters and event emitting update functions for\n * https://eips.ethereum.org/EIPS/eip-1967[ERC-1967] slots.\n */\nlibrary ERC1967Utils {\n    /**\n     * @dev Storage slot with the address of the current implementation.\n     * This is the keccak-256 hash of \"eip1967.proxy.implementation\" subtracted by 1.\n     */\n    // solhint-disable-next-line private-vars-leading-underscore\n    bytes32 internal constant IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;\n\n    /**\n     * @dev The `implementation` of the proxy is invalid.\n     */\n    error ERC1967InvalidImplementation(address implementation);\n\n    /**\n     * @dev The `admin` of the proxy is invalid.\n     */\n    error ERC1967InvalidAdmin(address admin);\n\n    /**\n     * @dev The `beacon` of the proxy is invalid.\n     */\n    error ERC1967InvalidBeacon(address beacon);\n\n    /**\n     * @dev An upgrade function sees `msg.value > 0` that may be lost.\n     */\n    error ERC1967NonPayable();\n\n    /**\n     * @dev Returns the current implementation address.\n     */\n    function getImplementation() internal view returns (address) {\n        return StorageSlot.getAddressSlot(IMPLEMENTATION_SLOT).value;\n    }\n\n    /**\n     * @dev Stores a new address in the ERC-1967 implementation slot.\n     */\n    function _setImplementation(address newImplementation) private {\n        if (newImplementation.code.length == 0) {\n            revert ERC1967InvalidImplementation(newImplementation);\n        }\n        StorageSlot.getAddressSlot(IMPLEMENTATION_SLOT).value = newImplementation;\n    }\n\n    /**\n     * @dev Performs implementation upgrade with additional setup call if data is nonempty.\n     * This function is payable only if the setup call is performed, otherwise `msg.value` is rejected\n     * to avoid stuck value in the contract.\n     *\n     * Emits an {IERC1967-Upgraded} event.\n     */\n    function upgradeToAndCall(address newImplementation, bytes memory data) internal {\n        _setImplementation(newImplementation);\n        emit IERC1967.Upgraded(newImplementation);\n\n        if (data.length > 0) {\n            Address.functionDelegateCall(newImplementation, data);\n        } else {\n            _checkNonPayable();\n        }\n    }\n\n    /**\n     * @dev Storage slot with the admin of the contract.\n     * This is the keccak-256 hash of \"eip1967.proxy.admin\" subtracted by 1.\n     */\n    // solhint-disable-next-line private-vars-leading-underscore\n    bytes32 internal constant ADMIN_SLOT = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103;\n\n    /**\n     * @dev Returns the current admin.\n     *\n     * TIP: To get this value clients can read directly from the storage slot shown below (specified by ERC-1967) using\n     * the https://ethereum.org/developers/docs/apis/json-rpc/#eth_getstorageat[`eth_getStorageAt`] RPC call.\n     * `0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103`\n     */\n    function getAdmin() internal view returns (address) {\n        return StorageSlot.getAddressSlot(ADMIN_SLOT).value;\n    }\n\n    /**\n     * @dev Stores a new address in the ERC-1967 admin slot.\n     */\n    function _setAdmin(address newAdmin) private {\n        if (newAdmin == address(0)) {\n            revert ERC1967InvalidAdmin(address(0));\n        }\n        StorageSlot.getAddressSlot(ADMIN_SLOT).value = newAdmin;\n    }\n\n    /**\n     * @dev Changes the admin of the proxy.\n     *\n     * Emits an {IERC1967-AdminChanged} event.\n     */\n    function changeAdmin(address newAdmin) internal {\n        emit IERC1967.AdminChanged(getAdmin(), newAdmin);\n        _setAdmin(newAdmin);\n    }\n\n    /**\n     * @dev The storage slot of the UpgradeableBeacon contract which defines the implementation for this proxy.\n     * This is the keccak-256 hash of \"eip1967.proxy.beacon\" subtracted by 1.\n     */\n    // solhint-disable-next-line private-vars-leading-underscore\n    bytes32 internal constant BEACON_SLOT = 0xa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d50;\n\n    /**\n     * @dev Returns the current beacon.\n     */\n    function getBeacon() internal view returns (address) {\n        return StorageSlot.getAddressSlot(BEACON_SLOT).value;\n    }\n\n    /**\n     * @dev Stores a new beacon in the ERC-1967 beacon slot.\n     */\n    function _setBeacon(address newBeacon) private {\n        if (newBeacon.code.length == 0) {\n            revert ERC1967InvalidBeacon(newBeacon);\n        }\n\n        StorageSlot.getAddressSlot(BEACON_SLOT).value = newBeacon;\n\n        address beaconImplementation = IBeacon(newBeacon).implementation();\n        if (beaconImplementation.code.length == 0) {\n            revert ERC1967InvalidImplementation(beaconImplementation);\n        }\n    }\n\n    /**\n     * @dev Change the beacon and trigger a setup call if data is nonempty.\n     * This function is payable only if the setup call is performed, otherwise `msg.value` is rejected\n     * to avoid stuck value in the contract.\n     *\n     * Emits an {IERC1967-BeaconUpgraded} event.\n     *\n     * CAUTION: Invoking this function has no effect on an instance of {BeaconProxy} since v5, since\n     * it uses an immutable beacon without looking at the value of the ERC-1967 beacon slot for\n     * efficiency.\n     */\n    function upgradeBeaconToAndCall(address newBeacon, bytes memory data) internal {\n        _setBeacon(newBeacon);\n        emit IERC1967.BeaconUpgraded(newBeacon);\n\n        if (data.length > 0) {\n            Address.functionDelegateCall(IBeacon(newBeacon).implementation(), data);\n        } else {\n            _checkNonPayable();\n        }\n    }\n\n    /**\n     * @dev Reverts if `msg.value` is not zero. It can be used to avoid `msg.value` stuck in the contract\n     * if an upgrade doesn't perform an initialization call.\n     */\n    function _checkNonPayable() private {\n        if (msg.value > 0) {\n            revert ERC1967NonPayable();\n        }\n    }\n}\n","keccak256":"0x3d8b816f00b4cabe9a9fb7e84908ef785d6e5b0ef988bcd3c52fe811b4559686","license":"MIT"},"node_modules/@openzeppelin/contracts/proxy/beacon/IBeacon.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (proxy/beacon/IBeacon.sol)\n\npragma solidity >=0.4.16;\n\n/**\n * @dev This is the interface that {BeaconProxy} expects of its beacon.\n */\ninterface IBeacon {\n    /**\n     * @dev Must return an address that can be used as a delegate call target.\n     *\n     * {UpgradeableBeacon} will check that this address is a contract.\n     */\n    function implementation() external view returns (address);\n}\n","keccak256":"0x20462ddb2665e9521372c76b001d0ce196e59dbbd989de9af5576cad0bd5628b","license":"MIT"},"node_modules/@openzeppelin/contracts/proxy/utils/Initializable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.3.0) (proxy/utils/Initializable.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed\n * behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an\n * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer\n * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.\n *\n * The initialization functions use a version number. Once a version number is used, it is consumed and cannot be\n * reused. This mechanism prevents re-execution of each \"step\" but allows the creation of new initialization steps in\n * case an upgrade adds a module that needs to be initialized.\n *\n * For example:\n *\n * [.hljs-theme-light.nopadding]\n * ```solidity\n * contract MyToken is ERC20Upgradeable {\n *     function initialize() initializer public {\n *         __ERC20_init(\"MyToken\", \"MTK\");\n *     }\n * }\n *\n * contract MyTokenV2 is MyToken, ERC20PermitUpgradeable {\n *     function initializeV2() reinitializer(2) public {\n *         __ERC20Permit_init(\"MyToken\");\n *     }\n * }\n * ```\n *\n * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as\n * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.\n *\n * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure\n * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.\n *\n * [CAUTION]\n * ====\n * Avoid leaving a contract uninitialized.\n *\n * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation\n * contract, which may impact the proxy. To prevent the implementation contract from being used, you should invoke\n * the {_disableInitializers} function in the constructor to automatically lock it when it is deployed:\n *\n * [.hljs-theme-light.nopadding]\n * ```\n * /// @custom:oz-upgrades-unsafe-allow constructor\n * constructor() {\n *     _disableInitializers();\n * }\n * ```\n * ====\n */\nabstract contract Initializable {\n    /**\n     * @dev Storage of the initializable contract.\n     *\n     * It's implemented on a custom ERC-7201 namespace to reduce the risk of storage collisions\n     * when using with upgradeable contracts.\n     *\n     * @custom:storage-location erc7201:openzeppelin.storage.Initializable\n     */\n    struct InitializableStorage {\n        /**\n         * @dev Indicates that the contract has been initialized.\n         */\n        uint64 _initialized;\n        /**\n         * @dev Indicates that the contract is in the process of being initialized.\n         */\n        bool _initializing;\n    }\n\n    // keccak256(abi.encode(uint256(keccak256(\"openzeppelin.storage.Initializable\")) - 1)) & ~bytes32(uint256(0xff))\n    bytes32 private constant INITIALIZABLE_STORAGE = 0xf0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00;\n\n    /**\n     * @dev The contract is already initialized.\n     */\n    error InvalidInitialization();\n\n    /**\n     * @dev The contract is not initializing.\n     */\n    error NotInitializing();\n\n    /**\n     * @dev Triggered when the contract has been initialized or reinitialized.\n     */\n    event Initialized(uint64 version);\n\n    /**\n     * @dev A modifier that defines a protected initializer function that can be invoked at most once. In its scope,\n     * `onlyInitializing` functions can be used to initialize parent contracts.\n     *\n     * Similar to `reinitializer(1)`, except that in the context of a constructor an `initializer` may be invoked any\n     * number of times. This behavior in the constructor can be useful during testing and is not expected to be used in\n     * production.\n     *\n     * Emits an {Initialized} event.\n     */\n    modifier initializer() {\n        // solhint-disable-next-line var-name-mixedcase\n        InitializableStorage storage $ = _getInitializableStorage();\n\n        // Cache values to avoid duplicated sloads\n        bool isTopLevelCall = !$._initializing;\n        uint64 initialized = $._initialized;\n\n        // Allowed calls:\n        // - initialSetup: the contract is not in the initializing state and no previous version was\n        //                 initialized\n        // - construction: the contract is initialized at version 1 (no reinitialization) and the\n        //                 current contract is just being deployed\n        bool initialSetup = initialized == 0 && isTopLevelCall;\n        bool construction = initialized == 1 && address(this).code.length == 0;\n\n        if (!initialSetup && !construction) {\n            revert InvalidInitialization();\n        }\n        $._initialized = 1;\n        if (isTopLevelCall) {\n            $._initializing = true;\n        }\n        _;\n        if (isTopLevelCall) {\n            $._initializing = false;\n            emit Initialized(1);\n        }\n    }\n\n    /**\n     * @dev A modifier that defines a protected reinitializer function that can be invoked at most once, and only if the\n     * contract hasn't been initialized to a greater version before. In its scope, `onlyInitializing` functions can be\n     * used to initialize parent contracts.\n     *\n     * A reinitializer may be used after the original initialization step. This is essential to configure modules that\n     * are added through upgrades and that require initialization.\n     *\n     * When `version` is 1, this modifier is similar to `initializer`, except that functions marked with `reinitializer`\n     * cannot be nested. If one is invoked in the context of another, execution will revert.\n     *\n     * Note that versions can jump in increments greater than 1; this implies that if multiple reinitializers coexist in\n     * a contract, executing them in the right order is up to the developer or operator.\n     *\n     * WARNING: Setting the version to 2**64 - 1 will prevent any future reinitialization.\n     *\n     * Emits an {Initialized} event.\n     */\n    modifier reinitializer(uint64 version) {\n        // solhint-disable-next-line var-name-mixedcase\n        InitializableStorage storage $ = _getInitializableStorage();\n\n        if ($._initializing || $._initialized >= version) {\n            revert InvalidInitialization();\n        }\n        $._initialized = version;\n        $._initializing = true;\n        _;\n        $._initializing = false;\n        emit Initialized(version);\n    }\n\n    /**\n     * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the\n     * {initializer} and {reinitializer} modifiers, directly or indirectly.\n     */\n    modifier onlyInitializing() {\n        _checkInitializing();\n        _;\n    }\n\n    /**\n     * @dev Reverts if the contract is not in an initializing state. See {onlyInitializing}.\n     */\n    function _checkInitializing() internal view virtual {\n        if (!_isInitializing()) {\n            revert NotInitializing();\n        }\n    }\n\n    /**\n     * @dev Locks the contract, preventing any future reinitialization. This cannot be part of an initializer call.\n     * Calling this in the constructor of a contract will prevent that contract from being initialized or reinitialized\n     * to any version. It is recommended to use this to lock implementation contracts that are designed to be called\n     * through proxies.\n     *\n     * Emits an {Initialized} event the first time it is successfully executed.\n     */\n    function _disableInitializers() internal virtual {\n        // solhint-disable-next-line var-name-mixedcase\n        InitializableStorage storage $ = _getInitializableStorage();\n\n        if ($._initializing) {\n            revert InvalidInitialization();\n        }\n        if ($._initialized != type(uint64).max) {\n            $._initialized = type(uint64).max;\n            emit Initialized(type(uint64).max);\n        }\n    }\n\n    /**\n     * @dev Returns the highest version that has been initialized. See {reinitializer}.\n     */\n    function _getInitializedVersion() internal view returns (uint64) {\n        return _getInitializableStorage()._initialized;\n    }\n\n    /**\n     * @dev Returns `true` if the contract is currently initializing. See {onlyInitializing}.\n     */\n    function _isInitializing() internal view returns (bool) {\n        return _getInitializableStorage()._initializing;\n    }\n\n    /**\n     * @dev Pointer to storage slot. Allows integrators to override it with a custom storage location.\n     *\n     * NOTE: Consider following the ERC-7201 formula to derive storage locations.\n     */\n    function _initializableStorageSlot() internal pure virtual returns (bytes32) {\n        return INITIALIZABLE_STORAGE;\n    }\n\n    /**\n     * @dev Returns a pointer to the storage namespace.\n     */\n    // solhint-disable-next-line var-name-mixedcase\n    function _getInitializableStorage() private pure returns (InitializableStorage storage $) {\n        bytes32 slot = _initializableStorageSlot();\n        assembly {\n            $.slot := slot\n        }\n    }\n}\n","keccak256":"0xdb4d24ee2c087c391d587cd17adfe5b3f9d93b3110b1388c2ab6c7c0ad1dcd05","license":"MIT"},"node_modules/@openzeppelin/contracts/proxy/utils/UUPSUpgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.5.0) (proxy/utils/UUPSUpgradeable.sol)\n\npragma solidity ^0.8.22;\n\nimport {IERC1822Proxiable} from \"../../interfaces/draft-IERC1822.sol\";\nimport {ERC1967Utils} from \"../ERC1967/ERC1967Utils.sol\";\n\n/**\n * @dev An upgradeability mechanism designed for UUPS proxies. The functions included here can perform an upgrade of an\n * {ERC1967Proxy}, when this contract is set as the implementation behind such a proxy.\n *\n * A security mechanism ensures that an upgrade does not turn off upgradeability accidentally, although this risk is\n * reinstated if the upgrade retains upgradeability but removes the security mechanism, e.g. by replacing\n * `UUPSUpgradeable` with a custom implementation of upgrades.\n *\n * The {_authorizeUpgrade} function must be overridden to include access restriction to the upgrade mechanism.\n *\n * @custom:stateless\n */\nabstract contract UUPSUpgradeable is IERC1822Proxiable {\n    /// @custom:oz-upgrades-unsafe-allow state-variable-immutable\n    address private immutable __self = address(this);\n\n    /**\n     * @dev The version of the upgrade interface of the contract. If this getter is missing, both `upgradeTo(address)`\n     * and `upgradeToAndCall(address,bytes)` are present, and `upgradeTo` must be used if no function should be called,\n     * while `upgradeToAndCall` will invoke the `receive` function if the second argument is the empty byte string.\n     * If the getter returns `\"5.0.0\"`, only `upgradeToAndCall(address,bytes)` is present, and the second argument must\n     * be the empty byte string if no function should be called, making it impossible to invoke the `receive` function\n     * during an upgrade.\n     */\n    string public constant UPGRADE_INTERFACE_VERSION = \"5.0.0\";\n\n    /**\n     * @dev The call is from an unauthorized context.\n     */\n    error UUPSUnauthorizedCallContext();\n\n    /**\n     * @dev The storage `slot` is unsupported as a UUID.\n     */\n    error UUPSUnsupportedProxiableUUID(bytes32 slot);\n\n    /**\n     * @dev Check that the execution is being performed through a delegatecall call and that the execution context is\n     * a proxy contract with an implementation (as defined in ERC-1967) pointing to self. This should only be the case\n     * for UUPS and transparent proxies that are using the current contract as their implementation. Execution of a\n     * function through ERC-1167 minimal proxies (clones) would not normally pass this test, but is not guaranteed to\n     * fail.\n     */\n    modifier onlyProxy() {\n        _checkProxy();\n        _;\n    }\n\n    /**\n     * @dev Check that the execution is not being performed through a delegate call. This allows a function to be\n     * callable on the implementing contract but not through proxies.\n     */\n    modifier notDelegated() {\n        _checkNotDelegated();\n        _;\n    }\n\n    /**\n     * @dev Implementation of the ERC-1822 {proxiableUUID} function. This returns the storage slot used by the\n     * implementation. It is used to validate the implementation's compatibility when performing an upgrade.\n     *\n     * IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks\n     * bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this\n     * function revert if invoked through a proxy. This is guaranteed by the `notDelegated` modifier.\n     */\n    function proxiableUUID() external view notDelegated returns (bytes32) {\n        return ERC1967Utils.IMPLEMENTATION_SLOT;\n    }\n\n    /**\n     * @dev Upgrade the implementation of the proxy to `newImplementation`, and subsequently execute the function call\n     * encoded in `data`.\n     *\n     * Calls {_authorizeUpgrade}.\n     *\n     * Emits an {Upgraded} event.\n     *\n     * @custom:oz-upgrades-unsafe-allow-reachable delegatecall\n     */\n    function upgradeToAndCall(address newImplementation, bytes memory data) public payable virtual onlyProxy {\n        _authorizeUpgrade(newImplementation);\n        _upgradeToAndCallUUPS(newImplementation, data);\n    }\n\n    /**\n     * @dev Reverts if the execution is not performed via delegatecall or the execution\n     * context is not of a proxy with an ERC-1967 compliant implementation pointing to self.\n     */\n    function _checkProxy() internal view virtual {\n        if (\n            address(this) == __self || // Must be called through delegatecall\n            ERC1967Utils.getImplementation() != __self // Must be called through an active proxy\n        ) {\n            revert UUPSUnauthorizedCallContext();\n        }\n    }\n\n    /**\n     * @dev Reverts if the execution is performed via delegatecall.\n     * See {notDelegated}.\n     */\n    function _checkNotDelegated() internal view virtual {\n        if (address(this) != __self) {\n            // Must not be called through delegatecall\n            revert UUPSUnauthorizedCallContext();\n        }\n    }\n\n    /**\n     * @dev Function that should revert when `msg.sender` is not authorized to upgrade the contract. Called by\n     * {upgradeToAndCall}.\n     *\n     * Normally, this function will use an xref:access.adoc[access control] modifier such as {Ownable-onlyOwner}.\n     *\n     * ```solidity\n     * function _authorizeUpgrade(address) internal onlyOwner {}\n     * ```\n     */\n    function _authorizeUpgrade(address newImplementation) internal virtual;\n\n    /**\n     * @dev Performs an implementation upgrade with a security check for UUPS proxies, and additional setup call.\n     *\n     * As a security check, {proxiableUUID} is invoked in the new implementation, and the return value\n     * is expected to be the implementation slot in ERC-1967.\n     *\n     * Emits an {IERC1967-Upgraded} event.\n     */\n    function _upgradeToAndCallUUPS(address newImplementation, bytes memory data) private {\n        try IERC1822Proxiable(newImplementation).proxiableUUID() returns (bytes32 slot) {\n            if (slot != ERC1967Utils.IMPLEMENTATION_SLOT) {\n                revert UUPSUnsupportedProxiableUUID(slot);\n            }\n            ERC1967Utils.upgradeToAndCall(newImplementation, data);\n        } catch {\n            // The implementation is not UUPS\n            revert ERC1967Utils.ERC1967InvalidImplementation(newImplementation);\n        }\n    }\n}\n","keccak256":"0x1a26353563a2c63b4120ea0b94727253eeff84fe2241d42c1452308b9080e66a","license":"MIT"},"node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (token/ERC20/IERC20.sol)\n\npragma solidity >=0.4.16;\n\n/**\n * @dev Interface of the ERC-20 standard as defined in the ERC.\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 value of tokens in existence.\n     */\n    function totalSupply() external view returns (uint256);\n\n    /**\n     * @dev Returns the value of tokens owned by `account`.\n     */\n    function balanceOf(address account) external view returns (uint256);\n\n    /**\n     * @dev Moves a `value` amount of 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 value) 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 a `value` amount of tokens as the allowance of `spender` over the\n     * 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 value) external returns (bool);\n\n    /**\n     * @dev Moves a `value` amount of tokens from `from` to `to` using the\n     * allowance mechanism. `value` 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 value) external returns (bool);\n}\n","keccak256":"0x74ed01eb66b923d0d0cfe3be84604ac04b76482a55f9dd655e1ef4d367f95bc2","license":"MIT"},"node_modules/@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.5.0) (token/ERC20/utils/SafeERC20.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC20} from \"../IERC20.sol\";\nimport {IERC1363} from \"../../../interfaces/IERC1363.sol\";\n\n/**\n * @title SafeERC20\n * @dev Wrappers around ERC-20 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    /**\n     * @dev An operation with an ERC-20 token failed.\n     */\n    error SafeERC20FailedOperation(address token);\n\n    /**\n     * @dev Indicates a failed `decreaseAllowance` request.\n     */\n    error SafeERC20FailedDecreaseAllowance(address spender, uint256 currentAllowance, uint256 requestedDecrease);\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        if (!_safeTransfer(token, to, value, true)) {\n            revert SafeERC20FailedOperation(address(token));\n        }\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        if (!_safeTransferFrom(token, from, to, value, true)) {\n            revert SafeERC20FailedOperation(address(token));\n        }\n    }\n\n    /**\n     * @dev Variant of {safeTransfer} that returns a bool instead of reverting if the operation is not successful.\n     */\n    function trySafeTransfer(IERC20 token, address to, uint256 value) internal returns (bool) {\n        return _safeTransfer(token, to, value, false);\n    }\n\n    /**\n     * @dev Variant of {safeTransferFrom} that returns a bool instead of reverting if the operation is not successful.\n     */\n    function trySafeTransferFrom(IERC20 token, address from, address to, uint256 value) internal returns (bool) {\n        return _safeTransferFrom(token, from, to, value, false);\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     * IMPORTANT: If the token implements ERC-7674 (ERC-20 with temporary allowance), and if the \"client\"\n     * smart contract uses ERC-7674 to set temporary allowances, then the \"client\" smart contract should avoid using\n     * this function. Performing a {safeIncreaseAllowance} or {safeDecreaseAllowance} operation on a token contract\n     * that has a non-zero temporary allowance (for that particular owner-spender) will result in unexpected behavior.\n     */\n    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {\n        uint256 oldAllowance = token.allowance(address(this), spender);\n        forceApprove(token, spender, oldAllowance + value);\n    }\n\n    /**\n     * @dev Decrease the calling contract's allowance toward `spender` by `requestedDecrease`. If `token` returns no\n     * value, non-reverting calls are assumed to be successful.\n     *\n     * IMPORTANT: If the token implements ERC-7674 (ERC-20 with temporary allowance), and if the \"client\"\n     * smart contract uses ERC-7674 to set temporary allowances, then the \"client\" smart contract should avoid using\n     * this function. Performing a {safeIncreaseAllowance} or {safeDecreaseAllowance} operation on a token contract\n     * that has a non-zero temporary allowance (for that particular owner-spender) will result in unexpected behavior.\n     */\n    function safeDecreaseAllowance(IERC20 token, address spender, uint256 requestedDecrease) internal {\n        unchecked {\n            uint256 currentAllowance = token.allowance(address(this), spender);\n            if (currentAllowance < requestedDecrease) {\n                revert SafeERC20FailedDecreaseAllowance(spender, currentAllowance, requestedDecrease);\n            }\n            forceApprove(token, spender, currentAllowance - requestedDecrease);\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     * NOTE: If the token implements ERC-7674, this function will not modify any temporary allowance. This function\n     * only sets the \"standard\" allowance. Any temporary allowance will remain active, in addition to the value being\n     * set here.\n     */\n    function forceApprove(IERC20 token, address spender, uint256 value) internal {\n        if (!_safeApprove(token, spender, value, false)) {\n            if (!_safeApprove(token, spender, 0, true)) revert SafeERC20FailedOperation(address(token));\n            if (!_safeApprove(token, spender, value, true)) revert SafeERC20FailedOperation(address(token));\n        }\n    }\n\n    /**\n     * @dev Performs an {ERC1363} transferAndCall, with a fallback to the simple {ERC20} transfer if the target has no\n     * code. This can be used to implement an {ERC721}-like safe transfer that relies on {ERC1363} checks when\n     * targeting contracts.\n     *\n     * Reverts if the returned value is other than `true`.\n     */\n    function transferAndCallRelaxed(IERC1363 token, address to, uint256 value, bytes memory data) internal {\n        if (to.code.length == 0) {\n            safeTransfer(token, to, value);\n        } else if (!token.transferAndCall(to, value, data)) {\n            revert SafeERC20FailedOperation(address(token));\n        }\n    }\n\n    /**\n     * @dev Performs an {ERC1363} transferFromAndCall, with a fallback to the simple {ERC20} transferFrom if the target\n     * has no code. This can be used to implement an {ERC721}-like safe transfer that relies on {ERC1363} checks when\n     * targeting contracts.\n     *\n     * Reverts if the returned value is other than `true`.\n     */\n    function transferFromAndCallRelaxed(\n        IERC1363 token,\n        address from,\n        address to,\n        uint256 value,\n        bytes memory data\n    ) internal {\n        if (to.code.length == 0) {\n            safeTransferFrom(token, from, to, value);\n        } else if (!token.transferFromAndCall(from, to, value, data)) {\n            revert SafeERC20FailedOperation(address(token));\n        }\n    }\n\n    /**\n     * @dev Performs an {ERC1363} approveAndCall, with a fallback to the simple {ERC20} approve if the target has no\n     * code. This can be used to implement an {ERC721}-like safe transfer that rely on {ERC1363} checks when\n     * targeting contracts.\n     *\n     * NOTE: When the recipient address (`to`) has no code (i.e. is an EOA), this function behaves as {forceApprove}.\n     * Oppositely, when the recipient address (`to`) has code, this function only attempts to call {ERC1363-approveAndCall}\n     * once without retrying, and relies on the returned value to be true.\n     *\n     * Reverts if the returned value is other than `true`.\n     */\n    function approveAndCallRelaxed(IERC1363 token, address to, uint256 value, bytes memory data) internal {\n        if (to.code.length == 0) {\n            forceApprove(token, to, value);\n        } else if (!token.approveAndCall(to, value, data)) {\n            revert SafeERC20FailedOperation(address(token));\n        }\n    }\n\n    /**\n     * @dev Imitates a Solidity `token.transfer(to, value)` call, relaxing the requirement on the return value: the\n     * return value is optional (but if data is returned, it must not be false).\n     *\n     * @param token The token targeted by the call.\n     * @param to The recipient of the tokens\n     * @param value The amount of token to transfer\n     * @param bubble Behavior switch if the transfer call reverts: bubble the revert reason or return a false boolean.\n     */\n    function _safeTransfer(IERC20 token, address to, uint256 value, bool bubble) private returns (bool success) {\n        bytes4 selector = IERC20.transfer.selector;\n\n        assembly (\"memory-safe\") {\n            let fmp := mload(0x40)\n            mstore(0x00, selector)\n            mstore(0x04, and(to, shr(96, not(0))))\n            mstore(0x24, value)\n            success := call(gas(), token, 0, 0x00, 0x44, 0x00, 0x20)\n            // if call success and return is true, all is good.\n            // otherwise (not success or return is not true), we need to perform further checks\n            if iszero(and(success, eq(mload(0x00), 1))) {\n                // if the call was a failure and bubble is enabled, bubble the error\n                if and(iszero(success), bubble) {\n                    returndatacopy(fmp, 0x00, returndatasize())\n                    revert(fmp, returndatasize())\n                }\n                // if the return value is not true, then the call is only successful if:\n                // - the token address has code\n                // - the returndata is empty\n                success := and(success, and(iszero(returndatasize()), gt(extcodesize(token), 0)))\n            }\n            mstore(0x40, fmp)\n        }\n    }\n\n    /**\n     * @dev Imitates a Solidity `token.transferFrom(from, to, value)` call, relaxing the requirement on the return\n     * value: the return value is optional (but if data is returned, it must not be false).\n     *\n     * @param token The token targeted by the call.\n     * @param from The sender of the tokens\n     * @param to The recipient of the tokens\n     * @param value The amount of token to transfer\n     * @param bubble Behavior switch if the transfer call reverts: bubble the revert reason or return a false boolean.\n     */\n    function _safeTransferFrom(\n        IERC20 token,\n        address from,\n        address to,\n        uint256 value,\n        bool bubble\n    ) private returns (bool success) {\n        bytes4 selector = IERC20.transferFrom.selector;\n\n        assembly (\"memory-safe\") {\n            let fmp := mload(0x40)\n            mstore(0x00, selector)\n            mstore(0x04, and(from, shr(96, not(0))))\n            mstore(0x24, and(to, shr(96, not(0))))\n            mstore(0x44, value)\n            success := call(gas(), token, 0, 0x00, 0x64, 0x00, 0x20)\n            // if call success and return is true, all is good.\n            // otherwise (not success or return is not true), we need to perform further checks\n            if iszero(and(success, eq(mload(0x00), 1))) {\n                // if the call was a failure and bubble is enabled, bubble the error\n                if and(iszero(success), bubble) {\n                    returndatacopy(fmp, 0x00, returndatasize())\n                    revert(fmp, returndatasize())\n                }\n                // if the return value is not true, then the call is only successful if:\n                // - the token address has code\n                // - the returndata is empty\n                success := and(success, and(iszero(returndatasize()), gt(extcodesize(token), 0)))\n            }\n            mstore(0x40, fmp)\n            mstore(0x60, 0)\n        }\n    }\n\n    /**\n     * @dev Imitates a Solidity `token.approve(spender, value)` call, relaxing the requirement on the return value:\n     * the return value is optional (but if data is returned, it must not be false).\n     *\n     * @param token The token targeted by the call.\n     * @param spender The spender of the tokens\n     * @param value The amount of token to transfer\n     * @param bubble Behavior switch if the transfer call reverts: bubble the revert reason or return a false boolean.\n     */\n    function _safeApprove(IERC20 token, address spender, uint256 value, bool bubble) private returns (bool success) {\n        bytes4 selector = IERC20.approve.selector;\n\n        assembly (\"memory-safe\") {\n            let fmp := mload(0x40)\n            mstore(0x00, selector)\n            mstore(0x04, and(spender, shr(96, not(0))))\n            mstore(0x24, value)\n            success := call(gas(), token, 0, 0x00, 0x44, 0x00, 0x20)\n            // if call success and return is true, all is good.\n            // otherwise (not success or return is not true), we need to perform further checks\n            if iszero(and(success, eq(mload(0x00), 1))) {\n                // if the call was a failure and bubble is enabled, bubble the error\n                if and(iszero(success), bubble) {\n                    returndatacopy(fmp, 0x00, returndatasize())\n                    revert(fmp, returndatasize())\n                }\n                // if the return value is not true, then the call is only successful if:\n                // - the token address has code\n                // - the returndata is empty\n                success := and(success, and(iszero(returndatasize()), gt(extcodesize(token), 0)))\n            }\n            mstore(0x40, fmp)\n        }\n    }\n}\n","keccak256":"0x304d732678032a9781ae85c8f204c8fba3d3a5e31c02616964e75cfdc5049098","license":"MIT"},"node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (token/ERC721/IERC721.sol)\n\npragma solidity >=0.6.2;\n\nimport {IERC165} from \"../../utils/introspection/IERC165.sol\";\n\n/**\n * @dev Required interface of an ERC-721 compliant contract.\n */\ninterface IERC721 is IERC165 {\n    /**\n     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.\n     */\n    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);\n\n    /**\n     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.\n     */\n    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);\n\n    /**\n     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.\n     */\n    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);\n\n    /**\n     * @dev Returns the number of tokens in ``owner``'s account.\n     */\n    function balanceOf(address owner) external view returns (uint256 balance);\n\n    /**\n     * @dev Returns the owner of the `tokenId` token.\n     *\n     * Requirements:\n     *\n     * - `tokenId` must exist.\n     */\n    function ownerOf(uint256 tokenId) external view returns (address owner);\n\n    /**\n     * @dev Safely transfers `tokenId` token from `from` to `to`.\n     *\n     * Requirements:\n     *\n     * - `from` cannot be the zero address.\n     * - `to` cannot be the zero address.\n     * - `tokenId` token must exist and be owned by `from`.\n     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon\n     *   a safe transfer.\n     *\n     * Emits a {Transfer} event.\n     */\n    function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;\n\n    /**\n     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n     * are aware of the ERC-721 protocol to prevent tokens from being forever locked.\n     *\n     * Requirements:\n     *\n     * - `from` cannot be the zero address.\n     * - `to` cannot be the zero address.\n     * - `tokenId` token must exist and be owned by `from`.\n     * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or\n     *   {setApprovalForAll}.\n     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon\n     *   a safe transfer.\n     *\n     * Emits a {Transfer} event.\n     */\n    function safeTransferFrom(address from, address to, uint256 tokenId) external;\n\n    /**\n     * @dev Transfers `tokenId` token from `from` to `to`.\n     *\n     * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC-721\n     * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must\n     * understand this adds an external call which potentially creates a reentrancy vulnerability.\n     *\n     * Requirements:\n     *\n     * - `from` cannot be the zero address.\n     * - `to` cannot be the zero address.\n     * - `tokenId` token must be owned by `from`.\n     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n     *\n     * Emits a {Transfer} event.\n     */\n    function transferFrom(address from, address to, uint256 tokenId) external;\n\n    /**\n     * @dev Gives permission to `to` to transfer `tokenId` token to another account.\n     * The approval is cleared when the token is transferred.\n     *\n     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.\n     *\n     * Requirements:\n     *\n     * - The caller must own the token or be an approved operator.\n     * - `tokenId` must exist.\n     *\n     * Emits an {Approval} event.\n     */\n    function approve(address to, uint256 tokenId) external;\n\n    /**\n     * @dev Approve or remove `operator` as an operator for the caller.\n     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.\n     *\n     * Requirements:\n     *\n     * - The `operator` cannot be the address zero.\n     *\n     * Emits an {ApprovalForAll} event.\n     */\n    function setApprovalForAll(address operator, bool approved) external;\n\n    /**\n     * @dev Returns the account approved for `tokenId` token.\n     *\n     * Requirements:\n     *\n     * - `tokenId` must exist.\n     */\n    function getApproved(uint256 tokenId) external view returns (address operator);\n\n    /**\n     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.\n     *\n     * See {setApprovalForAll}\n     */\n    function isApprovedForAll(address owner, address operator) external view returns (bool);\n}\n","keccak256":"0xf78f05f3b8c9f75570e85300d7b4600d7f6f6a198449273f31d44c1641adb46f","license":"MIT"},"node_modules/@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (token/ERC721/IERC721Receiver.sol)\n\npragma solidity >=0.5.0;\n\n/**\n * @title ERC-721 token receiver interface\n * @dev Interface for any contract that wants to support safeTransfers\n * from ERC-721 asset contracts.\n */\ninterface IERC721Receiver {\n    /**\n     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}\n     * by `operator` from `from`, this function is called.\n     *\n     * It must return its Solidity selector to confirm the token transfer.\n     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be\n     * reverted.\n     *\n     * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`.\n     */\n    function onERC721Received(\n        address operator,\n        address from,\n        uint256 tokenId,\n        bytes calldata data\n    ) external returns (bytes4);\n}\n","keccak256":"0x88cd5e3bee2e8c36b8d9058fbcaa81ad5704281b25634122234b55ea853d8055","license":"MIT"},"node_modules/@openzeppelin/contracts/utils/Address.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.5.0) (utils/Address.sol)\n\npragma solidity ^0.8.20;\n\nimport {Errors} from \"./Errors.sol\";\nimport {LowLevelCall} from \"./LowLevelCall.sol\";\n\n/**\n * @dev Collection of functions related to the address type\n */\nlibrary Address {\n    /**\n     * @dev There's no code at `target` (it is not a contract).\n     */\n    error AddressEmptyCode(address target);\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.20/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\n     */\n    function sendValue(address payable recipient, uint256 amount) internal {\n        if (address(this).balance < amount) {\n            revert Errors.InsufficientBalance(address(this).balance, amount);\n        }\n        if (LowLevelCall.callNoReturn(recipient, amount, \"\")) {\n            // call successful, nothing to do\n            return;\n        } else if (LowLevelCall.returnDataSize() > 0) {\n            LowLevelCall.bubbleRevert();\n        } else {\n            revert Errors.FailedCall();\n        }\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 or custom error, it is bubbled\n     * up by this function (like regular Solidity function calls). However, if\n     * the call reverted with no returned reason, this function reverts with a\n     * {Errors.FailedCall} error.\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    function functionCall(address target, bytes memory data) internal returns (bytes memory) {\n        return functionCallWithValue(target, data, 0);\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    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {\n        if (address(this).balance < value) {\n            revert Errors.InsufficientBalance(address(this).balance, value);\n        }\n        bool success = LowLevelCall.callNoReturn(target, value, data);\n        if (success && (LowLevelCall.returnDataSize() > 0 || target.code.length > 0)) {\n            return LowLevelCall.returnData();\n        } else if (success) {\n            revert AddressEmptyCode(target);\n        } else if (LowLevelCall.returnDataSize() > 0) {\n            LowLevelCall.bubbleRevert();\n        } else {\n            revert Errors.FailedCall();\n        }\n    }\n\n    /**\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n     * but performing a static call.\n     */\n    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\n        bool success = LowLevelCall.staticcallNoReturn(target, data);\n        if (success && (LowLevelCall.returnDataSize() > 0 || target.code.length > 0)) {\n            return LowLevelCall.returnData();\n        } else if (success) {\n            revert AddressEmptyCode(target);\n        } else if (LowLevelCall.returnDataSize() > 0) {\n            LowLevelCall.bubbleRevert();\n        } else {\n            revert Errors.FailedCall();\n        }\n    }\n\n    /**\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n     * but performing a delegate call.\n     */\n    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\n        bool success = LowLevelCall.delegatecallNoReturn(target, data);\n        if (success && (LowLevelCall.returnDataSize() > 0 || target.code.length > 0)) {\n            return LowLevelCall.returnData();\n        } else if (success) {\n            revert AddressEmptyCode(target);\n        } else if (LowLevelCall.returnDataSize() > 0) {\n            LowLevelCall.bubbleRevert();\n        } else {\n            revert Errors.FailedCall();\n        }\n    }\n\n    /**\n     * @dev Tool to verify that a low level call to smart-contract was successful, and reverts if the target\n     * was not a contract or bubbling up the revert reason (falling back to {Errors.FailedCall}) in case\n     * of an unsuccessful call.\n     *\n     * NOTE: This function is DEPRECATED and may be removed in the next major release.\n     */\n    function verifyCallResultFromTarget(\n        address target,\n        bool success,\n        bytes memory returndata\n    ) internal view returns (bytes memory) {\n        // only check if target is a contract if the call was successful and the return data is empty\n        // otherwise we already know that it was a contract\n        if (success && (returndata.length > 0 || target.code.length > 0)) {\n            return returndata;\n        } else if (success) {\n            revert AddressEmptyCode(target);\n        } else if (returndata.length > 0) {\n            LowLevelCall.bubbleRevert(returndata);\n        } else {\n            revert Errors.FailedCall();\n        }\n    }\n\n    /**\n     * @dev Tool to verify that a low level call was successful, and reverts if it wasn't, either by bubbling the\n     * revert reason or with a default {Errors.FailedCall} error.\n     */\n    function verifyCallResult(bool success, bytes memory returndata) internal pure returns (bytes memory) {\n        if (success) {\n            return returndata;\n        } else if (returndata.length > 0) {\n            LowLevelCall.bubbleRevert(returndata);\n        } else {\n            revert Errors.FailedCall();\n        }\n    }\n}\n","keccak256":"0x0fa9e0d3a859900b5a46f70a03c73adf259603d5e05027a37fe0b45529d85346","license":"MIT"},"node_modules/@openzeppelin/contracts/utils/Errors.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/Errors.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Collection of common custom errors used in multiple contracts\n *\n * IMPORTANT: Backwards compatibility is not guaranteed in future versions of the library.\n * It is recommended to avoid relying on the error API for critical functionality.\n *\n * _Available since v5.1._\n */\nlibrary Errors {\n    /**\n     * @dev The ETH balance of the account is not enough to perform the operation.\n     */\n    error InsufficientBalance(uint256 balance, uint256 needed);\n\n    /**\n     * @dev A call to an address target failed. The target may have reverted.\n     */\n    error FailedCall();\n\n    /**\n     * @dev The deployment failed.\n     */\n    error FailedDeployment();\n\n    /**\n     * @dev A necessary precompile is missing.\n     */\n    error MissingPrecompile(address);\n}\n","keccak256":"0x6afa713bfd42cf0f7656efa91201007ac465e42049d7de1d50753a373648c123","license":"MIT"},"node_modules/@openzeppelin/contracts/utils/LowLevelCall.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.6.0) (utils/LowLevelCall.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Library of low level call functions that implement different calling strategies to deal with the return data.\n *\n * WARNING: Using this library requires an advanced understanding of Solidity and how the EVM works. It is recommended\n * to use the {Address} library instead.\n */\nlibrary LowLevelCall {\n    /// @dev Performs a Solidity function call using a low level `call` and ignoring the return data.\n    function callNoReturn(address target, bytes memory data) internal returns (bool success) {\n        return callNoReturn(target, 0, data);\n    }\n\n    /// @dev Same as {callNoReturn-address-bytes}, but allows specifying the value to be sent in the call.\n    function callNoReturn(address target, uint256 value, bytes memory data) internal returns (bool success) {\n        assembly (\"memory-safe\") {\n            success := call(gas(), target, value, add(data, 0x20), mload(data), 0x00, 0x00)\n        }\n    }\n\n    /// @dev Performs a Solidity function call using a low level `call` and returns the first 64 bytes of the result\n    /// in the scratch space of memory. Useful for functions that return a tuple with two single-word values.\n    ///\n    /// WARNING: Do not assume that the results are zero if `success` is false. Memory can be already allocated\n    /// and this function doesn't zero it out.\n    function callReturn64Bytes(\n        address target,\n        bytes memory data\n    ) internal returns (bool success, bytes32 result1, bytes32 result2) {\n        return callReturn64Bytes(target, 0, data);\n    }\n\n    /// @dev Same as {callReturn64Bytes-address-bytes}, but allows specifying the value to be sent in the call.\n    function callReturn64Bytes(\n        address target,\n        uint256 value,\n        bytes memory data\n    ) internal returns (bool success, bytes32 result1, bytes32 result2) {\n        assembly (\"memory-safe\") {\n            success := call(gas(), target, value, add(data, 0x20), mload(data), 0x00, 0x40)\n            result1 := mload(0x00)\n            result2 := mload(0x20)\n        }\n    }\n\n    /// @dev Performs a Solidity function call using a low level `staticcall` and ignoring the return data.\n    function staticcallNoReturn(address target, bytes memory data) internal view returns (bool success) {\n        assembly (\"memory-safe\") {\n            success := staticcall(gas(), target, add(data, 0x20), mload(data), 0x00, 0x00)\n        }\n    }\n\n    /// @dev Performs a Solidity function call using a low level `staticcall` and returns the first 64 bytes of the result\n    /// in the scratch space of memory. Useful for functions that return a tuple with two single-word values.\n    ///\n    /// WARNING: Do not assume that the results are zero if `success` is false. Memory can be already allocated\n    /// and this function doesn't zero it out.\n    function staticcallReturn64Bytes(\n        address target,\n        bytes memory data\n    ) internal view returns (bool success, bytes32 result1, bytes32 result2) {\n        assembly (\"memory-safe\") {\n            success := staticcall(gas(), target, add(data, 0x20), mload(data), 0x00, 0x40)\n            result1 := mload(0x00)\n            result2 := mload(0x20)\n        }\n    }\n\n    /// @dev Performs a Solidity function call using a low level `delegatecall` and ignoring the return data.\n    function delegatecallNoReturn(address target, bytes memory data) internal returns (bool success) {\n        assembly (\"memory-safe\") {\n            success := delegatecall(gas(), target, add(data, 0x20), mload(data), 0x00, 0x00)\n        }\n    }\n\n    /// @dev Performs a Solidity function call using a low level `delegatecall` and returns the first 64 bytes of the result\n    /// in the scratch space of memory. Useful for functions that return a tuple with two single-word values.\n    ///\n    /// WARNING: Do not assume that the results are zero if `success` is false. Memory can be already allocated\n    /// and this function doesn't zero it out.\n    function delegatecallReturn64Bytes(\n        address target,\n        bytes memory data\n    ) internal returns (bool success, bytes32 result1, bytes32 result2) {\n        assembly (\"memory-safe\") {\n            success := delegatecall(gas(), target, add(data, 0x20), mload(data), 0x00, 0x40)\n            result1 := mload(0x00)\n            result2 := mload(0x20)\n        }\n    }\n\n    /// @dev Returns the size of the return data buffer.\n    function returnDataSize() internal pure returns (uint256 size) {\n        assembly (\"memory-safe\") {\n            size := returndatasize()\n        }\n    }\n\n    /// @dev Returns a buffer containing the return data from the last call.\n    function returnData() internal pure returns (bytes memory result) {\n        assembly (\"memory-safe\") {\n            result := mload(0x40)\n            mstore(result, returndatasize())\n            returndatacopy(add(result, 0x20), 0x00, returndatasize())\n            mstore(0x40, add(result, add(0x20, returndatasize())))\n        }\n    }\n\n    /// @dev Revert with the return data from the last call.\n    function bubbleRevert() internal pure {\n        assembly (\"memory-safe\") {\n            let fmp := mload(0x40)\n            returndatacopy(fmp, 0x00, returndatasize())\n            revert(fmp, returndatasize())\n        }\n    }\n\n    function bubbleRevert(bytes memory returndata) internal pure {\n        assembly (\"memory-safe\") {\n            revert(add(returndata, 0x20), mload(returndata))\n        }\n    }\n}\n","keccak256":"0x6ba3db1346fc75a832aa6cd075e12f6f1fa172fa2122a020f324c319fe5be75e","license":"MIT"},"node_modules/@openzeppelin/contracts/utils/ReentrancyGuard.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.5.0) (utils/ReentrancyGuard.sol)\n\npragma solidity ^0.8.20;\n\nimport {StorageSlot} from \"./StorageSlot.sol\";\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 EIP-1153 (transient storage) is available on the chain you're deploying at,\n * consider using {ReentrancyGuardTransient} instead.\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 *\n * IMPORTANT: Deprecated. This storage-based reentrancy guard will be removed and replaced\n * by the {ReentrancyGuardTransient} variant in v6.0.\n *\n * @custom:stateless\n */\nabstract contract ReentrancyGuard {\n    using StorageSlot for bytes32;\n\n    // keccak256(abi.encode(uint256(keccak256(\"openzeppelin.storage.ReentrancyGuard\")) - 1)) & ~bytes32(uint256(0xff))\n    bytes32 private constant REENTRANCY_GUARD_STORAGE =\n        0x9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00;\n\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    /**\n     * @dev Unauthorized reentrant call.\n     */\n    error ReentrancyGuardReentrantCall();\n\n    constructor() {\n        _reentrancyGuardStorageSlot().getUint256Slot().value = 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 making it call a\n     * `private` function that does the actual work.\n     */\n    modifier nonReentrant() {\n        _nonReentrantBefore();\n        _;\n        _nonReentrantAfter();\n    }\n\n    /**\n     * @dev A `view` only version of {nonReentrant}. Use to block view functions\n     * from being called, preventing reading from inconsistent contract state.\n     *\n     * CAUTION: This is a \"view\" modifier and does not change the reentrancy\n     * status. Use it only on view functions. For payable or non-payable functions,\n     * use the standard {nonReentrant} modifier instead.\n     */\n    modifier nonReentrantView() {\n        _nonReentrantBeforeView();\n        _;\n    }\n\n    function _nonReentrantBeforeView() private view {\n        if (_reentrancyGuardEntered()) {\n            revert ReentrancyGuardReentrantCall();\n        }\n    }\n\n    function _nonReentrantBefore() private {\n        // On the first call to nonReentrant, _status will be NOT_ENTERED\n        _nonReentrantBeforeView();\n\n        // Any calls to nonReentrant after this point will fail\n        _reentrancyGuardStorageSlot().getUint256Slot().value = ENTERED;\n    }\n\n    function _nonReentrantAfter() private {\n        // By storing the original value once again, a refund is triggered (see\n        // https://eips.ethereum.org/EIPS/eip-2200)\n        _reentrancyGuardStorageSlot().getUint256Slot().value = NOT_ENTERED;\n    }\n\n    /**\n     * @dev Returns true if the reentrancy guard is currently set to \"entered\", which indicates there is a\n     * `nonReentrant` function in the call stack.\n     */\n    function _reentrancyGuardEntered() internal view returns (bool) {\n        return _reentrancyGuardStorageSlot().getUint256Slot().value == ENTERED;\n    }\n\n    function _reentrancyGuardStorageSlot() internal pure virtual returns (bytes32) {\n        return REENTRANCY_GUARD_STORAGE;\n    }\n}\n","keccak256":"0xa516cbf1c7d15d3517c2d668601ce016c54395bf5171918a14e2686977465f53","license":"MIT"},"node_modules/@openzeppelin/contracts/utils/StorageSlot.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/StorageSlot.sol)\n// This file was procedurally generated from scripts/generate/templates/StorageSlot.js.\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Library for reading and writing primitive types to specific storage slots.\n *\n * Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.\n * This library helps with reading and writing to such slots without the need for inline assembly.\n *\n * The functions in this library return Slot structs that contain a `value` member that can be used to read or write.\n *\n * Example usage to set ERC-1967 implementation slot:\n * ```solidity\n * contract ERC1967 {\n *     // Define the slot. Alternatively, use the SlotDerivation library to derive the slot.\n *     bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;\n *\n *     function _getImplementation() internal view returns (address) {\n *         return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;\n *     }\n *\n *     function _setImplementation(address newImplementation) internal {\n *         require(newImplementation.code.length > 0);\n *         StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;\n *     }\n * }\n * ```\n *\n * TIP: Consider using this library along with {SlotDerivation}.\n */\nlibrary StorageSlot {\n    struct AddressSlot {\n        address value;\n    }\n\n    struct BooleanSlot {\n        bool value;\n    }\n\n    struct Bytes32Slot {\n        bytes32 value;\n    }\n\n    struct Uint256Slot {\n        uint256 value;\n    }\n\n    struct Int256Slot {\n        int256 value;\n    }\n\n    struct StringSlot {\n        string value;\n    }\n\n    struct BytesSlot {\n        bytes value;\n    }\n\n    /**\n     * @dev Returns an `AddressSlot` with member `value` located at `slot`.\n     */\n    function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns a `BooleanSlot` with member `value` located at `slot`.\n     */\n    function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns a `Bytes32Slot` with member `value` located at `slot`.\n     */\n    function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns a `Uint256Slot` with member `value` located at `slot`.\n     */\n    function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns a `Int256Slot` with member `value` located at `slot`.\n     */\n    function getInt256Slot(bytes32 slot) internal pure returns (Int256Slot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns a `StringSlot` with member `value` located at `slot`.\n     */\n    function getStringSlot(bytes32 slot) internal pure returns (StringSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns an `StringSlot` representation of the string storage pointer `store`.\n     */\n    function getStringSlot(string storage store) internal pure returns (StringSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := store.slot\n        }\n    }\n\n    /**\n     * @dev Returns a `BytesSlot` with member `value` located at `slot`.\n     */\n    function getBytesSlot(bytes32 slot) internal pure returns (BytesSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns an `BytesSlot` representation of the bytes storage pointer `store`.\n     */\n    function getBytesSlot(bytes storage store) internal pure returns (BytesSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := store.slot\n        }\n    }\n}\n","keccak256":"0xcf74f855663ce2ae00ed8352666b7935f6cddea2932fdf2c3ecd30a9b1cd0e97","license":"MIT"},"node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (utils/introspection/IERC165.sol)\n\npragma solidity >=0.4.16;\n\n/**\n * @dev Interface of the ERC-165 standard, as defined in the\n * https://eips.ethereum.org/EIPS/eip-165[ERC].\n *\n * Implementers can declare support of contract interfaces, which can then be\n * queried by others ({ERC165Checker}).\n *\n * For an implementation, see {ERC165}.\n */\ninterface IERC165 {\n    /**\n     * @dev Returns true if this contract implements the interface defined by\n     * `interfaceId`. See the corresponding\n     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[ERC section]\n     * to learn more about how these ids are created.\n     *\n     * This function call must use less than 30 000 gas.\n     */\n    function supportsInterface(bytes4 interfaceId) external view returns (bool);\n}\n","keccak256":"0x8891738ffe910f0cf2da09566928589bf5d63f4524dd734fd9cedbac3274dd5c","license":"MIT"},"node_modules/@uniswap/v3-core/contracts/interfaces/IUniswapV3Factory.sol":{"content":"// SPDX-License-Identifier: GPL-2.0-or-later\npragma solidity >=0.5.0;\n\n/// @title The interface for the Uniswap V3 Factory\n/// @notice The Uniswap V3 Factory facilitates creation of Uniswap V3 pools and control over the protocol fees\ninterface IUniswapV3Factory {\n    /// @notice Emitted when the owner of the factory is changed\n    /// @param oldOwner The owner before the owner was changed\n    /// @param newOwner The owner after the owner was changed\n    event OwnerChanged(address indexed oldOwner, address indexed newOwner);\n\n    /// @notice Emitted when a pool is created\n    /// @param token0 The first token of the pool by address sort order\n    /// @param token1 The second token of the pool by address sort order\n    /// @param fee The fee collected upon every swap in the pool, denominated in hundredths of a bip\n    /// @param tickSpacing The minimum number of ticks between initialized ticks\n    /// @param pool The address of the created pool\n    event PoolCreated(\n        address indexed token0,\n        address indexed token1,\n        uint24 indexed fee,\n        int24 tickSpacing,\n        address pool\n    );\n\n    /// @notice Emitted when a new fee amount is enabled for pool creation via the factory\n    /// @param fee The enabled fee, denominated in hundredths of a bip\n    /// @param tickSpacing The minimum number of ticks between initialized ticks for pools created with the given fee\n    event FeeAmountEnabled(uint24 indexed fee, int24 indexed tickSpacing);\n\n    /// @notice Returns the current owner of the factory\n    /// @dev Can be changed by the current owner via setOwner\n    /// @return The address of the factory owner\n    function owner() external view returns (address);\n\n    /// @notice Returns the tick spacing for a given fee amount, if enabled, or 0 if not enabled\n    /// @dev A fee amount can never be removed, so this value should be hard coded or cached in the calling context\n    /// @param fee The enabled fee, denominated in hundredths of a bip. Returns 0 in case of unenabled fee\n    /// @return The tick spacing\n    function feeAmountTickSpacing(uint24 fee) external view returns (int24);\n\n    /// @notice Returns the pool address for a given pair of tokens and a fee, or address 0 if it does not exist\n    /// @dev tokenA and tokenB may be passed in either token0/token1 or token1/token0 order\n    /// @param tokenA The contract address of either token0 or token1\n    /// @param tokenB The contract address of the other token\n    /// @param fee The fee collected upon every swap in the pool, denominated in hundredths of a bip\n    /// @return pool The pool address\n    function getPool(\n        address tokenA,\n        address tokenB,\n        uint24 fee\n    ) external view returns (address pool);\n\n    /// @notice Creates a pool for the given two tokens and fee\n    /// @param tokenA One of the two tokens in the desired pool\n    /// @param tokenB The other of the two tokens in the desired pool\n    /// @param fee The desired fee for the pool\n    /// @dev tokenA and tokenB may be passed in either order: token0/token1 or token1/token0. tickSpacing is retrieved\n    /// from the fee. The call will revert if the pool already exists, the fee is invalid, or the token arguments\n    /// are invalid.\n    /// @return pool The address of the newly created pool\n    function createPool(\n        address tokenA,\n        address tokenB,\n        uint24 fee\n    ) external returns (address pool);\n\n    /// @notice Updates the owner of the factory\n    /// @dev Must be called by the current owner\n    /// @param _owner The new owner of the factory\n    function setOwner(address _owner) external;\n\n    /// @notice Enables a fee amount with the given tickSpacing\n    /// @dev Fee amounts may never be removed once enabled\n    /// @param fee The fee amount to enable, denominated in hundredths of a bip (i.e. 1e-6)\n    /// @param tickSpacing The spacing between ticks to be enforced for all pools created with the given fee amount\n    function enableFeeAmount(uint24 fee, int24 tickSpacing) external;\n}\n","keccak256":"0xcc3d0c93fc9ac0febbe09f941b465b57f750bcf3b48432da0b97dc289cfdc489","license":"GPL-2.0-or-later"},"node_modules/@uniswap/v3-core/contracts/interfaces/IUniswapV3Pool.sol":{"content":"// SPDX-License-Identifier: GPL-2.0-or-later\npragma solidity >=0.5.0;\n\nimport './pool/IUniswapV3PoolImmutables.sol';\nimport './pool/IUniswapV3PoolState.sol';\nimport './pool/IUniswapV3PoolDerivedState.sol';\nimport './pool/IUniswapV3PoolActions.sol';\nimport './pool/IUniswapV3PoolOwnerActions.sol';\nimport './pool/IUniswapV3PoolEvents.sol';\n\n/// @title The interface for a Uniswap V3 Pool\n/// @notice A Uniswap pool facilitates swapping and automated market making between any two assets that strictly conform\n/// to the ERC20 specification\n/// @dev The pool interface is broken up into many smaller pieces\ninterface IUniswapV3Pool is\n    IUniswapV3PoolImmutables,\n    IUniswapV3PoolState,\n    IUniswapV3PoolDerivedState,\n    IUniswapV3PoolActions,\n    IUniswapV3PoolOwnerActions,\n    IUniswapV3PoolEvents\n{\n\n}\n","keccak256":"0xfe6113d518466cd6652c85b111e01f33eb62157f49ae5ed7d5a3947a2044adb1","license":"GPL-2.0-or-later"},"node_modules/@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolActions.sol":{"content":"// SPDX-License-Identifier: GPL-2.0-or-later\npragma solidity >=0.5.0;\n\n/// @title Permissionless pool actions\n/// @notice Contains pool methods that can be called by anyone\ninterface IUniswapV3PoolActions {\n    /// @notice Sets the initial price for the pool\n    /// @dev Price is represented as a sqrt(amountToken1/amountToken0) Q64.96 value\n    /// @param sqrtPriceX96 the initial sqrt price of the pool as a Q64.96\n    function initialize(uint160 sqrtPriceX96) external;\n\n    /// @notice Adds liquidity for the given recipient/tickLower/tickUpper position\n    /// @dev The caller of this method receives a callback in the form of IUniswapV3MintCallback#uniswapV3MintCallback\n    /// in which they must pay any token0 or token1 owed for the liquidity. The amount of token0/token1 due depends\n    /// on tickLower, tickUpper, the amount of liquidity, and the current price.\n    /// @param recipient The address for which the liquidity will be created\n    /// @param tickLower The lower tick of the position in which to add liquidity\n    /// @param tickUpper The upper tick of the position in which to add liquidity\n    /// @param amount The amount of liquidity to mint\n    /// @param data Any data that should be passed through to the callback\n    /// @return amount0 The amount of token0 that was paid to mint the given amount of liquidity. Matches the value in the callback\n    /// @return amount1 The amount of token1 that was paid to mint the given amount of liquidity. Matches the value in the callback\n    function mint(\n        address recipient,\n        int24 tickLower,\n        int24 tickUpper,\n        uint128 amount,\n        bytes calldata data\n    ) external returns (uint256 amount0, uint256 amount1);\n\n    /// @notice Collects tokens owed to a position\n    /// @dev Does not recompute fees earned, which must be done either via mint or burn of any amount of liquidity.\n    /// Collect must be called by the position owner. To withdraw only token0 or only token1, amount0Requested or\n    /// amount1Requested may be set to zero. To withdraw all tokens owed, caller may pass any value greater than the\n    /// actual tokens owed, e.g. type(uint128).max. Tokens owed may be from accumulated swap fees or burned liquidity.\n    /// @param recipient The address which should receive the fees collected\n    /// @param tickLower The lower tick of the position for which to collect fees\n    /// @param tickUpper The upper tick of the position for which to collect fees\n    /// @param amount0Requested How much token0 should be withdrawn from the fees owed\n    /// @param amount1Requested How much token1 should be withdrawn from the fees owed\n    /// @return amount0 The amount of fees collected in token0\n    /// @return amount1 The amount of fees collected in token1\n    function collect(\n        address recipient,\n        int24 tickLower,\n        int24 tickUpper,\n        uint128 amount0Requested,\n        uint128 amount1Requested\n    ) external returns (uint128 amount0, uint128 amount1);\n\n    /// @notice Burn liquidity from the sender and account tokens owed for the liquidity to the position\n    /// @dev Can be used to trigger a recalculation of fees owed to a position by calling with an amount of 0\n    /// @dev Fees must be collected separately via a call to #collect\n    /// @param tickLower The lower tick of the position for which to burn liquidity\n    /// @param tickUpper The upper tick of the position for which to burn liquidity\n    /// @param amount How much liquidity to burn\n    /// @return amount0 The amount of token0 sent to the recipient\n    /// @return amount1 The amount of token1 sent to the recipient\n    function burn(\n        int24 tickLower,\n        int24 tickUpper,\n        uint128 amount\n    ) external returns (uint256 amount0, uint256 amount1);\n\n    /// @notice Swap token0 for token1, or token1 for token0\n    /// @dev The caller of this method receives a callback in the form of IUniswapV3SwapCallback#uniswapV3SwapCallback\n    /// @param recipient The address to receive the output of the swap\n    /// @param zeroForOne The direction of the swap, true for token0 to token1, false for token1 to token0\n    /// @param amountSpecified The amount of the swap, which implicitly configures the swap as exact input (positive), or exact output (negative)\n    /// @param sqrtPriceLimitX96 The Q64.96 sqrt price limit. If zero for one, the price cannot be less than this\n    /// value after the swap. If one for zero, the price cannot be greater than this value after the swap\n    /// @param data Any data to be passed through to the callback\n    /// @return amount0 The delta of the balance of token0 of the pool, exact when negative, minimum when positive\n    /// @return amount1 The delta of the balance of token1 of the pool, exact when negative, minimum when positive\n    function swap(\n        address recipient,\n        bool zeroForOne,\n        int256 amountSpecified,\n        uint160 sqrtPriceLimitX96,\n        bytes calldata data\n    ) external returns (int256 amount0, int256 amount1);\n\n    /// @notice Receive token0 and/or token1 and pay it back, plus a fee, in the callback\n    /// @dev The caller of this method receives a callback in the form of IUniswapV3FlashCallback#uniswapV3FlashCallback\n    /// @dev Can be used to donate underlying tokens pro-rata to currently in-range liquidity providers by calling\n    /// with 0 amount{0,1} and sending the donation amount(s) from the callback\n    /// @param recipient The address which will receive the token0 and token1 amounts\n    /// @param amount0 The amount of token0 to send\n    /// @param amount1 The amount of token1 to send\n    /// @param data Any data to be passed through to the callback\n    function flash(\n        address recipient,\n        uint256 amount0,\n        uint256 amount1,\n        bytes calldata data\n    ) external;\n\n    /// @notice Increase the maximum number of price and liquidity observations that this pool will store\n    /// @dev This method is no-op if the pool already has an observationCardinalityNext greater than or equal to\n    /// the input observationCardinalityNext.\n    /// @param observationCardinalityNext The desired minimum number of observations for the pool to store\n    function increaseObservationCardinalityNext(uint16 observationCardinalityNext) external;\n}\n","keccak256":"0x9453dd0e7442188667d01d9b65de3f1e14e9511ff3e303179a15f6fc267f7634","license":"GPL-2.0-or-later"},"node_modules/@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolDerivedState.sol":{"content":"// SPDX-License-Identifier: GPL-2.0-or-later\npragma solidity >=0.5.0;\n\n/// @title Pool state that is not stored\n/// @notice Contains view functions to provide information about the pool that is computed rather than stored on the\n/// blockchain. The functions here may have variable gas costs.\ninterface IUniswapV3PoolDerivedState {\n    /// @notice Returns the cumulative tick and liquidity as of each timestamp `secondsAgo` from the current block timestamp\n    /// @dev To get a time weighted average tick or liquidity-in-range, you must call this with two values, one representing\n    /// the beginning of the period and another for the end of the period. E.g., to get the last hour time-weighted average tick,\n    /// you must call it with secondsAgos = [3600, 0].\n    /// @dev The time weighted average tick represents the geometric time weighted average price of the pool, in\n    /// log base sqrt(1.0001) of token1 / token0. The TickMath library can be used to go from a tick value to a ratio.\n    /// @param secondsAgos From how long ago each cumulative tick and liquidity value should be returned\n    /// @return tickCumulatives Cumulative tick values as of each `secondsAgos` from the current block timestamp\n    /// @return secondsPerLiquidityCumulativeX128s Cumulative seconds per liquidity-in-range value as of each `secondsAgos` from the current block\n    /// timestamp\n    function observe(uint32[] calldata secondsAgos)\n        external\n        view\n        returns (int56[] memory tickCumulatives, uint160[] memory secondsPerLiquidityCumulativeX128s);\n\n    /// @notice Returns a snapshot of the tick cumulative, seconds per liquidity and seconds inside a tick range\n    /// @dev Snapshots must only be compared to other snapshots, taken over a period for which a position existed.\n    /// I.e., snapshots cannot be compared if a position is not held for the entire period between when the first\n    /// snapshot is taken and the second snapshot is taken.\n    /// @param tickLower The lower tick of the range\n    /// @param tickUpper The upper tick of the range\n    /// @return tickCumulativeInside The snapshot of the tick accumulator for the range\n    /// @return secondsPerLiquidityInsideX128 The snapshot of seconds per liquidity for the range\n    /// @return secondsInside The snapshot of seconds per liquidity for the range\n    function snapshotCumulativesInside(int24 tickLower, int24 tickUpper)\n        external\n        view\n        returns (\n            int56 tickCumulativeInside,\n            uint160 secondsPerLiquidityInsideX128,\n            uint32 secondsInside\n        );\n}\n","keccak256":"0xe603ac5b17ecdee73ba2b27efdf386c257a19c14206e87eee77e2017b742d9e5","license":"GPL-2.0-or-later"},"node_modules/@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolEvents.sol":{"content":"// SPDX-License-Identifier: GPL-2.0-or-later\npragma solidity >=0.5.0;\n\n/// @title Events emitted by a pool\n/// @notice Contains all events emitted by the pool\ninterface IUniswapV3PoolEvents {\n    /// @notice Emitted exactly once by a pool when #initialize is first called on the pool\n    /// @dev Mint/Burn/Swap cannot be emitted by the pool before Initialize\n    /// @param sqrtPriceX96 The initial sqrt price of the pool, as a Q64.96\n    /// @param tick The initial tick of the pool, i.e. log base 1.0001 of the starting price of the pool\n    event Initialize(uint160 sqrtPriceX96, int24 tick);\n\n    /// @notice Emitted when liquidity is minted for a given position\n    /// @param sender The address that minted the liquidity\n    /// @param owner The owner of the position and recipient of any minted liquidity\n    /// @param tickLower The lower tick of the position\n    /// @param tickUpper The upper tick of the position\n    /// @param amount The amount of liquidity minted to the position range\n    /// @param amount0 How much token0 was required for the minted liquidity\n    /// @param amount1 How much token1 was required for the minted liquidity\n    event Mint(\n        address sender,\n        address indexed owner,\n        int24 indexed tickLower,\n        int24 indexed tickUpper,\n        uint128 amount,\n        uint256 amount0,\n        uint256 amount1\n    );\n\n    /// @notice Emitted when fees are collected by the owner of a position\n    /// @dev Collect events may be emitted with zero amount0 and amount1 when the caller chooses not to collect fees\n    /// @param owner The owner of the position for which fees are collected\n    /// @param tickLower The lower tick of the position\n    /// @param tickUpper The upper tick of the position\n    /// @param amount0 The amount of token0 fees collected\n    /// @param amount1 The amount of token1 fees collected\n    event Collect(\n        address indexed owner,\n        address recipient,\n        int24 indexed tickLower,\n        int24 indexed tickUpper,\n        uint128 amount0,\n        uint128 amount1\n    );\n\n    /// @notice Emitted when a position's liquidity is removed\n    /// @dev Does not withdraw any fees earned by the liquidity position, which must be withdrawn via #collect\n    /// @param owner The owner of the position for which liquidity is removed\n    /// @param tickLower The lower tick of the position\n    /// @param tickUpper The upper tick of the position\n    /// @param amount The amount of liquidity to remove\n    /// @param amount0 The amount of token0 withdrawn\n    /// @param amount1 The amount of token1 withdrawn\n    event Burn(\n        address indexed owner,\n        int24 indexed tickLower,\n        int24 indexed tickUpper,\n        uint128 amount,\n        uint256 amount0,\n        uint256 amount1\n    );\n\n    /// @notice Emitted by the pool for any swaps between token0 and token1\n    /// @param sender The address that initiated the swap call, and that received the callback\n    /// @param recipient The address that received the output of the swap\n    /// @param amount0 The delta of the token0 balance of the pool\n    /// @param amount1 The delta of the token1 balance of the pool\n    /// @param sqrtPriceX96 The sqrt(price) of the pool after the swap, as a Q64.96\n    /// @param liquidity The liquidity of the pool after the swap\n    /// @param tick The log base 1.0001 of price of the pool after the swap\n    event Swap(\n        address indexed sender,\n        address indexed recipient,\n        int256 amount0,\n        int256 amount1,\n        uint160 sqrtPriceX96,\n        uint128 liquidity,\n        int24 tick\n    );\n\n    /// @notice Emitted by the pool for any flashes of token0/token1\n    /// @param sender The address that initiated the swap call, and that received the callback\n    /// @param recipient The address that received the tokens from flash\n    /// @param amount0 The amount of token0 that was flashed\n    /// @param amount1 The amount of token1 that was flashed\n    /// @param paid0 The amount of token0 paid for the flash, which can exceed the amount0 plus the fee\n    /// @param paid1 The amount of token1 paid for the flash, which can exceed the amount1 plus the fee\n    event Flash(\n        address indexed sender,\n        address indexed recipient,\n        uint256 amount0,\n        uint256 amount1,\n        uint256 paid0,\n        uint256 paid1\n    );\n\n    /// @notice Emitted by the pool for increases to the number of observations that can be stored\n    /// @dev observationCardinalityNext is not the observation cardinality until an observation is written at the index\n    /// just before a mint/swap/burn.\n    /// @param observationCardinalityNextOld The previous value of the next observation cardinality\n    /// @param observationCardinalityNextNew The updated value of the next observation cardinality\n    event IncreaseObservationCardinalityNext(\n        uint16 observationCardinalityNextOld,\n        uint16 observationCardinalityNextNew\n    );\n\n    /// @notice Emitted when the protocol fee is changed by the pool\n    /// @param feeProtocol0Old The previous value of the token0 protocol fee\n    /// @param feeProtocol1Old The previous value of the token1 protocol fee\n    /// @param feeProtocol0New The updated value of the token0 protocol fee\n    /// @param feeProtocol1New The updated value of the token1 protocol fee\n    event SetFeeProtocol(uint8 feeProtocol0Old, uint8 feeProtocol1Old, uint8 feeProtocol0New, uint8 feeProtocol1New);\n\n    /// @notice Emitted when the collected protocol fees are withdrawn by the factory owner\n    /// @param sender The address that collects the protocol fees\n    /// @param recipient The address that receives the collected protocol fees\n    /// @param amount0 The amount of token0 protocol fees that is withdrawn\n    /// @param amount0 The amount of token1 protocol fees that is withdrawn\n    event CollectProtocol(address indexed sender, address indexed recipient, uint128 amount0, uint128 amount1);\n}\n","keccak256":"0x8071514d0fe5d17d6fbd31c191cdfb703031c24e0ece3621d88ab10e871375cd","license":"GPL-2.0-or-later"},"node_modules/@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolImmutables.sol":{"content":"// SPDX-License-Identifier: GPL-2.0-or-later\npragma solidity >=0.5.0;\n\n/// @title Pool state that never changes\n/// @notice These parameters are fixed for a pool forever, i.e., the methods will always return the same values\ninterface IUniswapV3PoolImmutables {\n    /// @notice The contract that deployed the pool, which must adhere to the IUniswapV3Factory interface\n    /// @return The contract address\n    function factory() external view returns (address);\n\n    /// @notice The first of the two tokens of the pool, sorted by address\n    /// @return The token contract address\n    function token0() external view returns (address);\n\n    /// @notice The second of the two tokens of the pool, sorted by address\n    /// @return The token contract address\n    function token1() external view returns (address);\n\n    /// @notice The pool's fee in hundredths of a bip, i.e. 1e-6\n    /// @return The fee\n    function fee() external view returns (uint24);\n\n    /// @notice The pool tick spacing\n    /// @dev Ticks can only be used at multiples of this value, minimum of 1 and always positive\n    /// e.g.: a tickSpacing of 3 means ticks can be initialized every 3rd tick, i.e., ..., -6, -3, 0, 3, 6, ...\n    /// This value is an int24 to avoid casting even though it is always positive.\n    /// @return The tick spacing\n    function tickSpacing() external view returns (int24);\n\n    /// @notice The maximum amount of position liquidity that can use any tick in the range\n    /// @dev This parameter is enforced per tick to prevent liquidity from overflowing a uint128 at any point, and\n    /// also prevents out-of-range liquidity from being used to prevent adding in-range liquidity to a pool\n    /// @return The max amount of liquidity per tick\n    function maxLiquidityPerTick() external view returns (uint128);\n}\n","keccak256":"0xf6e5d2cd1139c4c276bdbc8e1d2b256e456c866a91f1b868da265c6d2685c3f7","license":"GPL-2.0-or-later"},"node_modules/@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolOwnerActions.sol":{"content":"// SPDX-License-Identifier: GPL-2.0-or-later\npragma solidity >=0.5.0;\n\n/// @title Permissioned pool actions\n/// @notice Contains pool methods that may only be called by the factory owner\ninterface IUniswapV3PoolOwnerActions {\n    /// @notice Set the denominator of the protocol's % share of the fees\n    /// @param feeProtocol0 new protocol fee for token0 of the pool\n    /// @param feeProtocol1 new protocol fee for token1 of the pool\n    function setFeeProtocol(uint8 feeProtocol0, uint8 feeProtocol1) external;\n\n    /// @notice Collect the protocol fee accrued to the pool\n    /// @param recipient The address to which collected protocol fees should be sent\n    /// @param amount0Requested The maximum amount of token0 to send, can be 0 to collect fees in only token1\n    /// @param amount1Requested The maximum amount of token1 to send, can be 0 to collect fees in only token0\n    /// @return amount0 The protocol fee collected in token0\n    /// @return amount1 The protocol fee collected in token1\n    function collectProtocol(\n        address recipient,\n        uint128 amount0Requested,\n        uint128 amount1Requested\n    ) external returns (uint128 amount0, uint128 amount1);\n}\n","keccak256":"0x759b78a2918af9e99e246dc3af084f654e48ef32bb4e4cb8a966aa3dcaece235","license":"GPL-2.0-or-later"},"node_modules/@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolState.sol":{"content":"// SPDX-License-Identifier: GPL-2.0-or-later\npragma solidity >=0.5.0;\n\n/// @title Pool state that can change\n/// @notice These methods compose the pool's state, and can change with any frequency including multiple times\n/// per transaction\ninterface IUniswapV3PoolState {\n    /// @notice The 0th storage slot in the pool stores many values, and is exposed as a single method to save gas\n    /// when accessed externally.\n    /// @return sqrtPriceX96 The current price of the pool as a sqrt(token1/token0) Q64.96 value\n    /// tick The current tick of the pool, i.e. according to the last tick transition that was run.\n    /// This value may not always be equal to SqrtTickMath.getTickAtSqrtRatio(sqrtPriceX96) if the price is on a tick\n    /// boundary.\n    /// observationIndex The index of the last oracle observation that was written,\n    /// observationCardinality The current maximum number of observations stored in the pool,\n    /// observationCardinalityNext The next maximum number of observations, to be updated when the observation.\n    /// feeProtocol The protocol fee for both tokens of the pool.\n    /// Encoded as two 4 bit values, where the protocol fee of token1 is shifted 4 bits and the protocol fee of token0\n    /// is the lower 4 bits. Used as the denominator of a fraction of the swap fee, e.g. 4 means 1/4th of the swap fee.\n    /// unlocked Whether the pool is currently locked to reentrancy\n    function slot0()\n        external\n        view\n        returns (\n            uint160 sqrtPriceX96,\n            int24 tick,\n            uint16 observationIndex,\n            uint16 observationCardinality,\n            uint16 observationCardinalityNext,\n            uint8 feeProtocol,\n            bool unlocked\n        );\n\n    /// @notice The fee growth as a Q128.128 fees of token0 collected per unit of liquidity for the entire life of the pool\n    /// @dev This value can overflow the uint256\n    function feeGrowthGlobal0X128() external view returns (uint256);\n\n    /// @notice The fee growth as a Q128.128 fees of token1 collected per unit of liquidity for the entire life of the pool\n    /// @dev This value can overflow the uint256\n    function feeGrowthGlobal1X128() external view returns (uint256);\n\n    /// @notice The amounts of token0 and token1 that are owed to the protocol\n    /// @dev Protocol fees will never exceed uint128 max in either token\n    function protocolFees() external view returns (uint128 token0, uint128 token1);\n\n    /// @notice The currently in range liquidity available to the pool\n    /// @dev This value has no relationship to the total liquidity across all ticks\n    function liquidity() external view returns (uint128);\n\n    /// @notice Look up information about a specific tick in the pool\n    /// @param tick The tick to look up\n    /// @return liquidityGross the total amount of position liquidity that uses the pool either as tick lower or\n    /// tick upper,\n    /// liquidityNet how much liquidity changes when the pool price crosses the tick,\n    /// feeGrowthOutside0X128 the fee growth on the other side of the tick from the current tick in token0,\n    /// feeGrowthOutside1X128 the fee growth on the other side of the tick from the current tick in token1,\n    /// tickCumulativeOutside the cumulative tick value on the other side of the tick from the current tick\n    /// secondsPerLiquidityOutsideX128 the seconds spent per liquidity on the other side of the tick from the current tick,\n    /// secondsOutside the seconds spent on the other side of the tick from the current tick,\n    /// initialized Set to true if the tick is initialized, i.e. liquidityGross is greater than 0, otherwise equal to false.\n    /// Outside values can only be used if the tick is initialized, i.e. if liquidityGross is greater than 0.\n    /// In addition, these values are only relative and must be used only in comparison to previous snapshots for\n    /// a specific position.\n    function ticks(int24 tick)\n        external\n        view\n        returns (\n            uint128 liquidityGross,\n            int128 liquidityNet,\n            uint256 feeGrowthOutside0X128,\n            uint256 feeGrowthOutside1X128,\n            int56 tickCumulativeOutside,\n            uint160 secondsPerLiquidityOutsideX128,\n            uint32 secondsOutside,\n            bool initialized\n        );\n\n    /// @notice Returns 256 packed tick initialized boolean values. See TickBitmap for more information\n    function tickBitmap(int16 wordPosition) external view returns (uint256);\n\n    /// @notice Returns the information about a position by the position's key\n    /// @param key The position's key is a hash of a preimage composed by the owner, tickLower and tickUpper\n    /// @return _liquidity The amount of liquidity in the position,\n    /// Returns feeGrowthInside0LastX128 fee growth of token0 inside the tick range as of the last mint/burn/poke,\n    /// Returns feeGrowthInside1LastX128 fee growth of token1 inside the tick range as of the last mint/burn/poke,\n    /// Returns tokensOwed0 the computed amount of token0 owed to the position as of the last mint/burn/poke,\n    /// Returns tokensOwed1 the computed amount of token1 owed to the position as of the last mint/burn/poke\n    function positions(bytes32 key)\n        external\n        view\n        returns (\n            uint128 _liquidity,\n            uint256 feeGrowthInside0LastX128,\n            uint256 feeGrowthInside1LastX128,\n            uint128 tokensOwed0,\n            uint128 tokensOwed1\n        );\n\n    /// @notice Returns data about a specific observation index\n    /// @param index The element of the observations array to fetch\n    /// @dev You most likely want to use #observe() instead of this method to get an observation as of some amount of time\n    /// ago, rather than at a specific index in the array.\n    /// @return blockTimestamp The timestamp of the observation,\n    /// Returns tickCumulative the tick multiplied by seconds elapsed for the life of the pool as of the observation timestamp,\n    /// Returns secondsPerLiquidityCumulativeX128 the seconds per in range liquidity for the life of the pool as of the observation timestamp,\n    /// Returns initialized whether the observation has been initialized and the values are safe to use\n    function observations(uint256 index)\n        external\n        view\n        returns (\n            uint32 blockTimestamp,\n            int56 tickCumulative,\n            uint160 secondsPerLiquidityCumulativeX128,\n            bool initialized\n        );\n}\n","keccak256":"0x852dc1f5df7dcf7f11e7bb3eed79f0cea72ad4b25f6a9d2c35aafb48925fd49f","license":"GPL-2.0-or-later"},"node_modules/@uniswap/v4-core/src/libraries/BitMath.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/// @title BitMath\n/// @dev This library provides functionality for computing bit properties of an unsigned integer\n/// @author Solady (https://github.com/Vectorized/solady/blob/8200a70e8dc2a77ecb074fc2e99a2a0d36547522/src/utils/LibBit.sol)\nlibrary BitMath {\n    /// @notice Returns the index of the most significant bit of the number,\n    ///     where the least significant bit is at index 0 and the most significant bit is at index 255\n    /// @param x the value for which to compute the most significant bit, must be greater than 0\n    /// @return r the index of the most significant bit\n    function mostSignificantBit(uint256 x) internal pure returns (uint8 r) {\n        require(x > 0);\n\n        assembly (\"memory-safe\") {\n            r := shl(7, lt(0xffffffffffffffffffffffffffffffff, x))\n            r := or(r, shl(6, lt(0xffffffffffffffff, shr(r, x))))\n            r := or(r, shl(5, lt(0xffffffff, shr(r, x))))\n            r := or(r, shl(4, lt(0xffff, shr(r, x))))\n            r := or(r, shl(3, lt(0xff, shr(r, x))))\n            // forgefmt: disable-next-item\n            r := or(r, byte(and(0x1f, shr(shr(r, x), 0x8421084210842108cc6318c6db6d54be)),\n                0x0706060506020500060203020504000106050205030304010505030400000000))\n        }\n    }\n\n    /// @notice Returns the index of the least significant bit of the number,\n    ///     where the least significant bit is at index 0 and the most significant bit is at index 255\n    /// @param x the value for which to compute the least significant bit, must be greater than 0\n    /// @return r the index of the least significant bit\n    function leastSignificantBit(uint256 x) internal pure returns (uint8 r) {\n        require(x > 0);\n\n        assembly (\"memory-safe\") {\n            // Isolate the least significant bit.\n            x := and(x, sub(0, x))\n            // For the upper 3 bits of the result, use a De Bruijn-like lookup.\n            // Credit to adhusson: https://blog.adhusson.com/cheap-find-first-set-evm/\n            // forgefmt: disable-next-item\n            r := shl(5, shr(252, shl(shl(2, shr(250, mul(x,\n                0xb6db6db6ddddddddd34d34d349249249210842108c6318c639ce739cffffffff))),\n                0x8040405543005266443200005020610674053026020000107506200176117077)))\n            // For the lower 5 bits of the result, use a De Bruijn lookup.\n            // forgefmt: disable-next-item\n            r := or(r, byte(and(div(0xd76453e0, shr(r, x)), 0x1f),\n                0x001f0d1e100c1d070f090b19131c1706010e11080a1a141802121b1503160405))\n        }\n    }\n}\n","keccak256":"0x51b9be4f5c4fd3e80cbc9631a65244a2eb2be250b6b7f128a2035080e18aee8d","license":"MIT"},"node_modules/@uniswap/v4-core/src/libraries/CustomRevert.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/// @title Library for reverting with custom errors efficiently\n/// @notice Contains functions for reverting with custom errors with different argument types efficiently\n/// @dev To use this library, declare `using CustomRevert for bytes4;` and replace `revert CustomError()` with\n/// `CustomError.selector.revertWith()`\n/// @dev The functions may tamper with the free memory pointer but it is fine since the call context is exited immediately\nlibrary CustomRevert {\n    /// @dev ERC-7751 error for wrapping bubbled up reverts\n    error WrappedError(address target, bytes4 selector, bytes reason, bytes details);\n\n    /// @dev Reverts with the selector of a custom error in the scratch space\n    function revertWith(bytes4 selector) internal pure {\n        assembly (\"memory-safe\") {\n            mstore(0, selector)\n            revert(0, 0x04)\n        }\n    }\n\n    /// @dev Reverts with a custom error with an address argument in the scratch space\n    function revertWith(bytes4 selector, address addr) internal pure {\n        assembly (\"memory-safe\") {\n            mstore(0, selector)\n            mstore(0x04, and(addr, 0xffffffffffffffffffffffffffffffffffffffff))\n            revert(0, 0x24)\n        }\n    }\n\n    /// @dev Reverts with a custom error with an int24 argument in the scratch space\n    function revertWith(bytes4 selector, int24 value) internal pure {\n        assembly (\"memory-safe\") {\n            mstore(0, selector)\n            mstore(0x04, signextend(2, value))\n            revert(0, 0x24)\n        }\n    }\n\n    /// @dev Reverts with a custom error with a uint160 argument in the scratch space\n    function revertWith(bytes4 selector, uint160 value) internal pure {\n        assembly (\"memory-safe\") {\n            mstore(0, selector)\n            mstore(0x04, and(value, 0xffffffffffffffffffffffffffffffffffffffff))\n            revert(0, 0x24)\n        }\n    }\n\n    /// @dev Reverts with a custom error with two int24 arguments\n    function revertWith(bytes4 selector, int24 value1, int24 value2) internal pure {\n        assembly (\"memory-safe\") {\n            let fmp := mload(0x40)\n            mstore(fmp, selector)\n            mstore(add(fmp, 0x04), signextend(2, value1))\n            mstore(add(fmp, 0x24), signextend(2, value2))\n            revert(fmp, 0x44)\n        }\n    }\n\n    /// @dev Reverts with a custom error with two uint160 arguments\n    function revertWith(bytes4 selector, uint160 value1, uint160 value2) internal pure {\n        assembly (\"memory-safe\") {\n            let fmp := mload(0x40)\n            mstore(fmp, selector)\n            mstore(add(fmp, 0x04), and(value1, 0xffffffffffffffffffffffffffffffffffffffff))\n            mstore(add(fmp, 0x24), and(value2, 0xffffffffffffffffffffffffffffffffffffffff))\n            revert(fmp, 0x44)\n        }\n    }\n\n    /// @dev Reverts with a custom error with two address arguments\n    function revertWith(bytes4 selector, address value1, address value2) internal pure {\n        assembly (\"memory-safe\") {\n            let fmp := mload(0x40)\n            mstore(fmp, selector)\n            mstore(add(fmp, 0x04), and(value1, 0xffffffffffffffffffffffffffffffffffffffff))\n            mstore(add(fmp, 0x24), and(value2, 0xffffffffffffffffffffffffffffffffffffffff))\n            revert(fmp, 0x44)\n        }\n    }\n\n    /// @notice bubble up the revert message returned by a call and revert with a wrapped ERC-7751 error\n    /// @dev this method can be vulnerable to revert data bombs\n    function bubbleUpAndRevertWith(\n        address revertingContract,\n        bytes4 revertingFunctionSelector,\n        bytes4 additionalContext\n    ) internal pure {\n        bytes4 wrappedErrorSelector = WrappedError.selector;\n        assembly (\"memory-safe\") {\n            // Ensure the size of the revert data is a multiple of 32 bytes\n            let encodedDataSize := mul(div(add(returndatasize(), 31), 32), 32)\n\n            let fmp := mload(0x40)\n\n            // Encode wrapped error selector, address, function selector, offset, additional context, size, revert reason\n            mstore(fmp, wrappedErrorSelector)\n            mstore(add(fmp, 0x04), and(revertingContract, 0xffffffffffffffffffffffffffffffffffffffff))\n            mstore(\n                add(fmp, 0x24),\n                and(revertingFunctionSelector, 0xffffffff00000000000000000000000000000000000000000000000000000000)\n            )\n            // offset revert reason\n            mstore(add(fmp, 0x44), 0x80)\n            // offset additional context\n            mstore(add(fmp, 0x64), add(0xa0, encodedDataSize))\n            // size revert reason\n            mstore(add(fmp, 0x84), returndatasize())\n            // revert reason\n            returndatacopy(add(fmp, 0xa4), 0, returndatasize())\n            // size additional context\n            mstore(add(fmp, add(0xa4, encodedDataSize)), 0x04)\n            // additional context\n            mstore(\n                add(fmp, add(0xc4, encodedDataSize)),\n                and(additionalContext, 0xffffffff00000000000000000000000000000000000000000000000000000000)\n            )\n            revert(fmp, add(0xe4, encodedDataSize))\n        }\n    }\n}\n","keccak256":"0x111ed3031b6990c80a93ae35dde6b6ac0b7e6af471388fdd7461e91edda9b7de","license":"MIT"},"node_modules/@uniswap/v4-core/src/libraries/FixedPoint96.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/// @title FixedPoint96\n/// @notice A library for handling binary fixed point numbers, see https://en.wikipedia.org/wiki/Q_(number_format)\n/// @dev Used in SqrtPriceMath.sol\nlibrary FixedPoint96 {\n    uint8 internal constant RESOLUTION = 96;\n    uint256 internal constant Q96 = 0x1000000000000000000000000;\n}\n","keccak256":"0xef5c3fd41aee26bb12aa1c32873cfee88e67eddfe7c2b32283786265ac669741","license":"MIT"},"node_modules/@uniswap/v4-core/src/libraries/FullMath.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/// @title Contains 512-bit math functions\n/// @notice Facilitates multiplication and division that can have overflow of an intermediate value without any loss of precision\n/// @dev Handles \"phantom overflow\" i.e., allows multiplication and division where an intermediate value overflows 256 bits\nlibrary FullMath {\n    /// @notice Calculates floor(a×b÷denominator) with full precision. Throws if result overflows a uint256 or denominator == 0\n    /// @param a The multiplicand\n    /// @param b The multiplier\n    /// @param denominator The divisor\n    /// @return result The 256-bit result\n    /// @dev Credit to Remco Bloemen under MIT license https://xn--2-umb.com/21/muldiv\n    function mulDiv(uint256 a, uint256 b, uint256 denominator) internal pure returns (uint256 result) {\n        unchecked {\n            // 512-bit multiply [prod1 prod0] = a * b\n            // Compute the product mod 2**256 and mod 2**256 - 1\n            // then use the Chinese Remainder Theorem to reconstruct\n            // the 512 bit result. The result is stored in two 256\n            // variables such that product = prod1 * 2**256 + prod0\n            uint256 prod0 = a * b; // Least significant 256 bits of the product\n            uint256 prod1; // Most significant 256 bits of the product\n            assembly (\"memory-safe\") {\n                let mm := mulmod(a, b, not(0))\n                prod1 := sub(sub(mm, prod0), lt(mm, prod0))\n            }\n\n            // Make sure the result is less than 2**256.\n            // Also prevents denominator == 0\n            require(denominator > prod1);\n\n            // Handle non-overflow cases, 256 by 256 division\n            if (prod1 == 0) {\n                assembly (\"memory-safe\") {\n                    result := div(prod0, denominator)\n                }\n                return result;\n            }\n\n            ///////////////////////////////////////////////\n            // 512 by 256 division.\n            ///////////////////////////////////////////////\n\n            // Make division exact by subtracting the remainder from [prod1 prod0]\n            // Compute remainder using mulmod\n            uint256 remainder;\n            assembly (\"memory-safe\") {\n                remainder := mulmod(a, b, denominator)\n            }\n            // Subtract 256 bit number from 512 bit number\n            assembly (\"memory-safe\") {\n                prod1 := sub(prod1, gt(remainder, prod0))\n                prod0 := sub(prod0, remainder)\n            }\n\n            // Factor powers of two out of denominator\n            // Compute largest power of two divisor of denominator.\n            // Always >= 1.\n            uint256 twos = (0 - denominator) & denominator;\n            // Divide denominator by power of two\n            assembly (\"memory-safe\") {\n                denominator := div(denominator, twos)\n            }\n\n            // Divide [prod1 prod0] by the factors of two\n            assembly (\"memory-safe\") {\n                prod0 := div(prod0, twos)\n            }\n            // Shift in bits from prod1 into prod0. For this we need\n            // to flip `twos` such that it is 2**256 / twos.\n            // If twos is zero, then it becomes one\n            assembly (\"memory-safe\") {\n                twos := add(div(sub(0, twos), twos), 1)\n            }\n            prod0 |= prod1 * twos;\n\n            // Invert denominator mod 2**256\n            // Now that denominator is an odd number, it has an inverse\n            // modulo 2**256 such that denominator * inv = 1 mod 2**256.\n            // Compute the inverse by starting with a seed that is correct\n            // correct for four bits. That is, denominator * inv = 1 mod 2**4\n            uint256 inv = (3 * denominator) ^ 2;\n            // Now use Newton-Raphson iteration to improve the precision.\n            // Thanks to Hensel's lifting lemma, this also works in modular\n            // arithmetic, doubling the correct bits in each step.\n            inv *= 2 - denominator * inv; // inverse mod 2**8\n            inv *= 2 - denominator * inv; // inverse mod 2**16\n            inv *= 2 - denominator * inv; // inverse mod 2**32\n            inv *= 2 - denominator * inv; // inverse mod 2**64\n            inv *= 2 - denominator * inv; // inverse mod 2**128\n            inv *= 2 - denominator * inv; // inverse mod 2**256\n\n            // Because the division is now exact we can divide by multiplying\n            // with the modular inverse of denominator. This will give us the\n            // correct result modulo 2**256. Since the preconditions guarantee\n            // that the outcome is less than 2**256, this is the final result.\n            // We don't need to compute the high bits of the result and prod1\n            // is no longer required.\n            result = prod0 * inv;\n            return result;\n        }\n    }\n\n    /// @notice Calculates ceil(a×b÷denominator) with full precision. Throws if result overflows a uint256 or denominator == 0\n    /// @param a The multiplicand\n    /// @param b The multiplier\n    /// @param denominator The divisor\n    /// @return result The 256-bit result\n    function mulDivRoundingUp(uint256 a, uint256 b, uint256 denominator) internal pure returns (uint256 result) {\n        unchecked {\n            result = mulDiv(a, b, denominator);\n            if (mulmod(a, b, denominator) != 0) {\n                require(++result > 0);\n            }\n        }\n    }\n}\n","keccak256":"0x4fc73a00817193fd3cac1cc03d8167d21af97d75f1815a070ee31a90c702b4c2","license":"MIT"},"node_modules/@uniswap/v4-core/src/libraries/SafeCast.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {CustomRevert} from \"./CustomRevert.sol\";\n\n/// @title Safe casting methods\n/// @notice Contains methods for safely casting between types\nlibrary SafeCast {\n    using CustomRevert for bytes4;\n\n    error SafeCastOverflow();\n\n    /// @notice Cast a uint256 to a uint160, revert on overflow\n    /// @param x The uint256 to be downcasted\n    /// @return y The downcasted integer, now type uint160\n    function toUint160(uint256 x) internal pure returns (uint160 y) {\n        y = uint160(x);\n        if (y != x) SafeCastOverflow.selector.revertWith();\n    }\n\n    /// @notice Cast a uint256 to a uint128, revert on overflow\n    /// @param x The uint256 to be downcasted\n    /// @return y The downcasted integer, now type uint128\n    function toUint128(uint256 x) internal pure returns (uint128 y) {\n        y = uint128(x);\n        if (x != y) SafeCastOverflow.selector.revertWith();\n    }\n\n    /// @notice Cast a int128 to a uint128, revert on overflow or underflow\n    /// @param x The int128 to be casted\n    /// @return y The casted integer, now type uint128\n    function toUint128(int128 x) internal pure returns (uint128 y) {\n        if (x < 0) SafeCastOverflow.selector.revertWith();\n        y = uint128(x);\n    }\n\n    /// @notice Cast a int256 to a int128, revert on overflow or underflow\n    /// @param x The int256 to be downcasted\n    /// @return y The downcasted integer, now type int128\n    function toInt128(int256 x) internal pure returns (int128 y) {\n        y = int128(x);\n        if (y != x) SafeCastOverflow.selector.revertWith();\n    }\n\n    /// @notice Cast a uint256 to a int256, revert on overflow\n    /// @param x The uint256 to be casted\n    /// @return y The casted integer, now type int256\n    function toInt256(uint256 x) internal pure returns (int256 y) {\n        y = int256(x);\n        if (y < 0) SafeCastOverflow.selector.revertWith();\n    }\n\n    /// @notice Cast a uint256 to a int128, revert on overflow\n    /// @param x The uint256 to be downcasted\n    /// @return The downcasted integer, now type int128\n    function toInt128(uint256 x) internal pure returns (int128) {\n        if (x >= 1 << 127) SafeCastOverflow.selector.revertWith();\n        return int128(int256(x));\n    }\n}\n","keccak256":"0x42c4a24f996a14d358be397b71f7ec9d7daf666aaec78002c63315a6ee67aa86","license":"MIT"},"node_modules/@uniswap/v4-core/src/libraries/SqrtPriceMath.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {SafeCast} from \"./SafeCast.sol\";\n\nimport {FullMath} from \"./FullMath.sol\";\nimport {UnsafeMath} from \"./UnsafeMath.sol\";\nimport {FixedPoint96} from \"./FixedPoint96.sol\";\n\n/// @title Functions based on Q64.96 sqrt price and liquidity\n/// @notice Contains the math that uses square root of price as a Q64.96 and liquidity to compute deltas\nlibrary SqrtPriceMath {\n    using SafeCast for uint256;\n\n    error InvalidPriceOrLiquidity();\n    error InvalidPrice();\n    error NotEnoughLiquidity();\n    error PriceOverflow();\n\n    /// @notice Gets the next sqrt price given a delta of currency0\n    /// @dev Always rounds up, because in the exact output case (increasing price) we need to move the price at least\n    /// far enough to get the desired output amount, and in the exact input case (decreasing price) we need to move the\n    /// price less in order to not send too much output.\n    /// The most precise formula for this is liquidity * sqrtPX96 / (liquidity +- amount * sqrtPX96),\n    /// if this is impossible because of overflow, we calculate liquidity / (liquidity / sqrtPX96 +- amount).\n    /// @param sqrtPX96 The starting price, i.e. before accounting for the currency0 delta\n    /// @param liquidity The amount of usable liquidity\n    /// @param amount How much of currency0 to add or remove from virtual reserves\n    /// @param add Whether to add or remove the amount of currency0\n    /// @return The price after adding or removing amount, depending on add\n    function getNextSqrtPriceFromAmount0RoundingUp(uint160 sqrtPX96, uint128 liquidity, uint256 amount, bool add)\n        internal\n        pure\n        returns (uint160)\n    {\n        // we short circuit amount == 0 because the result is otherwise not guaranteed to equal the input price\n        if (amount == 0) return sqrtPX96;\n        uint256 numerator1 = uint256(liquidity) << FixedPoint96.RESOLUTION;\n\n        if (add) {\n            unchecked {\n                uint256 product = amount * sqrtPX96;\n                if (product / amount == sqrtPX96) {\n                    uint256 denominator = numerator1 + product;\n                    if (denominator >= numerator1) {\n                        // always fits in 160 bits\n                        return uint160(FullMath.mulDivRoundingUp(numerator1, sqrtPX96, denominator));\n                    }\n                }\n            }\n            // denominator is checked for overflow\n            return uint160(UnsafeMath.divRoundingUp(numerator1, (numerator1 / sqrtPX96) + amount));\n        } else {\n            unchecked {\n                uint256 product = amount * sqrtPX96;\n                // if the product overflows, we know the denominator underflows\n                // in addition, we must check that the denominator does not underflow\n                // equivalent: if (product / amount != sqrtPX96 || numerator1 <= product) revert PriceOverflow();\n                assembly (\"memory-safe\") {\n                    if iszero(\n                        and(\n                            eq(div(product, amount), and(sqrtPX96, 0xffffffffffffffffffffffffffffffffffffffff)),\n                            gt(numerator1, product)\n                        )\n                    ) {\n                        mstore(0, 0xf5c787f1) // selector for PriceOverflow()\n                        revert(0x1c, 0x04)\n                    }\n                }\n                uint256 denominator = numerator1 - product;\n                return FullMath.mulDivRoundingUp(numerator1, sqrtPX96, denominator).toUint160();\n            }\n        }\n    }\n\n    /// @notice Gets the next sqrt price given a delta of currency1\n    /// @dev Always rounds down, because in the exact output case (decreasing price) we need to move the price at least\n    /// far enough to get the desired output amount, and in the exact input case (increasing price) we need to move the\n    /// price less in order to not send too much output.\n    /// The formula we compute is within <1 wei of the lossless version: sqrtPX96 +- amount / liquidity\n    /// @param sqrtPX96 The starting price, i.e., before accounting for the currency1 delta\n    /// @param liquidity The amount of usable liquidity\n    /// @param amount How much of currency1 to add, or remove, from virtual reserves\n    /// @param add Whether to add, or remove, the amount of currency1\n    /// @return The price after adding or removing `amount`\n    function getNextSqrtPriceFromAmount1RoundingDown(uint160 sqrtPX96, uint128 liquidity, uint256 amount, bool add)\n        internal\n        pure\n        returns (uint160)\n    {\n        // if we're adding (subtracting), rounding down requires rounding the quotient down (up)\n        // in both cases, avoid a mulDiv for most inputs\n        if (add) {\n            uint256 quotient = (\n                amount <= type(uint160).max\n                    ? (amount << FixedPoint96.RESOLUTION) / liquidity\n                    : FullMath.mulDiv(amount, FixedPoint96.Q96, liquidity)\n            );\n\n            return (uint256(sqrtPX96) + quotient).toUint160();\n        } else {\n            uint256 quotient = (\n                amount <= type(uint160).max\n                    ? UnsafeMath.divRoundingUp(amount << FixedPoint96.RESOLUTION, liquidity)\n                    : FullMath.mulDivRoundingUp(amount, FixedPoint96.Q96, liquidity)\n            );\n\n            // equivalent: if (sqrtPX96 <= quotient) revert NotEnoughLiquidity();\n            assembly (\"memory-safe\") {\n                if iszero(gt(and(sqrtPX96, 0xffffffffffffffffffffffffffffffffffffffff), quotient)) {\n                    mstore(0, 0x4323a555) // selector for NotEnoughLiquidity()\n                    revert(0x1c, 0x04)\n                }\n            }\n            // always fits 160 bits\n            unchecked {\n                return uint160(sqrtPX96 - quotient);\n            }\n        }\n    }\n\n    /// @notice Gets the next sqrt price given an input amount of currency0 or currency1\n    /// @dev Throws if price or liquidity are 0, or if the next price is out of bounds\n    /// @param sqrtPX96 The starting price, i.e., before accounting for the input amount\n    /// @param liquidity The amount of usable liquidity\n    /// @param amountIn How much of currency0, or currency1, is being swapped in\n    /// @param zeroForOne Whether the amount in is currency0 or currency1\n    /// @return uint160 The price after adding the input amount to currency0 or currency1\n    function getNextSqrtPriceFromInput(uint160 sqrtPX96, uint128 liquidity, uint256 amountIn, bool zeroForOne)\n        internal\n        pure\n        returns (uint160)\n    {\n        // equivalent: if (sqrtPX96 == 0 || liquidity == 0) revert InvalidPriceOrLiquidity();\n        assembly (\"memory-safe\") {\n            if or(\n                iszero(and(sqrtPX96, 0xffffffffffffffffffffffffffffffffffffffff)),\n                iszero(and(liquidity, 0xffffffffffffffffffffffffffffffff))\n            ) {\n                mstore(0, 0x4f2461b8) // selector for InvalidPriceOrLiquidity()\n                revert(0x1c, 0x04)\n            }\n        }\n\n        // round to make sure that we don't pass the target price\n        return zeroForOne\n            ? getNextSqrtPriceFromAmount0RoundingUp(sqrtPX96, liquidity, amountIn, true)\n            : getNextSqrtPriceFromAmount1RoundingDown(sqrtPX96, liquidity, amountIn, true);\n    }\n\n    /// @notice Gets the next sqrt price given an output amount of currency0 or currency1\n    /// @dev Throws if price or liquidity are 0 or the next price is out of bounds\n    /// @param sqrtPX96 The starting price before accounting for the output amount\n    /// @param liquidity The amount of usable liquidity\n    /// @param amountOut How much of currency0, or currency1, is being swapped out\n    /// @param zeroForOne Whether the amount out is currency1 or currency0\n    /// @return uint160 The price after removing the output amount of currency0 or currency1\n    function getNextSqrtPriceFromOutput(uint160 sqrtPX96, uint128 liquidity, uint256 amountOut, bool zeroForOne)\n        internal\n        pure\n        returns (uint160)\n    {\n        // equivalent: if (sqrtPX96 == 0 || liquidity == 0) revert InvalidPriceOrLiquidity();\n        assembly (\"memory-safe\") {\n            if or(\n                iszero(and(sqrtPX96, 0xffffffffffffffffffffffffffffffffffffffff)),\n                iszero(and(liquidity, 0xffffffffffffffffffffffffffffffff))\n            ) {\n                mstore(0, 0x4f2461b8) // selector for InvalidPriceOrLiquidity()\n                revert(0x1c, 0x04)\n            }\n        }\n\n        // round to make sure that we pass the target price\n        return zeroForOne\n            ? getNextSqrtPriceFromAmount1RoundingDown(sqrtPX96, liquidity, amountOut, false)\n            : getNextSqrtPriceFromAmount0RoundingUp(sqrtPX96, liquidity, amountOut, false);\n    }\n\n    /// @notice Gets the amount0 delta between two prices\n    /// @dev Calculates liquidity / sqrt(lower) - liquidity / sqrt(upper),\n    /// i.e. liquidity * (sqrt(upper) - sqrt(lower)) / (sqrt(upper) * sqrt(lower))\n    /// @param sqrtPriceAX96 A sqrt price\n    /// @param sqrtPriceBX96 Another sqrt price\n    /// @param liquidity The amount of usable liquidity\n    /// @param roundUp Whether to round the amount up or down\n    /// @return uint256 Amount of currency0 required to cover a position of size liquidity between the two passed prices\n    function getAmount0Delta(uint160 sqrtPriceAX96, uint160 sqrtPriceBX96, uint128 liquidity, bool roundUp)\n        internal\n        pure\n        returns (uint256)\n    {\n        unchecked {\n            if (sqrtPriceAX96 > sqrtPriceBX96) (sqrtPriceAX96, sqrtPriceBX96) = (sqrtPriceBX96, sqrtPriceAX96);\n\n            // equivalent: if (sqrtPriceAX96 == 0) revert InvalidPrice();\n            assembly (\"memory-safe\") {\n                if iszero(and(sqrtPriceAX96, 0xffffffffffffffffffffffffffffffffffffffff)) {\n                    mstore(0, 0x00bfc921) // selector for InvalidPrice()\n                    revert(0x1c, 0x04)\n                }\n            }\n\n            uint256 numerator1 = uint256(liquidity) << FixedPoint96.RESOLUTION;\n            uint256 numerator2 = sqrtPriceBX96 - sqrtPriceAX96;\n\n            return roundUp\n                ? UnsafeMath.divRoundingUp(FullMath.mulDivRoundingUp(numerator1, numerator2, sqrtPriceBX96), sqrtPriceAX96)\n                : FullMath.mulDiv(numerator1, numerator2, sqrtPriceBX96) / sqrtPriceAX96;\n        }\n    }\n\n    /// @notice Equivalent to: `a >= b ? a - b : b - a`\n    function absDiff(uint160 a, uint160 b) internal pure returns (uint256 res) {\n        assembly (\"memory-safe\") {\n            let diff :=\n                sub(and(a, 0xffffffffffffffffffffffffffffffffffffffff), and(b, 0xffffffffffffffffffffffffffffffffffffffff))\n            // mask = 0 if a >= b else -1 (all 1s)\n            let mask := sar(255, diff)\n            // if a >= b, res = a - b = 0 ^ (a - b)\n            // if a < b, res = b - a = ~~(b - a) = ~(-(b - a) - 1) = ~(a - b - 1) = (-1) ^ (a - b - 1)\n            // either way, res = mask ^ (a - b + mask)\n            res := xor(mask, add(mask, diff))\n        }\n    }\n\n    /// @notice Gets the amount1 delta between two prices\n    /// @dev Calculates liquidity * (sqrt(upper) - sqrt(lower))\n    /// @param sqrtPriceAX96 A sqrt price\n    /// @param sqrtPriceBX96 Another sqrt price\n    /// @param liquidity The amount of usable liquidity\n    /// @param roundUp Whether to round the amount up, or down\n    /// @return amount1 Amount of currency1 required to cover a position of size liquidity between the two passed prices\n    function getAmount1Delta(uint160 sqrtPriceAX96, uint160 sqrtPriceBX96, uint128 liquidity, bool roundUp)\n        internal\n        pure\n        returns (uint256 amount1)\n    {\n        uint256 numerator = absDiff(sqrtPriceAX96, sqrtPriceBX96);\n        uint256 denominator = FixedPoint96.Q96;\n        uint256 _liquidity = uint256(liquidity);\n\n        /**\n         * Equivalent to:\n         *   amount1 = roundUp\n         *       ? FullMath.mulDivRoundingUp(liquidity, sqrtPriceBX96 - sqrtPriceAX96, FixedPoint96.Q96)\n         *       : FullMath.mulDiv(liquidity, sqrtPriceBX96 - sqrtPriceAX96, FixedPoint96.Q96);\n         * Cannot overflow because `type(uint128).max * type(uint160).max >> 96 < (1 << 192)`.\n         */\n        amount1 = FullMath.mulDiv(_liquidity, numerator, denominator);\n        assembly (\"memory-safe\") {\n            amount1 := add(amount1, and(gt(mulmod(_liquidity, numerator, denominator), 0), roundUp))\n        }\n    }\n\n    /// @notice Helper that gets signed currency0 delta\n    /// @param sqrtPriceAX96 A sqrt price\n    /// @param sqrtPriceBX96 Another sqrt price\n    /// @param liquidity The change in liquidity for which to compute the amount0 delta\n    /// @return int256 Amount of currency0 corresponding to the passed liquidityDelta between the two prices\n    function getAmount0Delta(uint160 sqrtPriceAX96, uint160 sqrtPriceBX96, int128 liquidity)\n        internal\n        pure\n        returns (int256)\n    {\n        unchecked {\n            return liquidity < 0\n                ? getAmount0Delta(sqrtPriceAX96, sqrtPriceBX96, uint128(-liquidity), false).toInt256()\n                : -getAmount0Delta(sqrtPriceAX96, sqrtPriceBX96, uint128(liquidity), true).toInt256();\n        }\n    }\n\n    /// @notice Helper that gets signed currency1 delta\n    /// @param sqrtPriceAX96 A sqrt price\n    /// @param sqrtPriceBX96 Another sqrt price\n    /// @param liquidity The change in liquidity for which to compute the amount1 delta\n    /// @return int256 Amount of currency1 corresponding to the passed liquidityDelta between the two prices\n    function getAmount1Delta(uint160 sqrtPriceAX96, uint160 sqrtPriceBX96, int128 liquidity)\n        internal\n        pure\n        returns (int256)\n    {\n        unchecked {\n            return liquidity < 0\n                ? getAmount1Delta(sqrtPriceAX96, sqrtPriceBX96, uint128(-liquidity), false).toInt256()\n                : -getAmount1Delta(sqrtPriceAX96, sqrtPriceBX96, uint128(liquidity), true).toInt256();\n        }\n    }\n}\n","keccak256":"0xf8079fe6e3460db495451d06b1705e18f1c4075c1af96a31ad313545f7082982","license":"MIT"},"node_modules/@uniswap/v4-core/src/libraries/TickMath.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {BitMath} from \"./BitMath.sol\";\nimport {CustomRevert} from \"./CustomRevert.sol\";\n\n/// @title Math library for computing sqrt prices from ticks and vice versa\n/// @notice Computes sqrt price for ticks of size 1.0001, i.e. sqrt(1.0001^tick) as fixed point Q64.96 numbers. Supports\n/// prices between 2**-128 and 2**128\nlibrary TickMath {\n    using CustomRevert for bytes4;\n\n    /// @notice Thrown when the tick passed to #getSqrtPriceAtTick is not between MIN_TICK and MAX_TICK\n    error InvalidTick(int24 tick);\n    /// @notice Thrown when the price passed to #getTickAtSqrtPrice does not correspond to a price between MIN_TICK and MAX_TICK\n    error InvalidSqrtPrice(uint160 sqrtPriceX96);\n\n    /// @dev The minimum tick that may be passed to #getSqrtPriceAtTick computed from log base 1.0001 of 2**-128\n    /// @dev If ever MIN_TICK and MAX_TICK are not centered around 0, the absTick logic in getSqrtPriceAtTick cannot be used\n    int24 internal constant MIN_TICK = -887272;\n    /// @dev The maximum tick that may be passed to #getSqrtPriceAtTick computed from log base 1.0001 of 2**128\n    /// @dev If ever MIN_TICK and MAX_TICK are not centered around 0, the absTick logic in getSqrtPriceAtTick cannot be used\n    int24 internal constant MAX_TICK = 887272;\n\n    /// @dev The minimum tick spacing value drawn from the range of type int16 that is greater than 0, i.e. min from the range [1, 32767]\n    int24 internal constant MIN_TICK_SPACING = 1;\n    /// @dev The maximum tick spacing value drawn from the range of type int16, i.e. max from the range [1, 32767]\n    int24 internal constant MAX_TICK_SPACING = type(int16).max;\n\n    /// @dev The minimum value that can be returned from #getSqrtPriceAtTick. Equivalent to getSqrtPriceAtTick(MIN_TICK)\n    uint160 internal constant MIN_SQRT_PRICE = 4295128739;\n    /// @dev The maximum value that can be returned from #getSqrtPriceAtTick. Equivalent to getSqrtPriceAtTick(MAX_TICK)\n    uint160 internal constant MAX_SQRT_PRICE = 1461446703485210103287273052203988822378723970342;\n    /// @dev A threshold used for optimized bounds check, equals `MAX_SQRT_PRICE - MIN_SQRT_PRICE - 1`\n    uint160 internal constant MAX_SQRT_PRICE_MINUS_MIN_SQRT_PRICE_MINUS_ONE =\n        1461446703485210103287273052203988822378723970342 - 4295128739 - 1;\n\n    /// @notice Given a tickSpacing, compute the maximum usable tick\n    function maxUsableTick(int24 tickSpacing) internal pure returns (int24) {\n        unchecked {\n            return (MAX_TICK / tickSpacing) * tickSpacing;\n        }\n    }\n\n    /// @notice Given a tickSpacing, compute the minimum usable tick\n    function minUsableTick(int24 tickSpacing) internal pure returns (int24) {\n        unchecked {\n            return (MIN_TICK / tickSpacing) * tickSpacing;\n        }\n    }\n\n    /// @notice Calculates sqrt(1.0001^tick) * 2^96\n    /// @dev Throws if |tick| > max tick\n    /// @param tick The input tick for the above formula\n    /// @return sqrtPriceX96 A Fixed point Q64.96 number representing the sqrt of the price of the two assets (currency1/currency0)\n    /// at the given tick\n    function getSqrtPriceAtTick(int24 tick) internal pure returns (uint160 sqrtPriceX96) {\n        unchecked {\n            uint256 absTick;\n            assembly (\"memory-safe\") {\n                tick := signextend(2, tick)\n                // mask = 0 if tick >= 0 else -1 (all 1s)\n                let mask := sar(255, tick)\n                // if tick >= 0, |tick| = tick = 0 ^ tick\n                // if tick < 0, |tick| = ~~|tick| = ~(-|tick| - 1) = ~(tick - 1) = (-1) ^ (tick - 1)\n                // either way, |tick| = mask ^ (tick + mask)\n                absTick := xor(mask, add(mask, tick))\n            }\n\n            if (absTick > uint256(int256(MAX_TICK))) InvalidTick.selector.revertWith(tick);\n\n            // The tick is decomposed into bits, and for each bit with index i that is set, the product of 1/sqrt(1.0001^(2^i))\n            // is calculated (using Q128.128). The constants used for this calculation are rounded to the nearest integer\n\n            // Equivalent to:\n            //     price = absTick & 0x1 != 0 ? 0xfffcb933bd6fad37aa2d162d1a594001 : 0x100000000000000000000000000000000;\n            //     or price = int(2**128 / sqrt(1.0001)) if (absTick & 0x1) else 1 << 128\n            uint256 price;\n            assembly (\"memory-safe\") {\n                price := xor(shl(128, 1), mul(xor(shl(128, 1), 0xfffcb933bd6fad37aa2d162d1a594001), and(absTick, 0x1)))\n            }\n            if (absTick & 0x2 != 0) price = (price * 0xfff97272373d413259a46990580e213a) >> 128;\n            if (absTick & 0x4 != 0) price = (price * 0xfff2e50f5f656932ef12357cf3c7fdcc) >> 128;\n            if (absTick & 0x8 != 0) price = (price * 0xffe5caca7e10e4e61c3624eaa0941cd0) >> 128;\n            if (absTick & 0x10 != 0) price = (price * 0xffcb9843d60f6159c9db58835c926644) >> 128;\n            if (absTick & 0x20 != 0) price = (price * 0xff973b41fa98c081472e6896dfb254c0) >> 128;\n            if (absTick & 0x40 != 0) price = (price * 0xff2ea16466c96a3843ec78b326b52861) >> 128;\n            if (absTick & 0x80 != 0) price = (price * 0xfe5dee046a99a2a811c461f1969c3053) >> 128;\n            if (absTick & 0x100 != 0) price = (price * 0xfcbe86c7900a88aedcffc83b479aa3a4) >> 128;\n            if (absTick & 0x200 != 0) price = (price * 0xf987a7253ac413176f2b074cf7815e54) >> 128;\n            if (absTick & 0x400 != 0) price = (price * 0xf3392b0822b70005940c7a398e4b70f3) >> 128;\n            if (absTick & 0x800 != 0) price = (price * 0xe7159475a2c29b7443b29c7fa6e889d9) >> 128;\n            if (absTick & 0x1000 != 0) price = (price * 0xd097f3bdfd2022b8845ad8f792aa5825) >> 128;\n            if (absTick & 0x2000 != 0) price = (price * 0xa9f746462d870fdf8a65dc1f90e061e5) >> 128;\n            if (absTick & 0x4000 != 0) price = (price * 0x70d869a156d2a1b890bb3df62baf32f7) >> 128;\n            if (absTick & 0x8000 != 0) price = (price * 0x31be135f97d08fd981231505542fcfa6) >> 128;\n            if (absTick & 0x10000 != 0) price = (price * 0x9aa508b5b7a84e1c677de54f3e99bc9) >> 128;\n            if (absTick & 0x20000 != 0) price = (price * 0x5d6af8dedb81196699c329225ee604) >> 128;\n            if (absTick & 0x40000 != 0) price = (price * 0x2216e584f5fa1ea926041bedfe98) >> 128;\n            if (absTick & 0x80000 != 0) price = (price * 0x48a170391f7dc42444e8fa2) >> 128;\n\n            assembly (\"memory-safe\") {\n                // if (tick > 0) price = type(uint256).max / price;\n                if sgt(tick, 0) { price := div(not(0), price) }\n\n                // this divides by 1<<32 rounding up to go from a Q128.128 to a Q128.96.\n                // we then downcast because we know the result always fits within 160 bits due to our tick input constraint\n                // we round up in the division so getTickAtSqrtPrice of the output price is always consistent\n                // `sub(shl(32, 1), 1)` is `type(uint32).max`\n                // `price + type(uint32).max` will not overflow because `price` fits in 192 bits\n                sqrtPriceX96 := shr(32, add(price, sub(shl(32, 1), 1)))\n            }\n        }\n    }\n\n    /// @notice Calculates the greatest tick value such that getSqrtPriceAtTick(tick) <= sqrtPriceX96\n    /// @dev Throws in case sqrtPriceX96 < MIN_SQRT_PRICE, as MIN_SQRT_PRICE is the lowest value getSqrtPriceAtTick may\n    /// ever return.\n    /// @param sqrtPriceX96 The sqrt price for which to compute the tick as a Q64.96\n    /// @return tick The greatest tick for which the getSqrtPriceAtTick(tick) is less than or equal to the input sqrtPriceX96\n    function getTickAtSqrtPrice(uint160 sqrtPriceX96) internal pure returns (int24 tick) {\n        unchecked {\n            // Equivalent: if (sqrtPriceX96 < MIN_SQRT_PRICE || sqrtPriceX96 >= MAX_SQRT_PRICE) revert InvalidSqrtPrice();\n            // second inequality must be >= because the price can never reach the price at the max tick\n            // if sqrtPriceX96 < MIN_SQRT_PRICE, the `sub` underflows and `gt` is true\n            // if sqrtPriceX96 >= MAX_SQRT_PRICE, sqrtPriceX96 - MIN_SQRT_PRICE > MAX_SQRT_PRICE - MIN_SQRT_PRICE - 1\n            if ((sqrtPriceX96 - MIN_SQRT_PRICE) > MAX_SQRT_PRICE_MINUS_MIN_SQRT_PRICE_MINUS_ONE) {\n                InvalidSqrtPrice.selector.revertWith(sqrtPriceX96);\n            }\n\n            uint256 price = uint256(sqrtPriceX96) << 32;\n\n            uint256 r = price;\n            uint256 msb = BitMath.mostSignificantBit(r);\n\n            if (msb >= 128) r = price >> (msb - 127);\n            else r = price << (127 - msb);\n\n            int256 log_2 = (int256(msb) - 128) << 64;\n\n            assembly (\"memory-safe\") {\n                r := shr(127, mul(r, r))\n                let f := shr(128, r)\n                log_2 := or(log_2, shl(63, f))\n                r := shr(f, r)\n            }\n            assembly (\"memory-safe\") {\n                r := shr(127, mul(r, r))\n                let f := shr(128, r)\n                log_2 := or(log_2, shl(62, f))\n                r := shr(f, r)\n            }\n            assembly (\"memory-safe\") {\n                r := shr(127, mul(r, r))\n                let f := shr(128, r)\n                log_2 := or(log_2, shl(61, f))\n                r := shr(f, r)\n            }\n            assembly (\"memory-safe\") {\n                r := shr(127, mul(r, r))\n                let f := shr(128, r)\n                log_2 := or(log_2, shl(60, f))\n                r := shr(f, r)\n            }\n            assembly (\"memory-safe\") {\n                r := shr(127, mul(r, r))\n                let f := shr(128, r)\n                log_2 := or(log_2, shl(59, f))\n                r := shr(f, r)\n            }\n            assembly (\"memory-safe\") {\n                r := shr(127, mul(r, r))\n                let f := shr(128, r)\n                log_2 := or(log_2, shl(58, f))\n                r := shr(f, r)\n            }\n            assembly (\"memory-safe\") {\n                r := shr(127, mul(r, r))\n                let f := shr(128, r)\n                log_2 := or(log_2, shl(57, f))\n                r := shr(f, r)\n            }\n            assembly (\"memory-safe\") {\n                r := shr(127, mul(r, r))\n                let f := shr(128, r)\n                log_2 := or(log_2, shl(56, f))\n                r := shr(f, r)\n            }\n            assembly (\"memory-safe\") {\n                r := shr(127, mul(r, r))\n                let f := shr(128, r)\n                log_2 := or(log_2, shl(55, f))\n                r := shr(f, r)\n            }\n            assembly (\"memory-safe\") {\n                r := shr(127, mul(r, r))\n                let f := shr(128, r)\n                log_2 := or(log_2, shl(54, f))\n                r := shr(f, r)\n            }\n            assembly (\"memory-safe\") {\n                r := shr(127, mul(r, r))\n                let f := shr(128, r)\n                log_2 := or(log_2, shl(53, f))\n                r := shr(f, r)\n            }\n            assembly (\"memory-safe\") {\n                r := shr(127, mul(r, r))\n                let f := shr(128, r)\n                log_2 := or(log_2, shl(52, f))\n                r := shr(f, r)\n            }\n            assembly (\"memory-safe\") {\n                r := shr(127, mul(r, r))\n                let f := shr(128, r)\n                log_2 := or(log_2, shl(51, f))\n                r := shr(f, r)\n            }\n            assembly (\"memory-safe\") {\n                r := shr(127, mul(r, r))\n                let f := shr(128, r)\n                log_2 := or(log_2, shl(50, f))\n            }\n\n            int256 log_sqrt10001 = log_2 * 255738958999603826347141; // Q22.128 number\n\n            // Magic number represents the ceiling of the maximum value of the error when approximating log_sqrt10001(x)\n            int24 tickLow = int24((log_sqrt10001 - 3402992956809132418596140100660247210) >> 128);\n\n            // Magic number represents the minimum value of the error when approximating log_sqrt10001(x), when\n            // sqrtPrice is from the range (2^-64, 2^64). This is safe as MIN_SQRT_PRICE is more than 2^-64. If MIN_SQRT_PRICE\n            // is changed, this may need to be changed too\n            int24 tickHi = int24((log_sqrt10001 + 291339464771989622907027621153398088495) >> 128);\n\n            tick = tickLow == tickHi ? tickLow : getSqrtPriceAtTick(tickHi) <= sqrtPriceX96 ? tickHi : tickLow;\n        }\n    }\n}\n","keccak256":"0x4e1a11e154eb06106cb1c4598f06cca5f5ca16eaa33494ba2f0e74981123eca8","license":"MIT"},"node_modules/@uniswap/v4-core/src/libraries/UnsafeMath.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/// @title Math functions that do not check inputs or outputs\n/// @notice Contains methods that perform common math functions but do not do any overflow or underflow checks\nlibrary UnsafeMath {\n    /// @notice Returns ceil(x / y)\n    /// @dev division by 0 will return 0, and should be checked externally\n    /// @param x The dividend\n    /// @param y The divisor\n    /// @return z The quotient, ceil(x / y)\n    function divRoundingUp(uint256 x, uint256 y) internal pure returns (uint256 z) {\n        assembly (\"memory-safe\") {\n            z := add(div(x, y), gt(mod(x, y), 0))\n        }\n    }\n\n    /// @notice Calculates floor(a×b÷denominator)\n    /// @dev division by 0 will return 0, and should be checked externally\n    /// @param a The multiplicand\n    /// @param b The multiplier\n    /// @param denominator The divisor\n    /// @return result The 256-bit result, floor(a×b÷denominator)\n    function simpleMulDiv(uint256 a, uint256 b, uint256 denominator) internal pure returns (uint256 result) {\n        assembly (\"memory-safe\") {\n            result := div(mul(a, b), denominator)\n        }\n    }\n}\n","keccak256":"0xa6e55e0a43a15df2df471d9972cd48f613d07c663ecb8bbeaf7623f6f99bcce4","license":"MIT"},"node_modules/@uniswap/v4-periphery/lib/permit2/src/interfaces/IAllowanceTransfer.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {IEIP712} from \"./IEIP712.sol\";\n\n/// @title AllowanceTransfer\n/// @notice Handles ERC20 token permissions through signature based allowance setting and ERC20 token transfers by checking allowed amounts\n/// @dev Requires user's token approval on the Permit2 contract\ninterface IAllowanceTransfer is IEIP712 {\n    /// @notice Thrown when an allowance on a token has expired.\n    /// @param deadline The timestamp at which the allowed amount is no longer valid\n    error AllowanceExpired(uint256 deadline);\n\n    /// @notice Thrown when an allowance on a token has been depleted.\n    /// @param amount The maximum amount allowed\n    error InsufficientAllowance(uint256 amount);\n\n    /// @notice Thrown when too many nonces are invalidated.\n    error ExcessiveInvalidation();\n\n    /// @notice Emits an event when the owner successfully invalidates an ordered nonce.\n    event NonceInvalidation(\n        address indexed owner, address indexed token, address indexed spender, uint48 newNonce, uint48 oldNonce\n    );\n\n    /// @notice Emits an event when the owner successfully sets permissions on a token for the spender.\n    event Approval(\n        address indexed owner, address indexed token, address indexed spender, uint160 amount, uint48 expiration\n    );\n\n    /// @notice Emits an event when the owner successfully sets permissions using a permit signature on a token for the spender.\n    event Permit(\n        address indexed owner,\n        address indexed token,\n        address indexed spender,\n        uint160 amount,\n        uint48 expiration,\n        uint48 nonce\n    );\n\n    /// @notice Emits an event when the owner sets the allowance back to 0 with the lockdown function.\n    event Lockdown(address indexed owner, address token, address spender);\n\n    /// @notice The permit data for a token\n    struct PermitDetails {\n        // ERC20 token address\n        address token;\n        // the maximum amount allowed to spend\n        uint160 amount;\n        // timestamp at which a spender's token allowances become invalid\n        uint48 expiration;\n        // an incrementing value indexed per owner,token,and spender for each signature\n        uint48 nonce;\n    }\n\n    /// @notice The permit message signed for a single token allowance\n    struct PermitSingle {\n        // the permit data for a single token alownce\n        PermitDetails details;\n        // address permissioned on the allowed tokens\n        address spender;\n        // deadline on the permit signature\n        uint256 sigDeadline;\n    }\n\n    /// @notice The permit message signed for multiple token allowances\n    struct PermitBatch {\n        // the permit data for multiple token allowances\n        PermitDetails[] details;\n        // address permissioned on the allowed tokens\n        address spender;\n        // deadline on the permit signature\n        uint256 sigDeadline;\n    }\n\n    /// @notice The saved permissions\n    /// @dev This info is saved per owner, per token, per spender and all signed over in the permit message\n    /// @dev Setting amount to type(uint160).max sets an unlimited approval\n    struct PackedAllowance {\n        // amount allowed\n        uint160 amount;\n        // permission expiry\n        uint48 expiration;\n        // an incrementing value indexed per owner,token,and spender for each signature\n        uint48 nonce;\n    }\n\n    /// @notice A token spender pair.\n    struct TokenSpenderPair {\n        // the token the spender is approved\n        address token;\n        // the spender address\n        address spender;\n    }\n\n    /// @notice Details for a token transfer.\n    struct AllowanceTransferDetails {\n        // the owner of the token\n        address from;\n        // the recipient of the token\n        address to;\n        // the amount of the token\n        uint160 amount;\n        // the token to be transferred\n        address token;\n    }\n\n    /// @notice A mapping from owner address to token address to spender address to PackedAllowance struct, which contains details and conditions of the approval.\n    /// @notice The mapping is indexed in the above order see: allowance[ownerAddress][tokenAddress][spenderAddress]\n    /// @dev The packed slot holds the allowed amount, expiration at which the allowed amount is no longer valid, and current nonce thats updated on any signature based approvals.\n    function allowance(address user, address token, address spender)\n        external\n        view\n        returns (uint160 amount, uint48 expiration, uint48 nonce);\n\n    /// @notice Approves the spender to use up to amount of the specified token up until the expiration\n    /// @param token The token to approve\n    /// @param spender The spender address to approve\n    /// @param amount The approved amount of the token\n    /// @param expiration The timestamp at which the approval is no longer valid\n    /// @dev The packed allowance also holds a nonce, which will stay unchanged in approve\n    /// @dev Setting amount to type(uint160).max sets an unlimited approval\n    function approve(address token, address spender, uint160 amount, uint48 expiration) external;\n\n    /// @notice Permit a spender to a given amount of the owners token via the owner's EIP-712 signature\n    /// @dev May fail if the owner's nonce was invalidated in-flight by invalidateNonce\n    /// @param owner The owner of the tokens being approved\n    /// @param permitSingle Data signed over by the owner specifying the terms of approval\n    /// @param signature The owner's signature over the permit data\n    function permit(address owner, PermitSingle memory permitSingle, bytes calldata signature) external;\n\n    /// @notice Permit a spender to the signed amounts of the owners tokens via the owner's EIP-712 signature\n    /// @dev May fail if the owner's nonce was invalidated in-flight by invalidateNonce\n    /// @param owner The owner of the tokens being approved\n    /// @param permitBatch Data signed over by the owner specifying the terms of approval\n    /// @param signature The owner's signature over the permit data\n    function permit(address owner, PermitBatch memory permitBatch, bytes calldata signature) external;\n\n    /// @notice Transfer approved tokens from one address to another\n    /// @param from The address to transfer from\n    /// @param to The address of the recipient\n    /// @param amount The amount of the token to transfer\n    /// @param token The token address to transfer\n    /// @dev Requires the from address to have approved at least the desired amount\n    /// of tokens to msg.sender.\n    function transferFrom(address from, address to, uint160 amount, address token) external;\n\n    /// @notice Transfer approved tokens in a batch\n    /// @param transferDetails Array of owners, recipients, amounts, and tokens for the transfers\n    /// @dev Requires the from addresses to have approved at least the desired amount\n    /// of tokens to msg.sender.\n    function transferFrom(AllowanceTransferDetails[] calldata transferDetails) external;\n\n    /// @notice Enables performing a \"lockdown\" of the sender's Permit2 identity\n    /// by batch revoking approvals\n    /// @param approvals Array of approvals to revoke.\n    function lockdown(TokenSpenderPair[] calldata approvals) external;\n\n    /// @notice Invalidate nonces for a given (token, spender) pair\n    /// @param token The token to invalidate nonces for\n    /// @param spender The spender to invalidate nonces for\n    /// @param newNonce The new nonce to set. Invalidates all nonces less than it.\n    /// @dev Can't invalidate more than 2**16 nonces per transaction.\n    function invalidateNonces(address token, address spender, uint48 newNonce) external;\n}\n","keccak256":"0x37f0ac203b6ef605c9533e1a739477e8e9dcea90710b40e645a367f8a21ace29","license":"MIT"},"node_modules/@uniswap/v4-periphery/lib/permit2/src/interfaces/IEIP712.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\ninterface IEIP712 {\n    function DOMAIN_SEPARATOR() external view returns (bytes32);\n}\n","keccak256":"0xfdccf2b9639070803cd0e4198427fb0df3cc452ca59bd3b8a0d957a9a4254138","license":"MIT"},"node_modules/@uniswap/v4-periphery/src/libraries/LiquidityAmounts.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {FullMath} from \"@uniswap/v4-core/src/libraries/FullMath.sol\";\nimport {FixedPoint96} from \"@uniswap/v4-core/src/libraries/FixedPoint96.sol\";\nimport {SafeCast} from \"@uniswap/v4-core/src/libraries/SafeCast.sol\";\n\n/// @notice Provides functions for computing liquidity amounts from token amounts and prices\nlibrary LiquidityAmounts {\n    using SafeCast for uint256;\n\n    /// @notice Computes the amount of liquidity received for a given amount of token0 and price range\n    /// @dev Calculates amount0 * (sqrt(upper) * sqrt(lower)) / (sqrt(upper) - sqrt(lower))\n    /// @param sqrtPriceAX96 A sqrt price representing the first tick boundary\n    /// @param sqrtPriceBX96 A sqrt price representing the second tick boundary\n    /// @param amount0 The amount0 being sent in\n    /// @return liquidity The amount of returned liquidity\n    function getLiquidityForAmount0(uint160 sqrtPriceAX96, uint160 sqrtPriceBX96, uint256 amount0)\n        internal\n        pure\n        returns (uint128 liquidity)\n    {\n        unchecked {\n            if (sqrtPriceAX96 > sqrtPriceBX96) (sqrtPriceAX96, sqrtPriceBX96) = (sqrtPriceBX96, sqrtPriceAX96);\n            uint256 intermediate = FullMath.mulDiv(sqrtPriceAX96, sqrtPriceBX96, FixedPoint96.Q96);\n            return FullMath.mulDiv(amount0, intermediate, sqrtPriceBX96 - sqrtPriceAX96).toUint128();\n        }\n    }\n\n    /// @notice Computes the amount of liquidity received for a given amount of token1 and price range\n    /// @dev Calculates amount1 / (sqrt(upper) - sqrt(lower)).\n    /// @param sqrtPriceAX96 A sqrt price representing the first tick boundary\n    /// @param sqrtPriceBX96 A sqrt price representing the second tick boundary\n    /// @param amount1 The amount1 being sent in\n    /// @return liquidity The amount of returned liquidity\n    function getLiquidityForAmount1(uint160 sqrtPriceAX96, uint160 sqrtPriceBX96, uint256 amount1)\n        internal\n        pure\n        returns (uint128 liquidity)\n    {\n        unchecked {\n            if (sqrtPriceAX96 > sqrtPriceBX96) (sqrtPriceAX96, sqrtPriceBX96) = (sqrtPriceBX96, sqrtPriceAX96);\n            return FullMath.mulDiv(amount1, FixedPoint96.Q96, sqrtPriceBX96 - sqrtPriceAX96).toUint128();\n        }\n    }\n\n    /// @notice Computes the maximum amount of liquidity received for a given amount of token0, token1, the current\n    /// pool prices and the prices at the tick boundaries\n    /// @param sqrtPriceX96 A sqrt price representing the current pool prices\n    /// @param sqrtPriceAX96 A sqrt price representing the first tick boundary\n    /// @param sqrtPriceBX96 A sqrt price representing the second tick boundary\n    /// @param amount0 The amount of token0 being sent in\n    /// @param amount1 The amount of token1 being sent in\n    /// @return liquidity The maximum amount of liquidity received\n    function getLiquidityForAmounts(\n        uint160 sqrtPriceX96,\n        uint160 sqrtPriceAX96,\n        uint160 sqrtPriceBX96,\n        uint256 amount0,\n        uint256 amount1\n    ) internal pure returns (uint128 liquidity) {\n        if (sqrtPriceAX96 > sqrtPriceBX96) (sqrtPriceAX96, sqrtPriceBX96) = (sqrtPriceBX96, sqrtPriceAX96);\n\n        if (sqrtPriceX96 <= sqrtPriceAX96) {\n            liquidity = getLiquidityForAmount0(sqrtPriceAX96, sqrtPriceBX96, amount0);\n        } else if (sqrtPriceX96 < sqrtPriceBX96) {\n            uint128 liquidity0 = getLiquidityForAmount0(sqrtPriceX96, sqrtPriceBX96, amount0);\n            uint128 liquidity1 = getLiquidityForAmount1(sqrtPriceAX96, sqrtPriceX96, amount1);\n\n            liquidity = liquidity0 < liquidity1 ? liquidity0 : liquidity1;\n        } else {\n            liquidity = getLiquidityForAmount1(sqrtPriceAX96, sqrtPriceBX96, amount1);\n        }\n    }\n}\n","keccak256":"0x8ea74b89831877ffe657f8461164a01a6f3c7e46f415410854fca8d28a8cab53","license":"MIT"}},"version":1},"storageLayout":{"types":{"t_bool":{"label":"bool","encoding":"inplace","numberOfBytes":"1"},"t_int24":{"label":"int24","encoding":"inplace","numberOfBytes":"3"},"t_uint8":{"label":"uint8","encoding":"inplace","numberOfBytes":"1"},"t_uint32":{"label":"uint32","encoding":"inplace","numberOfBytes":"4"},"t_uint64":{"label":"uint64","encoding":"inplace","numberOfBytes":"8"},"t_address":{"label":"address","encoding":"inplace","numberOfBytes":"20"},"t_bytes32":{"label":"bytes32","encoding":"inplace","numberOfBytes":"32"},"t_uint256":{"label":"uint256","encoding":"inplace","numberOfBytes":"32"},"t_array(t_uint64)24_storage":{"base":"t_uint64","label":"uint64[24]","encoding":"inplace","numberOfBytes":"192"},"t_mapping(t_address,t_bool)":{"key":"t_address","label":"mapping(address => bool)","value":"t_bool","encoding":"mapping","numberOfBytes":"32"},"t_mapping(t_bytes32,t_bool)":{"key":"t_bytes32","label":"mapping(bytes32 => bool)","value":"t_bool","encoding":"mapping","numberOfBytes":"32"},"t_array(t_uint256)24_storage":{"base":"t_uint256","label":"uint256[24]","encoding":"inplace","numberOfBytes":"768"},"t_array(t_uint256)45_storage":{"base":"t_uint256","label":"uint256[45]","encoding":"inplace","numberOfBytes":"1440"},"t_mapping(t_address,t_uint8)":{"key":"t_address","label":"mapping(address => uint8)","value":"t_uint8","encoding":"mapping","numberOfBytes":"32"}},"storage":[{"slot":"0","type":"t_bool","astId":4496,"label":"upgradeabilityFrozen","offset":0,"contract":"ALMCoreUpgradeable.sol:ALMCoreUpgradeable"},{"slot":"0","type":"t_address","astId":4501,"label":"v3Factory","offset":1,"contract":"ALMCoreUpgradeable.sol:ALMCoreUpgradeable"},{"slot":"1","type":"t_address","astId":4503,"label":"nfpm","offset":0,"contract":"ALMCoreUpgradeable.sol:ALMCoreUpgradeable"},{"slot":"2","type":"t_address","astId":4505,"label":"router","offset":0,"contract":"ALMCoreUpgradeable.sol:ALMCoreUpgradeable"},{"slot":"3","type":"t_address","astId":4507,"label":"quoterV2","offset":0,"contract":"ALMCoreUpgradeable.sol:ALMCoreUpgradeable"},{"slot":"4","type":"t_address","astId":4509,"label":"v4PositionManager","offset":0,"contract":"ALMCoreUpgradeable.sol:ALMCoreUpgradeable"},{"slot":"5","type":"t_address","astId":4511,"label":"kyberRouter","offset":0,"contract":"ALMCoreUpgradeable.sol:ALMCoreUpgradeable"},{"slot":"6","type":"t_address","astId":4513,"label":"baseToken","offset":0,"contract":"ALMCoreUpgradeable.sol:ALMCoreUpgradeable"},{"slot":"7","type":"t_address","astId":4515,"label":"v4StateView","offset":0,"contract":"ALMCoreUpgradeable.sol:ALMCoreUpgradeable"},{"slot":"8","type":"t_address","astId":4517,"label":"permit2","offset":0,"contract":"ALMCoreUpgradeable.sol:ALMCoreUpgradeable"},{"slot":"9","type":"t_address","astId":4519,"label":"v3Module","offset":0,"contract":"ALMCoreUpgradeable.sol:ALMCoreUpgradeable"},{"slot":"10","type":"t_address","astId":4521,"label":"v4Module","offset":0,"contract":"ALMCoreUpgradeable.sol:ALMCoreUpgradeable"},{"slot":"11","type":"t_uint256","astId":4523,"label":"defaultDeadlineSec","offset":0,"contract":"ALMCoreUpgradeable.sol:ALMCoreUpgradeable"},{"slot":"12","type":"t_uint256","astId":4525,"label":"slippageBpsMax","offset":0,"contract":"ALMCoreUpgradeable.sol:ALMCoreUpgradeable"},{"slot":"13","type":"t_uint256","astId":4527,"label":"swapLossBpsMax","offset":0,"contract":"ALMCoreUpgradeable.sol:ALMCoreUpgradeable"},{"slot":"14","type":"t_uint32","astId":4529,"label":"twapWindowSec","offset":0,"contract":"ALMCoreUpgradeable.sol:ALMCoreUpgradeable"},{"slot":"14","type":"t_int24","astId":4531,"label":"twapMaxTickDiff","offset":4,"contract":"ALMCoreUpgradeable.sol:ALMCoreUpgradeable"},{"slot":"15","type":"t_mapping(t_address,t_bool)","astId":4535,"label":"isExecutor","offset":0,"contract":"ALMCoreUpgradeable.sol:ALMCoreUpgradeable"},{"slot":"16","type":"t_mapping(t_address,t_bool)","astId":4539,"label":"isTokenAllowed","offset":0,"contract":"ALMCoreUpgradeable.sol:ALMCoreUpgradeable"},{"slot":"17","type":"t_mapping(t_address,t_bool)","astId":4543,"label":"isTokenBlocked","offset":0,"contract":"ALMCoreUpgradeable.sol:ALMCoreUpgradeable"},{"slot":"18","type":"t_mapping(t_address,t_uint8)","astId":4547,"label":"stableTokenDecimals","offset":0,"contract":"ALMCoreUpgradeable.sol:ALMCoreUpgradeable"},{"slot":"19","type":"t_uint256","astId":4549,"label":"slippageBpsMaxX100","offset":0,"contract":"ALMCoreUpgradeable.sol:ALMCoreUpgradeable"},{"slot":"20","type":"t_uint256","astId":4551,"label":"swapLossBpsMaxX100","offset":0,"contract":"ALMCoreUpgradeable.sol:ALMCoreUpgradeable"},{"slot":"21","type":"t_bool","astId":4553,"label":"fineBpsParamsEnabled","offset":0,"contract":"ALMCoreUpgradeable.sol:ALMCoreUpgradeable"},{"slot":"22","type":"t_uint256","astId":4555,"label":"v4StablePriceMinX18","offset":0,"contract":"ALMCoreUpgradeable.sol:ALMCoreUpgradeable"},{"slot":"23","type":"t_uint256","astId":4557,"label":"v4StablePriceMaxX18","offset":0,"contract":"ALMCoreUpgradeable.sol:ALMCoreUpgradeable"},{"slot":"24","type":"t_uint256","astId":4559,"label":"executorRiskCapitalNormalized","offset":0,"contract":"ALMCoreUpgradeable.sol:ALMCoreUpgradeable"},{"slot":"25","type":"t_uint256","astId":4561,"label":"executorLossCapBpsX100","offset":0,"contract":"ALMCoreUpgradeable.sol:ALMCoreUpgradeable"},{"slot":"26","type":"t_bool","astId":4563,"label":"executorLossBudgetEnabled","offset":0,"contract":"ALMCoreUpgradeable.sol:ALMCoreUpgradeable"},{"slot":"27","type":"t_array(t_uint64)24_storage","astId":4567,"label":"executorLossBucketHours","offset":0,"contract":"ALMCoreUpgradeable.sol:ALMCoreUpgradeable"},{"slot":"33","type":"t_array(t_uint256)24_storage","astId":4571,"label":"executorLossBucketAmounts","offset":0,"contract":"ALMCoreUpgradeable.sol:ALMCoreUpgradeable"},{"slot":"57","type":"t_address","astId":4573,"label":"flyRouter","offset":0,"contract":"ALMCoreUpgradeable.sol:ALMCoreUpgradeable"},{"slot":"58","type":"t_address","astId":4575,"label":"veloraRouter","offset":0,"contract":"ALMCoreUpgradeable.sol:ALMCoreUpgradeable"},{"slot":"59","type":"t_address","astId":4578,"label":"swapModule","offset":0,"contract":"ALMCoreUpgradeable.sol:ALMCoreUpgradeable"},{"slot":"60","type":"t_mapping(t_address,t_bool)","astId":4583,"label":"isV4HookAllowed","offset":0,"contract":"ALMCoreUpgradeable.sol:ALMCoreUpgradeable"},{"slot":"61","type":"t_mapping(t_bytes32,t_bool)","astId":4588,"label":"isPoolAllowed","offset":0,"contract":"ALMCoreUpgradeable.sol:ALMCoreUpgradeable"},{"slot":"62","type":"t_bool","astId":4591,"label":"poolAllowlistEnforced","offset":0,"contract":"ALMCoreUpgradeable.sol:ALMCoreUpgradeable"},{"slot":"63","type":"t_array(t_uint256)45_storage","astId":4595,"label":"__gap","offset":0,"contract":"ALMCoreUpgradeable.sol:ALMCoreUpgradeable"}]},"transientStorageLayout":{"types":null,"storage":[]},"userdoc":{"kind":"user","methods":{"execSwap(bytes)":{"notice":"Velora / Fly guarded swaps, delegatecalled into `swapModule`."},"setPoolAllowed(bytes32,bool)":{"notice":"Allow (or stop allowing) NEW executor positions in a pool. Key: V4 poolId, or the V3 pool address left-padded to bytes32. De-listing never traps capital: exits are not gated."},"setV4HookAllowed(address,bool)":{"notice":"Allow (or stop allowing) NEW V4 positions in pools using `hook`. De-listing never traps capital: exits (decrease/collect/burn) are not gated by this list."},"setPoolAllowlist(bytes32[],bool)":{"notice":"Seed the allowlist and set the enforcement flag in ONE call, so a redeploy never leaves the flag on over an empty list."}},"version":1},"devdoc":{"kind":"dev","errors":{"FailedCall()":[{"details":"A call to an address target failed. The target may have reverted."}],"EnforcedPause()":[{"details":"The operation failed because the contract is paused."}],"ExpectedPause()":[{"details":"The operation failed because the contract is not paused."}],"NotInitializing()":[{"details":"The contract is not initializing."}],"ERC1967NonPayable()":[{"details":"An upgrade function sees `msg.value > 0` that may be lost."}],"InvalidInitialization()":[{"details":"The contract is already initialized."}],"AddressEmptyCode(address)":[{"details":"There's no code at `target` (it is not a contract)."}],"OwnableInvalidOwner(address)":[{"details":"The owner is not a valid owner account. (eg. `address(0)`)"}],"UUPSUnauthorizedCallContext()":[{"details":"The call is from an unauthorized context."}],"ReentrancyGuardReentrantCall()":[{"details":"Unauthorized reentrant call."}],"SafeERC20FailedOperation(address)":[{"details":"An operation with an ERC-20 token failed."}],"OwnableUnauthorizedAccount(address)":[{"details":"The caller account is not authorized to perform an operation."}],"ERC1967InvalidImplementation(address)":[{"details":"The `implementation` of the proxy is invalid."}],"UUPSUnsupportedProxiableUUID(bytes32)":[{"details":"The storage `slot` is unsupported as a UUID."}]},"events":{"Paused(address)":{"details":"Emitted when the pause is triggered by `account`."},"Unpaused(address)":{"details":"Emitted when the pause is lifted by `account`."},"Upgraded(address)":{"details":"Emitted when the implementation is upgraded."},"Initialized(uint64)":{"details":"Triggered when the contract has been initialized or reinitialized."}},"methods":{"owner()":{"details":"Returns the address of the current owner."},"paused()":{"details":"Returns true if the contract is paused, and false otherwise."},"pendingOwner()":{"details":"Returns the address of the pending owner."},"execSwap(bytes)":{"details":"Only the two `IALMSwapModule` swap selectors pass, for EVERY caller (owner included). The module's revert data is bubbled RAW: offchain error decoding and the Velora `EnforcedPause` attribution read it byte-for-byte. `whenNotPaused` stays on this entry."},"proxiableUUID()":{"details":"Implementation of the ERC-1822 {proxiableUUID} function. This returns the storage slot used by the implementation. It is used to validate the implementation's compatibility when performing an upgrade. IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this function revert if invoked through a proxy. This is guaranteed by the `notDelegated` modifier."},"acceptOwnership()":{"details":"The new owner accepts the ownership transfer."},"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."},"setSwapModule(address)":{"details":"Upgrades set it atomically: `upgradeToAndCall(newImpl, abi.encodeCall(setSwapModule, (m)))`."},"transferOwnership(address)":{"details":"Starts the ownership transfer of the contract to a new account. Replaces the pending transfer if there is one. Can only be called by the current owner. Setting `newOwner` to the zero address is allowed; this can be used to cancel an initiated ownership transfer."},"setPoolAllowlistEnforced(bool)":{"details":"Enforced with an empty list denies every executor entry (owner entries stay exempt)."},"setV4HookAllowed(address,bool)":{"details":"Enabling refuses a hook whose address carries remove-liquidity or *_RETURNS_DELTA bits."},"upgradeToAndCall(address,bytes)":{"details":"Upgrade the implementation of the proxy to `newImplementation`, and subsequently execute the function call encoded in `data`. Calls {_authorizeUpgrade}. Emits an {Upgraded} event."}},"version":1},"sourceIds":{"ALMShared.sol":{"id":1},"ALMCoreUpgradeable.sol":{"id":0},"interfaces/IMetaAggregationRouterV2.sol":{"id":4},"node_modules/@openzeppelin/contracts/utils/Errors.sol":{"id":24},"node_modules/@openzeppelin/contracts/utils/Address.sol":{"id":23},"node_modules/@uniswap/v4-core/src/libraries/BitMath.sol":{"id":37},"node_modules/@uniswap/v4-core/src/libraries/FullMath.sol":{"id":40},"node_modules/@uniswap/v4-core/src/libraries/SafeCast.sol":{"id":41},"node_modules/@uniswap/v4-core/src/libraries/TickMath.sol":{"id":43},"node_modules/@openzeppelin/contracts/interfaces/IERC20.sol":{"id":13},"node_modules/@openzeppelin/contracts/utils/StorageSlot.sol":{"id":27},"node_modules/@uniswap/v4-core/src/libraries/UnsafeMath.sol":{"id":44},"node_modules/@openzeppelin/contracts/interfaces/IERC165.sol":{"id":11},"node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol":{"id":19},"node_modules/@openzeppelin/contracts/utils/LowLevelCall.sol":{"id":25},"node_modules/@openzeppelin/contracts/interfaces/IERC1363.sol":{"id":10},"node_modules/@openzeppelin/contracts/interfaces/IERC1967.sol":{"id":12},"node_modules/@uniswap/v4-core/src/libraries/CustomRevert.sol":{"id":38},"node_modules/@uniswap/v4-core/src/libraries/FixedPoint96.sol":{"id":39},"node_modules/@openzeppelin/contracts/proxy/beacon/IBeacon.sol":{"id":16},"node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol":{"id":21},"node_modules/@uniswap/v4-core/src/libraries/SqrtPriceMath.sol":{"id":42},"node_modules/@openzeppelin/contracts/utils/ReentrancyGuard.sol":{"id":26},"node_modules/@openzeppelin/contracts/interfaces/draft-IERC1822.sol":{"id":14},"node_modules/@openzeppelin/contracts/proxy/utils/Initializable.sol":{"id":17},"node_modules/@openzeppelin/contracts/proxy/ERC1967/ERC1967Utils.sol":{"id":15},"node_modules/@openzeppelin/contracts/proxy/utils/UUPSUpgradeable.sol":{"id":18},"node_modules/@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol":{"id":20},"node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol":{"id":28},"node_modules/@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol":{"id":22},"node_modules/@uniswap/v3-core/contracts/interfaces/IUniswapV3Pool.sol":{"id":30},"node_modules/@uniswap/v4-periphery/src/libraries/LiquidityAmounts.sol":{"id":47},"node_modules/@uniswap/v3-core/contracts/interfaces/IUniswapV3Factory.sol":{"id":29},"node_modules/@uniswap/v4-periphery/lib/permit2/src/interfaces/IEIP712.sol":{"id":46},"node_modules/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol":{"id":8},"node_modules/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol":{"id":6},"node_modules/@openzeppelin/contracts-upgradeable/utils/PausableUpgradeable.sol":{"id":9},"node_modules/@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolState.sol":{"id":36},"node_modules/@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.sol":{"id":7},"node_modules/@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolEvents.sol":{"id":33},"node_modules/@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolActions.sol":{"id":31},"node_modules/@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable.sol":{"id":5},"node_modules/@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolImmutables.sol":{"id":34},"node_modules/@uniswap/v4-periphery/lib/permit2/src/interfaces/IAllowanceTransfer.sol":{"id":45},"node_modules/@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolDerivedState.sol":{"id":32},"node_modules/@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolOwnerActions.sol":{"id":35}},"additionalInput":null,"stdJsonInput":{"sources":{"ALMShared.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity =0.8.35;\n\nimport {IERC20} from \"@openzeppelin/contracts/token/ERC20/IERC20.sol\";\nimport {SafeERC20} from \"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\";\nimport {IERC721} from \"@openzeppelin/contracts/token/ERC721/IERC721.sol\";\nimport {IERC721Receiver} from \"@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\";\nimport {IERC165} from \"@openzeppelin/contracts/utils/introspection/IERC165.sol\";\nimport {IUniswapV3Factory} from \"@uniswap/v3-core/contracts/interfaces/IUniswapV3Factory.sol\";\nimport {IUniswapV3Pool} from \"@uniswap/v3-core/contracts/interfaces/IUniswapV3Pool.sol\";\nimport {IAllowanceTransfer} from \"@uniswap/v4-periphery/lib/permit2/src/interfaces/IAllowanceTransfer.sol\";\nimport {FullMath} from \"@uniswap/v4-core/src/libraries/FullMath.sol\";\nimport {FixedPoint96} from \"@uniswap/v4-core/src/libraries/FixedPoint96.sol\";\nimport {SafeCast as V4SafeCast} from \"@uniswap/v4-core/src/libraries/SafeCast.sol\";\nimport {TickMath} from \"@uniswap/v4-core/src/libraries/TickMath.sol\";\nimport {SqrtPriceMath} from \"@uniswap/v4-core/src/libraries/SqrtPriceMath.sol\";\nimport {LiquidityAmounts} from \"@uniswap/v4-periphery/src/libraries/LiquidityAmounts.sol\";\n\n/* ========= Shared errors ========= */\nerror NotExecutorOrOwner();\nerror ZeroAddr();\nerror PoolNA();\nerror AmountZero();\nerror TwapCheckFailed();\nerror SwapSlip();\nerror Permit2NA();\nerror V4PMNA();\nerror V4ViewNA();\nerror TickRangeErr();\nerror TickAlignErr();\nerror LiquidityZeroErr();\nerror NativeSendFailErr();\nerror ExternalCallFailed();\nerror OrderErr();\nerror LengthMismatch();\nerror UpgradesFrozenErr();\nerror RenounceOwnershipDisabled();\nerror KyberRouterNA();\nerror ExecutorSelectorNotAllowed(bytes4 selector);\nerror KyberUnsupportedRoute();\nerror KyberTokenMismatch();\nerror KyberAmountMismatch();\nerror KyberRecipientMismatch();\nerror KyberMinOutNotMet();\nerror KyberApproveTargetMismatch();\nerror FlyRouterNA();\nerror FlyAmountMismatch();\nerror VeloraRouterNA();\nerror VeloraRouteMismatch();\nerror VeloraDeadline();\nerror AmountTooLarge();\nerror SwapModuleNA();\nerror V4HooksUnsupported();\nerror V4HookDataNotAllowed();\nerror PoolNotAllowed(bytes32 poolKey);\nerror ZeroPoolKey();\nerror TokenNotAllowed(address token);\nerror V4PriceGuardRequired();\nerror V4PriceCheckFailed();\nerror V4MintBelowMin(uint256 used0, uint256 used1, uint256 amount0Min, uint256 amount1Min);\nerror DirectModuleCall();\nerror StableTokenDecimalsInvalid(address token, uint8 decimals_);\nerror StableTokenDecimalsNotSet(address token);\nerror V4StablePriceOutOfRange(\n    address token0,\n    address token1,\n    uint256 priceX18,\n    uint256 minPriceX18,\n    uint256 maxPriceX18\n);\nerror V3StablePriceOutOfRange(\n    address token0,\n    address token1,\n    uint256 priceX18,\n    uint256 minPriceX18,\n    uint256 maxPriceX18\n);\nerror KyberStableMinOutTooLow(\n    address tokenIn,\n    address tokenOut,\n    uint256 effectiveMinOutNormalized,\n    uint256 requiredMinOutNormalized\n);\nerror KyberStableOutTooHigh(\n    address tokenIn,\n    address tokenOut,\n    uint256 outputNormalized,\n    uint256 maxOutputNormalized\n);\nerror ExecutorLossBudgetNotConfigured();\nerror ExecutorLossBudgetExceeded(uint256 used24h, uint256 loss, uint256 cap24h);\nerror RiskParamOutOfRange();\nerror PositionNotOwned(address nft, uint256 tokenId, address actualOwner);\nerror EmptyInitData();\n\n/* ========= Shared interfaces ========= */\n/// @dev Pinned minimal Uniswap V3 NonfungiblePositionManager ABI.\n/// The official v3-periphery interface imports pre-0.8 helper sources that do not compile under solc 0.8.35.\ninterface INonfungiblePositionManager {\n    struct MintParams {\n        address token0;\n        address token1;\n        uint24 fee;\n        int24 tickLower;\n        int24 tickUpper;\n        uint256 amount0Desired;\n        uint256 amount1Desired;\n        uint256 amount0Min;\n        uint256 amount1Min;\n        address recipient;\n        uint256 deadline;\n    }\n\n    struct IncreaseLiquidityParams {\n        uint256 tokenId;\n        uint256 amount0Desired;\n        uint256 amount1Desired;\n        uint256 amount0Min;\n        uint256 amount1Min;\n        uint256 deadline;\n    }\n\n    struct DecreaseLiquidityParams {\n        uint256 tokenId;\n        uint128 liquidity;\n        uint256 amount0Min;\n        uint256 amount1Min;\n        uint256 deadline;\n    }\n\n    struct CollectParams {\n        uint256 tokenId;\n        address recipient;\n        uint128 amount0Max;\n        uint128 amount1Max;\n    }\n\n    function positions(uint256 tokenId) external view returns (\n        uint96,\n        address,\n        address,\n        address,\n        uint24,\n        int24,\n        int24,\n        uint128,\n        uint256,\n        uint256,\n        uint128,\n        uint128\n    );\n\n    function mint(MintParams calldata) external payable returns (uint256, uint128, uint256, uint256);\n    function increaseLiquidity(IncreaseLiquidityParams calldata) external payable returns (uint128, uint256, uint256);\n    function decreaseLiquidity(DecreaseLiquidityParams calldata) external payable returns (uint256, uint256);\n    function collect(CollectParams calldata) external payable returns (uint256, uint256);\n    function burn(uint256 tokenId) external payable;\n}\n\ninterface IPositionManagerV4 {\n    struct PoolKey {\n        address currency0;\n        address currency1;\n        uint24 fee;\n        int24 tickSpacing;\n        address hooks;\n    }\n\n    function modifyLiquidities(bytes calldata unlockData, uint256 deadline) external payable;\n    function getPoolAndPositionInfo(uint256 tokenId) external view returns (PoolKey memory poolKey, uint256 infoPacked);\n    function getPositionLiquidity(uint256 tokenId) external view returns (uint128);\n    function nextTokenId() external view returns (uint256);\n}\n\ninterface IStateViewV4 {\n    function getSlot0(bytes32) external view returns (uint160, int24, uint24, uint24);\n}\n\ninterface IALMV3Module {\n    struct CreateV3ExactParams {\n        address token0;\n        address token1;\n        uint24 fee;\n        int24 tickLower;\n        int24 tickUpper;\n        uint256 amount0Desired;\n        uint256 amount1Desired;\n        uint256 amount0Min;\n        uint256 amount1Min;\n    }\n\n    function approveERC20(address token, address spender, uint256 amount) external;\n    function approveBoth(address token0, address token1, address spender, uint256 amount) external;\n    function revokeERC20(address token, address spender) external;\n    function createPositionV3Exact(CreateV3ExactParams calldata params) external;\n    function increaseLiquidityV3(\n        uint256 tokenId,\n        uint256 amount0Desired,\n        uint256 amount1Desired,\n        uint256 amount0Min,\n        uint256 amount1Min\n    ) external;\n    function decreaseLiquidityV3(uint256 tokenId, uint128 liquidity, uint256 amount0Min, uint256 amount1Min) external;\n    function collectFeesV3(uint256 tokenId) external;\n    function burnPositionV3(uint256 tokenId) external;\n}\n\ninterface IALMV4Module {\n    struct CreateV4Params {\n        address token0;\n        address token1;\n        uint24 fee;\n        int24 tickSpacing;\n        int24 tickLower;\n        int24 tickUpper;\n        address hooks;\n        bytes hookData;\n        uint128 amount0Min;\n        uint128 amount1Min;\n        uint160 expectedSqrtPriceX96;\n        uint256 maxSqrtPriceDeviationBpsX100;\n    }\n\n    struct CreateV4ExactParams {\n        address token0;\n        address token1;\n        uint24 fee;\n        int24 tickSpacing;\n        int24 tickLower;\n        int24 tickUpper;\n        address hooks;\n        bytes hookData;\n        uint128 liquidity;\n        uint128 amount0Max;\n        uint128 amount1Max;\n        uint160 expectedSqrtPriceX96;\n        uint256 maxSqrtPriceDeviationBpsX100;\n    }\n\n    function createPositionV4UsingBalances(CreateV4Params calldata params) external;\n    function createPositionV4Exact(CreateV4ExactParams calldata params) external;\n    function increaseLiquidityV4Exact(\n        uint256 tokenId,\n        uint128 liquidity,\n        uint128 amount0Max,\n        uint128 amount1Max,\n        bytes calldata hookData,\n        uint160 expectedSqrtPriceX96,\n        uint256 maxSqrtPriceDeviationBpsX100\n    ) external;\n    function increaseLiquidityV4(\n        uint256 tokenId,\n        uint256 amount0Max,\n        uint256 amount1Max,\n        bytes calldata hookData,\n        uint160 expectedSqrtPriceX96,\n        uint256 maxSqrtPriceDeviationBpsX100\n    ) external;\n    function decreaseLiquidityV4(\n        uint256 tokenId,\n        uint256 liquidity,\n        uint128 amount0Min,\n        uint128 amount1Min,\n        bytes calldata hookData\n    ) external;\n    function collectFeesV4(uint256 tokenId) external;\n    function burnPositionV4(uint256 tokenId, uint128 amount0Min, uint128 amount1Min, bytes calldata hookData) external;\n}\n\n/* ========= Shared storage ========= */\nabstract contract ALMStorage {\n    bool public upgradeabilityFrozen;\n\n    uint256 public constant BPS = 10_000;\n\n    address public v3Factory;\n    address public nfpm;\n    address public router;\n    address public quoterV2;\n    address public v4PositionManager;\n    address public kyberRouter;\n    address public baseToken;\n    address public v4StateView;\n    address public permit2;\n    address public v3Module;\n    address public v4Module;\n\n    uint256 public defaultDeadlineSec;\n    uint256 public slippageBpsMax;\n    uint256 public swapLossBpsMax;\n\n    uint32 public twapWindowSec;\n    int24 public twapMaxTickDiff;\n\n    mapping(address => bool) public isExecutor;\n    mapping(address => bool) public isTokenAllowed;\n    mapping(address => bool) public isTokenBlocked;\n    mapping(address => uint8) public stableTokenDecimals;\n\n    uint256 public slippageBpsMaxX100;\n    uint256 public swapLossBpsMaxX100;\n    bool public fineBpsParamsEnabled;\n\n    uint256 public v4StablePriceMinX18;\n    uint256 public v4StablePriceMaxX18;\n    uint256 public executorRiskCapitalNormalized;\n    uint256 public executorLossCapBpsX100;\n    bool public executorLossBudgetEnabled;\n    uint64[24] internal executorLossBucketHours;\n    uint256[24] internal executorLossBucketAmounts;\n    address public flyRouter;\n    address public veloraRouter;\n    /// @dev Delegatecall target for the Velora/Fly guarded swaps (`execSwap`). Slot 59.\n    address public swapModule;\n    /// @dev Owner-set Uniswap V4 hook allowlist; gates ENTRY (create/increase) only. Slot 60.\n    mapping(address => bool) public isV4HookAllowed;\n    /// @dev Owner-set pool allowlist; gates executor ENTRY (create/increase) only. Slot 61.\n    /// Key: V4 poolId = keccak256(abi.encode(PoolKey)); V3 = bytes32(uint256(uint160(pool))).\n    mapping(bytes32 => bool) public isPoolAllowed;\n    /// @dev When false the pool allowlist is not enforced (feature off). Slot 62.\n    bool public poolAllowlistEnforced;\n\n    uint256[45] private __gap;\n\n    /// @dev Hook permission bits (Uniswap v4 `Hooks.sol`) an allowlisted hook must NOT carry:\n    /// BEFORE/AFTER_REMOVE_LIQUIDITY (1<<9, 1<<8) could block or skim an exit, and the four\n    /// *_RETURNS_DELTA bits (1<<3..1<<0) let a hook rewrite the deltas the ALM settles against\n    /// full-balance allowances. Re-checked on every entry so a stale mapping entry cannot pass.\n    uint160 internal constant V4_HOOK_FORBIDDEN_FLAGS = 0x030F;\n\n    function _v4HookAllowedForEntry(address hooks) internal view returns (bool) {\n        if (hooks == address(0)) return true;\n        return isV4HookAllowed[hooks] && (uint160(hooks) & V4_HOOK_FORBIDDEN_FLAGS) == 0;\n    }\n\n    function _poolAllowedForEntry(bytes32 poolKey) internal view returns (bool) {\n        if (!poolAllowlistEnforced) return true;\n        return isPoolAllowed[poolKey];\n    }\n}\n\n/* ========= Guards shared by the core and the swap module ========= */\n/// @dev Executor token allowlist, stable decimals, stable min-out / max-out bounds and the 24h\n/// executor loss budget. The core (Kyber) and the SwapModule (Velora/Fly, via delegatecall) must\n/// apply the SAME guards, so they live here once. No state variables: layout is ALMStorage's.\nabstract contract ALMGuards is ALMStorage {\n    struct Spend {\n        address token;\n        uint256 amount;\n    }\n\n    address internal constant KYBER_NATIVE_TOKEN = 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE;\n    uint256 internal constant PRICE_X18 = 1e18;\n    uint256 internal constant DEFAULT_V4_STABLE_PRICE_MIN_X18 = 998_850_000_000_000_000; // 0.99885\n    uint256 internal constant DEFAULT_V4_STABLE_PRICE_MAX_X18 = 1_002_000_000_000_000_000; // 1.0020\n    uint256 internal constant EXECUTOR_LOSS_CAP_DENOMINATOR = 1_000_000; // BPS * 100\n    uint256 internal constant EXECUTOR_LOSS_WINDOW_HOURS = 24;\n    // Hardcoded allowlist: Ethereum only (this tree deploys to chainId 1 only). USDC/USDT/DAI/USDe\n    // since the 2026-09-06 size trim; USDG (Paxos Global Dollar, 6 decimals) added 2026-09-27 for the\n    // StablePair hook pool. Anything else must be enabled by the owner through setAllowedToken +\n    // setStableTokenDecimals.\n    address internal constant ETHEREUM_USDC = 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48;\n    address internal constant ETHEREUM_USDT = 0xdAC17F958D2ee523a2206206994597C13D831ec7;\n    address internal constant ETHEREUM_DAI = 0x6B175474E89094C44Da98b954EedeAC495271d0F;\n    address internal constant ETHEREUM_USDE = 0x4c9EDD5852cd905f086C759E8383e09bff1E68B3;\n    address internal constant ETHEREUM_USDG = 0xe343167631d89B6Ffc58B88d6b7fB0228795491D;\n\n    event ExecutorLossBudgetConsumed(uint256 hourId, uint256 lossNormalized, uint256 used24h, uint256 cap24h);\n\n    function isTokenAllowedForExecutor(address token) public view returns (bool) {\n        if (isTokenBlocked[token]) return false;\n        return isTokenAllowed[token] || _isHardcodedAllowedToken(token);\n    }\n\n    function executorLossCap24h() public view returns (uint256) {\n        if (!executorLossBudgetEnabled) return 0;\n        return FullMath.mulDiv(executorRiskCapitalNormalized, executorLossCapBpsX100, EXECUTOR_LOSS_CAP_DENOMINATOR);\n    }\n\n    function executorLossUsed24h() public view returns (uint256 used24h) {\n        uint256 currentHour = block.timestamp / 1 hours;\n        for (uint256 i = 0; i < EXECUTOR_LOSS_WINDOW_HOURS; i++) {\n            uint256 bucketHour = uint256(executorLossBucketHours[i]);\n            if (bucketHour <= currentHour && currentHour - bucketHour < EXECUTOR_LOSS_WINDOW_HOURS) {\n                used24h += executorLossBucketAmounts[i];\n            }\n        }\n    }\n\n    function _isHardcodedAllowedToken(address token) internal view returns (bool) {\n        if (block.chainid == 1) return _isEthereumHardcodedAllowedToken(token);\n        return false;\n    }\n\n    function _isEthereumHardcodedAllowedToken(address token) internal pure returns (bool) {\n        return token == ETHEREUM_USDC || token == ETHEREUM_USDT || token == ETHEREUM_DAI || token == ETHEREUM_USDE\n            || token == ETHEREUM_USDG;\n    }\n\n    function _requireAllowedToken(address token) internal view {\n        if (!isTokenAllowedForExecutor(token)) revert TokenNotAllowed(token);\n    }\n\n    function _swapLossBpsX100() internal view returns (uint256) {\n        return fineBpsParamsEnabled ? swapLossBpsMaxX100 : swapLossBpsMax * 100;\n    }\n\n    function _knownStableTokenDecimals(address token) internal view returns (uint8) {\n        if (block.chainid == 1) {\n            if (token == ETHEREUM_USDC || token == ETHEREUM_USDT || token == ETHEREUM_USDG) return 6;\n            if (token == ETHEREUM_DAI || token == ETHEREUM_USDE) return 18;\n        }\n        return 0;\n    }\n\n    function _stableTokenDecimalsOrRevert(address token) internal view returns (uint8) {\n        uint8 configured = stableTokenDecimals[token];\n        if (configured != 0) return configured;\n        uint8 known = _knownStableTokenDecimals(token);\n        if (known != 0) return known;\n        revert StableTokenDecimalsNotSet(token);\n    }\n\n    function _normalizeStableAmount(address token, uint256 amount) internal view returns (uint256) {\n        uint8 decimals_ = _stableTokenDecimalsOrRevert(token);\n        if (decimals_ == 18) return amount;\n        return amount * (10 ** uint256(18 - decimals_));\n    }\n\n    function _effectiveV4StablePriceMinX18() internal view returns (uint256) {\n        return v4StablePriceMinX18 == 0 ? DEFAULT_V4_STABLE_PRICE_MIN_X18 : v4StablePriceMinX18;\n    }\n\n    function _effectiveV4StablePriceMaxX18() internal view returns (uint256) {\n        return v4StablePriceMaxX18 == 0 ? DEFAULT_V4_STABLE_PRICE_MAX_X18 : v4StablePriceMaxX18;\n    }\n\n    function _requireKyberStableMinOut(\n        address tokenIn,\n        address tokenOut,\n        uint256 amountIn,\n        uint256 effectiveMinOut\n    ) internal view {\n        uint256 maxLossBpsX100 = _swapLossBpsX100();\n        if (maxLossBpsX100 >= BPS * 100) revert RiskParamOutOfRange();\n\n        uint256 minOutNormalized = _normalizeStableAmount(tokenOut, effectiveMinOut);\n        uint256 requiredNormalized =\n            FullMath.mulDiv(_normalizeStableAmount(tokenIn, amountIn), BPS * 100 - maxLossBpsX100, BPS * 100);\n        if (minOutNormalized < requiredNormalized) {\n            revert KyberStableMinOutTooLow(tokenIn, tokenOut, minOutNormalized, requiredNormalized);\n        }\n        _requireKyberStableOutNormalizedNotTooHigh(tokenIn, tokenOut, amountIn, minOutNormalized);\n    }\n\n    function _requireKyberStableOutNotTooHigh(\n        address tokenIn,\n        address tokenOut,\n        uint256 amountIn,\n        uint256 amountOut\n    ) internal view {\n        _requireKyberStableOutNormalizedNotTooHigh(\n            tokenIn,\n            tokenOut,\n            amountIn,\n            _normalizeStableAmount(tokenOut, amountOut)\n        );\n    }\n\n    function _requireKyberStableOutNormalizedNotTooHigh(\n        address tokenIn,\n        address tokenOut,\n        uint256 amountIn,\n        uint256 outputNormalized\n    ) internal view {\n        uint256 maxOutputNormalized =\n            FullMath.mulDiv(_normalizeStableAmount(tokenIn, amountIn), _effectiveV4StablePriceMaxX18(), PRICE_X18);\n        if (outputNormalized > maxOutputNormalized) {\n            revert KyberStableOutTooHigh(tokenIn, tokenOut, outputNormalized, maxOutputNormalized);\n        }\n    }\n\n    /// @dev Pre-swap check only: worst-case allowed slippage envelope must fit in remaining 24h budget.\n    function _requireExecutorLossBudgetHeadroom(\n        address tokenIn,\n        address tokenOut,\n        uint256 amountIn,\n        uint256 effectiveMinOut\n    ) internal view {\n        if (!executorLossBudgetEnabled) return;\n\n        uint256 inputNormalized = _normalizeStableAmount(tokenIn, amountIn);\n        uint256 outputNormalized = _normalizeStableAmount(tokenOut, effectiveMinOut);\n        if (outputNormalized >= inputNormalized) return;\n\n        uint256 envelopeNormalized = inputNormalized - outputNormalized;\n        uint256 cap24h = executorLossCap24h();\n        if (cap24h == 0) revert ExecutorLossBudgetNotConfigured();\n\n        uint256 used24h = executorLossUsed24h();\n        if (used24h + envelopeNormalized > cap24h) {\n            revert ExecutorLossBudgetExceeded(used24h, envelopeNormalized, cap24h);\n        }\n    }\n\n    function _consumeExecutorLossBudgetRealized(\n        address tokenIn,\n        address tokenOut,\n        uint256 amountIn,\n        uint256 actualOut\n    ) internal {\n        if (!executorLossBudgetEnabled) return;\n\n        uint256 inputNormalized = _normalizeStableAmount(tokenIn, amountIn);\n        uint256 outputNormalized = _normalizeStableAmount(tokenOut, actualOut);\n        if (outputNormalized >= inputNormalized) return;\n\n        uint256 lossNormalized = inputNormalized - outputNormalized;\n        uint256 cap24h = executorLossCap24h();\n        if (cap24h == 0) revert ExecutorLossBudgetNotConfigured();\n\n        uint256 used24h = executorLossUsed24h();\n        if (used24h + lossNormalized > cap24h) {\n            revert ExecutorLossBudgetExceeded(used24h, lossNormalized, cap24h);\n        }\n\n        uint256 currentHour = block.timestamp / 1 hours;\n        uint256 bucketIndex = currentHour % EXECUTOR_LOSS_WINDOW_HOURS;\n        if (currentHour > type(uint64).max) revert AmountTooLarge();\n        // forge-lint: disable-next-line(unsafe-typecast)\n        uint64 currentHour64 = uint64(currentHour);\n        if (executorLossBucketHours[bucketIndex] != currentHour64) {\n            executorLossBucketHours[bucketIndex] = currentHour64;\n            executorLossBucketAmounts[bucketIndex] = 0;\n        }\n        executorLossBucketAmounts[bucketIndex] += lossNormalized;\n        emit ExecutorLossBudgetConsumed(currentHour, lossNormalized, used24h + lossNormalized, cap24h);\n    }\n\n    function _kyberBalanceOf(address token) internal view returns (uint256) {\n        if (token == KYBER_NATIVE_TOKEN) return address(this).balance;\n        return IERC20(token).balanceOf(address(this));\n    }\n}\n\n/// @dev ERC-165 identity of the swap module (`swap.sol`) reached through the core's `execSwap`.\ninterface IALMSwapModule {\n    function swapViaFlyGuarded(\n        bytes calldata routeData,\n        ALMGuards.Spend[] calldata spends,\n        uint256 value,\n        address tokenOut,\n        uint256 minAmountOut\n    ) external;\n\n    function swapViaVeloraGuarded(\n        bytes calldata routeData,\n        ALMGuards.Spend[] calldata spends,\n        address tokenOut,\n        uint256 minAmountOut,\n        uint256 deadline\n    ) external;\n}\n"},"ALMCoreUpgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity =0.8.35;\n\nimport \"./ALMShared.sol\";\nimport {IMetaAggregationRouterV2} from \"./interfaces/IMetaAggregationRouterV2.sol\";\nimport {Ownable2StepUpgradeable} from \"@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable.sol\";\nimport {PausableUpgradeable} from \"@openzeppelin/contracts-upgradeable/utils/PausableUpgradeable.sol\";\nimport {UUPSUpgradeable} from \"@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.sol\";\nimport {ERC1967Utils} from \"@openzeppelin/contracts/proxy/ERC1967/ERC1967Utils.sol\";\nimport {ReentrancyGuard} from \"@openzeppelin/contracts/utils/ReentrancyGuard.sol\";\n\ncontract ALMCoreUpgradeable is\n    ALMGuards,\n    Ownable2StepUpgradeable,\n    PausableUpgradeable,\n    ReentrancyGuard,\n    UUPSUpgradeable,\n    IERC721Receiver\n{\n    using SafeERC20 for IERC20;\n\n    uint256 private constant MIN_DEADLINE_SEC = 30;\n    uint256 private constant MAX_DEADLINE_SEC = 3600;\n    uint256 private constant MAX_SLIPPAGE_BPS_X100 = 10_000; // 100 bps\n    uint256 private constant MAX_SWAP_LOSS_BPS_X100 = 10_000; // 100 bps\n    uint32 private constant MIN_TWAP_WINDOW_SEC = 30;\n    uint32 private constant MAX_TWAP_WINDOW_SEC = 3600;\n    int24 private constant MAX_TWAP_TICK_DIFF = 5000;\n    uint256 private constant MIN_V4_STABLE_PRICE_MIN_X18 = 990_000_000_000_000_000; // 0.9900\n    uint256 private constant MAX_V4_STABLE_PRICE_MAX_X18 = 1_010_000_000_000_000_000; // 1.0100\n    uint256 private constant MAX_EXECUTOR_LOSS_CAP_BPS_X100 = 10_000; // 100 bps\n    bytes32 private constant CORE_BUILD_SALT = keccak256(\"ALMv2eth-forced-fresh-bytecode-20260930-poolallowlist-01-core\");\n\n    struct CoreConfig {\n        address baseToken;\n        address v3Factory;\n        address nfpm;\n        address router;\n        address quoterV2;\n        address v4PositionManager;\n        address v4StateView;\n        address permit2;\n        uint256 defaultDeadlineSec;\n        uint256 slippageBpsMax;\n        uint256 swapLossBpsMax;\n        uint256 slippageBpsMaxX100;\n        uint256 swapLossBpsMaxX100;\n        uint32 twapWindowSec;\n        int24 twapMaxTickDiff;\n    }\n\n    struct ModuleRefs {\n        address v3Module;\n        address v4Module;\n    }\n\n    struct KyberConfig {\n        address router;\n    }\n\n    struct ExecutorCreateV3ExactParams {\n        address token0;\n        address token1;\n        uint24 fee;\n        int24 tickLower;\n        int24 tickUpper;\n        uint256 amount0Desired;\n        uint256 amount1Desired;\n        uint256 amount0Min;\n        uint256 amount1Min;\n    }\n\n    struct ExecutorCreateV4Params {\n        address token0;\n        address token1;\n        uint24 fee;\n        int24 tickSpacing;\n        int24 tickLower;\n        int24 tickUpper;\n        address hooks;\n        bytes hookData;\n        uint128 amount0Min;\n        uint128 amount1Min;\n        uint160 expectedSqrtPriceX96;\n        uint256 maxSqrtPriceDeviationBpsX100;\n    }\n\n    struct ExecutorCreateV4ExactParams {\n        address token0;\n        address token1;\n        uint24 fee;\n        int24 tickSpacing;\n        int24 tickLower;\n        int24 tickUpper;\n        address hooks;\n        bytes hookData;\n        uint128 liquidity;\n        uint128 amount0Max;\n        uint128 amount1Max;\n        uint160 expectedSqrtPriceX96;\n        uint256 maxSqrtPriceDeviationBpsX100;\n    }\n\n    event ExecutorSet(address indexed executor, bool enabled);\n    event Withdraw(address indexed token, uint256 amount);\n    event WithdrawNFT(address indexed nft, uint256 id);\n    event WithdrawNative(uint256 amount);\n    event ModulesSet(address indexed v3Module, address indexed v4Module);\n    event SwapModuleSet(address indexed swapModule);\n    event V4HookAllowedSet(address indexed hook, bool allowed);\n    event PoolAllowedSet(bytes32 indexed poolKey, bool allowed);\n    event PoolAllowlistEnforcedSet(bool enforced);\n    event KyberRouterSet(address indexed router);\n    event KyberSwapExecuted(address indexed router, uint256 value, bytes routeData);\n    event FlyRouterSet(address indexed router);\n    event VeloraRouterSet(address indexed router);\n    event Permit2ApprovalRevoked(address indexed token, address indexed spender);\n    event TokenAllowedSet(address indexed token, bool allowed);\n    event TokenBlockedSet(address indexed token, bool blocked);\n    event StableTokenDecimalsSet(address indexed token, uint8 decimals_);\n    event V4StablePriceBoundsSet(uint256 minPriceX18, uint256 maxPriceX18);\n    event ExecutorLossBudgetSet(bool enabled, uint256 riskCapitalNormalized, uint256 capBpsX100);\n    event UpgradesFrozen();\n\n    modifier onlyExecutorOrOwner() {\n        if (!(isExecutor[msg.sender] || msg.sender == owner())) revert NotExecutorOrOwner();\n        _;\n    }\n\n    modifier whenUpgradesAllowed() {\n        if (upgradeabilityFrozen) revert UpgradesFrozenErr();\n        _;\n    }\n\n    constructor() {\n        _disableInitializers();\n    }\n\n    function initialize(\n        address owner_,\n        CoreConfig calldata config,\n        ModuleRefs calldata modules,\n        KyberConfig calldata kyber\n    ) external initializer {\n        if (owner_ == address(0)) revert ZeroAddr();\n\n        __Ownable_init(owner_);\n        __Ownable2Step_init();\n        __Pausable_init();\n\n        _applyConfig(config);\n        _setModules(modules.v3Module, modules.v4Module);\n        if (kyber.router != address(0)) {\n            _setKyberRouter(kyber.router);\n        }\n    }\n\n    function _authorizeUpgrade(address) internal override onlyOwner whenUpgradesAllowed {}\n\n    function implementation() public view returns (address) {\n        return ERC1967Utils.getImplementation();\n    }\n\n    function contractBuildSalt() external pure returns (bytes32) {\n        return CORE_BUILD_SALT;\n    }\n\n    function upgradeTo(address newImplementation) external onlyProxy {\n        upgradeToAndCall(newImplementation, bytes(\"\"));\n    }\n\n    function upgradeToAndCall(address newImplementation, bytes memory data)\n        public\n        payable\n        override\n        whenUpgradesAllowed\n    {\n        super.upgradeToAndCall(newImplementation, data);\n    }\n\n    function freezeUpgrades() external onlyProxy onlyOwner whenUpgradesAllowed {\n        upgradeabilityFrozen = true;\n        emit UpgradesFrozen();\n    }\n\n    function pause() external onlyExecutorOrOwner {\n        _pause();\n    }\n\n    function unpause() external onlyOwner {\n        _unpause();\n    }\n\n    function renounceOwnership() public pure override {\n        revert RenounceOwnershipDisabled();\n    }\n\n    function _applyConfig(CoreConfig calldata config) internal {\n        if (config.baseToken != address(0)) baseToken = config.baseToken;\n        if (config.v3Factory != address(0)) v3Factory = config.v3Factory;\n        if (config.nfpm != address(0)) nfpm = config.nfpm;\n        if (config.router != address(0)) router = config.router;\n        if (config.quoterV2 != address(0)) quoterV2 = config.quoterV2;\n        if (config.v4PositionManager != address(0)) v4PositionManager = config.v4PositionManager;\n        if (config.v4StateView != address(0)) v4StateView = config.v4StateView;\n        if (config.permit2 != address(0)) permit2 = config.permit2;\n\n        defaultDeadlineSec = config.defaultDeadlineSec == 0 ? 600 : config.defaultDeadlineSec;\n        uint256 legacySlippageBps = config.slippageBpsMax == 0 ? 3 : config.slippageBpsMax;\n        uint256 legacySwapLossBps = config.swapLossBpsMax == 0 ? 4 : config.swapLossBpsMax;\n        slippageBpsMaxX100 = config.slippageBpsMaxX100 == 0 ? legacySlippageBps * 100 : config.slippageBpsMaxX100;\n        swapLossBpsMaxX100 = config.swapLossBpsMaxX100 == 0 ? legacySwapLossBps * 100 : config.swapLossBpsMaxX100;\n        slippageBpsMax = _ceilBps(slippageBpsMaxX100);\n        swapLossBpsMax = _ceilBps(swapLossBpsMaxX100);\n        fineBpsParamsEnabled = true;\n        twapWindowSec = config.twapWindowSec == 0 ? 120 : config.twapWindowSec;\n        twapMaxTickDiff = config.twapMaxTickDiff == 0 ? int24(120) : config.twapMaxTickDiff;\n        _validateRiskParams(\n            defaultDeadlineSec,\n            slippageBpsMaxX100,\n            swapLossBpsMaxX100,\n            twapWindowSec,\n            twapMaxTickDiff\n        );\n    }\n\n    function setExecutor(address executor, bool enabled) external onlyOwner {\n        isExecutor[executor] = enabled;\n        emit ExecutorSet(executor, enabled);\n    }\n\n    function setAllowedToken(address token, bool allowed) external onlyOwner {\n        _setAllowedToken(token, allowed);\n    }\n\n    function setAllowedTokens(address[] calldata tokens, bool allowed) external onlyOwner {\n        for (uint256 i = 0; i < tokens.length; i++) {\n            _setAllowedToken(tokens[i], allowed);\n        }\n    }\n\n    function setStableTokenDecimals(address token, uint8 decimals_) external onlyOwner {\n        _setStableTokenDecimals(token, decimals_);\n    }\n\n    function setStableTokenDecimalsBatch(address[] calldata tokens, uint8[] calldata decimals_) external onlyOwner {\n        if (tokens.length != decimals_.length) revert LengthMismatch();\n        for (uint256 i = 0; i < tokens.length; i++) {\n            _setStableTokenDecimals(tokens[i], decimals_[i]);\n        }\n    }\n\n    function setV4StablePriceBounds(uint256 minPriceX18, uint256 maxPriceX18) external onlyOwner {\n        if (minPriceX18 == 0 && maxPriceX18 == 0) {\n            v4StablePriceMinX18 = 0;\n            v4StablePriceMaxX18 = 0;\n            emit V4StablePriceBoundsSet(DEFAULT_V4_STABLE_PRICE_MIN_X18, DEFAULT_V4_STABLE_PRICE_MAX_X18);\n            return;\n        }\n\n        if (\n            minPriceX18 < MIN_V4_STABLE_PRICE_MIN_X18 ||\n            maxPriceX18 > MAX_V4_STABLE_PRICE_MAX_X18 ||\n            minPriceX18 > PRICE_X18 ||\n            maxPriceX18 < PRICE_X18 ||\n            minPriceX18 >= maxPriceX18\n        ) revert RiskParamOutOfRange();\n\n        v4StablePriceMinX18 = minPriceX18;\n        v4StablePriceMaxX18 = maxPriceX18;\n        emit V4StablePriceBoundsSet(minPriceX18, maxPriceX18);\n    }\n\n    function v4StablePriceBounds() external view returns (uint256 minPriceX18, uint256 maxPriceX18) {\n        return (_effectiveV4StablePriceMinX18(), _effectiveV4StablePriceMaxX18());\n    }\n\n    function setExecutorLossBudget(\n        bool enabled,\n        uint256 riskCapitalNormalized,\n        uint256 capBpsX100\n    ) external onlyOwner {\n        if (capBpsX100 > MAX_EXECUTOR_LOSS_CAP_BPS_X100) revert RiskParamOutOfRange();\n        if (enabled && (riskCapitalNormalized == 0 || capBpsX100 == 0)) revert RiskParamOutOfRange();\n\n        executorLossBudgetEnabled = enabled;\n        executorRiskCapitalNormalized = riskCapitalNormalized;\n        executorLossCapBpsX100 = capBpsX100;\n        emit ExecutorLossBudgetSet(enabled, riskCapitalNormalized, capBpsX100);\n    }\n\n    function resetExecutorLossBudgetBuckets() external onlyOwner {\n        for (uint256 i = 0; i < EXECUTOR_LOSS_WINDOW_HOURS; i++) {\n            executorLossBucketHours[i] = 0;\n            executorLossBucketAmounts[i] = 0;\n        }\n    }\n\n    function executorLossBudgetState()\n        external\n        view\n        returns (\n            bool enabled,\n            uint256 riskCapitalNormalized,\n            uint256 capBpsX100,\n            uint256 used24h,\n            uint256 cap24h,\n            uint256 remaining24h\n        )\n    {\n        enabled = executorLossBudgetEnabled;\n        riskCapitalNormalized = executorRiskCapitalNormalized;\n        capBpsX100 = executorLossCapBpsX100;\n        used24h = executorLossUsed24h();\n        cap24h = executorLossCap24h();\n        remaining24h = used24h >= cap24h ? 0 : cap24h - used24h;\n    }\n\n    function setBlockedToken(address token, bool blocked) external onlyOwner {\n        _setBlockedToken(token, blocked);\n    }\n\n    function setBlockedTokens(address[] calldata tokens, bool blocked) external onlyOwner {\n        for (uint256 i = 0; i < tokens.length; i++) {\n            _setBlockedToken(tokens[i], blocked);\n        }\n    }\n\n    function setAddresses(\n        address baseToken_,\n        address v3Factory_,\n        address nfpm_,\n        address router_,\n        address quoter_,\n        address v4PositionManager_\n    ) external onlyOwner {\n        if (baseToken_ != address(0)) baseToken = baseToken_;\n        if (v3Factory_ != address(0)) v3Factory = v3Factory_;\n        if (nfpm_ != address(0)) nfpm = nfpm_;\n        if (router_ != address(0)) router = router_;\n        if (quoter_ != address(0)) quoterV2 = quoter_;\n        if (v4PositionManager_ != address(0)) v4PositionManager = v4PositionManager_;\n    }\n\n    function setV4StateView(address stateView) external onlyOwner {\n        v4StateView = stateView;\n    }\n\n    function setPermit2(address permit2_) external onlyOwner {\n        permit2 = permit2_;\n    }\n\n    function setKyberRouter(address router_) external onlyOwner {\n        _setKyberRouter(router_);\n    }\n\n    function setFlyRouter(address router_) external onlyOwner {\n        _setFlyRouter(router_);\n    }\n\n    function setVeloraRouter(address router_) external onlyOwner {\n        _setVeloraRouter(router_);\n    }\n\n    /// @dev Upgrades set it atomically: `upgradeToAndCall(newImpl, abi.encodeCall(setSwapModule, (m)))`.\n    function setSwapModule(address swapModule_) external onlyOwner {\n        if (swapModule_ == address(0)) revert ZeroAddr();\n        _requireModuleInterface(swapModule_, type(IALMSwapModule).interfaceId);\n        swapModule = swapModule_;\n        emit SwapModuleSet(swapModule_);\n    }\n\n    /// @notice Allow (or stop allowing) NEW V4 positions in pools using `hook`. De-listing never traps\n    /// capital: exits (decrease/collect/burn) are not gated by this list.\n    /// @dev Enabling refuses a hook whose address carries remove-liquidity or *_RETURNS_DELTA bits.\n    function setV4HookAllowed(address hook, bool allowed) external onlyOwner {\n        if (hook == address(0)) revert ZeroAddr();\n        if (allowed && (uint160(hook) & V4_HOOK_FORBIDDEN_FLAGS) != 0) revert V4HooksUnsupported();\n        isV4HookAllowed[hook] = allowed;\n        emit V4HookAllowedSet(hook, allowed);\n    }\n\n    /// @notice Allow (or stop allowing) NEW executor positions in a pool. Key: V4 poolId, or the V3\n    /// pool address left-padded to bytes32. De-listing never traps capital: exits are not gated.\n    function setPoolAllowed(bytes32 poolKey, bool allowed) external onlyOwner {\n        _setPoolAllowed(poolKey, allowed);\n    }\n\n    function setPoolsAllowed(bytes32[] calldata poolKeys, bool allowed) external onlyOwner {\n        for (uint256 i = 0; i < poolKeys.length; i++) {\n            _setPoolAllowed(poolKeys[i], allowed);\n        }\n    }\n\n    /// @dev Enforced with an empty list denies every executor entry (owner entries stay exempt).\n    function setPoolAllowlistEnforced(bool enforced) external onlyOwner {\n        _setPoolAllowlistEnforced(enforced);\n    }\n\n    /// @notice Seed the allowlist and set the enforcement flag in ONE call, so a redeploy never\n    /// leaves the flag on over an empty list.\n    function setPoolAllowlist(bytes32[] calldata poolKeys, bool enforced) external onlyOwner {\n        for (uint256 i = 0; i < poolKeys.length; i++) {\n            _setPoolAllowed(poolKeys[i], true);\n        }\n        _setPoolAllowlistEnforced(enforced);\n    }\n\n    function setParams(\n        uint256 defaultDeadlineSec_,\n        uint256 slippageBpsMax_,\n        uint256 swapLossBpsMax_,\n        uint32 twapWindowSec_,\n        int24 twapMaxTickDiff_\n    ) external onlyOwner {\n        if (\n            slippageBpsMax_ > MAX_SLIPPAGE_BPS_X100 / 100 ||\n            swapLossBpsMax_ > MAX_SWAP_LOSS_BPS_X100 / 100\n        ) revert RiskParamOutOfRange();\n        _validateRiskParams(\n            defaultDeadlineSec_,\n            slippageBpsMax_ * 100,\n            swapLossBpsMax_ * 100,\n            twapWindowSec_,\n            twapMaxTickDiff_\n        );\n        defaultDeadlineSec = defaultDeadlineSec_;\n        slippageBpsMax = slippageBpsMax_;\n        swapLossBpsMax = swapLossBpsMax_;\n        slippageBpsMaxX100 = slippageBpsMax_ * 100;\n        swapLossBpsMaxX100 = swapLossBpsMax_ * 100;\n        fineBpsParamsEnabled = true;\n        twapWindowSec = twapWindowSec_;\n        twapMaxTickDiff = twapMaxTickDiff_;\n    }\n\n    function setParamsBpsX100(\n        uint256 defaultDeadlineSec_,\n        uint256 slippageBpsMaxX100_,\n        uint256 swapLossBpsMaxX100_,\n        uint32 twapWindowSec_,\n        int24 twapMaxTickDiff_\n    ) external onlyOwner {\n        _validateRiskParams(\n            defaultDeadlineSec_,\n            slippageBpsMaxX100_,\n            swapLossBpsMaxX100_,\n            twapWindowSec_,\n            twapMaxTickDiff_\n        );\n        defaultDeadlineSec = defaultDeadlineSec_;\n        slippageBpsMaxX100 = slippageBpsMaxX100_;\n        swapLossBpsMaxX100 = swapLossBpsMaxX100_;\n        slippageBpsMax = _ceilBps(slippageBpsMaxX100_);\n        swapLossBpsMax = _ceilBps(swapLossBpsMaxX100_);\n        fineBpsParamsEnabled = true;\n        twapWindowSec = twapWindowSec_;\n        twapMaxTickDiff = twapMaxTickDiff_;\n    }\n\n    function setModules(address v3Module_, address v4Module_) external onlyOwner {\n        _setModules(v3Module_, v4Module_);\n    }\n\n    function withdrawTokens(address token, uint256 amount) external onlyOwner nonReentrant {\n        if (token == address(0)) revert ZeroAddr();\n        if (amount == 0) revert AmountZero();\n        IERC20(token).safeTransfer(owner(), amount);\n        emit Withdraw(token, amount);\n    }\n\n    function withdrawNFT(address nft, uint256 id) external onlyOwner nonReentrant {\n        if (nft == address(0)) revert ZeroAddr();\n        IERC721(nft).transferFrom(address(this), owner(), id);\n        emit WithdrawNFT(nft, id);\n    }\n\n    function withdrawNative(uint256 amount) external onlyOwner nonReentrant {\n        if (amount == 0) revert AmountZero();\n        (bool ok,) = payable(owner()).call{value: amount}(\"\");\n        if (!ok) revert NativeSendFailErr();\n        emit WithdrawNative(amount);\n    }\n\n    function execV3(bytes calldata data)\n        external\n        payable\n        onlyExecutorOrOwner\n        nonReentrant\n        whenNotPaused\n        returns (bytes memory ret)\n    {\n        _requireExecutorAllowedV3(data);\n        if (v3Module == address(0)) revert ExternalCallFailed();\n        (bool ok, bytes memory result) = v3Module.delegatecall(data);\n        if (!ok) {\n            assembly {\n                revert(add(result, 32), mload(result))\n            }\n        }\n        return result;\n    }\n\n    function execV4(bytes calldata data)\n        external\n        payable\n        onlyExecutorOrOwner\n        nonReentrant\n        whenNotPaused\n        returns (bytes memory ret)\n    {\n        _requireExecutorAllowedV4(data);\n        if (v4Module == address(0)) revert ExternalCallFailed();\n        (bool ok, bytes memory result) = v4Module.delegatecall(data);\n        if (!ok) {\n            assembly {\n                revert(add(result, 32), mload(result))\n            }\n        }\n        return result;\n    }\n\n    /// @notice Velora / Fly guarded swaps, delegatecalled into `swapModule`.\n    /// @dev Only the two `IALMSwapModule` swap selectors pass, for EVERY caller (owner included).\n    /// The module's revert data is bubbled RAW: offchain error decoding and the Velora\n    /// `EnforcedPause` attribution read it byte-for-byte. `whenNotPaused` stays on this entry.\n    function execSwap(bytes calldata data)\n        external\n        onlyExecutorOrOwner\n        nonReentrant\n        whenNotPaused\n        returns (bytes memory ret)\n    {\n        bytes4 selector = _selectorOf(data);\n        if (\n            selector != IALMSwapModule.swapViaFlyGuarded.selector\n                && selector != IALMSwapModule.swapViaVeloraGuarded.selector\n        ) revert ExecutorSelectorNotAllowed(selector);\n        address module = swapModule;\n        if (module == address(0)) revert SwapModuleNA();\n        (bool ok, bytes memory result) = module.delegatecall(data);\n        if (!ok) {\n            assembly {\n                revert(add(result, 32), mload(result))\n            }\n        }\n        return result;\n    }\n\n    function revokePermit2ForV4(address[] calldata tokens) external onlyOwner {\n        if (permit2 == address(0)) revert Permit2NA();\n\n        for (uint256 i = 0; i < tokens.length; i++) {\n            IERC20(tokens[i]).forceApprove(permit2, 0);\n            IAllowanceTransfer(permit2).approve(tokens[i], v4PositionManager, 0, 1);\n            emit Permit2ApprovalRevoked(tokens[i], v4PositionManager);\n        }\n    }\n\n    function swapViaKyberGuarded(\n        bytes calldata routeData,\n        Spend[] calldata spends,\n        uint256 value,\n        address tokenOut,\n        uint256 minAmountOut\n    ) external onlyExecutorOrOwner nonReentrant whenNotPaused {\n        (IMetaAggregationRouterV2.SwapDescriptionV2 memory desc, address approveTarget) =\n            _decodeKyberSwapDescription(routeData);\n\n        if (msg.sender != owner()) {\n            _requireAllowedToken(desc.srcToken);\n            _requireAllowedToken(desc.dstToken);\n            _requireAllowedToken(tokenOut);\n        }\n\n        if (desc.dstReceiver != address(this)) revert KyberRecipientMismatch();\n        if (desc.dstToken != tokenOut) revert KyberTokenMismatch();\n        if (desc.srcToken == desc.dstToken) revert KyberTokenMismatch();\n        if (approveTarget != address(0) && approveTarget != kyberRouter) revert KyberApproveTargetMismatch();\n        if (desc.minReturnAmount < minAmountOut) revert KyberMinOutNotMet();\n\n        if (spends.length > 1) revert LengthMismatch();\n        if (spends.length == 1) {\n            if (value != 0) revert KyberAmountMismatch();\n            if (desc.srcToken != spends[0].token || desc.amount != spends[0].amount) revert KyberAmountMismatch();\n            if (msg.sender != owner()) _requireAllowedToken(spends[0].token);\n        } else {\n            if (value == 0) revert AmountZero();\n            if (desc.srcToken != KYBER_NATIVE_TOKEN || desc.amount != value) revert KyberAmountMismatch();\n        }\n        uint256 effectiveMinOut = desc.minReturnAmount > minAmountOut ? desc.minReturnAmount : minAmountOut;\n        if (msg.sender != owner()) {\n            _requireKyberStableMinOut(desc.srcToken, tokenOut, desc.amount, effectiveMinOut);\n            _requireExecutorLossBudgetHeadroom(desc.srcToken, tokenOut, desc.amount, effectiveMinOut);\n        }\n\n        uint256 balanceBefore = _kyberBalanceOf(tokenOut);\n        _swapViaKyberInternal(routeData, spends, value);\n        uint256 balanceAfter = _kyberBalanceOf(tokenOut);\n        if (balanceAfter < balanceBefore) revert KyberMinOutNotMet();\n        uint256 actualOut = balanceAfter - balanceBefore;\n        if (actualOut < effectiveMinOut) revert KyberMinOutNotMet();\n        if (msg.sender != owner()) {\n            _requireKyberStableOutNotTooHigh(desc.srcToken, tokenOut, desc.amount, actualOut);\n            _consumeExecutorLossBudgetRealized(desc.srcToken, tokenOut, desc.amount, actualOut);\n        }\n    }\n\n    function _swapViaKyberInternal(bytes calldata routeData, Spend[] calldata spends, uint256 value) internal {\n        address router_ = kyberRouter;\n        if (router_ == address(0)) revert KyberRouterNA();\n        if (spends.length == 0 && value == 0) revert AmountZero();\n\n        for (uint256 i = 0; i < spends.length; i++) {\n            IERC20(spends[i].token).forceApprove(router_, spends[i].amount);\n        }\n\n        (bool ok, bytes memory reason) = router_.call{value: value}(routeData);\n\n        for (uint256 j = 0; j < spends.length; j++) {\n            IERC20(spends[j].token).forceApprove(router_, 0);\n        }\n\n        if (!ok) {\n            assembly {\n                revert(add(reason, 32), mload(reason))\n            }\n        }\n\n        emit KyberSwapExecuted(router_, value, routeData);\n    }\n\n    function _requireExecutorAllowedV3(bytes calldata data) internal view {\n        if (msg.sender == owner()) return;\n        bytes4 selector = _selectorOf(data);\n        if (selector == bytes4(keccak256(\"createPositionV3Exact((address,address,uint24,int24,int24,uint256,uint256,uint256,uint256))\"))) {\n            ExecutorCreateV3ExactParams memory params =\n                abi.decode(data[4:], (ExecutorCreateV3ExactParams));\n            _requireAllowedPair(params.token0, params.token1);\n            _requireV3StablePriceGuard(\n                _requireExecutorPoolAllowedV3(params.token0, params.token1, params.fee),\n                params.token0,\n                params.token1\n            );\n            return;\n        }\n        if (selector == bytes4(keccak256(\"increaseLiquidityV3(uint256,uint256,uint256,uint256,uint256)\"))) {\n            (uint256 tokenId,,,,) = abi.decode(data[4:], (uint256, uint256, uint256, uint256, uint256));\n            (address token0, address token1, uint24 fee) = _requireAllowedV3PositionTokens(tokenId);\n            _requireV3StablePriceGuard(_requireExecutorPoolAllowedV3(token0, token1, fee), token0, token1);\n            return;\n        }\n        if (selector == bytes4(keccak256(\"decreaseLiquidityV3(uint256,uint128,uint256,uint256)\"))) {\n            (uint256 tokenId,,,) = abi.decode(data[4:], (uint256, uint128, uint256, uint256));\n            _requireAllowedV3PositionTokens(tokenId);\n            return;\n        }\n        if (selector == bytes4(keccak256(\"collectFeesV3(uint256)\")) || selector == bytes4(keccak256(\"burnPositionV3(uint256)\"))) {\n            uint256 tokenId = abi.decode(data[4:], (uint256));\n            _requireAllowedV3PositionTokens(tokenId);\n            return;\n        }\n        revert ExecutorSelectorNotAllowed(selector);\n    }\n\n    function _requireExecutorAllowedV4(bytes calldata data) internal view {\n        if (msg.sender == owner()) return;\n        bytes4 selector = _selectorOf(data);\n        if (\n            selector\n                == bytes4(\n                    keccak256(\"createPositionV4UsingBalances((address,address,uint24,int24,int24,int24,address,bytes,uint128,uint128,uint160,uint256))\")\n                )\n        ) {\n            ExecutorCreateV4Params memory params = abi.decode(data[4:], (ExecutorCreateV4Params));\n            _requireAllowedPair(params.token0, params.token1);\n            _requireEmptyV4HookData(params.hookData);\n            _requireExecutorEntryV4(\n                _v4PoolKey(params.token0, params.token1, params.fee, params.tickSpacing, params.hooks),\n                params.expectedSqrtPriceX96\n            );\n            return;\n        }\n        if (\n            selector\n                == bytes4(\n                    keccak256(\"createPositionV4Exact((address,address,uint24,int24,int24,int24,address,bytes,uint128,uint128,uint128,uint160,uint256))\")\n                )\n        ) {\n            ExecutorCreateV4ExactParams memory params = abi.decode(data[4:], (ExecutorCreateV4ExactParams));\n            _requireAllowedPair(params.token0, params.token1);\n            _requireEmptyV4HookData(params.hookData);\n            _requireExecutorEntryV4(\n                _v4PoolKey(params.token0, params.token1, params.fee, params.tickSpacing, params.hooks),\n                params.expectedSqrtPriceX96\n            );\n            return;\n        }\n        if (selector == bytes4(keccak256(\"increaseLiquidityV4Exact(uint256,uint128,uint128,uint128,bytes,uint160,uint256)\"))) {\n            (uint256 tokenId,,,, bytes memory hookData, uint160 expectedSqrtPriceX96,) =\n                abi.decode(data[4:], (uint256, uint128, uint128, uint128, bytes, uint160, uint256));\n            _requireEmptyV4HookData(hookData);\n            _requireExecutorEntryV4(_requireAllowedV4PositionTokens(tokenId), expectedSqrtPriceX96);\n            return;\n        }\n        if (selector == bytes4(keccak256(\"increaseLiquidityV4(uint256,uint256,uint256,bytes,uint160,uint256)\"))) {\n            (uint256 tokenId,,, bytes memory hookData, uint160 expectedSqrtPriceX96,) =\n                abi.decode(data[4:], (uint256, uint256, uint256, bytes, uint160, uint256));\n            _requireEmptyV4HookData(hookData);\n            _requireExecutorEntryV4(_requireAllowedV4PositionTokens(tokenId), expectedSqrtPriceX96);\n            return;\n        }\n        if (selector == bytes4(keccak256(\"decreaseLiquidityV4(uint256,uint256,uint128,uint128,bytes)\"))) {\n            (uint256 tokenId,,,, bytes memory hookData) =\n                abi.decode(data[4:], (uint256, uint256, uint128, uint128, bytes));\n            _requireEmptyV4HookData(hookData);\n            _requireAllowedV4PositionTokens(tokenId);\n            return;\n        }\n        if (selector == bytes4(keccak256(\"collectFeesV4(uint256)\"))) {\n            uint256 tokenId = abi.decode(data[4:], (uint256));\n            _requireAllowedV4PositionTokens(tokenId);\n            return;\n        }\n        if (selector == bytes4(keccak256(\"burnPositionV4(uint256,uint128,uint128,bytes)\"))) {\n            (uint256 tokenId,,, bytes memory hookData) = abi.decode(data[4:], (uint256, uint128, uint128, bytes));\n            _requireEmptyV4HookData(hookData);\n            _requireAllowedV4PositionTokens(tokenId);\n            return;\n        }\n        revert ExecutorSelectorNotAllowed(selector);\n    }\n\n    function _ceilBps(uint256 bpsX100) internal pure returns (uint256) {\n        return bpsX100 == 0 ? 0 : ((bpsX100 + 99) / 100);\n    }\n\n    function _validateRiskParams(\n        uint256 defaultDeadlineSec_,\n        uint256 slippageBpsMaxX100_,\n        uint256 swapLossBpsMaxX100_,\n        uint32 twapWindowSec_,\n        int24 twapMaxTickDiff_\n    ) internal pure {\n        if (defaultDeadlineSec_ < MIN_DEADLINE_SEC || defaultDeadlineSec_ > MAX_DEADLINE_SEC) {\n            revert RiskParamOutOfRange();\n        }\n        if (slippageBpsMaxX100_ > MAX_SLIPPAGE_BPS_X100) revert RiskParamOutOfRange();\n        if (swapLossBpsMaxX100_ > MAX_SWAP_LOSS_BPS_X100) revert RiskParamOutOfRange();\n        if (twapWindowSec_ < MIN_TWAP_WINDOW_SEC || twapWindowSec_ > MAX_TWAP_WINDOW_SEC) {\n            revert RiskParamOutOfRange();\n        }\n        if (twapMaxTickDiff_ < 0 || twapMaxTickDiff_ > MAX_TWAP_TICK_DIFF) revert RiskParamOutOfRange();\n    }\n\n    function _setAllowedToken(address token, bool allowed) internal {\n        if (token == address(0)) revert ZeroAddr();\n        isTokenAllowed[token] = allowed;\n        emit TokenAllowedSet(token, allowed);\n    }\n\n    function _setPoolAllowed(bytes32 poolKey, bool allowed) internal {\n        if (poolKey == bytes32(0)) revert ZeroPoolKey();\n        isPoolAllowed[poolKey] = allowed;\n        emit PoolAllowedSet(poolKey, allowed);\n    }\n\n    function _setPoolAllowlistEnforced(bool enforced) internal {\n        poolAllowlistEnforced = enforced;\n        emit PoolAllowlistEnforcedSet(enforced);\n    }\n\n    function _setStableTokenDecimals(address token, uint8 decimals_) internal {\n        if (token == address(0)) revert ZeroAddr();\n        if (decimals_ > 18) revert StableTokenDecimalsInvalid(token, decimals_);\n        stableTokenDecimals[token] = decimals_;\n        emit StableTokenDecimalsSet(token, decimals_);\n    }\n\n    function _setBlockedToken(address token, bool blocked) internal {\n        if (token == address(0)) revert ZeroAddr();\n        isTokenBlocked[token] = blocked;\n        emit TokenBlockedSet(token, blocked);\n    }\n\n    function _requireAllowedPair(address token0, address token1) internal view {\n        _requireAllowedToken(token0);\n        _requireAllowedToken(token1);\n    }\n\n    /// @dev Executor hookData is always empty: the offchain runtime sends `0x`, and an allowlisted\n    /// hook (upgradeable by its own governance) must never receive executor-chosen bytes.\n    function _requireEmptyV4HookData(bytes memory hookData) internal pure {\n        if (hookData.length != 0) revert V4HookDataNotAllowed();\n    }\n\n    function _v4PoolKey(address token0, address token1, uint24 fee, int24 tickSpacing, address hooks)\n        internal\n        view\n        returns (IPositionManagerV4.PoolKey memory key)\n    {\n        if (token0 == address(0) || token1 == address(0)) revert ZeroAddr();\n        if (token0 >= token1) revert OrderErr();\n        if (!_v4HookAllowedForEntry(hooks)) revert V4HooksUnsupported();\n        key = IPositionManagerV4.PoolKey({\n            currency0: token0,\n            currency1: token1,\n            fee: fee,\n            tickSpacing: tickSpacing,\n            hooks: hooks\n        });\n    }\n\n    /// @dev Executor ENTRY only (create/increase): with `poolAllowlistEnforced` on, the pool must be on\n    /// the owner-set allowlist. Exits (decrease/collect/burn) never come through here, so de-listing\n    /// a pool stops new deposits but cannot trap capital. The owner is exempt (guards return early).\n    function _requireExecutorPoolAllowed(bytes32 poolKey) internal view {\n        if (!_poolAllowedForEntry(poolKey)) revert PoolNotAllowed(poolKey);\n    }\n\n    /// @dev V3 allowlist key is the pool address the factory reports for (token0, token1, fee).\n    function _requireExecutorPoolAllowedV3(address token0, address token1, uint24 fee)\n        internal\n        view\n        returns (address pool)\n    {\n        pool = _v3Pool(token0, token1, fee);\n        _requireExecutorPoolAllowed(bytes32(uint256(uint160(pool))));\n    }\n\n    /// @dev V4 allowlist key is the poolId; the allowlist is asked before any price read.\n    function _requireExecutorEntryV4(IPositionManagerV4.PoolKey memory key, uint160 expectedSqrtPriceX96)\n        internal\n        view\n    {\n        bytes32 poolId = keccak256(abi.encode(key));\n        _requireExecutorPoolAllowed(poolId);\n        _requireV4StablePriceGuard(key, poolId, expectedSqrtPriceX96);\n    }\n\n    function _requireV4StablePriceGuard(\n        IPositionManagerV4.PoolKey memory key,\n        bytes32 poolId,\n        uint160 expectedSqrtPriceX96\n    ) internal view {\n        if (expectedSqrtPriceX96 == 0) revert V4PriceGuardRequired();\n        if (v4StateView == address(0)) revert V4ViewNA();\n        (uint160 spot,,,) = IStateViewV4(v4StateView).getSlot0(poolId);\n        uint8 decimals0 = _stableTokenDecimalsOrRevert(key.currency0);\n        uint8 decimals1 = _stableTokenDecimalsOrRevert(key.currency1);\n        uint256 priceX18 = _v4PriceX18FromSqrt(spot, decimals0, decimals1);\n        uint256 minPriceX18 = _effectiveV4StablePriceMinX18();\n        uint256 maxPriceX18 = _effectiveV4StablePriceMaxX18();\n        if (priceX18 < minPriceX18 || priceX18 > maxPriceX18) {\n            revert V4StablePriceOutOfRange(key.currency0, key.currency1, priceX18, minPriceX18, maxPriceX18);\n        }\n    }\n\n    function _v4PriceX18FromSqrt(uint160 sqrtPriceX96, uint8 decimals0, uint8 decimals1)\n        internal\n        pure\n        returns (uint256)\n    {\n        uint256 rawPriceX96 = FullMath.mulDiv(uint256(sqrtPriceX96), uint256(sqrtPriceX96), FixedPoint96.Q96);\n        uint256 scale0 = 10 ** uint256(decimals0);\n        uint256 scale1 = 10 ** uint256(decimals1);\n        return FullMath.mulDiv(rawPriceX96, 1e18 * scale0, FixedPoint96.Q96 * scale1);\n    }\n\n    function _requireOwnedPosition(address nft, uint256 tokenId) internal view {\n        address actualOwner = IERC721(nft).ownerOf(tokenId);\n        if (actualOwner != address(this)) revert PositionNotOwned(nft, tokenId, actualOwner);\n    }\n\n    function _requireAllowedV3PositionTokens(uint256 tokenId)\n        internal\n        view\n        returns (address token0, address token1, uint24 fee)\n    {\n        _requireOwnedPosition(nfpm, tokenId);\n        (,, token0, token1, fee,,,,,,,) = INonfungiblePositionManager(nfpm).positions(tokenId);\n        _requireAllowedPair(token0, token1);\n    }\n\n    function _v3Pool(address token0, address token1, uint24 fee) internal view returns (address pool) {\n        pool = IUniswapV3Factory(v3Factory).getPool(token0, token1, fee);\n        if (pool == address(0)) revert PoolNA();\n    }\n\n    function _requireV3StablePriceGuard(address pool, address token0, address token1) internal view {\n        (uint160 spot,,,,,,) = IUniswapV3Pool(pool).slot0();\n        uint256 priceX18 = _v4PriceX18FromSqrt(\n            spot,\n            _stableTokenDecimalsOrRevert(token0),\n            _stableTokenDecimalsOrRevert(token1)\n        );\n        uint256 minPriceX18 = _effectiveV4StablePriceMinX18();\n        uint256 maxPriceX18 = _effectiveV4StablePriceMaxX18();\n        if (priceX18 < minPriceX18 || priceX18 > maxPriceX18) {\n            revert V3StablePriceOutOfRange(token0, token1, priceX18, minPriceX18, maxPriceX18);\n        }\n    }\n\n    function _requireAllowedV4PositionTokens(uint256 tokenId)\n        internal\n        view\n        returns (IPositionManagerV4.PoolKey memory key)\n    {\n        _requireOwnedPosition(v4PositionManager, tokenId);\n        (key,) = IPositionManagerV4(v4PositionManager).getPoolAndPositionInfo(tokenId);\n        _requireAllowedPair(key.currency0, key.currency1);\n    }\n\n    function _selectorOf(bytes calldata data) internal pure returns (bytes4 selector) {\n        if (data.length < 4) revert ExternalCallFailed();\n        assembly {\n            selector := calldataload(data.offset)\n        }\n    }\n\n    function _decodeKyberSwapDescription(bytes calldata routeData)\n        internal\n        pure\n        returns (IMetaAggregationRouterV2.SwapDescriptionV2 memory desc, address approveTarget)\n    {\n        if (routeData.length < 4) revert KyberUnsupportedRoute();\n\n        bytes4 selector;\n        assembly {\n            selector := calldataload(routeData.offset)\n        }\n\n        bytes calldata params = routeData[4:];\n        if (selector == IMetaAggregationRouterV2.swap.selector || selector == IMetaAggregationRouterV2.swapGeneric.selector) {\n            IMetaAggregationRouterV2.SwapExecutionParams memory execution =\n                abi.decode(params, (IMetaAggregationRouterV2.SwapExecutionParams));\n            return (execution.desc, execution.approveTarget);\n        }\n        if (selector == IMetaAggregationRouterV2.swapSimpleMode.selector) {\n            (, desc,,) = abi.decode(params, (address, IMetaAggregationRouterV2.SwapDescriptionV2, bytes, bytes));\n            return (desc, address(0));\n        }\n\n        revert KyberUnsupportedRoute();\n    }\n\n    function getPool(address token0, address token1, uint24 fee) external view returns (address) {\n        return _v3Pool(token0, token1, fee);\n    }\n\n    function onERC721Received(address, address, uint256, bytes calldata) external pure override returns (bytes4) {\n        return IERC721Receiver.onERC721Received.selector;\n    }\n\n    receive() external payable {}\n\n    function _setModules(address v3Module_, address v4Module_) internal {\n        if (v3Module_ == address(0) || v4Module_ == address(0)) revert ZeroAddr();\n        _requireModuleInterface(v3Module_, type(IALMV3Module).interfaceId);\n        _requireModuleInterface(v4Module_, type(IALMV4Module).interfaceId);\n        v3Module = v3Module_;\n        v4Module = v4Module_;\n        emit ModulesSet(v3Module_, v4Module_);\n    }\n\n    function _requireModuleInterface(address module, bytes4 interfaceId) internal view {\n        if (module.code.length == 0) revert ExternalCallFailed();\n        try IERC165(module).supportsInterface(interfaceId) returns (bool supported) {\n            if (!supported) revert ExternalCallFailed();\n        } catch {\n            revert ExternalCallFailed();\n        }\n    }\n\n    function _setKyberRouter(address router_) internal {\n        if (router_ == address(0)) revert ZeroAddr();\n        if (router_.code.length == 0) revert ExternalCallFailed();\n        kyberRouter = router_;\n        emit KyberRouterSet(router_);\n    }\n\n    function _setFlyRouter(address router_) internal {\n        if (router_ == address(0)) revert ZeroAddr();\n        if (router_.code.length == 0) revert ExternalCallFailed();\n        flyRouter = router_;\n        emit FlyRouterSet(router_);\n    }\n\n    function _setVeloraRouter(address router_) internal {\n        if (router_ == address(0)) revert ZeroAddr();\n        if (router_.code.length == 0) revert ExternalCallFailed();\n        veloraRouter = router_;\n        emit VeloraRouterSet(router_);\n    }\n}\n"},"interfaces/IMetaAggregationRouterV2.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity =0.8.35;\n\n/// @dev Pinned KyberSwap MetaAggregationRouterV2 ABI surface used by ALM guarded swap validation.\n/// Keep this interface synchronized with the configured chain router deployment before router changes.\ninterface IMetaAggregationRouterV2 {\n    struct SwapDescriptionV2 {\n        address srcToken;\n        address dstToken;\n        address[] srcReceivers;\n        uint256[] srcAmounts;\n        address[] feeReceivers;\n        uint256[] feeAmounts;\n        address dstReceiver;\n        uint256 amount;\n        uint256 minReturnAmount;\n        uint256 flags;\n        bytes permit;\n    }\n\n    struct SwapExecutionParams {\n        address callTarget;\n        address approveTarget;\n        bytes targetData;\n        SwapDescriptionV2 desc;\n        bytes clientData;\n    }\n\n    function swap(SwapExecutionParams calldata execution) external payable returns (uint256 returnAmount, uint256 gasUsed);\n    function swapGeneric(SwapExecutionParams calldata execution)\n        external\n        payable\n        returns (uint256 returnAmount, uint256 gasUsed);\n    function swapSimpleMode(\n        address executor,\n        SwapDescriptionV2 calldata desc,\n        bytes calldata executorData,\n        bytes calldata clientData\n    ) external payable returns (uint256 returnAmount, uint256 gasUsed);\n}\n"},"node_modules/@openzeppelin/contracts/utils/Errors.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/Errors.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Collection of common custom errors used in multiple contracts\n *\n * IMPORTANT: Backwards compatibility is not guaranteed in future versions of the library.\n * It is recommended to avoid relying on the error API for critical functionality.\n *\n * _Available since v5.1._\n */\nlibrary Errors {\n    /**\n     * @dev The ETH balance of the account is not enough to perform the operation.\n     */\n    error InsufficientBalance(uint256 balance, uint256 needed);\n\n    /**\n     * @dev A call to an address target failed. The target may have reverted.\n     */\n    error FailedCall();\n\n    /**\n     * @dev The deployment failed.\n     */\n    error FailedDeployment();\n\n    /**\n     * @dev A necessary precompile is missing.\n     */\n    error MissingPrecompile(address);\n}\n"},"node_modules/@openzeppelin/contracts/utils/Address.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.5.0) (utils/Address.sol)\n\npragma solidity ^0.8.20;\n\nimport {Errors} from \"./Errors.sol\";\nimport {LowLevelCall} from \"./LowLevelCall.sol\";\n\n/**\n * @dev Collection of functions related to the address type\n */\nlibrary Address {\n    /**\n     * @dev There's no code at `target` (it is not a contract).\n     */\n    error AddressEmptyCode(address target);\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.20/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\n     */\n    function sendValue(address payable recipient, uint256 amount) internal {\n        if (address(this).balance < amount) {\n            revert Errors.InsufficientBalance(address(this).balance, amount);\n        }\n        if (LowLevelCall.callNoReturn(recipient, amount, \"\")) {\n            // call successful, nothing to do\n            return;\n        } else if (LowLevelCall.returnDataSize() > 0) {\n            LowLevelCall.bubbleRevert();\n        } else {\n            revert Errors.FailedCall();\n        }\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 or custom error, it is bubbled\n     * up by this function (like regular Solidity function calls). However, if\n     * the call reverted with no returned reason, this function reverts with a\n     * {Errors.FailedCall} error.\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    function functionCall(address target, bytes memory data) internal returns (bytes memory) {\n        return functionCallWithValue(target, data, 0);\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    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {\n        if (address(this).balance < value) {\n            revert Errors.InsufficientBalance(address(this).balance, value);\n        }\n        bool success = LowLevelCall.callNoReturn(target, value, data);\n        if (success && (LowLevelCall.returnDataSize() > 0 || target.code.length > 0)) {\n            return LowLevelCall.returnData();\n        } else if (success) {\n            revert AddressEmptyCode(target);\n        } else if (LowLevelCall.returnDataSize() > 0) {\n            LowLevelCall.bubbleRevert();\n        } else {\n            revert Errors.FailedCall();\n        }\n    }\n\n    /**\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n     * but performing a static call.\n     */\n    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\n        bool success = LowLevelCall.staticcallNoReturn(target, data);\n        if (success && (LowLevelCall.returnDataSize() > 0 || target.code.length > 0)) {\n            return LowLevelCall.returnData();\n        } else if (success) {\n            revert AddressEmptyCode(target);\n        } else if (LowLevelCall.returnDataSize() > 0) {\n            LowLevelCall.bubbleRevert();\n        } else {\n            revert Errors.FailedCall();\n        }\n    }\n\n    /**\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n     * but performing a delegate call.\n     */\n    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\n        bool success = LowLevelCall.delegatecallNoReturn(target, data);\n        if (success && (LowLevelCall.returnDataSize() > 0 || target.code.length > 0)) {\n            return LowLevelCall.returnData();\n        } else if (success) {\n            revert AddressEmptyCode(target);\n        } else if (LowLevelCall.returnDataSize() > 0) {\n            LowLevelCall.bubbleRevert();\n        } else {\n            revert Errors.FailedCall();\n        }\n    }\n\n    /**\n     * @dev Tool to verify that a low level call to smart-contract was successful, and reverts if the target\n     * was not a contract or bubbling up the revert reason (falling back to {Errors.FailedCall}) in case\n     * of an unsuccessful call.\n     *\n     * NOTE: This function is DEPRECATED and may be removed in the next major release.\n     */\n    function verifyCallResultFromTarget(\n        address target,\n        bool success,\n        bytes memory returndata\n    ) internal view returns (bytes memory) {\n        // only check if target is a contract if the call was successful and the return data is empty\n        // otherwise we already know that it was a contract\n        if (success && (returndata.length > 0 || target.code.length > 0)) {\n            return returndata;\n        } else if (success) {\n            revert AddressEmptyCode(target);\n        } else if (returndata.length > 0) {\n            LowLevelCall.bubbleRevert(returndata);\n        } else {\n            revert Errors.FailedCall();\n        }\n    }\n\n    /**\n     * @dev Tool to verify that a low level call was successful, and reverts if it wasn't, either by bubbling the\n     * revert reason or with a default {Errors.FailedCall} error.\n     */\n    function verifyCallResult(bool success, bytes memory returndata) internal pure returns (bytes memory) {\n        if (success) {\n            return returndata;\n        } else if (returndata.length > 0) {\n            LowLevelCall.bubbleRevert(returndata);\n        } else {\n            revert Errors.FailedCall();\n        }\n    }\n}\n"},"node_modules/@uniswap/v4-core/src/libraries/BitMath.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/// @title BitMath\n/// @dev This library provides functionality for computing bit properties of an unsigned integer\n/// @author Solady (https://github.com/Vectorized/solady/blob/8200a70e8dc2a77ecb074fc2e99a2a0d36547522/src/utils/LibBit.sol)\nlibrary BitMath {\n    /// @notice Returns the index of the most significant bit of the number,\n    ///     where the least significant bit is at index 0 and the most significant bit is at index 255\n    /// @param x the value for which to compute the most significant bit, must be greater than 0\n    /// @return r the index of the most significant bit\n    function mostSignificantBit(uint256 x) internal pure returns (uint8 r) {\n        require(x > 0);\n\n        assembly (\"memory-safe\") {\n            r := shl(7, lt(0xffffffffffffffffffffffffffffffff, x))\n            r := or(r, shl(6, lt(0xffffffffffffffff, shr(r, x))))\n            r := or(r, shl(5, lt(0xffffffff, shr(r, x))))\n            r := or(r, shl(4, lt(0xffff, shr(r, x))))\n            r := or(r, shl(3, lt(0xff, shr(r, x))))\n            // forgefmt: disable-next-item\n            r := or(r, byte(and(0x1f, shr(shr(r, x), 0x8421084210842108cc6318c6db6d54be)),\n                0x0706060506020500060203020504000106050205030304010505030400000000))\n        }\n    }\n\n    /// @notice Returns the index of the least significant bit of the number,\n    ///     where the least significant bit is at index 0 and the most significant bit is at index 255\n    /// @param x the value for which to compute the least significant bit, must be greater than 0\n    /// @return r the index of the least significant bit\n    function leastSignificantBit(uint256 x) internal pure returns (uint8 r) {\n        require(x > 0);\n\n        assembly (\"memory-safe\") {\n            // Isolate the least significant bit.\n            x := and(x, sub(0, x))\n            // For the upper 3 bits of the result, use a De Bruijn-like lookup.\n            // Credit to adhusson: https://blog.adhusson.com/cheap-find-first-set-evm/\n            // forgefmt: disable-next-item\n            r := shl(5, shr(252, shl(shl(2, shr(250, mul(x,\n                0xb6db6db6ddddddddd34d34d349249249210842108c6318c639ce739cffffffff))),\n                0x8040405543005266443200005020610674053026020000107506200176117077)))\n            // For the lower 5 bits of the result, use a De Bruijn lookup.\n            // forgefmt: disable-next-item\n            r := or(r, byte(and(div(0xd76453e0, shr(r, x)), 0x1f),\n                0x001f0d1e100c1d070f090b19131c1706010e11080a1a141802121b1503160405))\n        }\n    }\n}\n"},"node_modules/@uniswap/v4-core/src/libraries/FullMath.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/// @title Contains 512-bit math functions\n/// @notice Facilitates multiplication and division that can have overflow of an intermediate value without any loss of precision\n/// @dev Handles \"phantom overflow\" i.e., allows multiplication and division where an intermediate value overflows 256 bits\nlibrary FullMath {\n    /// @notice Calculates floor(a×b÷denominator) with full precision. Throws if result overflows a uint256 or denominator == 0\n    /// @param a The multiplicand\n    /// @param b The multiplier\n    /// @param denominator The divisor\n    /// @return result The 256-bit result\n    /// @dev Credit to Remco Bloemen under MIT license https://xn--2-umb.com/21/muldiv\n    function mulDiv(uint256 a, uint256 b, uint256 denominator) internal pure returns (uint256 result) {\n        unchecked {\n            // 512-bit multiply [prod1 prod0] = a * b\n            // Compute the product mod 2**256 and mod 2**256 - 1\n            // then use the Chinese Remainder Theorem to reconstruct\n            // the 512 bit result. The result is stored in two 256\n            // variables such that product = prod1 * 2**256 + prod0\n            uint256 prod0 = a * b; // Least significant 256 bits of the product\n            uint256 prod1; // Most significant 256 bits of the product\n            assembly (\"memory-safe\") {\n                let mm := mulmod(a, b, not(0))\n                prod1 := sub(sub(mm, prod0), lt(mm, prod0))\n            }\n\n            // Make sure the result is less than 2**256.\n            // Also prevents denominator == 0\n            require(denominator > prod1);\n\n            // Handle non-overflow cases, 256 by 256 division\n            if (prod1 == 0) {\n                assembly (\"memory-safe\") {\n                    result := div(prod0, denominator)\n                }\n                return result;\n            }\n\n            ///////////////////////////////////////////////\n            // 512 by 256 division.\n            ///////////////////////////////////////////////\n\n            // Make division exact by subtracting the remainder from [prod1 prod0]\n            // Compute remainder using mulmod\n            uint256 remainder;\n            assembly (\"memory-safe\") {\n                remainder := mulmod(a, b, denominator)\n            }\n            // Subtract 256 bit number from 512 bit number\n            assembly (\"memory-safe\") {\n                prod1 := sub(prod1, gt(remainder, prod0))\n                prod0 := sub(prod0, remainder)\n            }\n\n            // Factor powers of two out of denominator\n            // Compute largest power of two divisor of denominator.\n            // Always >= 1.\n            uint256 twos = (0 - denominator) & denominator;\n            // Divide denominator by power of two\n            assembly (\"memory-safe\") {\n                denominator := div(denominator, twos)\n            }\n\n            // Divide [prod1 prod0] by the factors of two\n            assembly (\"memory-safe\") {\n                prod0 := div(prod0, twos)\n            }\n            // Shift in bits from prod1 into prod0. For this we need\n            // to flip `twos` such that it is 2**256 / twos.\n            // If twos is zero, then it becomes one\n            assembly (\"memory-safe\") {\n                twos := add(div(sub(0, twos), twos), 1)\n            }\n            prod0 |= prod1 * twos;\n\n            // Invert denominator mod 2**256\n            // Now that denominator is an odd number, it has an inverse\n            // modulo 2**256 such that denominator * inv = 1 mod 2**256.\n            // Compute the inverse by starting with a seed that is correct\n            // correct for four bits. That is, denominator * inv = 1 mod 2**4\n            uint256 inv = (3 * denominator) ^ 2;\n            // Now use Newton-Raphson iteration to improve the precision.\n            // Thanks to Hensel's lifting lemma, this also works in modular\n            // arithmetic, doubling the correct bits in each step.\n            inv *= 2 - denominator * inv; // inverse mod 2**8\n            inv *= 2 - denominator * inv; // inverse mod 2**16\n            inv *= 2 - denominator * inv; // inverse mod 2**32\n            inv *= 2 - denominator * inv; // inverse mod 2**64\n            inv *= 2 - denominator * inv; // inverse mod 2**128\n            inv *= 2 - denominator * inv; // inverse mod 2**256\n\n            // Because the division is now exact we can divide by multiplying\n            // with the modular inverse of denominator. This will give us the\n            // correct result modulo 2**256. Since the preconditions guarantee\n            // that the outcome is less than 2**256, this is the final result.\n            // We don't need to compute the high bits of the result and prod1\n            // is no longer required.\n            result = prod0 * inv;\n            return result;\n        }\n    }\n\n    /// @notice Calculates ceil(a×b÷denominator) with full precision. Throws if result overflows a uint256 or denominator == 0\n    /// @param a The multiplicand\n    /// @param b The multiplier\n    /// @param denominator The divisor\n    /// @return result The 256-bit result\n    function mulDivRoundingUp(uint256 a, uint256 b, uint256 denominator) internal pure returns (uint256 result) {\n        unchecked {\n            result = mulDiv(a, b, denominator);\n            if (mulmod(a, b, denominator) != 0) {\n                require(++result > 0);\n            }\n        }\n    }\n}\n"},"node_modules/@uniswap/v4-core/src/libraries/SafeCast.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {CustomRevert} from \"./CustomRevert.sol\";\n\n/// @title Safe casting methods\n/// @notice Contains methods for safely casting between types\nlibrary SafeCast {\n    using CustomRevert for bytes4;\n\n    error SafeCastOverflow();\n\n    /// @notice Cast a uint256 to a uint160, revert on overflow\n    /// @param x The uint256 to be downcasted\n    /// @return y The downcasted integer, now type uint160\n    function toUint160(uint256 x) internal pure returns (uint160 y) {\n        y = uint160(x);\n        if (y != x) SafeCastOverflow.selector.revertWith();\n    }\n\n    /// @notice Cast a uint256 to a uint128, revert on overflow\n    /// @param x The uint256 to be downcasted\n    /// @return y The downcasted integer, now type uint128\n    function toUint128(uint256 x) internal pure returns (uint128 y) {\n        y = uint128(x);\n        if (x != y) SafeCastOverflow.selector.revertWith();\n    }\n\n    /// @notice Cast a int128 to a uint128, revert on overflow or underflow\n    /// @param x The int128 to be casted\n    /// @return y The casted integer, now type uint128\n    function toUint128(int128 x) internal pure returns (uint128 y) {\n        if (x < 0) SafeCastOverflow.selector.revertWith();\n        y = uint128(x);\n    }\n\n    /// @notice Cast a int256 to a int128, revert on overflow or underflow\n    /// @param x The int256 to be downcasted\n    /// @return y The downcasted integer, now type int128\n    function toInt128(int256 x) internal pure returns (int128 y) {\n        y = int128(x);\n        if (y != x) SafeCastOverflow.selector.revertWith();\n    }\n\n    /// @notice Cast a uint256 to a int256, revert on overflow\n    /// @param x The uint256 to be casted\n    /// @return y The casted integer, now type int256\n    function toInt256(uint256 x) internal pure returns (int256 y) {\n        y = int256(x);\n        if (y < 0) SafeCastOverflow.selector.revertWith();\n    }\n\n    /// @notice Cast a uint256 to a int128, revert on overflow\n    /// @param x The uint256 to be downcasted\n    /// @return The downcasted integer, now type int128\n    function toInt128(uint256 x) internal pure returns (int128) {\n        if (x >= 1 << 127) SafeCastOverflow.selector.revertWith();\n        return int128(int256(x));\n    }\n}\n"},"node_modules/@uniswap/v4-core/src/libraries/TickMath.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {BitMath} from \"./BitMath.sol\";\nimport {CustomRevert} from \"./CustomRevert.sol\";\n\n/// @title Math library for computing sqrt prices from ticks and vice versa\n/// @notice Computes sqrt price for ticks of size 1.0001, i.e. sqrt(1.0001^tick) as fixed point Q64.96 numbers. Supports\n/// prices between 2**-128 and 2**128\nlibrary TickMath {\n    using CustomRevert for bytes4;\n\n    /// @notice Thrown when the tick passed to #getSqrtPriceAtTick is not between MIN_TICK and MAX_TICK\n    error InvalidTick(int24 tick);\n    /// @notice Thrown when the price passed to #getTickAtSqrtPrice does not correspond to a price between MIN_TICK and MAX_TICK\n    error InvalidSqrtPrice(uint160 sqrtPriceX96);\n\n    /// @dev The minimum tick that may be passed to #getSqrtPriceAtTick computed from log base 1.0001 of 2**-128\n    /// @dev If ever MIN_TICK and MAX_TICK are not centered around 0, the absTick logic in getSqrtPriceAtTick cannot be used\n    int24 internal constant MIN_TICK = -887272;\n    /// @dev The maximum tick that may be passed to #getSqrtPriceAtTick computed from log base 1.0001 of 2**128\n    /// @dev If ever MIN_TICK and MAX_TICK are not centered around 0, the absTick logic in getSqrtPriceAtTick cannot be used\n    int24 internal constant MAX_TICK = 887272;\n\n    /// @dev The minimum tick spacing value drawn from the range of type int16 that is greater than 0, i.e. min from the range [1, 32767]\n    int24 internal constant MIN_TICK_SPACING = 1;\n    /// @dev The maximum tick spacing value drawn from the range of type int16, i.e. max from the range [1, 32767]\n    int24 internal constant MAX_TICK_SPACING = type(int16).max;\n\n    /// @dev The minimum value that can be returned from #getSqrtPriceAtTick. Equivalent to getSqrtPriceAtTick(MIN_TICK)\n    uint160 internal constant MIN_SQRT_PRICE = 4295128739;\n    /// @dev The maximum value that can be returned from #getSqrtPriceAtTick. Equivalent to getSqrtPriceAtTick(MAX_TICK)\n    uint160 internal constant MAX_SQRT_PRICE = 1461446703485210103287273052203988822378723970342;\n    /// @dev A threshold used for optimized bounds check, equals `MAX_SQRT_PRICE - MIN_SQRT_PRICE - 1`\n    uint160 internal constant MAX_SQRT_PRICE_MINUS_MIN_SQRT_PRICE_MINUS_ONE =\n        1461446703485210103287273052203988822378723970342 - 4295128739 - 1;\n\n    /// @notice Given a tickSpacing, compute the maximum usable tick\n    function maxUsableTick(int24 tickSpacing) internal pure returns (int24) {\n        unchecked {\n            return (MAX_TICK / tickSpacing) * tickSpacing;\n        }\n    }\n\n    /// @notice Given a tickSpacing, compute the minimum usable tick\n    function minUsableTick(int24 tickSpacing) internal pure returns (int24) {\n        unchecked {\n            return (MIN_TICK / tickSpacing) * tickSpacing;\n        }\n    }\n\n    /// @notice Calculates sqrt(1.0001^tick) * 2^96\n    /// @dev Throws if |tick| > max tick\n    /// @param tick The input tick for the above formula\n    /// @return sqrtPriceX96 A Fixed point Q64.96 number representing the sqrt of the price of the two assets (currency1/currency0)\n    /// at the given tick\n    function getSqrtPriceAtTick(int24 tick) internal pure returns (uint160 sqrtPriceX96) {\n        unchecked {\n            uint256 absTick;\n            assembly (\"memory-safe\") {\n                tick := signextend(2, tick)\n                // mask = 0 if tick >= 0 else -1 (all 1s)\n                let mask := sar(255, tick)\n                // if tick >= 0, |tick| = tick = 0 ^ tick\n                // if tick < 0, |tick| = ~~|tick| = ~(-|tick| - 1) = ~(tick - 1) = (-1) ^ (tick - 1)\n                // either way, |tick| = mask ^ (tick + mask)\n                absTick := xor(mask, add(mask, tick))\n            }\n\n            if (absTick > uint256(int256(MAX_TICK))) InvalidTick.selector.revertWith(tick);\n\n            // The tick is decomposed into bits, and for each bit with index i that is set, the product of 1/sqrt(1.0001^(2^i))\n            // is calculated (using Q128.128). The constants used for this calculation are rounded to the nearest integer\n\n            // Equivalent to:\n            //     price = absTick & 0x1 != 0 ? 0xfffcb933bd6fad37aa2d162d1a594001 : 0x100000000000000000000000000000000;\n            //     or price = int(2**128 / sqrt(1.0001)) if (absTick & 0x1) else 1 << 128\n            uint256 price;\n            assembly (\"memory-safe\") {\n                price := xor(shl(128, 1), mul(xor(shl(128, 1), 0xfffcb933bd6fad37aa2d162d1a594001), and(absTick, 0x1)))\n            }\n            if (absTick & 0x2 != 0) price = (price * 0xfff97272373d413259a46990580e213a) >> 128;\n            if (absTick & 0x4 != 0) price = (price * 0xfff2e50f5f656932ef12357cf3c7fdcc) >> 128;\n            if (absTick & 0x8 != 0) price = (price * 0xffe5caca7e10e4e61c3624eaa0941cd0) >> 128;\n            if (absTick & 0x10 != 0) price = (price * 0xffcb9843d60f6159c9db58835c926644) >> 128;\n            if (absTick & 0x20 != 0) price = (price * 0xff973b41fa98c081472e6896dfb254c0) >> 128;\n            if (absTick & 0x40 != 0) price = (price * 0xff2ea16466c96a3843ec78b326b52861) >> 128;\n            if (absTick & 0x80 != 0) price = (price * 0xfe5dee046a99a2a811c461f1969c3053) >> 128;\n            if (absTick & 0x100 != 0) price = (price * 0xfcbe86c7900a88aedcffc83b479aa3a4) >> 128;\n            if (absTick & 0x200 != 0) price = (price * 0xf987a7253ac413176f2b074cf7815e54) >> 128;\n            if (absTick & 0x400 != 0) price = (price * 0xf3392b0822b70005940c7a398e4b70f3) >> 128;\n            if (absTick & 0x800 != 0) price = (price * 0xe7159475a2c29b7443b29c7fa6e889d9) >> 128;\n            if (absTick & 0x1000 != 0) price = (price * 0xd097f3bdfd2022b8845ad8f792aa5825) >> 128;\n            if (absTick & 0x2000 != 0) price = (price * 0xa9f746462d870fdf8a65dc1f90e061e5) >> 128;\n            if (absTick & 0x4000 != 0) price = (price * 0x70d869a156d2a1b890bb3df62baf32f7) >> 128;\n            if (absTick & 0x8000 != 0) price = (price * 0x31be135f97d08fd981231505542fcfa6) >> 128;\n            if (absTick & 0x10000 != 0) price = (price * 0x9aa508b5b7a84e1c677de54f3e99bc9) >> 128;\n            if (absTick & 0x20000 != 0) price = (price * 0x5d6af8dedb81196699c329225ee604) >> 128;\n            if (absTick & 0x40000 != 0) price = (price * 0x2216e584f5fa1ea926041bedfe98) >> 128;\n            if (absTick & 0x80000 != 0) price = (price * 0x48a170391f7dc42444e8fa2) >> 128;\n\n            assembly (\"memory-safe\") {\n                // if (tick > 0) price = type(uint256).max / price;\n                if sgt(tick, 0) { price := div(not(0), price) }\n\n                // this divides by 1<<32 rounding up to go from a Q128.128 to a Q128.96.\n                // we then downcast because we know the result always fits within 160 bits due to our tick input constraint\n                // we round up in the division so getTickAtSqrtPrice of the output price is always consistent\n                // `sub(shl(32, 1), 1)` is `type(uint32).max`\n                // `price + type(uint32).max` will not overflow because `price` fits in 192 bits\n                sqrtPriceX96 := shr(32, add(price, sub(shl(32, 1), 1)))\n            }\n        }\n    }\n\n    /// @notice Calculates the greatest tick value such that getSqrtPriceAtTick(tick) <= sqrtPriceX96\n    /// @dev Throws in case sqrtPriceX96 < MIN_SQRT_PRICE, as MIN_SQRT_PRICE is the lowest value getSqrtPriceAtTick may\n    /// ever return.\n    /// @param sqrtPriceX96 The sqrt price for which to compute the tick as a Q64.96\n    /// @return tick The greatest tick for which the getSqrtPriceAtTick(tick) is less than or equal to the input sqrtPriceX96\n    function getTickAtSqrtPrice(uint160 sqrtPriceX96) internal pure returns (int24 tick) {\n        unchecked {\n            // Equivalent: if (sqrtPriceX96 < MIN_SQRT_PRICE || sqrtPriceX96 >= MAX_SQRT_PRICE) revert InvalidSqrtPrice();\n            // second inequality must be >= because the price can never reach the price at the max tick\n            // if sqrtPriceX96 < MIN_SQRT_PRICE, the `sub` underflows and `gt` is true\n            // if sqrtPriceX96 >= MAX_SQRT_PRICE, sqrtPriceX96 - MIN_SQRT_PRICE > MAX_SQRT_PRICE - MIN_SQRT_PRICE - 1\n            if ((sqrtPriceX96 - MIN_SQRT_PRICE) > MAX_SQRT_PRICE_MINUS_MIN_SQRT_PRICE_MINUS_ONE) {\n                InvalidSqrtPrice.selector.revertWith(sqrtPriceX96);\n            }\n\n            uint256 price = uint256(sqrtPriceX96) << 32;\n\n            uint256 r = price;\n            uint256 msb = BitMath.mostSignificantBit(r);\n\n            if (msb >= 128) r = price >> (msb - 127);\n            else r = price << (127 - msb);\n\n            int256 log_2 = (int256(msb) - 128) << 64;\n\n            assembly (\"memory-safe\") {\n                r := shr(127, mul(r, r))\n                let f := shr(128, r)\n                log_2 := or(log_2, shl(63, f))\n                r := shr(f, r)\n            }\n            assembly (\"memory-safe\") {\n                r := shr(127, mul(r, r))\n                let f := shr(128, r)\n                log_2 := or(log_2, shl(62, f))\n                r := shr(f, r)\n            }\n            assembly (\"memory-safe\") {\n                r := shr(127, mul(r, r))\n                let f := shr(128, r)\n                log_2 := or(log_2, shl(61, f))\n                r := shr(f, r)\n            }\n            assembly (\"memory-safe\") {\n                r := shr(127, mul(r, r))\n                let f := shr(128, r)\n                log_2 := or(log_2, shl(60, f))\n                r := shr(f, r)\n            }\n            assembly (\"memory-safe\") {\n                r := shr(127, mul(r, r))\n                let f := shr(128, r)\n                log_2 := or(log_2, shl(59, f))\n                r := shr(f, r)\n            }\n            assembly (\"memory-safe\") {\n                r := shr(127, mul(r, r))\n                let f := shr(128, r)\n                log_2 := or(log_2, shl(58, f))\n                r := shr(f, r)\n            }\n            assembly (\"memory-safe\") {\n                r := shr(127, mul(r, r))\n                let f := shr(128, r)\n                log_2 := or(log_2, shl(57, f))\n                r := shr(f, r)\n            }\n            assembly (\"memory-safe\") {\n                r := shr(127, mul(r, r))\n                let f := shr(128, r)\n                log_2 := or(log_2, shl(56, f))\n                r := shr(f, r)\n            }\n            assembly (\"memory-safe\") {\n                r := shr(127, mul(r, r))\n                let f := shr(128, r)\n                log_2 := or(log_2, shl(55, f))\n                r := shr(f, r)\n            }\n            assembly (\"memory-safe\") {\n                r := shr(127, mul(r, r))\n                let f := shr(128, r)\n                log_2 := or(log_2, shl(54, f))\n                r := shr(f, r)\n            }\n            assembly (\"memory-safe\") {\n                r := shr(127, mul(r, r))\n                let f := shr(128, r)\n                log_2 := or(log_2, shl(53, f))\n                r := shr(f, r)\n            }\n            assembly (\"memory-safe\") {\n                r := shr(127, mul(r, r))\n                let f := shr(128, r)\n                log_2 := or(log_2, shl(52, f))\n                r := shr(f, r)\n            }\n            assembly (\"memory-safe\") {\n                r := shr(127, mul(r, r))\n                let f := shr(128, r)\n                log_2 := or(log_2, shl(51, f))\n                r := shr(f, r)\n            }\n            assembly (\"memory-safe\") {\n                r := shr(127, mul(r, r))\n                let f := shr(128, r)\n                log_2 := or(log_2, shl(50, f))\n            }\n\n            int256 log_sqrt10001 = log_2 * 255738958999603826347141; // Q22.128 number\n\n            // Magic number represents the ceiling of the maximum value of the error when approximating log_sqrt10001(x)\n            int24 tickLow = int24((log_sqrt10001 - 3402992956809132418596140100660247210) >> 128);\n\n            // Magic number represents the minimum value of the error when approximating log_sqrt10001(x), when\n            // sqrtPrice is from the range (2^-64, 2^64). This is safe as MIN_SQRT_PRICE is more than 2^-64. If MIN_SQRT_PRICE\n            // is changed, this may need to be changed too\n            int24 tickHi = int24((log_sqrt10001 + 291339464771989622907027621153398088495) >> 128);\n\n            tick = tickLow == tickHi ? tickLow : getSqrtPriceAtTick(tickHi) <= sqrtPriceX96 ? tickHi : tickLow;\n        }\n    }\n}\n"},"node_modules/@openzeppelin/contracts/interfaces/IERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC20.sol)\n\npragma solidity >=0.4.16;\n\nimport {IERC20} from \"../token/ERC20/IERC20.sol\";\n"},"node_modules/@openzeppelin/contracts/utils/StorageSlot.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/StorageSlot.sol)\n// This file was procedurally generated from scripts/generate/templates/StorageSlot.js.\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Library for reading and writing primitive types to specific storage slots.\n *\n * Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.\n * This library helps with reading and writing to such slots without the need for inline assembly.\n *\n * The functions in this library return Slot structs that contain a `value` member that can be used to read or write.\n *\n * Example usage to set ERC-1967 implementation slot:\n * ```solidity\n * contract ERC1967 {\n *     // Define the slot. Alternatively, use the SlotDerivation library to derive the slot.\n *     bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;\n *\n *     function _getImplementation() internal view returns (address) {\n *         return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;\n *     }\n *\n *     function _setImplementation(address newImplementation) internal {\n *         require(newImplementation.code.length > 0);\n *         StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;\n *     }\n * }\n * ```\n *\n * TIP: Consider using this library along with {SlotDerivation}.\n */\nlibrary StorageSlot {\n    struct AddressSlot {\n        address value;\n    }\n\n    struct BooleanSlot {\n        bool value;\n    }\n\n    struct Bytes32Slot {\n        bytes32 value;\n    }\n\n    struct Uint256Slot {\n        uint256 value;\n    }\n\n    struct Int256Slot {\n        int256 value;\n    }\n\n    struct StringSlot {\n        string value;\n    }\n\n    struct BytesSlot {\n        bytes value;\n    }\n\n    /**\n     * @dev Returns an `AddressSlot` with member `value` located at `slot`.\n     */\n    function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns a `BooleanSlot` with member `value` located at `slot`.\n     */\n    function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns a `Bytes32Slot` with member `value` located at `slot`.\n     */\n    function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns a `Uint256Slot` with member `value` located at `slot`.\n     */\n    function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns a `Int256Slot` with member `value` located at `slot`.\n     */\n    function getInt256Slot(bytes32 slot) internal pure returns (Int256Slot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns a `StringSlot` with member `value` located at `slot`.\n     */\n    function getStringSlot(bytes32 slot) internal pure returns (StringSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns an `StringSlot` representation of the string storage pointer `store`.\n     */\n    function getStringSlot(string storage store) internal pure returns (StringSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := store.slot\n        }\n    }\n\n    /**\n     * @dev Returns a `BytesSlot` with member `value` located at `slot`.\n     */\n    function getBytesSlot(bytes32 slot) internal pure returns (BytesSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns an `BytesSlot` representation of the bytes storage pointer `store`.\n     */\n    function getBytesSlot(bytes storage store) internal pure returns (BytesSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := store.slot\n        }\n    }\n}\n"},"node_modules/@uniswap/v4-core/src/libraries/UnsafeMath.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/// @title Math functions that do not check inputs or outputs\n/// @notice Contains methods that perform common math functions but do not do any overflow or underflow checks\nlibrary UnsafeMath {\n    /// @notice Returns ceil(x / y)\n    /// @dev division by 0 will return 0, and should be checked externally\n    /// @param x The dividend\n    /// @param y The divisor\n    /// @return z The quotient, ceil(x / y)\n    function divRoundingUp(uint256 x, uint256 y) internal pure returns (uint256 z) {\n        assembly (\"memory-safe\") {\n            z := add(div(x, y), gt(mod(x, y), 0))\n        }\n    }\n\n    /// @notice Calculates floor(a×b÷denominator)\n    /// @dev division by 0 will return 0, and should be checked externally\n    /// @param a The multiplicand\n    /// @param b The multiplier\n    /// @param denominator The divisor\n    /// @return result The 256-bit result, floor(a×b÷denominator)\n    function simpleMulDiv(uint256 a, uint256 b, uint256 denominator) internal pure returns (uint256 result) {\n        assembly (\"memory-safe\") {\n            result := div(mul(a, b), denominator)\n        }\n    }\n}\n"},"node_modules/@openzeppelin/contracts/interfaces/IERC165.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC165.sol)\n\npragma solidity >=0.4.16;\n\nimport {IERC165} from \"../utils/introspection/IERC165.sol\";\n"},"node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (token/ERC20/IERC20.sol)\n\npragma solidity >=0.4.16;\n\n/**\n * @dev Interface of the ERC-20 standard as defined in the ERC.\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 value of tokens in existence.\n     */\n    function totalSupply() external view returns (uint256);\n\n    /**\n     * @dev Returns the value of tokens owned by `account`.\n     */\n    function balanceOf(address account) external view returns (uint256);\n\n    /**\n     * @dev Moves a `value` amount of 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 value) 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 a `value` amount of tokens as the allowance of `spender` over the\n     * 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 value) external returns (bool);\n\n    /**\n     * @dev Moves a `value` amount of tokens from `from` to `to` using the\n     * allowance mechanism. `value` 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 value) external returns (bool);\n}\n"},"node_modules/@openzeppelin/contracts/utils/LowLevelCall.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.6.0) (utils/LowLevelCall.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Library of low level call functions that implement different calling strategies to deal with the return data.\n *\n * WARNING: Using this library requires an advanced understanding of Solidity and how the EVM works. It is recommended\n * to use the {Address} library instead.\n */\nlibrary LowLevelCall {\n    /// @dev Performs a Solidity function call using a low level `call` and ignoring the return data.\n    function callNoReturn(address target, bytes memory data) internal returns (bool success) {\n        return callNoReturn(target, 0, data);\n    }\n\n    /// @dev Same as {callNoReturn-address-bytes}, but allows specifying the value to be sent in the call.\n    function callNoReturn(address target, uint256 value, bytes memory data) internal returns (bool success) {\n        assembly (\"memory-safe\") {\n            success := call(gas(), target, value, add(data, 0x20), mload(data), 0x00, 0x00)\n        }\n    }\n\n    /// @dev Performs a Solidity function call using a low level `call` and returns the first 64 bytes of the result\n    /// in the scratch space of memory. Useful for functions that return a tuple with two single-word values.\n    ///\n    /// WARNING: Do not assume that the results are zero if `success` is false. Memory can be already allocated\n    /// and this function doesn't zero it out.\n    function callReturn64Bytes(\n        address target,\n        bytes memory data\n    ) internal returns (bool success, bytes32 result1, bytes32 result2) {\n        return callReturn64Bytes(target, 0, data);\n    }\n\n    /// @dev Same as {callReturn64Bytes-address-bytes}, but allows specifying the value to be sent in the call.\n    function callReturn64Bytes(\n        address target,\n        uint256 value,\n        bytes memory data\n    ) internal returns (bool success, bytes32 result1, bytes32 result2) {\n        assembly (\"memory-safe\") {\n            success := call(gas(), target, value, add(data, 0x20), mload(data), 0x00, 0x40)\n            result1 := mload(0x00)\n            result2 := mload(0x20)\n        }\n    }\n\n    /// @dev Performs a Solidity function call using a low level `staticcall` and ignoring the return data.\n    function staticcallNoReturn(address target, bytes memory data) internal view returns (bool success) {\n        assembly (\"memory-safe\") {\n            success := staticcall(gas(), target, add(data, 0x20), mload(data), 0x00, 0x00)\n        }\n    }\n\n    /// @dev Performs a Solidity function call using a low level `staticcall` and returns the first 64 bytes of the result\n    /// in the scratch space of memory. Useful for functions that return a tuple with two single-word values.\n    ///\n    /// WARNING: Do not assume that the results are zero if `success` is false. Memory can be already allocated\n    /// and this function doesn't zero it out.\n    function staticcallReturn64Bytes(\n        address target,\n        bytes memory data\n    ) internal view returns (bool success, bytes32 result1, bytes32 result2) {\n        assembly (\"memory-safe\") {\n            success := staticcall(gas(), target, add(data, 0x20), mload(data), 0x00, 0x40)\n            result1 := mload(0x00)\n            result2 := mload(0x20)\n        }\n    }\n\n    /// @dev Performs a Solidity function call using a low level `delegatecall` and ignoring the return data.\n    function delegatecallNoReturn(address target, bytes memory data) internal returns (bool success) {\n        assembly (\"memory-safe\") {\n            success := delegatecall(gas(), target, add(data, 0x20), mload(data), 0x00, 0x00)\n        }\n    }\n\n    /// @dev Performs a Solidity function call using a low level `delegatecall` and returns the first 64 bytes of the result\n    /// in the scratch space of memory. Useful for functions that return a tuple with two single-word values.\n    ///\n    /// WARNING: Do not assume that the results are zero if `success` is false. Memory can be already allocated\n    /// and this function doesn't zero it out.\n    function delegatecallReturn64Bytes(\n        address target,\n        bytes memory data\n    ) internal returns (bool success, bytes32 result1, bytes32 result2) {\n        assembly (\"memory-safe\") {\n            success := delegatecall(gas(), target, add(data, 0x20), mload(data), 0x00, 0x40)\n            result1 := mload(0x00)\n            result2 := mload(0x20)\n        }\n    }\n\n    /// @dev Returns the size of the return data buffer.\n    function returnDataSize() internal pure returns (uint256 size) {\n        assembly (\"memory-safe\") {\n            size := returndatasize()\n        }\n    }\n\n    /// @dev Returns a buffer containing the return data from the last call.\n    function returnData() internal pure returns (bytes memory result) {\n        assembly (\"memory-safe\") {\n            result := mload(0x40)\n            mstore(result, returndatasize())\n            returndatacopy(add(result, 0x20), 0x00, returndatasize())\n            mstore(0x40, add(result, add(0x20, returndatasize())))\n        }\n    }\n\n    /// @dev Revert with the return data from the last call.\n    function bubbleRevert() internal pure {\n        assembly (\"memory-safe\") {\n            let fmp := mload(0x40)\n            returndatacopy(fmp, 0x00, returndatasize())\n            revert(fmp, returndatasize())\n        }\n    }\n\n    function bubbleRevert(bytes memory returndata) internal pure {\n        assembly (\"memory-safe\") {\n            revert(add(returndata, 0x20), mload(returndata))\n        }\n    }\n}\n"},"node_modules/@openzeppelin/contracts/interfaces/IERC1363.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC1363.sol)\n\npragma solidity >=0.6.2;\n\nimport {IERC20} from \"./IERC20.sol\";\nimport {IERC165} from \"./IERC165.sol\";\n\n/**\n * @title IERC1363\n * @dev Interface of the ERC-1363 standard as defined in the https://eips.ethereum.org/EIPS/eip-1363[ERC-1363].\n *\n * Defines an extension interface for ERC-20 tokens that supports executing code on a recipient contract\n * after `transfer` or `transferFrom`, or code on a spender contract after `approve`, in a single transaction.\n */\ninterface IERC1363 is IERC20, IERC165 {\n    /*\n     * Note: the ERC-165 identifier for this interface is 0xb0202a11.\n     * 0xb0202a11 ===\n     *   bytes4(keccak256('transferAndCall(address,uint256)')) ^\n     *   bytes4(keccak256('transferAndCall(address,uint256,bytes)')) ^\n     *   bytes4(keccak256('transferFromAndCall(address,address,uint256)')) ^\n     *   bytes4(keccak256('transferFromAndCall(address,address,uint256,bytes)')) ^\n     *   bytes4(keccak256('approveAndCall(address,uint256)')) ^\n     *   bytes4(keccak256('approveAndCall(address,uint256,bytes)'))\n     */\n\n    /**\n     * @dev Moves a `value` amount of tokens from the caller's account to `to`\n     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.\n     * @param to The address which you want to transfer to.\n     * @param value The amount of tokens to be transferred.\n     * @return A boolean value indicating whether the operation succeeded unless throwing.\n     */\n    function transferAndCall(address to, uint256 value) external returns (bool);\n\n    /**\n     * @dev Moves a `value` amount of tokens from the caller's account to `to`\n     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.\n     * @param to The address which you want to transfer to.\n     * @param value The amount of tokens to be transferred.\n     * @param data Additional data with no specified format, sent in call to `to`.\n     * @return A boolean value indicating whether the operation succeeded unless throwing.\n     */\n    function transferAndCall(address to, uint256 value, bytes calldata data) external returns (bool);\n\n    /**\n     * @dev Moves a `value` amount of tokens from `from` to `to` using the allowance mechanism\n     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.\n     * @param from The address which you want to send tokens from.\n     * @param to The address which you want to transfer to.\n     * @param value The amount of tokens to be transferred.\n     * @return A boolean value indicating whether the operation succeeded unless throwing.\n     */\n    function transferFromAndCall(address from, address to, uint256 value) external returns (bool);\n\n    /**\n     * @dev Moves a `value` amount of tokens from `from` to `to` using the allowance mechanism\n     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.\n     * @param from The address which you want to send tokens from.\n     * @param to The address which you want to transfer to.\n     * @param value The amount of tokens to be transferred.\n     * @param data Additional data with no specified format, sent in call to `to`.\n     * @return A boolean value indicating whether the operation succeeded unless throwing.\n     */\n    function transferFromAndCall(address from, address to, uint256 value, bytes calldata data) external returns (bool);\n\n    /**\n     * @dev Sets a `value` amount of tokens as the allowance of `spender` over the\n     * caller's tokens and then calls {IERC1363Spender-onApprovalReceived} on `spender`.\n     * @param spender The address which will spend the funds.\n     * @param value The amount of tokens to be spent.\n     * @return A boolean value indicating whether the operation succeeded unless throwing.\n     */\n    function approveAndCall(address spender, uint256 value) external returns (bool);\n\n    /**\n     * @dev Sets a `value` amount of tokens as the allowance of `spender` over the\n     * caller's tokens and then calls {IERC1363Spender-onApprovalReceived} on `spender`.\n     * @param spender The address which will spend the funds.\n     * @param value The amount of tokens to be spent.\n     * @param data Additional data with no specified format, sent in call to `spender`.\n     * @return A boolean value indicating whether the operation succeeded unless throwing.\n     */\n    function approveAndCall(address spender, uint256 value, bytes calldata data) external returns (bool);\n}\n"},"node_modules/@openzeppelin/contracts/interfaces/IERC1967.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC1967.sol)\n\npragma solidity >=0.4.11;\n\n/**\n * @dev ERC-1967: Proxy Storage Slots. This interface contains the events defined in the ERC.\n */\ninterface IERC1967 {\n    /**\n     * @dev Emitted when the implementation is upgraded.\n     */\n    event Upgraded(address indexed implementation);\n\n    /**\n     * @dev Emitted when the admin account has changed.\n     */\n    event AdminChanged(address previousAdmin, address newAdmin);\n\n    /**\n     * @dev Emitted when the beacon is changed.\n     */\n    event BeaconUpgraded(address indexed beacon);\n}\n"},"node_modules/@uniswap/v4-core/src/libraries/CustomRevert.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/// @title Library for reverting with custom errors efficiently\n/// @notice Contains functions for reverting with custom errors with different argument types efficiently\n/// @dev To use this library, declare `using CustomRevert for bytes4;` and replace `revert CustomError()` with\n/// `CustomError.selector.revertWith()`\n/// @dev The functions may tamper with the free memory pointer but it is fine since the call context is exited immediately\nlibrary CustomRevert {\n    /// @dev ERC-7751 error for wrapping bubbled up reverts\n    error WrappedError(address target, bytes4 selector, bytes reason, bytes details);\n\n    /// @dev Reverts with the selector of a custom error in the scratch space\n    function revertWith(bytes4 selector) internal pure {\n        assembly (\"memory-safe\") {\n            mstore(0, selector)\n            revert(0, 0x04)\n        }\n    }\n\n    /// @dev Reverts with a custom error with an address argument in the scratch space\n    function revertWith(bytes4 selector, address addr) internal pure {\n        assembly (\"memory-safe\") {\n            mstore(0, selector)\n            mstore(0x04, and(addr, 0xffffffffffffffffffffffffffffffffffffffff))\n            revert(0, 0x24)\n        }\n    }\n\n    /// @dev Reverts with a custom error with an int24 argument in the scratch space\n    function revertWith(bytes4 selector, int24 value) internal pure {\n        assembly (\"memory-safe\") {\n            mstore(0, selector)\n            mstore(0x04, signextend(2, value))\n            revert(0, 0x24)\n        }\n    }\n\n    /// @dev Reverts with a custom error with a uint160 argument in the scratch space\n    function revertWith(bytes4 selector, uint160 value) internal pure {\n        assembly (\"memory-safe\") {\n            mstore(0, selector)\n            mstore(0x04, and(value, 0xffffffffffffffffffffffffffffffffffffffff))\n            revert(0, 0x24)\n        }\n    }\n\n    /// @dev Reverts with a custom error with two int24 arguments\n    function revertWith(bytes4 selector, int24 value1, int24 value2) internal pure {\n        assembly (\"memory-safe\") {\n            let fmp := mload(0x40)\n            mstore(fmp, selector)\n            mstore(add(fmp, 0x04), signextend(2, value1))\n            mstore(add(fmp, 0x24), signextend(2, value2))\n            revert(fmp, 0x44)\n        }\n    }\n\n    /// @dev Reverts with a custom error with two uint160 arguments\n    function revertWith(bytes4 selector, uint160 value1, uint160 value2) internal pure {\n        assembly (\"memory-safe\") {\n            let fmp := mload(0x40)\n            mstore(fmp, selector)\n            mstore(add(fmp, 0x04), and(value1, 0xffffffffffffffffffffffffffffffffffffffff))\n            mstore(add(fmp, 0x24), and(value2, 0xffffffffffffffffffffffffffffffffffffffff))\n            revert(fmp, 0x44)\n        }\n    }\n\n    /// @dev Reverts with a custom error with two address arguments\n    function revertWith(bytes4 selector, address value1, address value2) internal pure {\n        assembly (\"memory-safe\") {\n            let fmp := mload(0x40)\n            mstore(fmp, selector)\n            mstore(add(fmp, 0x04), and(value1, 0xffffffffffffffffffffffffffffffffffffffff))\n            mstore(add(fmp, 0x24), and(value2, 0xffffffffffffffffffffffffffffffffffffffff))\n            revert(fmp, 0x44)\n        }\n    }\n\n    /// @notice bubble up the revert message returned by a call and revert with a wrapped ERC-7751 error\n    /// @dev this method can be vulnerable to revert data bombs\n    function bubbleUpAndRevertWith(\n        address revertingContract,\n        bytes4 revertingFunctionSelector,\n        bytes4 additionalContext\n    ) internal pure {\n        bytes4 wrappedErrorSelector = WrappedError.selector;\n        assembly (\"memory-safe\") {\n            // Ensure the size of the revert data is a multiple of 32 bytes\n            let encodedDataSize := mul(div(add(returndatasize(), 31), 32), 32)\n\n            let fmp := mload(0x40)\n\n            // Encode wrapped error selector, address, function selector, offset, additional context, size, revert reason\n            mstore(fmp, wrappedErrorSelector)\n            mstore(add(fmp, 0x04), and(revertingContract, 0xffffffffffffffffffffffffffffffffffffffff))\n            mstore(\n                add(fmp, 0x24),\n                and(revertingFunctionSelector, 0xffffffff00000000000000000000000000000000000000000000000000000000)\n            )\n            // offset revert reason\n            mstore(add(fmp, 0x44), 0x80)\n            // offset additional context\n            mstore(add(fmp, 0x64), add(0xa0, encodedDataSize))\n            // size revert reason\n            mstore(add(fmp, 0x84), returndatasize())\n            // revert reason\n            returndatacopy(add(fmp, 0xa4), 0, returndatasize())\n            // size additional context\n            mstore(add(fmp, add(0xa4, encodedDataSize)), 0x04)\n            // additional context\n            mstore(\n                add(fmp, add(0xc4, encodedDataSize)),\n                and(additionalContext, 0xffffffff00000000000000000000000000000000000000000000000000000000)\n            )\n            revert(fmp, add(0xe4, encodedDataSize))\n        }\n    }\n}\n"},"node_modules/@uniswap/v4-core/src/libraries/FixedPoint96.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/// @title FixedPoint96\n/// @notice A library for handling binary fixed point numbers, see https://en.wikipedia.org/wiki/Q_(number_format)\n/// @dev Used in SqrtPriceMath.sol\nlibrary FixedPoint96 {\n    uint8 internal constant RESOLUTION = 96;\n    uint256 internal constant Q96 = 0x1000000000000000000000000;\n}\n"},"node_modules/@openzeppelin/contracts/proxy/beacon/IBeacon.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (proxy/beacon/IBeacon.sol)\n\npragma solidity >=0.4.16;\n\n/**\n * @dev This is the interface that {BeaconProxy} expects of its beacon.\n */\ninterface IBeacon {\n    /**\n     * @dev Must return an address that can be used as a delegate call target.\n     *\n     * {UpgradeableBeacon} will check that this address is a contract.\n     */\n    function implementation() external view returns (address);\n}\n"},"node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (token/ERC721/IERC721.sol)\n\npragma solidity >=0.6.2;\n\nimport {IERC165} from \"../../utils/introspection/IERC165.sol\";\n\n/**\n * @dev Required interface of an ERC-721 compliant contract.\n */\ninterface IERC721 is IERC165 {\n    /**\n     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.\n     */\n    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);\n\n    /**\n     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.\n     */\n    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);\n\n    /**\n     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.\n     */\n    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);\n\n    /**\n     * @dev Returns the number of tokens in ``owner``'s account.\n     */\n    function balanceOf(address owner) external view returns (uint256 balance);\n\n    /**\n     * @dev Returns the owner of the `tokenId` token.\n     *\n     * Requirements:\n     *\n     * - `tokenId` must exist.\n     */\n    function ownerOf(uint256 tokenId) external view returns (address owner);\n\n    /**\n     * @dev Safely transfers `tokenId` token from `from` to `to`.\n     *\n     * Requirements:\n     *\n     * - `from` cannot be the zero address.\n     * - `to` cannot be the zero address.\n     * - `tokenId` token must exist and be owned by `from`.\n     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon\n     *   a safe transfer.\n     *\n     * Emits a {Transfer} event.\n     */\n    function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;\n\n    /**\n     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n     * are aware of the ERC-721 protocol to prevent tokens from being forever locked.\n     *\n     * Requirements:\n     *\n     * - `from` cannot be the zero address.\n     * - `to` cannot be the zero address.\n     * - `tokenId` token must exist and be owned by `from`.\n     * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or\n     *   {setApprovalForAll}.\n     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon\n     *   a safe transfer.\n     *\n     * Emits a {Transfer} event.\n     */\n    function safeTransferFrom(address from, address to, uint256 tokenId) external;\n\n    /**\n     * @dev Transfers `tokenId` token from `from` to `to`.\n     *\n     * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC-721\n     * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must\n     * understand this adds an external call which potentially creates a reentrancy vulnerability.\n     *\n     * Requirements:\n     *\n     * - `from` cannot be the zero address.\n     * - `to` cannot be the zero address.\n     * - `tokenId` token must be owned by `from`.\n     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n     *\n     * Emits a {Transfer} event.\n     */\n    function transferFrom(address from, address to, uint256 tokenId) external;\n\n    /**\n     * @dev Gives permission to `to` to transfer `tokenId` token to another account.\n     * The approval is cleared when the token is transferred.\n     *\n     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.\n     *\n     * Requirements:\n     *\n     * - The caller must own the token or be an approved operator.\n     * - `tokenId` must exist.\n     *\n     * Emits an {Approval} event.\n     */\n    function approve(address to, uint256 tokenId) external;\n\n    /**\n     * @dev Approve or remove `operator` as an operator for the caller.\n     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.\n     *\n     * Requirements:\n     *\n     * - The `operator` cannot be the address zero.\n     *\n     * Emits an {ApprovalForAll} event.\n     */\n    function setApprovalForAll(address operator, bool approved) external;\n\n    /**\n     * @dev Returns the account approved for `tokenId` token.\n     *\n     * Requirements:\n     *\n     * - `tokenId` must exist.\n     */\n    function getApproved(uint256 tokenId) external view returns (address operator);\n\n    /**\n     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.\n     *\n     * See {setApprovalForAll}\n     */\n    function isApprovedForAll(address owner, address operator) external view returns (bool);\n}\n"},"node_modules/@uniswap/v4-core/src/libraries/SqrtPriceMath.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {SafeCast} from \"./SafeCast.sol\";\n\nimport {FullMath} from \"./FullMath.sol\";\nimport {UnsafeMath} from \"./UnsafeMath.sol\";\nimport {FixedPoint96} from \"./FixedPoint96.sol\";\n\n/// @title Functions based on Q64.96 sqrt price and liquidity\n/// @notice Contains the math that uses square root of price as a Q64.96 and liquidity to compute deltas\nlibrary SqrtPriceMath {\n    using SafeCast for uint256;\n\n    error InvalidPriceOrLiquidity();\n    error InvalidPrice();\n    error NotEnoughLiquidity();\n    error PriceOverflow();\n\n    /// @notice Gets the next sqrt price given a delta of currency0\n    /// @dev Always rounds up, because in the exact output case (increasing price) we need to move the price at least\n    /// far enough to get the desired output amount, and in the exact input case (decreasing price) we need to move the\n    /// price less in order to not send too much output.\n    /// The most precise formula for this is liquidity * sqrtPX96 / (liquidity +- amount * sqrtPX96),\n    /// if this is impossible because of overflow, we calculate liquidity / (liquidity / sqrtPX96 +- amount).\n    /// @param sqrtPX96 The starting price, i.e. before accounting for the currency0 delta\n    /// @param liquidity The amount of usable liquidity\n    /// @param amount How much of currency0 to add or remove from virtual reserves\n    /// @param add Whether to add or remove the amount of currency0\n    /// @return The price after adding or removing amount, depending on add\n    function getNextSqrtPriceFromAmount0RoundingUp(uint160 sqrtPX96, uint128 liquidity, uint256 amount, bool add)\n        internal\n        pure\n        returns (uint160)\n    {\n        // we short circuit amount == 0 because the result is otherwise not guaranteed to equal the input price\n        if (amount == 0) return sqrtPX96;\n        uint256 numerator1 = uint256(liquidity) << FixedPoint96.RESOLUTION;\n\n        if (add) {\n            unchecked {\n                uint256 product = amount * sqrtPX96;\n                if (product / amount == sqrtPX96) {\n                    uint256 denominator = numerator1 + product;\n                    if (denominator >= numerator1) {\n                        // always fits in 160 bits\n                        return uint160(FullMath.mulDivRoundingUp(numerator1, sqrtPX96, denominator));\n                    }\n                }\n            }\n            // denominator is checked for overflow\n            return uint160(UnsafeMath.divRoundingUp(numerator1, (numerator1 / sqrtPX96) + amount));\n        } else {\n            unchecked {\n                uint256 product = amount * sqrtPX96;\n                // if the product overflows, we know the denominator underflows\n                // in addition, we must check that the denominator does not underflow\n                // equivalent: if (product / amount != sqrtPX96 || numerator1 <= product) revert PriceOverflow();\n                assembly (\"memory-safe\") {\n                    if iszero(\n                        and(\n                            eq(div(product, amount), and(sqrtPX96, 0xffffffffffffffffffffffffffffffffffffffff)),\n                            gt(numerator1, product)\n                        )\n                    ) {\n                        mstore(0, 0xf5c787f1) // selector for PriceOverflow()\n                        revert(0x1c, 0x04)\n                    }\n                }\n                uint256 denominator = numerator1 - product;\n                return FullMath.mulDivRoundingUp(numerator1, sqrtPX96, denominator).toUint160();\n            }\n        }\n    }\n\n    /// @notice Gets the next sqrt price given a delta of currency1\n    /// @dev Always rounds down, because in the exact output case (decreasing price) we need to move the price at least\n    /// far enough to get the desired output amount, and in the exact input case (increasing price) we need to move the\n    /// price less in order to not send too much output.\n    /// The formula we compute is within <1 wei of the lossless version: sqrtPX96 +- amount / liquidity\n    /// @param sqrtPX96 The starting price, i.e., before accounting for the currency1 delta\n    /// @param liquidity The amount of usable liquidity\n    /// @param amount How much of currency1 to add, or remove, from virtual reserves\n    /// @param add Whether to add, or remove, the amount of currency1\n    /// @return The price after adding or removing `amount`\n    function getNextSqrtPriceFromAmount1RoundingDown(uint160 sqrtPX96, uint128 liquidity, uint256 amount, bool add)\n        internal\n        pure\n        returns (uint160)\n    {\n        // if we're adding (subtracting), rounding down requires rounding the quotient down (up)\n        // in both cases, avoid a mulDiv for most inputs\n        if (add) {\n            uint256 quotient = (\n                amount <= type(uint160).max\n                    ? (amount << FixedPoint96.RESOLUTION) / liquidity\n                    : FullMath.mulDiv(amount, FixedPoint96.Q96, liquidity)\n            );\n\n            return (uint256(sqrtPX96) + quotient).toUint160();\n        } else {\n            uint256 quotient = (\n                amount <= type(uint160).max\n                    ? UnsafeMath.divRoundingUp(amount << FixedPoint96.RESOLUTION, liquidity)\n                    : FullMath.mulDivRoundingUp(amount, FixedPoint96.Q96, liquidity)\n            );\n\n            // equivalent: if (sqrtPX96 <= quotient) revert NotEnoughLiquidity();\n            assembly (\"memory-safe\") {\n                if iszero(gt(and(sqrtPX96, 0xffffffffffffffffffffffffffffffffffffffff), quotient)) {\n                    mstore(0, 0x4323a555) // selector for NotEnoughLiquidity()\n                    revert(0x1c, 0x04)\n                }\n            }\n            // always fits 160 bits\n            unchecked {\n                return uint160(sqrtPX96 - quotient);\n            }\n        }\n    }\n\n    /// @notice Gets the next sqrt price given an input amount of currency0 or currency1\n    /// @dev Throws if price or liquidity are 0, or if the next price is out of bounds\n    /// @param sqrtPX96 The starting price, i.e., before accounting for the input amount\n    /// @param liquidity The amount of usable liquidity\n    /// @param amountIn How much of currency0, or currency1, is being swapped in\n    /// @param zeroForOne Whether the amount in is currency0 or currency1\n    /// @return uint160 The price after adding the input amount to currency0 or currency1\n    function getNextSqrtPriceFromInput(uint160 sqrtPX96, uint128 liquidity, uint256 amountIn, bool zeroForOne)\n        internal\n        pure\n        returns (uint160)\n    {\n        // equivalent: if (sqrtPX96 == 0 || liquidity == 0) revert InvalidPriceOrLiquidity();\n        assembly (\"memory-safe\") {\n            if or(\n                iszero(and(sqrtPX96, 0xffffffffffffffffffffffffffffffffffffffff)),\n                iszero(and(liquidity, 0xffffffffffffffffffffffffffffffff))\n            ) {\n                mstore(0, 0x4f2461b8) // selector for InvalidPriceOrLiquidity()\n                revert(0x1c, 0x04)\n            }\n        }\n\n        // round to make sure that we don't pass the target price\n        return zeroForOne\n            ? getNextSqrtPriceFromAmount0RoundingUp(sqrtPX96, liquidity, amountIn, true)\n            : getNextSqrtPriceFromAmount1RoundingDown(sqrtPX96, liquidity, amountIn, true);\n    }\n\n    /// @notice Gets the next sqrt price given an output amount of currency0 or currency1\n    /// @dev Throws if price or liquidity are 0 or the next price is out of bounds\n    /// @param sqrtPX96 The starting price before accounting for the output amount\n    /// @param liquidity The amount of usable liquidity\n    /// @param amountOut How much of currency0, or currency1, is being swapped out\n    /// @param zeroForOne Whether the amount out is currency1 or currency0\n    /// @return uint160 The price after removing the output amount of currency0 or currency1\n    function getNextSqrtPriceFromOutput(uint160 sqrtPX96, uint128 liquidity, uint256 amountOut, bool zeroForOne)\n        internal\n        pure\n        returns (uint160)\n    {\n        // equivalent: if (sqrtPX96 == 0 || liquidity == 0) revert InvalidPriceOrLiquidity();\n        assembly (\"memory-safe\") {\n            if or(\n                iszero(and(sqrtPX96, 0xffffffffffffffffffffffffffffffffffffffff)),\n                iszero(and(liquidity, 0xffffffffffffffffffffffffffffffff))\n            ) {\n                mstore(0, 0x4f2461b8) // selector for InvalidPriceOrLiquidity()\n                revert(0x1c, 0x04)\n            }\n        }\n\n        // round to make sure that we pass the target price\n        return zeroForOne\n            ? getNextSqrtPriceFromAmount1RoundingDown(sqrtPX96, liquidity, amountOut, false)\n            : getNextSqrtPriceFromAmount0RoundingUp(sqrtPX96, liquidity, amountOut, false);\n    }\n\n    /// @notice Gets the amount0 delta between two prices\n    /// @dev Calculates liquidity / sqrt(lower) - liquidity / sqrt(upper),\n    /// i.e. liquidity * (sqrt(upper) - sqrt(lower)) / (sqrt(upper) * sqrt(lower))\n    /// @param sqrtPriceAX96 A sqrt price\n    /// @param sqrtPriceBX96 Another sqrt price\n    /// @param liquidity The amount of usable liquidity\n    /// @param roundUp Whether to round the amount up or down\n    /// @return uint256 Amount of currency0 required to cover a position of size liquidity between the two passed prices\n    function getAmount0Delta(uint160 sqrtPriceAX96, uint160 sqrtPriceBX96, uint128 liquidity, bool roundUp)\n        internal\n        pure\n        returns (uint256)\n    {\n        unchecked {\n            if (sqrtPriceAX96 > sqrtPriceBX96) (sqrtPriceAX96, sqrtPriceBX96) = (sqrtPriceBX96, sqrtPriceAX96);\n\n            // equivalent: if (sqrtPriceAX96 == 0) revert InvalidPrice();\n            assembly (\"memory-safe\") {\n                if iszero(and(sqrtPriceAX96, 0xffffffffffffffffffffffffffffffffffffffff)) {\n                    mstore(0, 0x00bfc921) // selector for InvalidPrice()\n                    revert(0x1c, 0x04)\n                }\n            }\n\n            uint256 numerator1 = uint256(liquidity) << FixedPoint96.RESOLUTION;\n            uint256 numerator2 = sqrtPriceBX96 - sqrtPriceAX96;\n\n            return roundUp\n                ? UnsafeMath.divRoundingUp(FullMath.mulDivRoundingUp(numerator1, numerator2, sqrtPriceBX96), sqrtPriceAX96)\n                : FullMath.mulDiv(numerator1, numerator2, sqrtPriceBX96) / sqrtPriceAX96;\n        }\n    }\n\n    /// @notice Equivalent to: `a >= b ? a - b : b - a`\n    function absDiff(uint160 a, uint160 b) internal pure returns (uint256 res) {\n        assembly (\"memory-safe\") {\n            let diff :=\n                sub(and(a, 0xffffffffffffffffffffffffffffffffffffffff), and(b, 0xffffffffffffffffffffffffffffffffffffffff))\n            // mask = 0 if a >= b else -1 (all 1s)\n            let mask := sar(255, diff)\n            // if a >= b, res = a - b = 0 ^ (a - b)\n            // if a < b, res = b - a = ~~(b - a) = ~(-(b - a) - 1) = ~(a - b - 1) = (-1) ^ (a - b - 1)\n            // either way, res = mask ^ (a - b + mask)\n            res := xor(mask, add(mask, diff))\n        }\n    }\n\n    /// @notice Gets the amount1 delta between two prices\n    /// @dev Calculates liquidity * (sqrt(upper) - sqrt(lower))\n    /// @param sqrtPriceAX96 A sqrt price\n    /// @param sqrtPriceBX96 Another sqrt price\n    /// @param liquidity The amount of usable liquidity\n    /// @param roundUp Whether to round the amount up, or down\n    /// @return amount1 Amount of currency1 required to cover a position of size liquidity between the two passed prices\n    function getAmount1Delta(uint160 sqrtPriceAX96, uint160 sqrtPriceBX96, uint128 liquidity, bool roundUp)\n        internal\n        pure\n        returns (uint256 amount1)\n    {\n        uint256 numerator = absDiff(sqrtPriceAX96, sqrtPriceBX96);\n        uint256 denominator = FixedPoint96.Q96;\n        uint256 _liquidity = uint256(liquidity);\n\n        /**\n         * Equivalent to:\n         *   amount1 = roundUp\n         *       ? FullMath.mulDivRoundingUp(liquidity, sqrtPriceBX96 - sqrtPriceAX96, FixedPoint96.Q96)\n         *       : FullMath.mulDiv(liquidity, sqrtPriceBX96 - sqrtPriceAX96, FixedPoint96.Q96);\n         * Cannot overflow because `type(uint128).max * type(uint160).max >> 96 < (1 << 192)`.\n         */\n        amount1 = FullMath.mulDiv(_liquidity, numerator, denominator);\n        assembly (\"memory-safe\") {\n            amount1 := add(amount1, and(gt(mulmod(_liquidity, numerator, denominator), 0), roundUp))\n        }\n    }\n\n    /// @notice Helper that gets signed currency0 delta\n    /// @param sqrtPriceAX96 A sqrt price\n    /// @param sqrtPriceBX96 Another sqrt price\n    /// @param liquidity The change in liquidity for which to compute the amount0 delta\n    /// @return int256 Amount of currency0 corresponding to the passed liquidityDelta between the two prices\n    function getAmount0Delta(uint160 sqrtPriceAX96, uint160 sqrtPriceBX96, int128 liquidity)\n        internal\n        pure\n        returns (int256)\n    {\n        unchecked {\n            return liquidity < 0\n                ? getAmount0Delta(sqrtPriceAX96, sqrtPriceBX96, uint128(-liquidity), false).toInt256()\n                : -getAmount0Delta(sqrtPriceAX96, sqrtPriceBX96, uint128(liquidity), true).toInt256();\n        }\n    }\n\n    /// @notice Helper that gets signed currency1 delta\n    /// @param sqrtPriceAX96 A sqrt price\n    /// @param sqrtPriceBX96 Another sqrt price\n    /// @param liquidity The change in liquidity for which to compute the amount1 delta\n    /// @return int256 Amount of currency1 corresponding to the passed liquidityDelta between the two prices\n    function getAmount1Delta(uint160 sqrtPriceAX96, uint160 sqrtPriceBX96, int128 liquidity)\n        internal\n        pure\n        returns (int256)\n    {\n        unchecked {\n            return liquidity < 0\n                ? getAmount1Delta(sqrtPriceAX96, sqrtPriceBX96, uint128(-liquidity), false).toInt256()\n                : -getAmount1Delta(sqrtPriceAX96, sqrtPriceBX96, uint128(liquidity), true).toInt256();\n        }\n    }\n}\n"},"node_modules/@openzeppelin/contracts/utils/ReentrancyGuard.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.5.0) (utils/ReentrancyGuard.sol)\n\npragma solidity ^0.8.20;\n\nimport {StorageSlot} from \"./StorageSlot.sol\";\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 EIP-1153 (transient storage) is available on the chain you're deploying at,\n * consider using {ReentrancyGuardTransient} instead.\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 *\n * IMPORTANT: Deprecated. This storage-based reentrancy guard will be removed and replaced\n * by the {ReentrancyGuardTransient} variant in v6.0.\n *\n * @custom:stateless\n */\nabstract contract ReentrancyGuard {\n    using StorageSlot for bytes32;\n\n    // keccak256(abi.encode(uint256(keccak256(\"openzeppelin.storage.ReentrancyGuard\")) - 1)) & ~bytes32(uint256(0xff))\n    bytes32 private constant REENTRANCY_GUARD_STORAGE =\n        0x9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00;\n\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    /**\n     * @dev Unauthorized reentrant call.\n     */\n    error ReentrancyGuardReentrantCall();\n\n    constructor() {\n        _reentrancyGuardStorageSlot().getUint256Slot().value = 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 making it call a\n     * `private` function that does the actual work.\n     */\n    modifier nonReentrant() {\n        _nonReentrantBefore();\n        _;\n        _nonReentrantAfter();\n    }\n\n    /**\n     * @dev A `view` only version of {nonReentrant}. Use to block view functions\n     * from being called, preventing reading from inconsistent contract state.\n     *\n     * CAUTION: This is a \"view\" modifier and does not change the reentrancy\n     * status. Use it only on view functions. For payable or non-payable functions,\n     * use the standard {nonReentrant} modifier instead.\n     */\n    modifier nonReentrantView() {\n        _nonReentrantBeforeView();\n        _;\n    }\n\n    function _nonReentrantBeforeView() private view {\n        if (_reentrancyGuardEntered()) {\n            revert ReentrancyGuardReentrantCall();\n        }\n    }\n\n    function _nonReentrantBefore() private {\n        // On the first call to nonReentrant, _status will be NOT_ENTERED\n        _nonReentrantBeforeView();\n\n        // Any calls to nonReentrant after this point will fail\n        _reentrancyGuardStorageSlot().getUint256Slot().value = ENTERED;\n    }\n\n    function _nonReentrantAfter() private {\n        // By storing the original value once again, a refund is triggered (see\n        // https://eips.ethereum.org/EIPS/eip-2200)\n        _reentrancyGuardStorageSlot().getUint256Slot().value = NOT_ENTERED;\n    }\n\n    /**\n     * @dev Returns true if the reentrancy guard is currently set to \"entered\", which indicates there is a\n     * `nonReentrant` function in the call stack.\n     */\n    function _reentrancyGuardEntered() internal view returns (bool) {\n        return _reentrancyGuardStorageSlot().getUint256Slot().value == ENTERED;\n    }\n\n    function _reentrancyGuardStorageSlot() internal pure virtual returns (bytes32) {\n        return REENTRANCY_GUARD_STORAGE;\n    }\n}\n"},"node_modules/@openzeppelin/contracts/interfaces/draft-IERC1822.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/draft-IERC1822.sol)\n\npragma solidity >=0.4.16;\n\n/**\n * @dev ERC-1822: Universal Upgradeable Proxy Standard (UUPS) documents a method for upgradeability through a simplified\n * proxy whose upgrades are fully controlled by the current implementation.\n */\ninterface IERC1822Proxiable {\n    /**\n     * @dev Returns the storage slot that the proxiable contract assumes is being used to store the implementation\n     * address.\n     *\n     * IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks\n     * bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this\n     * function revert if invoked through a proxy.\n     */\n    function proxiableUUID() external view returns (bytes32);\n}\n"},"node_modules/@openzeppelin/contracts/proxy/utils/Initializable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.3.0) (proxy/utils/Initializable.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed\n * behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an\n * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer\n * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.\n *\n * The initialization functions use a version number. Once a version number is used, it is consumed and cannot be\n * reused. This mechanism prevents re-execution of each \"step\" but allows the creation of new initialization steps in\n * case an upgrade adds a module that needs to be initialized.\n *\n * For example:\n *\n * [.hljs-theme-light.nopadding]\n * ```solidity\n * contract MyToken is ERC20Upgradeable {\n *     function initialize() initializer public {\n *         __ERC20_init(\"MyToken\", \"MTK\");\n *     }\n * }\n *\n * contract MyTokenV2 is MyToken, ERC20PermitUpgradeable {\n *     function initializeV2() reinitializer(2) public {\n *         __ERC20Permit_init(\"MyToken\");\n *     }\n * }\n * ```\n *\n * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as\n * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.\n *\n * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure\n * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.\n *\n * [CAUTION]\n * ====\n * Avoid leaving a contract uninitialized.\n *\n * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation\n * contract, which may impact the proxy. To prevent the implementation contract from being used, you should invoke\n * the {_disableInitializers} function in the constructor to automatically lock it when it is deployed:\n *\n * [.hljs-theme-light.nopadding]\n * ```\n * /// @custom:oz-upgrades-unsafe-allow constructor\n * constructor() {\n *     _disableInitializers();\n * }\n * ```\n * ====\n */\nabstract contract Initializable {\n    /**\n     * @dev Storage of the initializable contract.\n     *\n     * It's implemented on a custom ERC-7201 namespace to reduce the risk of storage collisions\n     * when using with upgradeable contracts.\n     *\n     * @custom:storage-location erc7201:openzeppelin.storage.Initializable\n     */\n    struct InitializableStorage {\n        /**\n         * @dev Indicates that the contract has been initialized.\n         */\n        uint64 _initialized;\n        /**\n         * @dev Indicates that the contract is in the process of being initialized.\n         */\n        bool _initializing;\n    }\n\n    // keccak256(abi.encode(uint256(keccak256(\"openzeppelin.storage.Initializable\")) - 1)) & ~bytes32(uint256(0xff))\n    bytes32 private constant INITIALIZABLE_STORAGE = 0xf0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00;\n\n    /**\n     * @dev The contract is already initialized.\n     */\n    error InvalidInitialization();\n\n    /**\n     * @dev The contract is not initializing.\n     */\n    error NotInitializing();\n\n    /**\n     * @dev Triggered when the contract has been initialized or reinitialized.\n     */\n    event Initialized(uint64 version);\n\n    /**\n     * @dev A modifier that defines a protected initializer function that can be invoked at most once. In its scope,\n     * `onlyInitializing` functions can be used to initialize parent contracts.\n     *\n     * Similar to `reinitializer(1)`, except that in the context of a constructor an `initializer` may be invoked any\n     * number of times. This behavior in the constructor can be useful during testing and is not expected to be used in\n     * production.\n     *\n     * Emits an {Initialized} event.\n     */\n    modifier initializer() {\n        // solhint-disable-next-line var-name-mixedcase\n        InitializableStorage storage $ = _getInitializableStorage();\n\n        // Cache values to avoid duplicated sloads\n        bool isTopLevelCall = !$._initializing;\n        uint64 initialized = $._initialized;\n\n        // Allowed calls:\n        // - initialSetup: the contract is not in the initializing state and no previous version was\n        //                 initialized\n        // - construction: the contract is initialized at version 1 (no reinitialization) and the\n        //                 current contract is just being deployed\n        bool initialSetup = initialized == 0 && isTopLevelCall;\n        bool construction = initialized == 1 && address(this).code.length == 0;\n\n        if (!initialSetup && !construction) {\n            revert InvalidInitialization();\n        }\n        $._initialized = 1;\n        if (isTopLevelCall) {\n            $._initializing = true;\n        }\n        _;\n        if (isTopLevelCall) {\n            $._initializing = false;\n            emit Initialized(1);\n        }\n    }\n\n    /**\n     * @dev A modifier that defines a protected reinitializer function that can be invoked at most once, and only if the\n     * contract hasn't been initialized to a greater version before. In its scope, `onlyInitializing` functions can be\n     * used to initialize parent contracts.\n     *\n     * A reinitializer may be used after the original initialization step. This is essential to configure modules that\n     * are added through upgrades and that require initialization.\n     *\n     * When `version` is 1, this modifier is similar to `initializer`, except that functions marked with `reinitializer`\n     * cannot be nested. If one is invoked in the context of another, execution will revert.\n     *\n     * Note that versions can jump in increments greater than 1; this implies that if multiple reinitializers coexist in\n     * a contract, executing them in the right order is up to the developer or operator.\n     *\n     * WARNING: Setting the version to 2**64 - 1 will prevent any future reinitialization.\n     *\n     * Emits an {Initialized} event.\n     */\n    modifier reinitializer(uint64 version) {\n        // solhint-disable-next-line var-name-mixedcase\n        InitializableStorage storage $ = _getInitializableStorage();\n\n        if ($._initializing || $._initialized >= version) {\n            revert InvalidInitialization();\n        }\n        $._initialized = version;\n        $._initializing = true;\n        _;\n        $._initializing = false;\n        emit Initialized(version);\n    }\n\n    /**\n     * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the\n     * {initializer} and {reinitializer} modifiers, directly or indirectly.\n     */\n    modifier onlyInitializing() {\n        _checkInitializing();\n        _;\n    }\n\n    /**\n     * @dev Reverts if the contract is not in an initializing state. See {onlyInitializing}.\n     */\n    function _checkInitializing() internal view virtual {\n        if (!_isInitializing()) {\n            revert NotInitializing();\n        }\n    }\n\n    /**\n     * @dev Locks the contract, preventing any future reinitialization. This cannot be part of an initializer call.\n     * Calling this in the constructor of a contract will prevent that contract from being initialized or reinitialized\n     * to any version. It is recommended to use this to lock implementation contracts that are designed to be called\n     * through proxies.\n     *\n     * Emits an {Initialized} event the first time it is successfully executed.\n     */\n    function _disableInitializers() internal virtual {\n        // solhint-disable-next-line var-name-mixedcase\n        InitializableStorage storage $ = _getInitializableStorage();\n\n        if ($._initializing) {\n            revert InvalidInitialization();\n        }\n        if ($._initialized != type(uint64).max) {\n            $._initialized = type(uint64).max;\n            emit Initialized(type(uint64).max);\n        }\n    }\n\n    /**\n     * @dev Returns the highest version that has been initialized. See {reinitializer}.\n     */\n    function _getInitializedVersion() internal view returns (uint64) {\n        return _getInitializableStorage()._initialized;\n    }\n\n    /**\n     * @dev Returns `true` if the contract is currently initializing. See {onlyInitializing}.\n     */\n    function _isInitializing() internal view returns (bool) {\n        return _getInitializableStorage()._initializing;\n    }\n\n    /**\n     * @dev Pointer to storage slot. Allows integrators to override it with a custom storage location.\n     *\n     * NOTE: Consider following the ERC-7201 formula to derive storage locations.\n     */\n    function _initializableStorageSlot() internal pure virtual returns (bytes32) {\n        return INITIALIZABLE_STORAGE;\n    }\n\n    /**\n     * @dev Returns a pointer to the storage namespace.\n     */\n    // solhint-disable-next-line var-name-mixedcase\n    function _getInitializableStorage() private pure returns (InitializableStorage storage $) {\n        bytes32 slot = _initializableStorageSlot();\n        assembly {\n            $.slot := slot\n        }\n    }\n}\n"},"node_modules/@openzeppelin/contracts/proxy/ERC1967/ERC1967Utils.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.6.0) (proxy/ERC1967/ERC1967Utils.sol)\n\npragma solidity ^0.8.21;\n\nimport {IBeacon} from \"../beacon/IBeacon.sol\";\nimport {IERC1967} from \"../../interfaces/IERC1967.sol\";\nimport {Address} from \"../../utils/Address.sol\";\nimport {StorageSlot} from \"../../utils/StorageSlot.sol\";\n\n/**\n * @dev This library provides getters and event emitting update functions for\n * https://eips.ethereum.org/EIPS/eip-1967[ERC-1967] slots.\n */\nlibrary ERC1967Utils {\n    /**\n     * @dev Storage slot with the address of the current implementation.\n     * This is the keccak-256 hash of \"eip1967.proxy.implementation\" subtracted by 1.\n     */\n    // solhint-disable-next-line private-vars-leading-underscore\n    bytes32 internal constant IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;\n\n    /**\n     * @dev The `implementation` of the proxy is invalid.\n     */\n    error ERC1967InvalidImplementation(address implementation);\n\n    /**\n     * @dev The `admin` of the proxy is invalid.\n     */\n    error ERC1967InvalidAdmin(address admin);\n\n    /**\n     * @dev The `beacon` of the proxy is invalid.\n     */\n    error ERC1967InvalidBeacon(address beacon);\n\n    /**\n     * @dev An upgrade function sees `msg.value > 0` that may be lost.\n     */\n    error ERC1967NonPayable();\n\n    /**\n     * @dev Returns the current implementation address.\n     */\n    function getImplementation() internal view returns (address) {\n        return StorageSlot.getAddressSlot(IMPLEMENTATION_SLOT).value;\n    }\n\n    /**\n     * @dev Stores a new address in the ERC-1967 implementation slot.\n     */\n    function _setImplementation(address newImplementation) private {\n        if (newImplementation.code.length == 0) {\n            revert ERC1967InvalidImplementation(newImplementation);\n        }\n        StorageSlot.getAddressSlot(IMPLEMENTATION_SLOT).value = newImplementation;\n    }\n\n    /**\n     * @dev Performs implementation upgrade with additional setup call if data is nonempty.\n     * This function is payable only if the setup call is performed, otherwise `msg.value` is rejected\n     * to avoid stuck value in the contract.\n     *\n     * Emits an {IERC1967-Upgraded} event.\n     */\n    function upgradeToAndCall(address newImplementation, bytes memory data) internal {\n        _setImplementation(newImplementation);\n        emit IERC1967.Upgraded(newImplementation);\n\n        if (data.length > 0) {\n            Address.functionDelegateCall(newImplementation, data);\n        } else {\n            _checkNonPayable();\n        }\n    }\n\n    /**\n     * @dev Storage slot with the admin of the contract.\n     * This is the keccak-256 hash of \"eip1967.proxy.admin\" subtracted by 1.\n     */\n    // solhint-disable-next-line private-vars-leading-underscore\n    bytes32 internal constant ADMIN_SLOT = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103;\n\n    /**\n     * @dev Returns the current admin.\n     *\n     * TIP: To get this value clients can read directly from the storage slot shown below (specified by ERC-1967) using\n     * the https://ethereum.org/developers/docs/apis/json-rpc/#eth_getstorageat[`eth_getStorageAt`] RPC call.\n     * `0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103`\n     */\n    function getAdmin() internal view returns (address) {\n        return StorageSlot.getAddressSlot(ADMIN_SLOT).value;\n    }\n\n    /**\n     * @dev Stores a new address in the ERC-1967 admin slot.\n     */\n    function _setAdmin(address newAdmin) private {\n        if (newAdmin == address(0)) {\n            revert ERC1967InvalidAdmin(address(0));\n        }\n        StorageSlot.getAddressSlot(ADMIN_SLOT).value = newAdmin;\n    }\n\n    /**\n     * @dev Changes the admin of the proxy.\n     *\n     * Emits an {IERC1967-AdminChanged} event.\n     */\n    function changeAdmin(address newAdmin) internal {\n        emit IERC1967.AdminChanged(getAdmin(), newAdmin);\n        _setAdmin(newAdmin);\n    }\n\n    /**\n     * @dev The storage slot of the UpgradeableBeacon contract which defines the implementation for this proxy.\n     * This is the keccak-256 hash of \"eip1967.proxy.beacon\" subtracted by 1.\n     */\n    // solhint-disable-next-line private-vars-leading-underscore\n    bytes32 internal constant BEACON_SLOT = 0xa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d50;\n\n    /**\n     * @dev Returns the current beacon.\n     */\n    function getBeacon() internal view returns (address) {\n        return StorageSlot.getAddressSlot(BEACON_SLOT).value;\n    }\n\n    /**\n     * @dev Stores a new beacon in the ERC-1967 beacon slot.\n     */\n    function _setBeacon(address newBeacon) private {\n        if (newBeacon.code.length == 0) {\n            revert ERC1967InvalidBeacon(newBeacon);\n        }\n\n        StorageSlot.getAddressSlot(BEACON_SLOT).value = newBeacon;\n\n        address beaconImplementation = IBeacon(newBeacon).implementation();\n        if (beaconImplementation.code.length == 0) {\n            revert ERC1967InvalidImplementation(beaconImplementation);\n        }\n    }\n\n    /**\n     * @dev Change the beacon and trigger a setup call if data is nonempty.\n     * This function is payable only if the setup call is performed, otherwise `msg.value` is rejected\n     * to avoid stuck value in the contract.\n     *\n     * Emits an {IERC1967-BeaconUpgraded} event.\n     *\n     * CAUTION: Invoking this function has no effect on an instance of {BeaconProxy} since v5, since\n     * it uses an immutable beacon without looking at the value of the ERC-1967 beacon slot for\n     * efficiency.\n     */\n    function upgradeBeaconToAndCall(address newBeacon, bytes memory data) internal {\n        _setBeacon(newBeacon);\n        emit IERC1967.BeaconUpgraded(newBeacon);\n\n        if (data.length > 0) {\n            Address.functionDelegateCall(IBeacon(newBeacon).implementation(), data);\n        } else {\n            _checkNonPayable();\n        }\n    }\n\n    /**\n     * @dev Reverts if `msg.value` is not zero. It can be used to avoid `msg.value` stuck in the contract\n     * if an upgrade doesn't perform an initialization call.\n     */\n    function _checkNonPayable() private {\n        if (msg.value > 0) {\n            revert ERC1967NonPayable();\n        }\n    }\n}\n"},"node_modules/@openzeppelin/contracts/proxy/utils/UUPSUpgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.5.0) (proxy/utils/UUPSUpgradeable.sol)\n\npragma solidity ^0.8.22;\n\nimport {IERC1822Proxiable} from \"../../interfaces/draft-IERC1822.sol\";\nimport {ERC1967Utils} from \"../ERC1967/ERC1967Utils.sol\";\n\n/**\n * @dev An upgradeability mechanism designed for UUPS proxies. The functions included here can perform an upgrade of an\n * {ERC1967Proxy}, when this contract is set as the implementation behind such a proxy.\n *\n * A security mechanism ensures that an upgrade does not turn off upgradeability accidentally, although this risk is\n * reinstated if the upgrade retains upgradeability but removes the security mechanism, e.g. by replacing\n * `UUPSUpgradeable` with a custom implementation of upgrades.\n *\n * The {_authorizeUpgrade} function must be overridden to include access restriction to the upgrade mechanism.\n *\n * @custom:stateless\n */\nabstract contract UUPSUpgradeable is IERC1822Proxiable {\n    /// @custom:oz-upgrades-unsafe-allow state-variable-immutable\n    address private immutable __self = address(this);\n\n    /**\n     * @dev The version of the upgrade interface of the contract. If this getter is missing, both `upgradeTo(address)`\n     * and `upgradeToAndCall(address,bytes)` are present, and `upgradeTo` must be used if no function should be called,\n     * while `upgradeToAndCall` will invoke the `receive` function if the second argument is the empty byte string.\n     * If the getter returns `\"5.0.0\"`, only `upgradeToAndCall(address,bytes)` is present, and the second argument must\n     * be the empty byte string if no function should be called, making it impossible to invoke the `receive` function\n     * during an upgrade.\n     */\n    string public constant UPGRADE_INTERFACE_VERSION = \"5.0.0\";\n\n    /**\n     * @dev The call is from an unauthorized context.\n     */\n    error UUPSUnauthorizedCallContext();\n\n    /**\n     * @dev The storage `slot` is unsupported as a UUID.\n     */\n    error UUPSUnsupportedProxiableUUID(bytes32 slot);\n\n    /**\n     * @dev Check that the execution is being performed through a delegatecall call and that the execution context is\n     * a proxy contract with an implementation (as defined in ERC-1967) pointing to self. This should only be the case\n     * for UUPS and transparent proxies that are using the current contract as their implementation. Execution of a\n     * function through ERC-1167 minimal proxies (clones) would not normally pass this test, but is not guaranteed to\n     * fail.\n     */\n    modifier onlyProxy() {\n        _checkProxy();\n        _;\n    }\n\n    /**\n     * @dev Check that the execution is not being performed through a delegate call. This allows a function to be\n     * callable on the implementing contract but not through proxies.\n     */\n    modifier notDelegated() {\n        _checkNotDelegated();\n        _;\n    }\n\n    /**\n     * @dev Implementation of the ERC-1822 {proxiableUUID} function. This returns the storage slot used by the\n     * implementation. It is used to validate the implementation's compatibility when performing an upgrade.\n     *\n     * IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks\n     * bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this\n     * function revert if invoked through a proxy. This is guaranteed by the `notDelegated` modifier.\n     */\n    function proxiableUUID() external view notDelegated returns (bytes32) {\n        return ERC1967Utils.IMPLEMENTATION_SLOT;\n    }\n\n    /**\n     * @dev Upgrade the implementation of the proxy to `newImplementation`, and subsequently execute the function call\n     * encoded in `data`.\n     *\n     * Calls {_authorizeUpgrade}.\n     *\n     * Emits an {Upgraded} event.\n     *\n     * @custom:oz-upgrades-unsafe-allow-reachable delegatecall\n     */\n    function upgradeToAndCall(address newImplementation, bytes memory data) public payable virtual onlyProxy {\n        _authorizeUpgrade(newImplementation);\n        _upgradeToAndCallUUPS(newImplementation, data);\n    }\n\n    /**\n     * @dev Reverts if the execution is not performed via delegatecall or the execution\n     * context is not of a proxy with an ERC-1967 compliant implementation pointing to self.\n     */\n    function _checkProxy() internal view virtual {\n        if (\n            address(this) == __self || // Must be called through delegatecall\n            ERC1967Utils.getImplementation() != __self // Must be called through an active proxy\n        ) {\n            revert UUPSUnauthorizedCallContext();\n        }\n    }\n\n    /**\n     * @dev Reverts if the execution is performed via delegatecall.\n     * See {notDelegated}.\n     */\n    function _checkNotDelegated() internal view virtual {\n        if (address(this) != __self) {\n            // Must not be called through delegatecall\n            revert UUPSUnauthorizedCallContext();\n        }\n    }\n\n    /**\n     * @dev Function that should revert when `msg.sender` is not authorized to upgrade the contract. Called by\n     * {upgradeToAndCall}.\n     *\n     * Normally, this function will use an xref:access.adoc[access control] modifier such as {Ownable-onlyOwner}.\n     *\n     * ```solidity\n     * function _authorizeUpgrade(address) internal onlyOwner {}\n     * ```\n     */\n    function _authorizeUpgrade(address newImplementation) internal virtual;\n\n    /**\n     * @dev Performs an implementation upgrade with a security check for UUPS proxies, and additional setup call.\n     *\n     * As a security check, {proxiableUUID} is invoked in the new implementation, and the return value\n     * is expected to be the implementation slot in ERC-1967.\n     *\n     * Emits an {IERC1967-Upgraded} event.\n     */\n    function _upgradeToAndCallUUPS(address newImplementation, bytes memory data) private {\n        try IERC1822Proxiable(newImplementation).proxiableUUID() returns (bytes32 slot) {\n            if (slot != ERC1967Utils.IMPLEMENTATION_SLOT) {\n                revert UUPSUnsupportedProxiableUUID(slot);\n            }\n            ERC1967Utils.upgradeToAndCall(newImplementation, data);\n        } catch {\n            // The implementation is not UUPS\n            revert ERC1967Utils.ERC1967InvalidImplementation(newImplementation);\n        }\n    }\n}\n"},"node_modules/@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.5.0) (token/ERC20/utils/SafeERC20.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC20} from \"../IERC20.sol\";\nimport {IERC1363} from \"../../../interfaces/IERC1363.sol\";\n\n/**\n * @title SafeERC20\n * @dev Wrappers around ERC-20 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    /**\n     * @dev An operation with an ERC-20 token failed.\n     */\n    error SafeERC20FailedOperation(address token);\n\n    /**\n     * @dev Indicates a failed `decreaseAllowance` request.\n     */\n    error SafeERC20FailedDecreaseAllowance(address spender, uint256 currentAllowance, uint256 requestedDecrease);\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        if (!_safeTransfer(token, to, value, true)) {\n            revert SafeERC20FailedOperation(address(token));\n        }\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        if (!_safeTransferFrom(token, from, to, value, true)) {\n            revert SafeERC20FailedOperation(address(token));\n        }\n    }\n\n    /**\n     * @dev Variant of {safeTransfer} that returns a bool instead of reverting if the operation is not successful.\n     */\n    function trySafeTransfer(IERC20 token, address to, uint256 value) internal returns (bool) {\n        return _safeTransfer(token, to, value, false);\n    }\n\n    /**\n     * @dev Variant of {safeTransferFrom} that returns a bool instead of reverting if the operation is not successful.\n     */\n    function trySafeTransferFrom(IERC20 token, address from, address to, uint256 value) internal returns (bool) {\n        return _safeTransferFrom(token, from, to, value, false);\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     * IMPORTANT: If the token implements ERC-7674 (ERC-20 with temporary allowance), and if the \"client\"\n     * smart contract uses ERC-7674 to set temporary allowances, then the \"client\" smart contract should avoid using\n     * this function. Performing a {safeIncreaseAllowance} or {safeDecreaseAllowance} operation on a token contract\n     * that has a non-zero temporary allowance (for that particular owner-spender) will result in unexpected behavior.\n     */\n    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {\n        uint256 oldAllowance = token.allowance(address(this), spender);\n        forceApprove(token, spender, oldAllowance + value);\n    }\n\n    /**\n     * @dev Decrease the calling contract's allowance toward `spender` by `requestedDecrease`. If `token` returns no\n     * value, non-reverting calls are assumed to be successful.\n     *\n     * IMPORTANT: If the token implements ERC-7674 (ERC-20 with temporary allowance), and if the \"client\"\n     * smart contract uses ERC-7674 to set temporary allowances, then the \"client\" smart contract should avoid using\n     * this function. Performing a {safeIncreaseAllowance} or {safeDecreaseAllowance} operation on a token contract\n     * that has a non-zero temporary allowance (for that particular owner-spender) will result in unexpected behavior.\n     */\n    function safeDecreaseAllowance(IERC20 token, address spender, uint256 requestedDecrease) internal {\n        unchecked {\n            uint256 currentAllowance = token.allowance(address(this), spender);\n            if (currentAllowance < requestedDecrease) {\n                revert SafeERC20FailedDecreaseAllowance(spender, currentAllowance, requestedDecrease);\n            }\n            forceApprove(token, spender, currentAllowance - requestedDecrease);\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     * NOTE: If the token implements ERC-7674, this function will not modify any temporary allowance. This function\n     * only sets the \"standard\" allowance. Any temporary allowance will remain active, in addition to the value being\n     * set here.\n     */\n    function forceApprove(IERC20 token, address spender, uint256 value) internal {\n        if (!_safeApprove(token, spender, value, false)) {\n            if (!_safeApprove(token, spender, 0, true)) revert SafeERC20FailedOperation(address(token));\n            if (!_safeApprove(token, spender, value, true)) revert SafeERC20FailedOperation(address(token));\n        }\n    }\n\n    /**\n     * @dev Performs an {ERC1363} transferAndCall, with a fallback to the simple {ERC20} transfer if the target has no\n     * code. This can be used to implement an {ERC721}-like safe transfer that relies on {ERC1363} checks when\n     * targeting contracts.\n     *\n     * Reverts if the returned value is other than `true`.\n     */\n    function transferAndCallRelaxed(IERC1363 token, address to, uint256 value, bytes memory data) internal {\n        if (to.code.length == 0) {\n            safeTransfer(token, to, value);\n        } else if (!token.transferAndCall(to, value, data)) {\n            revert SafeERC20FailedOperation(address(token));\n        }\n    }\n\n    /**\n     * @dev Performs an {ERC1363} transferFromAndCall, with a fallback to the simple {ERC20} transferFrom if the target\n     * has no code. This can be used to implement an {ERC721}-like safe transfer that relies on {ERC1363} checks when\n     * targeting contracts.\n     *\n     * Reverts if the returned value is other than `true`.\n     */\n    function transferFromAndCallRelaxed(\n        IERC1363 token,\n        address from,\n        address to,\n        uint256 value,\n        bytes memory data\n    ) internal {\n        if (to.code.length == 0) {\n            safeTransferFrom(token, from, to, value);\n        } else if (!token.transferFromAndCall(from, to, value, data)) {\n            revert SafeERC20FailedOperation(address(token));\n        }\n    }\n\n    /**\n     * @dev Performs an {ERC1363} approveAndCall, with a fallback to the simple {ERC20} approve if the target has no\n     * code. This can be used to implement an {ERC721}-like safe transfer that rely on {ERC1363} checks when\n     * targeting contracts.\n     *\n     * NOTE: When the recipient address (`to`) has no code (i.e. is an EOA), this function behaves as {forceApprove}.\n     * Oppositely, when the recipient address (`to`) has code, this function only attempts to call {ERC1363-approveAndCall}\n     * once without retrying, and relies on the returned value to be true.\n     *\n     * Reverts if the returned value is other than `true`.\n     */\n    function approveAndCallRelaxed(IERC1363 token, address to, uint256 value, bytes memory data) internal {\n        if (to.code.length == 0) {\n            forceApprove(token, to, value);\n        } else if (!token.approveAndCall(to, value, data)) {\n            revert SafeERC20FailedOperation(address(token));\n        }\n    }\n\n    /**\n     * @dev Imitates a Solidity `token.transfer(to, value)` call, relaxing the requirement on the return value: the\n     * return value is optional (but if data is returned, it must not be false).\n     *\n     * @param token The token targeted by the call.\n     * @param to The recipient of the tokens\n     * @param value The amount of token to transfer\n     * @param bubble Behavior switch if the transfer call reverts: bubble the revert reason or return a false boolean.\n     */\n    function _safeTransfer(IERC20 token, address to, uint256 value, bool bubble) private returns (bool success) {\n        bytes4 selector = IERC20.transfer.selector;\n\n        assembly (\"memory-safe\") {\n            let fmp := mload(0x40)\n            mstore(0x00, selector)\n            mstore(0x04, and(to, shr(96, not(0))))\n            mstore(0x24, value)\n            success := call(gas(), token, 0, 0x00, 0x44, 0x00, 0x20)\n            // if call success and return is true, all is good.\n            // otherwise (not success or return is not true), we need to perform further checks\n            if iszero(and(success, eq(mload(0x00), 1))) {\n                // if the call was a failure and bubble is enabled, bubble the error\n                if and(iszero(success), bubble) {\n                    returndatacopy(fmp, 0x00, returndatasize())\n                    revert(fmp, returndatasize())\n                }\n                // if the return value is not true, then the call is only successful if:\n                // - the token address has code\n                // - the returndata is empty\n                success := and(success, and(iszero(returndatasize()), gt(extcodesize(token), 0)))\n            }\n            mstore(0x40, fmp)\n        }\n    }\n\n    /**\n     * @dev Imitates a Solidity `token.transferFrom(from, to, value)` call, relaxing the requirement on the return\n     * value: the return value is optional (but if data is returned, it must not be false).\n     *\n     * @param token The token targeted by the call.\n     * @param from The sender of the tokens\n     * @param to The recipient of the tokens\n     * @param value The amount of token to transfer\n     * @param bubble Behavior switch if the transfer call reverts: bubble the revert reason or return a false boolean.\n     */\n    function _safeTransferFrom(\n        IERC20 token,\n        address from,\n        address to,\n        uint256 value,\n        bool bubble\n    ) private returns (bool success) {\n        bytes4 selector = IERC20.transferFrom.selector;\n\n        assembly (\"memory-safe\") {\n            let fmp := mload(0x40)\n            mstore(0x00, selector)\n            mstore(0x04, and(from, shr(96, not(0))))\n            mstore(0x24, and(to, shr(96, not(0))))\n            mstore(0x44, value)\n            success := call(gas(), token, 0, 0x00, 0x64, 0x00, 0x20)\n            // if call success and return is true, all is good.\n            // otherwise (not success or return is not true), we need to perform further checks\n            if iszero(and(success, eq(mload(0x00), 1))) {\n                // if the call was a failure and bubble is enabled, bubble the error\n                if and(iszero(success), bubble) {\n                    returndatacopy(fmp, 0x00, returndatasize())\n                    revert(fmp, returndatasize())\n                }\n                // if the return value is not true, then the call is only successful if:\n                // - the token address has code\n                // - the returndata is empty\n                success := and(success, and(iszero(returndatasize()), gt(extcodesize(token), 0)))\n            }\n            mstore(0x40, fmp)\n            mstore(0x60, 0)\n        }\n    }\n\n    /**\n     * @dev Imitates a Solidity `token.approve(spender, value)` call, relaxing the requirement on the return value:\n     * the return value is optional (but if data is returned, it must not be false).\n     *\n     * @param token The token targeted by the call.\n     * @param spender The spender of the tokens\n     * @param value The amount of token to transfer\n     * @param bubble Behavior switch if the transfer call reverts: bubble the revert reason or return a false boolean.\n     */\n    function _safeApprove(IERC20 token, address spender, uint256 value, bool bubble) private returns (bool success) {\n        bytes4 selector = IERC20.approve.selector;\n\n        assembly (\"memory-safe\") {\n            let fmp := mload(0x40)\n            mstore(0x00, selector)\n            mstore(0x04, and(spender, shr(96, not(0))))\n            mstore(0x24, value)\n            success := call(gas(), token, 0, 0x00, 0x44, 0x00, 0x20)\n            // if call success and return is true, all is good.\n            // otherwise (not success or return is not true), we need to perform further checks\n            if iszero(and(success, eq(mload(0x00), 1))) {\n                // if the call was a failure and bubble is enabled, bubble the error\n                if and(iszero(success), bubble) {\n                    returndatacopy(fmp, 0x00, returndatasize())\n                    revert(fmp, returndatasize())\n                }\n                // if the return value is not true, then the call is only successful if:\n                // - the token address has code\n                // - the returndata is empty\n                success := and(success, and(iszero(returndatasize()), gt(extcodesize(token), 0)))\n            }\n            mstore(0x40, fmp)\n        }\n    }\n}\n"},"node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (utils/introspection/IERC165.sol)\n\npragma solidity >=0.4.16;\n\n/**\n * @dev Interface of the ERC-165 standard, as defined in the\n * https://eips.ethereum.org/EIPS/eip-165[ERC].\n *\n * Implementers can declare support of contract interfaces, which can then be\n * queried by others ({ERC165Checker}).\n *\n * For an implementation, see {ERC165}.\n */\ninterface IERC165 {\n    /**\n     * @dev Returns true if this contract implements the interface defined by\n     * `interfaceId`. See the corresponding\n     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[ERC section]\n     * to learn more about how these ids are created.\n     *\n     * This function call must use less than 30 000 gas.\n     */\n    function supportsInterface(bytes4 interfaceId) external view returns (bool);\n}\n"},"node_modules/@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (token/ERC721/IERC721Receiver.sol)\n\npragma solidity >=0.5.0;\n\n/**\n * @title ERC-721 token receiver interface\n * @dev Interface for any contract that wants to support safeTransfers\n * from ERC-721 asset contracts.\n */\ninterface IERC721Receiver {\n    /**\n     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}\n     * by `operator` from `from`, this function is called.\n     *\n     * It must return its Solidity selector to confirm the token transfer.\n     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be\n     * reverted.\n     *\n     * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`.\n     */\n    function onERC721Received(\n        address operator,\n        address from,\n        uint256 tokenId,\n        bytes calldata data\n    ) external returns (bytes4);\n}\n"},"node_modules/@uniswap/v3-core/contracts/interfaces/IUniswapV3Pool.sol":{"content":"// SPDX-License-Identifier: GPL-2.0-or-later\npragma solidity >=0.5.0;\n\nimport './pool/IUniswapV3PoolImmutables.sol';\nimport './pool/IUniswapV3PoolState.sol';\nimport './pool/IUniswapV3PoolDerivedState.sol';\nimport './pool/IUniswapV3PoolActions.sol';\nimport './pool/IUniswapV3PoolOwnerActions.sol';\nimport './pool/IUniswapV3PoolEvents.sol';\n\n/// @title The interface for a Uniswap V3 Pool\n/// @notice A Uniswap pool facilitates swapping and automated market making between any two assets that strictly conform\n/// to the ERC20 specification\n/// @dev The pool interface is broken up into many smaller pieces\ninterface IUniswapV3Pool is\n    IUniswapV3PoolImmutables,\n    IUniswapV3PoolState,\n    IUniswapV3PoolDerivedState,\n    IUniswapV3PoolActions,\n    IUniswapV3PoolOwnerActions,\n    IUniswapV3PoolEvents\n{\n\n}\n"},"node_modules/@uniswap/v4-periphery/src/libraries/LiquidityAmounts.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {FullMath} from \"@uniswap/v4-core/src/libraries/FullMath.sol\";\nimport {FixedPoint96} from \"@uniswap/v4-core/src/libraries/FixedPoint96.sol\";\nimport {SafeCast} from \"@uniswap/v4-core/src/libraries/SafeCast.sol\";\n\n/// @notice Provides functions for computing liquidity amounts from token amounts and prices\nlibrary LiquidityAmounts {\n    using SafeCast for uint256;\n\n    /// @notice Computes the amount of liquidity received for a given amount of token0 and price range\n    /// @dev Calculates amount0 * (sqrt(upper) * sqrt(lower)) / (sqrt(upper) - sqrt(lower))\n    /// @param sqrtPriceAX96 A sqrt price representing the first tick boundary\n    /// @param sqrtPriceBX96 A sqrt price representing the second tick boundary\n    /// @param amount0 The amount0 being sent in\n    /// @return liquidity The amount of returned liquidity\n    function getLiquidityForAmount0(uint160 sqrtPriceAX96, uint160 sqrtPriceBX96, uint256 amount0)\n        internal\n        pure\n        returns (uint128 liquidity)\n    {\n        unchecked {\n            if (sqrtPriceAX96 > sqrtPriceBX96) (sqrtPriceAX96, sqrtPriceBX96) = (sqrtPriceBX96, sqrtPriceAX96);\n            uint256 intermediate = FullMath.mulDiv(sqrtPriceAX96, sqrtPriceBX96, FixedPoint96.Q96);\n            return FullMath.mulDiv(amount0, intermediate, sqrtPriceBX96 - sqrtPriceAX96).toUint128();\n        }\n    }\n\n    /// @notice Computes the amount of liquidity received for a given amount of token1 and price range\n    /// @dev Calculates amount1 / (sqrt(upper) - sqrt(lower)).\n    /// @param sqrtPriceAX96 A sqrt price representing the first tick boundary\n    /// @param sqrtPriceBX96 A sqrt price representing the second tick boundary\n    /// @param amount1 The amount1 being sent in\n    /// @return liquidity The amount of returned liquidity\n    function getLiquidityForAmount1(uint160 sqrtPriceAX96, uint160 sqrtPriceBX96, uint256 amount1)\n        internal\n        pure\n        returns (uint128 liquidity)\n    {\n        unchecked {\n            if (sqrtPriceAX96 > sqrtPriceBX96) (sqrtPriceAX96, sqrtPriceBX96) = (sqrtPriceBX96, sqrtPriceAX96);\n            return FullMath.mulDiv(amount1, FixedPoint96.Q96, sqrtPriceBX96 - sqrtPriceAX96).toUint128();\n        }\n    }\n\n    /// @notice Computes the maximum amount of liquidity received for a given amount of token0, token1, the current\n    /// pool prices and the prices at the tick boundaries\n    /// @param sqrtPriceX96 A sqrt price representing the current pool prices\n    /// @param sqrtPriceAX96 A sqrt price representing the first tick boundary\n    /// @param sqrtPriceBX96 A sqrt price representing the second tick boundary\n    /// @param amount0 The amount of token0 being sent in\n    /// @param amount1 The amount of token1 being sent in\n    /// @return liquidity The maximum amount of liquidity received\n    function getLiquidityForAmounts(\n        uint160 sqrtPriceX96,\n        uint160 sqrtPriceAX96,\n        uint160 sqrtPriceBX96,\n        uint256 amount0,\n        uint256 amount1\n    ) internal pure returns (uint128 liquidity) {\n        if (sqrtPriceAX96 > sqrtPriceBX96) (sqrtPriceAX96, sqrtPriceBX96) = (sqrtPriceBX96, sqrtPriceAX96);\n\n        if (sqrtPriceX96 <= sqrtPriceAX96) {\n            liquidity = getLiquidityForAmount0(sqrtPriceAX96, sqrtPriceBX96, amount0);\n        } else if (sqrtPriceX96 < sqrtPriceBX96) {\n            uint128 liquidity0 = getLiquidityForAmount0(sqrtPriceX96, sqrtPriceBX96, amount0);\n            uint128 liquidity1 = getLiquidityForAmount1(sqrtPriceAX96, sqrtPriceX96, amount1);\n\n            liquidity = liquidity0 < liquidity1 ? liquidity0 : liquidity1;\n        } else {\n            liquidity = getLiquidityForAmount1(sqrtPriceAX96, sqrtPriceBX96, amount1);\n        }\n    }\n}\n"},"node_modules/@uniswap/v3-core/contracts/interfaces/IUniswapV3Factory.sol":{"content":"// SPDX-License-Identifier: GPL-2.0-or-later\npragma solidity >=0.5.0;\n\n/// @title The interface for the Uniswap V3 Factory\n/// @notice The Uniswap V3 Factory facilitates creation of Uniswap V3 pools and control over the protocol fees\ninterface IUniswapV3Factory {\n    /// @notice Emitted when the owner of the factory is changed\n    /// @param oldOwner The owner before the owner was changed\n    /// @param newOwner The owner after the owner was changed\n    event OwnerChanged(address indexed oldOwner, address indexed newOwner);\n\n    /// @notice Emitted when a pool is created\n    /// @param token0 The first token of the pool by address sort order\n    /// @param token1 The second token of the pool by address sort order\n    /// @param fee The fee collected upon every swap in the pool, denominated in hundredths of a bip\n    /// @param tickSpacing The minimum number of ticks between initialized ticks\n    /// @param pool The address of the created pool\n    event PoolCreated(\n        address indexed token0,\n        address indexed token1,\n        uint24 indexed fee,\n        int24 tickSpacing,\n        address pool\n    );\n\n    /// @notice Emitted when a new fee amount is enabled for pool creation via the factory\n    /// @param fee The enabled fee, denominated in hundredths of a bip\n    /// @param tickSpacing The minimum number of ticks between initialized ticks for pools created with the given fee\n    event FeeAmountEnabled(uint24 indexed fee, int24 indexed tickSpacing);\n\n    /// @notice Returns the current owner of the factory\n    /// @dev Can be changed by the current owner via setOwner\n    /// @return The address of the factory owner\n    function owner() external view returns (address);\n\n    /// @notice Returns the tick spacing for a given fee amount, if enabled, or 0 if not enabled\n    /// @dev A fee amount can never be removed, so this value should be hard coded or cached in the calling context\n    /// @param fee The enabled fee, denominated in hundredths of a bip. Returns 0 in case of unenabled fee\n    /// @return The tick spacing\n    function feeAmountTickSpacing(uint24 fee) external view returns (int24);\n\n    /// @notice Returns the pool address for a given pair of tokens and a fee, or address 0 if it does not exist\n    /// @dev tokenA and tokenB may be passed in either token0/token1 or token1/token0 order\n    /// @param tokenA The contract address of either token0 or token1\n    /// @param tokenB The contract address of the other token\n    /// @param fee The fee collected upon every swap in the pool, denominated in hundredths of a bip\n    /// @return pool The pool address\n    function getPool(\n        address tokenA,\n        address tokenB,\n        uint24 fee\n    ) external view returns (address pool);\n\n    /// @notice Creates a pool for the given two tokens and fee\n    /// @param tokenA One of the two tokens in the desired pool\n    /// @param tokenB The other of the two tokens in the desired pool\n    /// @param fee The desired fee for the pool\n    /// @dev tokenA and tokenB may be passed in either order: token0/token1 or token1/token0. tickSpacing is retrieved\n    /// from the fee. The call will revert if the pool already exists, the fee is invalid, or the token arguments\n    /// are invalid.\n    /// @return pool The address of the newly created pool\n    function createPool(\n        address tokenA,\n        address tokenB,\n        uint24 fee\n    ) external returns (address pool);\n\n    /// @notice Updates the owner of the factory\n    /// @dev Must be called by the current owner\n    /// @param _owner The new owner of the factory\n    function setOwner(address _owner) external;\n\n    /// @notice Enables a fee amount with the given tickSpacing\n    /// @dev Fee amounts may never be removed once enabled\n    /// @param fee The fee amount to enable, denominated in hundredths of a bip (i.e. 1e-6)\n    /// @param tickSpacing The spacing between ticks to be enforced for all pools created with the given fee amount\n    function enableFeeAmount(uint24 fee, int24 tickSpacing) external;\n}\n"},"node_modules/@uniswap/v4-periphery/lib/permit2/src/interfaces/IEIP712.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\ninterface IEIP712 {\n    function DOMAIN_SEPARATOR() external view returns (bytes32);\n}\n"},"node_modules/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)\n\npragma solidity ^0.8.20;\nimport {Initializable} from \"@openzeppelin/contracts/proxy/utils/Initializable.sol\";\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 ContextUpgradeable is Initializable {\n    function __Context_init() internal onlyInitializing {\n    }\n\n    function __Context_init_unchained() internal onlyInitializing {\n    }\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"},"node_modules/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)\n\npragma solidity ^0.8.20;\n\nimport {ContextUpgradeable} from \"../utils/ContextUpgradeable.sol\";\nimport {Initializable} from \"@openzeppelin/contracts/proxy/utils/Initializable.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 * The initial owner is set to the address provided by the deployer. This can\n * 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 OwnableUpgradeable is Initializable, ContextUpgradeable {\n    /// @custom:storage-location erc7201:openzeppelin.storage.Ownable\n    struct OwnableStorage {\n        address _owner;\n    }\n\n    // keccak256(abi.encode(uint256(keccak256(\"openzeppelin.storage.Ownable\")) - 1)) & ~bytes32(uint256(0xff))\n    bytes32 private constant OwnableStorageLocation = 0x9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c199300;\n\n    function _getOwnableStorage() private pure returns (OwnableStorage storage $) {\n        assembly {\n            $.slot := OwnableStorageLocation\n        }\n    }\n\n    /**\n     * @dev The caller account is not authorized to perform an operation.\n     */\n    error OwnableUnauthorizedAccount(address account);\n\n    /**\n     * @dev The owner is not a valid owner account. (eg. `address(0)`)\n     */\n    error OwnableInvalidOwner(address owner);\n\n    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\n\n    /**\n     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.\n     */\n    function __Ownable_init(address initialOwner) internal onlyInitializing {\n        __Ownable_init_unchained(initialOwner);\n    }\n\n    function __Ownable_init_unchained(address initialOwner) internal onlyInitializing {\n        if (initialOwner == address(0)) {\n            revert OwnableInvalidOwner(address(0));\n        }\n        _transferOwnership(initialOwner);\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        OwnableStorage storage $ = _getOwnableStorage();\n        return $._owner;\n    }\n\n    /**\n     * @dev Throws if the sender is not the owner.\n     */\n    function _checkOwner() internal view virtual {\n        if (owner() != _msgSender()) {\n            revert OwnableUnauthorizedAccount(_msgSender());\n        }\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        if (newOwner == address(0)) {\n            revert OwnableInvalidOwner(address(0));\n        }\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        OwnableStorage storage $ = _getOwnableStorage();\n        address oldOwner = $._owner;\n        $._owner = newOwner;\n        emit OwnershipTransferred(oldOwner, newOwner);\n    }\n}\n"},"node_modules/@openzeppelin/contracts-upgradeable/utils/PausableUpgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.3.0) (utils/Pausable.sol)\n\npragma solidity ^0.8.20;\n\nimport {ContextUpgradeable} from \"../utils/ContextUpgradeable.sol\";\nimport {Initializable} from \"@openzeppelin/contracts/proxy/utils/Initializable.sol\";\n\n/**\n * @dev Contract module which allows children to implement an emergency stop\n * mechanism that can be triggered by an authorized account.\n *\n * This module is used through inheritance. It will make available the\n * modifiers `whenNotPaused` and `whenPaused`, which can be applied to\n * the functions of your contract. Note that they will not be pausable by\n * simply including this module, only once the modifiers are put in place.\n */\nabstract contract PausableUpgradeable is Initializable, ContextUpgradeable {\n    /// @custom:storage-location erc7201:openzeppelin.storage.Pausable\n    struct PausableStorage {\n        bool _paused;\n    }\n\n    // keccak256(abi.encode(uint256(keccak256(\"openzeppelin.storage.Pausable\")) - 1)) & ~bytes32(uint256(0xff))\n    bytes32 private constant PausableStorageLocation = 0xcd5ed15c6e187e77e9aee88184c21f4f2182ab5827cb3b7e07fbedcd63f03300;\n\n    function _getPausableStorage() private pure returns (PausableStorage storage $) {\n        assembly {\n            $.slot := PausableStorageLocation\n        }\n    }\n\n    /**\n     * @dev Emitted when the pause is triggered by `account`.\n     */\n    event Paused(address account);\n\n    /**\n     * @dev Emitted when the pause is lifted by `account`.\n     */\n    event Unpaused(address account);\n\n    /**\n     * @dev The operation failed because the contract is paused.\n     */\n    error EnforcedPause();\n\n    /**\n     * @dev The operation failed because the contract is not paused.\n     */\n    error ExpectedPause();\n\n    /**\n     * @dev Modifier to make a function callable only when the contract is not paused.\n     *\n     * Requirements:\n     *\n     * - The contract must not be paused.\n     */\n    modifier whenNotPaused() {\n        _requireNotPaused();\n        _;\n    }\n\n    /**\n     * @dev Modifier to make a function callable only when the contract is paused.\n     *\n     * Requirements:\n     *\n     * - The contract must be paused.\n     */\n    modifier whenPaused() {\n        _requirePaused();\n        _;\n    }\n\n    function __Pausable_init() internal onlyInitializing {\n    }\n\n    function __Pausable_init_unchained() internal onlyInitializing {\n    }\n    /**\n     * @dev Returns true if the contract is paused, and false otherwise.\n     */\n    function paused() public view virtual returns (bool) {\n        PausableStorage storage $ = _getPausableStorage();\n        return $._paused;\n    }\n\n    /**\n     * @dev Throws if the contract is paused.\n     */\n    function _requireNotPaused() internal view virtual {\n        if (paused()) {\n            revert EnforcedPause();\n        }\n    }\n\n    /**\n     * @dev Throws if the contract is not paused.\n     */\n    function _requirePaused() internal view virtual {\n        if (!paused()) {\n            revert ExpectedPause();\n        }\n    }\n\n    /**\n     * @dev Triggers stopped state.\n     *\n     * Requirements:\n     *\n     * - The contract must not be paused.\n     */\n    function _pause() internal virtual whenNotPaused {\n        PausableStorage storage $ = _getPausableStorage();\n        $._paused = true;\n        emit Paused(_msgSender());\n    }\n\n    /**\n     * @dev Returns to normal state.\n     *\n     * Requirements:\n     *\n     * - The contract must be paused.\n     */\n    function _unpause() internal virtual whenPaused {\n        PausableStorage storage $ = _getPausableStorage();\n        $._paused = false;\n        emit Unpaused(_msgSender());\n    }\n}\n"},"node_modules/@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolState.sol":{"content":"// SPDX-License-Identifier: GPL-2.0-or-later\npragma solidity >=0.5.0;\n\n/// @title Pool state that can change\n/// @notice These methods compose the pool's state, and can change with any frequency including multiple times\n/// per transaction\ninterface IUniswapV3PoolState {\n    /// @notice The 0th storage slot in the pool stores many values, and is exposed as a single method to save gas\n    /// when accessed externally.\n    /// @return sqrtPriceX96 The current price of the pool as a sqrt(token1/token0) Q64.96 value\n    /// tick The current tick of the pool, i.e. according to the last tick transition that was run.\n    /// This value may not always be equal to SqrtTickMath.getTickAtSqrtRatio(sqrtPriceX96) if the price is on a tick\n    /// boundary.\n    /// observationIndex The index of the last oracle observation that was written,\n    /// observationCardinality The current maximum number of observations stored in the pool,\n    /// observationCardinalityNext The next maximum number of observations, to be updated when the observation.\n    /// feeProtocol The protocol fee for both tokens of the pool.\n    /// Encoded as two 4 bit values, where the protocol fee of token1 is shifted 4 bits and the protocol fee of token0\n    /// is the lower 4 bits. Used as the denominator of a fraction of the swap fee, e.g. 4 means 1/4th of the swap fee.\n    /// unlocked Whether the pool is currently locked to reentrancy\n    function slot0()\n        external\n        view\n        returns (\n            uint160 sqrtPriceX96,\n            int24 tick,\n            uint16 observationIndex,\n            uint16 observationCardinality,\n            uint16 observationCardinalityNext,\n            uint8 feeProtocol,\n            bool unlocked\n        );\n\n    /// @notice The fee growth as a Q128.128 fees of token0 collected per unit of liquidity for the entire life of the pool\n    /// @dev This value can overflow the uint256\n    function feeGrowthGlobal0X128() external view returns (uint256);\n\n    /// @notice The fee growth as a Q128.128 fees of token1 collected per unit of liquidity for the entire life of the pool\n    /// @dev This value can overflow the uint256\n    function feeGrowthGlobal1X128() external view returns (uint256);\n\n    /// @notice The amounts of token0 and token1 that are owed to the protocol\n    /// @dev Protocol fees will never exceed uint128 max in either token\n    function protocolFees() external view returns (uint128 token0, uint128 token1);\n\n    /// @notice The currently in range liquidity available to the pool\n    /// @dev This value has no relationship to the total liquidity across all ticks\n    function liquidity() external view returns (uint128);\n\n    /// @notice Look up information about a specific tick in the pool\n    /// @param tick The tick to look up\n    /// @return liquidityGross the total amount of position liquidity that uses the pool either as tick lower or\n    /// tick upper,\n    /// liquidityNet how much liquidity changes when the pool price crosses the tick,\n    /// feeGrowthOutside0X128 the fee growth on the other side of the tick from the current tick in token0,\n    /// feeGrowthOutside1X128 the fee growth on the other side of the tick from the current tick in token1,\n    /// tickCumulativeOutside the cumulative tick value on the other side of the tick from the current tick\n    /// secondsPerLiquidityOutsideX128 the seconds spent per liquidity on the other side of the tick from the current tick,\n    /// secondsOutside the seconds spent on the other side of the tick from the current tick,\n    /// initialized Set to true if the tick is initialized, i.e. liquidityGross is greater than 0, otherwise equal to false.\n    /// Outside values can only be used if the tick is initialized, i.e. if liquidityGross is greater than 0.\n    /// In addition, these values are only relative and must be used only in comparison to previous snapshots for\n    /// a specific position.\n    function ticks(int24 tick)\n        external\n        view\n        returns (\n            uint128 liquidityGross,\n            int128 liquidityNet,\n            uint256 feeGrowthOutside0X128,\n            uint256 feeGrowthOutside1X128,\n            int56 tickCumulativeOutside,\n            uint160 secondsPerLiquidityOutsideX128,\n            uint32 secondsOutside,\n            bool initialized\n        );\n\n    /// @notice Returns 256 packed tick initialized boolean values. See TickBitmap for more information\n    function tickBitmap(int16 wordPosition) external view returns (uint256);\n\n    /// @notice Returns the information about a position by the position's key\n    /// @param key The position's key is a hash of a preimage composed by the owner, tickLower and tickUpper\n    /// @return _liquidity The amount of liquidity in the position,\n    /// Returns feeGrowthInside0LastX128 fee growth of token0 inside the tick range as of the last mint/burn/poke,\n    /// Returns feeGrowthInside1LastX128 fee growth of token1 inside the tick range as of the last mint/burn/poke,\n    /// Returns tokensOwed0 the computed amount of token0 owed to the position as of the last mint/burn/poke,\n    /// Returns tokensOwed1 the computed amount of token1 owed to the position as of the last mint/burn/poke\n    function positions(bytes32 key)\n        external\n        view\n        returns (\n            uint128 _liquidity,\n            uint256 feeGrowthInside0LastX128,\n            uint256 feeGrowthInside1LastX128,\n            uint128 tokensOwed0,\n            uint128 tokensOwed1\n        );\n\n    /// @notice Returns data about a specific observation index\n    /// @param index The element of the observations array to fetch\n    /// @dev You most likely want to use #observe() instead of this method to get an observation as of some amount of time\n    /// ago, rather than at a specific index in the array.\n    /// @return blockTimestamp The timestamp of the observation,\n    /// Returns tickCumulative the tick multiplied by seconds elapsed for the life of the pool as of the observation timestamp,\n    /// Returns secondsPerLiquidityCumulativeX128 the seconds per in range liquidity for the life of the pool as of the observation timestamp,\n    /// Returns initialized whether the observation has been initialized and the values are safe to use\n    function observations(uint256 index)\n        external\n        view\n        returns (\n            uint32 blockTimestamp,\n            int56 tickCumulative,\n            uint160 secondsPerLiquidityCumulativeX128,\n            bool initialized\n        );\n}\n"},"node_modules/@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n\npragma solidity ^0.8.22;\n\nimport {UUPSUpgradeable} from \"@openzeppelin/contracts/proxy/utils/UUPSUpgradeable.sol\";\n"},"node_modules/@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolEvents.sol":{"content":"// SPDX-License-Identifier: GPL-2.0-or-later\npragma solidity >=0.5.0;\n\n/// @title Events emitted by a pool\n/// @notice Contains all events emitted by the pool\ninterface IUniswapV3PoolEvents {\n    /// @notice Emitted exactly once by a pool when #initialize is first called on the pool\n    /// @dev Mint/Burn/Swap cannot be emitted by the pool before Initialize\n    /// @param sqrtPriceX96 The initial sqrt price of the pool, as a Q64.96\n    /// @param tick The initial tick of the pool, i.e. log base 1.0001 of the starting price of the pool\n    event Initialize(uint160 sqrtPriceX96, int24 tick);\n\n    /// @notice Emitted when liquidity is minted for a given position\n    /// @param sender The address that minted the liquidity\n    /// @param owner The owner of the position and recipient of any minted liquidity\n    /// @param tickLower The lower tick of the position\n    /// @param tickUpper The upper tick of the position\n    /// @param amount The amount of liquidity minted to the position range\n    /// @param amount0 How much token0 was required for the minted liquidity\n    /// @param amount1 How much token1 was required for the minted liquidity\n    event Mint(\n        address sender,\n        address indexed owner,\n        int24 indexed tickLower,\n        int24 indexed tickUpper,\n        uint128 amount,\n        uint256 amount0,\n        uint256 amount1\n    );\n\n    /// @notice Emitted when fees are collected by the owner of a position\n    /// @dev Collect events may be emitted with zero amount0 and amount1 when the caller chooses not to collect fees\n    /// @param owner The owner of the position for which fees are collected\n    /// @param tickLower The lower tick of the position\n    /// @param tickUpper The upper tick of the position\n    /// @param amount0 The amount of token0 fees collected\n    /// @param amount1 The amount of token1 fees collected\n    event Collect(\n        address indexed owner,\n        address recipient,\n        int24 indexed tickLower,\n        int24 indexed tickUpper,\n        uint128 amount0,\n        uint128 amount1\n    );\n\n    /// @notice Emitted when a position's liquidity is removed\n    /// @dev Does not withdraw any fees earned by the liquidity position, which must be withdrawn via #collect\n    /// @param owner The owner of the position for which liquidity is removed\n    /// @param tickLower The lower tick of the position\n    /// @param tickUpper The upper tick of the position\n    /// @param amount The amount of liquidity to remove\n    /// @param amount0 The amount of token0 withdrawn\n    /// @param amount1 The amount of token1 withdrawn\n    event Burn(\n        address indexed owner,\n        int24 indexed tickLower,\n        int24 indexed tickUpper,\n        uint128 amount,\n        uint256 amount0,\n        uint256 amount1\n    );\n\n    /// @notice Emitted by the pool for any swaps between token0 and token1\n    /// @param sender The address that initiated the swap call, and that received the callback\n    /// @param recipient The address that received the output of the swap\n    /// @param amount0 The delta of the token0 balance of the pool\n    /// @param amount1 The delta of the token1 balance of the pool\n    /// @param sqrtPriceX96 The sqrt(price) of the pool after the swap, as a Q64.96\n    /// @param liquidity The liquidity of the pool after the swap\n    /// @param tick The log base 1.0001 of price of the pool after the swap\n    event Swap(\n        address indexed sender,\n        address indexed recipient,\n        int256 amount0,\n        int256 amount1,\n        uint160 sqrtPriceX96,\n        uint128 liquidity,\n        int24 tick\n    );\n\n    /// @notice Emitted by the pool for any flashes of token0/token1\n    /// @param sender The address that initiated the swap call, and that received the callback\n    /// @param recipient The address that received the tokens from flash\n    /// @param amount0 The amount of token0 that was flashed\n    /// @param amount1 The amount of token1 that was flashed\n    /// @param paid0 The amount of token0 paid for the flash, which can exceed the amount0 plus the fee\n    /// @param paid1 The amount of token1 paid for the flash, which can exceed the amount1 plus the fee\n    event Flash(\n        address indexed sender,\n        address indexed recipient,\n        uint256 amount0,\n        uint256 amount1,\n        uint256 paid0,\n        uint256 paid1\n    );\n\n    /// @notice Emitted by the pool for increases to the number of observations that can be stored\n    /// @dev observationCardinalityNext is not the observation cardinality until an observation is written at the index\n    /// just before a mint/swap/burn.\n    /// @param observationCardinalityNextOld The previous value of the next observation cardinality\n    /// @param observationCardinalityNextNew The updated value of the next observation cardinality\n    event IncreaseObservationCardinalityNext(\n        uint16 observationCardinalityNextOld,\n        uint16 observationCardinalityNextNew\n    );\n\n    /// @notice Emitted when the protocol fee is changed by the pool\n    /// @param feeProtocol0Old The previous value of the token0 protocol fee\n    /// @param feeProtocol1Old The previous value of the token1 protocol fee\n    /// @param feeProtocol0New The updated value of the token0 protocol fee\n    /// @param feeProtocol1New The updated value of the token1 protocol fee\n    event SetFeeProtocol(uint8 feeProtocol0Old, uint8 feeProtocol1Old, uint8 feeProtocol0New, uint8 feeProtocol1New);\n\n    /// @notice Emitted when the collected protocol fees are withdrawn by the factory owner\n    /// @param sender The address that collects the protocol fees\n    /// @param recipient The address that receives the collected protocol fees\n    /// @param amount0 The amount of token0 protocol fees that is withdrawn\n    /// @param amount0 The amount of token1 protocol fees that is withdrawn\n    event CollectProtocol(address indexed sender, address indexed recipient, uint128 amount0, uint128 amount1);\n}\n"},"node_modules/@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolActions.sol":{"content":"// SPDX-License-Identifier: GPL-2.0-or-later\npragma solidity >=0.5.0;\n\n/// @title Permissionless pool actions\n/// @notice Contains pool methods that can be called by anyone\ninterface IUniswapV3PoolActions {\n    /// @notice Sets the initial price for the pool\n    /// @dev Price is represented as a sqrt(amountToken1/amountToken0) Q64.96 value\n    /// @param sqrtPriceX96 the initial sqrt price of the pool as a Q64.96\n    function initialize(uint160 sqrtPriceX96) external;\n\n    /// @notice Adds liquidity for the given recipient/tickLower/tickUpper position\n    /// @dev The caller of this method receives a callback in the form of IUniswapV3MintCallback#uniswapV3MintCallback\n    /// in which they must pay any token0 or token1 owed for the liquidity. The amount of token0/token1 due depends\n    /// on tickLower, tickUpper, the amount of liquidity, and the current price.\n    /// @param recipient The address for which the liquidity will be created\n    /// @param tickLower The lower tick of the position in which to add liquidity\n    /// @param tickUpper The upper tick of the position in which to add liquidity\n    /// @param amount The amount of liquidity to mint\n    /// @param data Any data that should be passed through to the callback\n    /// @return amount0 The amount of token0 that was paid to mint the given amount of liquidity. Matches the value in the callback\n    /// @return amount1 The amount of token1 that was paid to mint the given amount of liquidity. Matches the value in the callback\n    function mint(\n        address recipient,\n        int24 tickLower,\n        int24 tickUpper,\n        uint128 amount,\n        bytes calldata data\n    ) external returns (uint256 amount0, uint256 amount1);\n\n    /// @notice Collects tokens owed to a position\n    /// @dev Does not recompute fees earned, which must be done either via mint or burn of any amount of liquidity.\n    /// Collect must be called by the position owner. To withdraw only token0 or only token1, amount0Requested or\n    /// amount1Requested may be set to zero. To withdraw all tokens owed, caller may pass any value greater than the\n    /// actual tokens owed, e.g. type(uint128).max. Tokens owed may be from accumulated swap fees or burned liquidity.\n    /// @param recipient The address which should receive the fees collected\n    /// @param tickLower The lower tick of the position for which to collect fees\n    /// @param tickUpper The upper tick of the position for which to collect fees\n    /// @param amount0Requested How much token0 should be withdrawn from the fees owed\n    /// @param amount1Requested How much token1 should be withdrawn from the fees owed\n    /// @return amount0 The amount of fees collected in token0\n    /// @return amount1 The amount of fees collected in token1\n    function collect(\n        address recipient,\n        int24 tickLower,\n        int24 tickUpper,\n        uint128 amount0Requested,\n        uint128 amount1Requested\n    ) external returns (uint128 amount0, uint128 amount1);\n\n    /// @notice Burn liquidity from the sender and account tokens owed for the liquidity to the position\n    /// @dev Can be used to trigger a recalculation of fees owed to a position by calling with an amount of 0\n    /// @dev Fees must be collected separately via a call to #collect\n    /// @param tickLower The lower tick of the position for which to burn liquidity\n    /// @param tickUpper The upper tick of the position for which to burn liquidity\n    /// @param amount How much liquidity to burn\n    /// @return amount0 The amount of token0 sent to the recipient\n    /// @return amount1 The amount of token1 sent to the recipient\n    function burn(\n        int24 tickLower,\n        int24 tickUpper,\n        uint128 amount\n    ) external returns (uint256 amount0, uint256 amount1);\n\n    /// @notice Swap token0 for token1, or token1 for token0\n    /// @dev The caller of this method receives a callback in the form of IUniswapV3SwapCallback#uniswapV3SwapCallback\n    /// @param recipient The address to receive the output of the swap\n    /// @param zeroForOne The direction of the swap, true for token0 to token1, false for token1 to token0\n    /// @param amountSpecified The amount of the swap, which implicitly configures the swap as exact input (positive), or exact output (negative)\n    /// @param sqrtPriceLimitX96 The Q64.96 sqrt price limit. If zero for one, the price cannot be less than this\n    /// value after the swap. If one for zero, the price cannot be greater than this value after the swap\n    /// @param data Any data to be passed through to the callback\n    /// @return amount0 The delta of the balance of token0 of the pool, exact when negative, minimum when positive\n    /// @return amount1 The delta of the balance of token1 of the pool, exact when negative, minimum when positive\n    function swap(\n        address recipient,\n        bool zeroForOne,\n        int256 amountSpecified,\n        uint160 sqrtPriceLimitX96,\n        bytes calldata data\n    ) external returns (int256 amount0, int256 amount1);\n\n    /// @notice Receive token0 and/or token1 and pay it back, plus a fee, in the callback\n    /// @dev The caller of this method receives a callback in the form of IUniswapV3FlashCallback#uniswapV3FlashCallback\n    /// @dev Can be used to donate underlying tokens pro-rata to currently in-range liquidity providers by calling\n    /// with 0 amount{0,1} and sending the donation amount(s) from the callback\n    /// @param recipient The address which will receive the token0 and token1 amounts\n    /// @param amount0 The amount of token0 to send\n    /// @param amount1 The amount of token1 to send\n    /// @param data Any data to be passed through to the callback\n    function flash(\n        address recipient,\n        uint256 amount0,\n        uint256 amount1,\n        bytes calldata data\n    ) external;\n\n    /// @notice Increase the maximum number of price and liquidity observations that this pool will store\n    /// @dev This method is no-op if the pool already has an observationCardinalityNext greater than or equal to\n    /// the input observationCardinalityNext.\n    /// @param observationCardinalityNext The desired minimum number of observations for the pool to store\n    function increaseObservationCardinalityNext(uint16 observationCardinalityNext) external;\n}\n"},"node_modules/@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (access/Ownable2Step.sol)\n\npragma solidity ^0.8.20;\n\nimport {OwnableUpgradeable} from \"./OwnableUpgradeable.sol\";\nimport {Initializable} from \"@openzeppelin/contracts/proxy/utils/Initializable.sol\";\n\n/**\n * @dev Contract module which provides access control mechanism, where\n * there is an account (an owner) that can be granted exclusive access to\n * specific functions.\n *\n * This extension of the {Ownable} contract includes a two-step mechanism to transfer\n * ownership, where the new owner must call {acceptOwnership} in order to replace the\n * old one. This can help prevent common mistakes, such as transfers of ownership to\n * incorrect accounts, or to contracts that are unable to interact with the\n * permission system.\n *\n * The initial owner is specified at deployment time in the constructor for `Ownable`. This\n * can later be changed with {transferOwnership} and {acceptOwnership}.\n *\n * This module is used through inheritance. It will make available all functions\n * from parent (Ownable).\n */\nabstract contract Ownable2StepUpgradeable is Initializable, OwnableUpgradeable {\n    /// @custom:storage-location erc7201:openzeppelin.storage.Ownable2Step\n    struct Ownable2StepStorage {\n        address _pendingOwner;\n    }\n\n    // keccak256(abi.encode(uint256(keccak256(\"openzeppelin.storage.Ownable2Step\")) - 1)) & ~bytes32(uint256(0xff))\n    bytes32 private constant Ownable2StepStorageLocation = 0x237e158222e3e6968b72b9db0d8043aacf074ad9f650f0d1606b4d82ee432c00;\n\n    function _getOwnable2StepStorage() private pure returns (Ownable2StepStorage storage $) {\n        assembly {\n            $.slot := Ownable2StepStorageLocation\n        }\n    }\n\n    event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner);\n\n    function __Ownable2Step_init() internal onlyInitializing {\n    }\n\n    function __Ownable2Step_init_unchained() internal onlyInitializing {\n    }\n    /**\n     * @dev Returns the address of the pending owner.\n     */\n    function pendingOwner() public view virtual returns (address) {\n        Ownable2StepStorage storage $ = _getOwnable2StepStorage();\n        return $._pendingOwner;\n    }\n\n    /**\n     * @dev Starts the ownership transfer of the contract to a new account. Replaces the pending transfer if there is one.\n     * Can only be called by the current owner.\n     *\n     * Setting `newOwner` to the zero address is allowed; this can be used to cancel an initiated ownership transfer.\n     */\n    function transferOwnership(address newOwner) public virtual override onlyOwner {\n        Ownable2StepStorage storage $ = _getOwnable2StepStorage();\n        $._pendingOwner = newOwner;\n        emit OwnershipTransferStarted(owner(), newOwner);\n    }\n\n    /**\n     * @dev Transfers ownership of the contract to a new account (`newOwner`) and deletes any pending owner.\n     * Internal function without access restriction.\n     */\n    function _transferOwnership(address newOwner) internal virtual override {\n        Ownable2StepStorage storage $ = _getOwnable2StepStorage();\n        delete $._pendingOwner;\n        super._transferOwnership(newOwner);\n    }\n\n    /**\n     * @dev The new owner accepts the ownership transfer.\n     */\n    function acceptOwnership() public virtual {\n        address sender = _msgSender();\n        if (pendingOwner() != sender) {\n            revert OwnableUnauthorizedAccount(sender);\n        }\n        _transferOwnership(sender);\n    }\n}\n"},"node_modules/@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolImmutables.sol":{"content":"// SPDX-License-Identifier: GPL-2.0-or-later\npragma solidity >=0.5.0;\n\n/// @title Pool state that never changes\n/// @notice These parameters are fixed for a pool forever, i.e., the methods will always return the same values\ninterface IUniswapV3PoolImmutables {\n    /// @notice The contract that deployed the pool, which must adhere to the IUniswapV3Factory interface\n    /// @return The contract address\n    function factory() external view returns (address);\n\n    /// @notice The first of the two tokens of the pool, sorted by address\n    /// @return The token contract address\n    function token0() external view returns (address);\n\n    /// @notice The second of the two tokens of the pool, sorted by address\n    /// @return The token contract address\n    function token1() external view returns (address);\n\n    /// @notice The pool's fee in hundredths of a bip, i.e. 1e-6\n    /// @return The fee\n    function fee() external view returns (uint24);\n\n    /// @notice The pool tick spacing\n    /// @dev Ticks can only be used at multiples of this value, minimum of 1 and always positive\n    /// e.g.: a tickSpacing of 3 means ticks can be initialized every 3rd tick, i.e., ..., -6, -3, 0, 3, 6, ...\n    /// This value is an int24 to avoid casting even though it is always positive.\n    /// @return The tick spacing\n    function tickSpacing() external view returns (int24);\n\n    /// @notice The maximum amount of position liquidity that can use any tick in the range\n    /// @dev This parameter is enforced per tick to prevent liquidity from overflowing a uint128 at any point, and\n    /// also prevents out-of-range liquidity from being used to prevent adding in-range liquidity to a pool\n    /// @return The max amount of liquidity per tick\n    function maxLiquidityPerTick() external view returns (uint128);\n}\n"},"node_modules/@uniswap/v4-periphery/lib/permit2/src/interfaces/IAllowanceTransfer.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {IEIP712} from \"./IEIP712.sol\";\n\n/// @title AllowanceTransfer\n/// @notice Handles ERC20 token permissions through signature based allowance setting and ERC20 token transfers by checking allowed amounts\n/// @dev Requires user's token approval on the Permit2 contract\ninterface IAllowanceTransfer is IEIP712 {\n    /// @notice Thrown when an allowance on a token has expired.\n    /// @param deadline The timestamp at which the allowed amount is no longer valid\n    error AllowanceExpired(uint256 deadline);\n\n    /// @notice Thrown when an allowance on a token has been depleted.\n    /// @param amount The maximum amount allowed\n    error InsufficientAllowance(uint256 amount);\n\n    /// @notice Thrown when too many nonces are invalidated.\n    error ExcessiveInvalidation();\n\n    /// @notice Emits an event when the owner successfully invalidates an ordered nonce.\n    event NonceInvalidation(\n        address indexed owner, address indexed token, address indexed spender, uint48 newNonce, uint48 oldNonce\n    );\n\n    /// @notice Emits an event when the owner successfully sets permissions on a token for the spender.\n    event Approval(\n        address indexed owner, address indexed token, address indexed spender, uint160 amount, uint48 expiration\n    );\n\n    /// @notice Emits an event when the owner successfully sets permissions using a permit signature on a token for the spender.\n    event Permit(\n        address indexed owner,\n        address indexed token,\n        address indexed spender,\n        uint160 amount,\n        uint48 expiration,\n        uint48 nonce\n    );\n\n    /// @notice Emits an event when the owner sets the allowance back to 0 with the lockdown function.\n    event Lockdown(address indexed owner, address token, address spender);\n\n    /// @notice The permit data for a token\n    struct PermitDetails {\n        // ERC20 token address\n        address token;\n        // the maximum amount allowed to spend\n        uint160 amount;\n        // timestamp at which a spender's token allowances become invalid\n        uint48 expiration;\n        // an incrementing value indexed per owner,token,and spender for each signature\n        uint48 nonce;\n    }\n\n    /// @notice The permit message signed for a single token allowance\n    struct PermitSingle {\n        // the permit data for a single token alownce\n        PermitDetails details;\n        // address permissioned on the allowed tokens\n        address spender;\n        // deadline on the permit signature\n        uint256 sigDeadline;\n    }\n\n    /// @notice The permit message signed for multiple token allowances\n    struct PermitBatch {\n        // the permit data for multiple token allowances\n        PermitDetails[] details;\n        // address permissioned on the allowed tokens\n        address spender;\n        // deadline on the permit signature\n        uint256 sigDeadline;\n    }\n\n    /// @notice The saved permissions\n    /// @dev This info is saved per owner, per token, per spender and all signed over in the permit message\n    /// @dev Setting amount to type(uint160).max sets an unlimited approval\n    struct PackedAllowance {\n        // amount allowed\n        uint160 amount;\n        // permission expiry\n        uint48 expiration;\n        // an incrementing value indexed per owner,token,and spender for each signature\n        uint48 nonce;\n    }\n\n    /// @notice A token spender pair.\n    struct TokenSpenderPair {\n        // the token the spender is approved\n        address token;\n        // the spender address\n        address spender;\n    }\n\n    /// @notice Details for a token transfer.\n    struct AllowanceTransferDetails {\n        // the owner of the token\n        address from;\n        // the recipient of the token\n        address to;\n        // the amount of the token\n        uint160 amount;\n        // the token to be transferred\n        address token;\n    }\n\n    /// @notice A mapping from owner address to token address to spender address to PackedAllowance struct, which contains details and conditions of the approval.\n    /// @notice The mapping is indexed in the above order see: allowance[ownerAddress][tokenAddress][spenderAddress]\n    /// @dev The packed slot holds the allowed amount, expiration at which the allowed amount is no longer valid, and current nonce thats updated on any signature based approvals.\n    function allowance(address user, address token, address spender)\n        external\n        view\n        returns (uint160 amount, uint48 expiration, uint48 nonce);\n\n    /// @notice Approves the spender to use up to amount of the specified token up until the expiration\n    /// @param token The token to approve\n    /// @param spender The spender address to approve\n    /// @param amount The approved amount of the token\n    /// @param expiration The timestamp at which the approval is no longer valid\n    /// @dev The packed allowance also holds a nonce, which will stay unchanged in approve\n    /// @dev Setting amount to type(uint160).max sets an unlimited approval\n    function approve(address token, address spender, uint160 amount, uint48 expiration) external;\n\n    /// @notice Permit a spender to a given amount of the owners token via the owner's EIP-712 signature\n    /// @dev May fail if the owner's nonce was invalidated in-flight by invalidateNonce\n    /// @param owner The owner of the tokens being approved\n    /// @param permitSingle Data signed over by the owner specifying the terms of approval\n    /// @param signature The owner's signature over the permit data\n    function permit(address owner, PermitSingle memory permitSingle, bytes calldata signature) external;\n\n    /// @notice Permit a spender to the signed amounts of the owners tokens via the owner's EIP-712 signature\n    /// @dev May fail if the owner's nonce was invalidated in-flight by invalidateNonce\n    /// @param owner The owner of the tokens being approved\n    /// @param permitBatch Data signed over by the owner specifying the terms of approval\n    /// @param signature The owner's signature over the permit data\n    function permit(address owner, PermitBatch memory permitBatch, bytes calldata signature) external;\n\n    /// @notice Transfer approved tokens from one address to another\n    /// @param from The address to transfer from\n    /// @param to The address of the recipient\n    /// @param amount The amount of the token to transfer\n    /// @param token The token address to transfer\n    /// @dev Requires the from address to have approved at least the desired amount\n    /// of tokens to msg.sender.\n    function transferFrom(address from, address to, uint160 amount, address token) external;\n\n    /// @notice Transfer approved tokens in a batch\n    /// @param transferDetails Array of owners, recipients, amounts, and tokens for the transfers\n    /// @dev Requires the from addresses to have approved at least the desired amount\n    /// of tokens to msg.sender.\n    function transferFrom(AllowanceTransferDetails[] calldata transferDetails) external;\n\n    /// @notice Enables performing a \"lockdown\" of the sender's Permit2 identity\n    /// by batch revoking approvals\n    /// @param approvals Array of approvals to revoke.\n    function lockdown(TokenSpenderPair[] calldata approvals) external;\n\n    /// @notice Invalidate nonces for a given (token, spender) pair\n    /// @param token The token to invalidate nonces for\n    /// @param spender The spender to invalidate nonces for\n    /// @param newNonce The new nonce to set. Invalidates all nonces less than it.\n    /// @dev Can't invalidate more than 2**16 nonces per transaction.\n    function invalidateNonces(address token, address spender, uint48 newNonce) external;\n}\n"},"node_modules/@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolDerivedState.sol":{"content":"// SPDX-License-Identifier: GPL-2.0-or-later\npragma solidity >=0.5.0;\n\n/// @title Pool state that is not stored\n/// @notice Contains view functions to provide information about the pool that is computed rather than stored on the\n/// blockchain. The functions here may have variable gas costs.\ninterface IUniswapV3PoolDerivedState {\n    /// @notice Returns the cumulative tick and liquidity as of each timestamp `secondsAgo` from the current block timestamp\n    /// @dev To get a time weighted average tick or liquidity-in-range, you must call this with two values, one representing\n    /// the beginning of the period and another for the end of the period. E.g., to get the last hour time-weighted average tick,\n    /// you must call it with secondsAgos = [3600, 0].\n    /// @dev The time weighted average tick represents the geometric time weighted average price of the pool, in\n    /// log base sqrt(1.0001) of token1 / token0. The TickMath library can be used to go from a tick value to a ratio.\n    /// @param secondsAgos From how long ago each cumulative tick and liquidity value should be returned\n    /// @return tickCumulatives Cumulative tick values as of each `secondsAgos` from the current block timestamp\n    /// @return secondsPerLiquidityCumulativeX128s Cumulative seconds per liquidity-in-range value as of each `secondsAgos` from the current block\n    /// timestamp\n    function observe(uint32[] calldata secondsAgos)\n        external\n        view\n        returns (int56[] memory tickCumulatives, uint160[] memory secondsPerLiquidityCumulativeX128s);\n\n    /// @notice Returns a snapshot of the tick cumulative, seconds per liquidity and seconds inside a tick range\n    /// @dev Snapshots must only be compared to other snapshots, taken over a period for which a position existed.\n    /// I.e., snapshots cannot be compared if a position is not held for the entire period between when the first\n    /// snapshot is taken and the second snapshot is taken.\n    /// @param tickLower The lower tick of the range\n    /// @param tickUpper The upper tick of the range\n    /// @return tickCumulativeInside The snapshot of the tick accumulator for the range\n    /// @return secondsPerLiquidityInsideX128 The snapshot of seconds per liquidity for the range\n    /// @return secondsInside The snapshot of seconds per liquidity for the range\n    function snapshotCumulativesInside(int24 tickLower, int24 tickUpper)\n        external\n        view\n        returns (\n            int56 tickCumulativeInside,\n            uint160 secondsPerLiquidityInsideX128,\n            uint32 secondsInside\n        );\n}\n"},"node_modules/@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolOwnerActions.sol":{"content":"// SPDX-License-Identifier: GPL-2.0-or-later\npragma solidity >=0.5.0;\n\n/// @title Permissioned pool actions\n/// @notice Contains pool methods that may only be called by the factory owner\ninterface IUniswapV3PoolOwnerActions {\n    /// @notice Set the denominator of the protocol's % share of the fees\n    /// @param feeProtocol0 new protocol fee for token0 of the pool\n    /// @param feeProtocol1 new protocol fee for token1 of the pool\n    function setFeeProtocol(uint8 feeProtocol0, uint8 feeProtocol1) external;\n\n    /// @notice Collect the protocol fee accrued to the pool\n    /// @param recipient The address to which collected protocol fees should be sent\n    /// @param amount0Requested The maximum amount of token0 to send, can be 0 to collect fees in only token1\n    /// @param amount1Requested The maximum amount of token1 to send, can be 0 to collect fees in only token0\n    /// @return amount0 The protocol fee collected in token0\n    /// @return amount1 The protocol fee collected in token1\n    function collectProtocol(\n        address recipient,\n        uint128 amount0Requested,\n        uint128 amount1Requested\n    ) external returns (uint128 amount0, uint128 amount1);\n}\n"}},"language":"Solidity","settings":{"viaIR":true,"metadata":{"appendCBOR":true,"bytecodeHash":"none","useLiteralContent":true},"optimizer":{"runs":200,"enabled":true},"evmVersion":"shanghai","remappings":["@openzeppelin/contracts/=node_modules/@openzeppelin/contracts/","@openzeppelin/contracts-upgradeable/=node_modules/@openzeppelin/contracts-upgradeable/","@uniswap/v3-core/=node_modules/@uniswap/v3-core/","@uniswap/v4-core/=node_modules/@uniswap/v4-core/","@uniswap/v4-periphery/=node_modules/@uniswap/v4-periphery/","base64-sol/=node_modules/base64-sol/","ds-test/=node_modules/@uniswap/v4-core/lib/solmate/lib/ds-test/","erc4626-tests/=node_modules/@uniswap/v4-core/lib/openzeppelin-contracts/lib/erc4626-tests/","forge-gas-snapshot/=node_modules/@uniswap/v4-periphery/lib/permit2/lib/forge-gas-snapshot/","forge-std/=node_modules/@uniswap/v4-core/lib/forge-std/","openzeppelin-contracts/=node_modules/@uniswap/v4-core/lib/openzeppelin-contracts/","permit2/=node_modules/@uniswap/v4-periphery/lib/permit2/","solmate/=node_modules/@uniswap/v4-core/lib/solmate/","v4-core/=node_modules/@uniswap/v4-periphery/lib/v4-core/"]}},"stdJsonOutput":{"sources":{"ALMShared.sol":{"id":1},"ALMCoreUpgradeable.sol":{"id":0},"interfaces/IMetaAggregationRouterV2.sol":{"id":4},"node_modules/@openzeppelin/contracts/utils/Errors.sol":{"id":24},"node_modules/@openzeppelin/contracts/utils/Address.sol":{"id":23},"node_modules/@uniswap/v4-core/src/libraries/BitMath.sol":{"id":37},"node_modules/@uniswap/v4-core/src/libraries/FullMath.sol":{"id":40},"node_modules/@uniswap/v4-core/src/libraries/SafeCast.sol":{"id":41},"node_modules/@uniswap/v4-core/src/libraries/TickMath.sol":{"id":43},"node_modules/@openzeppelin/contracts/interfaces/IERC20.sol":{"id":13},"node_modules/@openzeppelin/contracts/utils/StorageSlot.sol":{"id":27},"node_modules/@uniswap/v4-core/src/libraries/UnsafeMath.sol":{"id":44},"node_modules/@openzeppelin/contracts/interfaces/IERC165.sol":{"id":11},"node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol":{"id":19},"node_modules/@openzeppelin/contracts/utils/LowLevelCall.sol":{"id":25},"node_modules/@openzeppelin/contracts/interfaces/IERC1363.sol":{"id":10},"node_modules/@openzeppelin/contracts/interfaces/IERC1967.sol":{"id":12},"node_modules/@uniswap/v4-core/src/libraries/CustomRevert.sol":{"id":38},"node_modules/@uniswap/v4-core/src/libraries/FixedPoint96.sol":{"id":39},"node_modules/@openzeppelin/contracts/proxy/beacon/IBeacon.sol":{"id":16},"node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol":{"id":21},"node_modules/@uniswap/v4-core/src/libraries/SqrtPriceMath.sol":{"id":42},"node_modules/@openzeppelin/contracts/utils/ReentrancyGuard.sol":{"id":26},"node_modules/@openzeppelin/contracts/interfaces/draft-IERC1822.sol":{"id":14},"node_modules/@openzeppelin/contracts/proxy/utils/Initializable.sol":{"id":17},"node_modules/@openzeppelin/contracts/proxy/ERC1967/ERC1967Utils.sol":{"id":15},"node_modules/@openzeppelin/contracts/proxy/utils/UUPSUpgradeable.sol":{"id":18},"node_modules/@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol":{"id":20},"node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol":{"id":28},"node_modules/@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol":{"id":22},"node_modules/@uniswap/v3-core/contracts/interfaces/IUniswapV3Pool.sol":{"id":30},"node_modules/@uniswap/v4-periphery/src/libraries/LiquidityAmounts.sol":{"id":47},"node_modules/@uniswap/v3-core/contracts/interfaces/IUniswapV3Factory.sol":{"id":29},"node_modules/@uniswap/v4-periphery/lib/permit2/src/interfaces/IEIP712.sol":{"id":46},"node_modules/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol":{"id":8},"node_modules/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol":{"id":6},"node_modules/@openzeppelin/contracts-upgradeable/utils/PausableUpgradeable.sol":{"id":9},"node_modules/@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolState.sol":{"id":36},"node_modules/@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.sol":{"id":7},"node_modules/@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolEvents.sol":{"id":33},"node_modules/@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolActions.sol":{"id":31},"node_modules/@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable.sol":{"id":5},"node_modules/@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolImmutables.sol":{"id":34},"node_modules/@uniswap/v4-periphery/lib/permit2/src/interfaces/IAllowanceTransfer.sol":{"id":45},"node_modules/@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolDerivedState.sol":{"id":32},"node_modules/@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolOwnerActions.sol":{"id":35}},"contracts":{"ALMCoreUpgradeable.sol":{"ALMCoreUpgradeable":{"abi":[{"type":"constructor","inputs":[],"stateMutability":"nonpayable"},{"name":"AddressEmptyCode","type":"error","inputs":[{"name":"target","type":"address","internalType":"address"}]},{"name":"AmountTooLarge","type":"error","inputs":[]},{"name":"AmountZero","type":"error","inputs":[]},{"name":"ERC1967InvalidImplementation","type":"error","inputs":[{"name":"implementation","type":"address","internalType":"address"}]},{"name":"ERC1967NonPayable","type":"error","inputs":[]},{"name":"EnforcedPause","type":"error","inputs":[]},{"name":"ExecutorLossBudgetExceeded","type":"error","inputs":[{"name":"used24h","type":"uint256","internalType":"uint256"},{"name":"loss","type":"uint256","internalType":"uint256"},{"name":"cap24h","type":"uint256","internalType":"uint256"}]},{"name":"ExecutorLossBudgetNotConfigured","type":"error","inputs":[]},{"name":"ExecutorSelectorNotAllowed","type":"error","inputs":[{"name":"selector","type":"bytes4","internalType":"bytes4"}]},{"name":"ExpectedPause","type":"error","inputs":[]},{"name":"ExternalCallFailed","type":"error","inputs":[]},{"name":"FailedCall","type":"error","inputs":[]},{"name":"InvalidInitialization","type":"error","inputs":[]},{"name":"KyberAmountMismatch","type":"error","inputs":[]},{"name":"KyberApproveTargetMismatch","type":"error","inputs":[]},{"name":"KyberMinOutNotMet","type":"error","inputs":[]},{"name":"KyberRecipientMismatch","type":"error","inputs":[]},{"name":"KyberRouterNA","type":"error","inputs":[]},{"name":"KyberStableMinOutTooLow","type":"error","inputs":[{"name":"tokenIn","type":"address","internalType":"address"},{"name":"tokenOut","type":"address","internalType":"address"},{"name":"effectiveMinOutNormalized","type":"uint256","internalType":"uint256"},{"name":"requiredMinOutNormalized","type":"uint256","internalType":"uint256"}]},{"name":"KyberStableOutTooHigh","type":"error","inputs":[{"name":"tokenIn","type":"address","internalType":"address"},{"name":"tokenOut","type":"address","internalType":"address"},{"name":"outputNormalized","type":"uint256","internalType":"uint256"},{"name":"maxOutputNormalized","type":"uint256","internalType":"uint256"}]},{"name":"KyberTokenMismatch","type":"error","inputs":[]},{"name":"KyberUnsupportedRoute","type":"error","inputs":[]},{"name":"LengthMismatch","type":"error","inputs":[]},{"name":"NativeSendFailErr","type":"error","inputs":[]},{"name":"NotExecutorOrOwner","type":"error","inputs":[]},{"name":"NotInitializing","type":"error","inputs":[]},{"name":"OrderErr","type":"error","inputs":[]},{"name":"OwnableInvalidOwner","type":"error","inputs":[{"name":"owner","type":"address","internalType":"address"}]},{"name":"OwnableUnauthorizedAccount","type":"error","inputs":[{"name":"account","type":"address","internalType":"address"}]},{"name":"Permit2NA","type":"error","inputs":[]},{"name":"PoolNA","type":"error","inputs":[]},{"name":"PoolNotAllowed","type":"error","inputs":[{"name":"poolKey","type":"bytes32","internalType":"bytes32"}]},{"name":"PositionNotOwned","type":"error","inputs":[{"name":"nft","type":"address","internalType":"address"},{"name":"tokenId","type":"uint256","internalType":"uint256"},{"name":"actualOwner","type":"address","internalType":"address"}]},{"name":"ReentrancyGuardReentrantCall","type":"error","inputs":[]},{"name":"RenounceOwnershipDisabled","type":"error","inputs":[]},{"name":"RiskParamOutOfRange","type":"error","inputs":[]},{"name":"SafeERC20FailedOperation","type":"error","inputs":[{"name":"token","type":"address","internalType":"address"}]},{"name":"StableTokenDecimalsInvalid","type":"error","inputs":[{"name":"token","type":"address","internalType":"address"},{"name":"decimals_","type":"uint8","internalType":"uint8"}]},{"name":"StableTokenDecimalsNotSet","type":"error","inputs":[{"name":"token","type":"address","internalType":"address"}]},{"name":"SwapModuleNA","type":"error","inputs":[]},{"name":"TokenNotAllowed","type":"error","inputs":[{"name":"token","type":"address","internalType":"address"}]},{"name":"UUPSUnauthorizedCallContext","type":"error","inputs":[]},{"name":"UUPSUnsupportedProxiableUUID","type":"error","inputs":[{"name":"slot","type":"bytes32","internalType":"bytes32"}]},{"name":"UpgradesFrozenErr","type":"error","inputs":[]},{"name":"V3StablePriceOutOfRange","type":"error","inputs":[{"name":"token0","type":"address","internalType":"address"},{"name":"token1","type":"address","internalType":"address"},{"name":"priceX18","type":"uint256","internalType":"uint256"},{"name":"minPriceX18","type":"uint256","internalType":"uint256"},{"name":"maxPriceX18","type":"uint256","internalType":"uint256"}]},{"name":"V4HookDataNotAllowed","type":"error","inputs":[]},{"name":"V4HooksUnsupported","type":"error","inputs":[]},{"name":"V4PriceGuardRequired","type":"error","inputs":[]},{"name":"V4StablePriceOutOfRange","type":"error","inputs":[{"name":"token0","type":"address","internalType":"address"},{"name":"token1","type":"address","internalType":"address"},{"name":"priceX18","type":"uint256","internalType":"uint256"},{"name":"minPriceX18","type":"uint256","internalType":"uint256"},{"name":"maxPriceX18","type":"uint256","internalType":"uint256"}]},{"name":"V4ViewNA","type":"error","inputs":[]},{"name":"ZeroAddr","type":"error","inputs":[]},{"name":"ZeroPoolKey","type":"error","inputs":[]},{"name":"ExecutorLossBudgetConsumed","type":"event","inputs":[{"name":"hourId","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"lossNormalized","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"used24h","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"cap24h","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"ExecutorLossBudgetSet","type":"event","inputs":[{"name":"enabled","type":"bool","indexed":false,"internalType":"bool"},{"name":"riskCapitalNormalized","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"capBpsX100","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"ExecutorSet","type":"event","inputs":[{"name":"executor","type":"address","indexed":true,"internalType":"address"},{"name":"enabled","type":"bool","indexed":false,"internalType":"bool"}],"anonymous":false},{"name":"FlyRouterSet","type":"event","inputs":[{"name":"router","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"Initialized","type":"event","inputs":[{"name":"version","type":"uint64","indexed":false,"internalType":"uint64"}],"anonymous":false},{"name":"KyberRouterSet","type":"event","inputs":[{"name":"router","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"KyberSwapExecuted","type":"event","inputs":[{"name":"router","type":"address","indexed":true,"internalType":"address"},{"name":"value","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"routeData","type":"bytes","indexed":false,"internalType":"bytes"}],"anonymous":false},{"name":"ModulesSet","type":"event","inputs":[{"name":"v3Module","type":"address","indexed":true,"internalType":"address"},{"name":"v4Module","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"OwnershipTransferStarted","type":"event","inputs":[{"name":"previousOwner","type":"address","indexed":true,"internalType":"address"},{"name":"newOwner","type":"address","indexed":true,"internalType":"address"}],"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":"Paused","type":"event","inputs":[{"name":"account","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"name":"Permit2ApprovalRevoked","type":"event","inputs":[{"name":"token","type":"address","indexed":true,"internalType":"address"},{"name":"spender","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"PoolAllowedSet","type":"event","inputs":[{"name":"poolKey","type":"bytes32","indexed":true,"internalType":"bytes32"},{"name":"allowed","type":"bool","indexed":false,"internalType":"bool"}],"anonymous":false},{"name":"PoolAllowlistEnforcedSet","type":"event","inputs":[{"name":"enforced","type":"bool","indexed":false,"internalType":"bool"}],"anonymous":false},{"name":"StableTokenDecimalsSet","type":"event","inputs":[{"name":"token","type":"address","indexed":true,"internalType":"address"},{"name":"decimals_","type":"uint8","indexed":false,"internalType":"uint8"}],"anonymous":false},{"name":"SwapModuleSet","type":"event","inputs":[{"name":"swapModule","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"TokenAllowedSet","type":"event","inputs":[{"name":"token","type":"address","indexed":true,"internalType":"address"},{"name":"allowed","type":"bool","indexed":false,"internalType":"bool"}],"anonymous":false},{"name":"TokenBlockedSet","type":"event","inputs":[{"name":"token","type":"address","indexed":true,"internalType":"address"},{"name":"blocked","type":"bool","indexed":false,"internalType":"bool"}],"anonymous":false},{"name":"Unpaused","type":"event","inputs":[{"name":"account","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"name":"Upgraded","type":"event","inputs":[{"name":"implementation","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"UpgradesFrozen","type":"event","inputs":[],"anonymous":false},{"name":"V4HookAllowedSet","type":"event","inputs":[{"name":"hook","type":"address","indexed":true,"internalType":"address"},{"name":"allowed","type":"bool","indexed":false,"internalType":"bool"}],"anonymous":false},{"name":"V4StablePriceBoundsSet","type":"event","inputs":[{"name":"minPriceX18","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"maxPriceX18","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"VeloraRouterSet","type":"event","inputs":[{"name":"router","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"Withdraw","type":"event","inputs":[{"name":"token","type":"address","indexed":true,"internalType":"address"},{"name":"amount","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"WithdrawNFT","type":"event","inputs":[{"name":"nft","type":"address","indexed":true,"internalType":"address"},{"name":"id","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"WithdrawNative","type":"event","inputs":[{"name":"amount","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"BPS","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"UPGRADE_INTERFACE_VERSION","type":"function","inputs":[],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"view"},{"name":"acceptOwnership","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"baseToken","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"contractBuildSalt","type":"function","inputs":[],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"pure"},{"name":"defaultDeadlineSec","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"execSwap","type":"function","inputs":[{"name":"data","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"ret","type":"bytes","internalType":"bytes"}],"stateMutability":"nonpayable"},{"name":"execV3","type":"function","inputs":[{"name":"data","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"ret","type":"bytes","internalType":"bytes"}],"stateMutability":"payable"},{"name":"execV4","type":"function","inputs":[{"name":"data","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"ret","type":"bytes","internalType":"bytes"}],"stateMutability":"payable"},{"name":"executorLossBudgetEnabled","type":"function","inputs":[],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"executorLossBudgetState","type":"function","inputs":[],"outputs":[{"name":"enabled","type":"bool","internalType":"bool"},{"name":"riskCapitalNormalized","type":"uint256","internalType":"uint256"},{"name":"capBpsX100","type":"uint256","internalType":"uint256"},{"name":"used24h","type":"uint256","internalType":"uint256"},{"name":"cap24h","type":"uint256","internalType":"uint256"},{"name":"remaining24h","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"executorLossCap24h","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"executorLossCapBpsX100","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"executorLossUsed24h","type":"function","inputs":[],"outputs":[{"name":"used24h","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"executorRiskCapitalNormalized","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"fineBpsParamsEnabled","type":"function","inputs":[],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"flyRouter","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"freezeUpgrades","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"getPool","type":"function","inputs":[{"name":"token0","type":"address","internalType":"address"},{"name":"token1","type":"address","internalType":"address"},{"name":"fee","type":"uint24","internalType":"uint24"}],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"implementation","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"initialize","type":"function","inputs":[{"name":"owner_","type":"address","internalType":"address"},{"name":"config","type":"tuple","components":[{"name":"baseToken","type":"address","internalType":"address"},{"name":"v3Factory","type":"address","internalType":"address"},{"name":"nfpm","type":"address","internalType":"address"},{"name":"router","type":"address","internalType":"address"},{"name":"quoterV2","type":"address","internalType":"address"},{"name":"v4PositionManager","type":"address","internalType":"address"},{"name":"v4StateView","type":"address","internalType":"address"},{"name":"permit2","type":"address","internalType":"address"},{"name":"defaultDeadlineSec","type":"uint256","internalType":"uint256"},{"name":"slippageBpsMax","type":"uint256","internalType":"uint256"},{"name":"swapLossBpsMax","type":"uint256","internalType":"uint256"},{"name":"slippageBpsMaxX100","type":"uint256","internalType":"uint256"},{"name":"swapLossBpsMaxX100","type":"uint256","internalType":"uint256"},{"name":"twapWindowSec","type":"uint32","internalType":"uint32"},{"name":"twapMaxTickDiff","type":"int24","internalType":"int24"}],"internalType":"struct ALMCoreUpgradeable.CoreConfig"},{"name":"modules","type":"tuple","components":[{"name":"v3Module","type":"address","internalType":"address"},{"name":"v4Module","type":"address","internalType":"address"}],"internalType":"struct ALMCoreUpgradeable.ModuleRefs"},{"name":"kyber","type":"tuple","components":[{"name":"router","type":"address","internalType":"address"}],"internalType":"struct ALMCoreUpgradeable.KyberConfig"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"isExecutor","type":"function","inputs":[{"name":"","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"isPoolAllowed","type":"function","inputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"isTokenAllowed","type":"function","inputs":[{"name":"","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"isTokenAllowedForExecutor","type":"function","inputs":[{"name":"token","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"isTokenBlocked","type":"function","inputs":[{"name":"","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"isV4HookAllowed","type":"function","inputs":[{"name":"","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"kyberRouter","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"nfpm","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"onERC721Received","type":"function","inputs":[{"name":"","type":"address","internalType":"address"},{"name":"","type":"address","internalType":"address"},{"name":"","type":"uint256","internalType":"uint256"},{"name":"","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"","type":"bytes4","internalType":"bytes4"}],"stateMutability":"pure"},{"name":"owner","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"pause","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"paused","type":"function","inputs":[],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"pendingOwner","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"permit2","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"poolAllowlistEnforced","type":"function","inputs":[],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"proxiableUUID","type":"function","inputs":[],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"name":"quoterV2","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"renounceOwnership","type":"function","inputs":[],"outputs":[],"stateMutability":"pure"},{"name":"resetExecutorLossBudgetBuckets","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"revokePermit2ForV4","type":"function","inputs":[{"name":"tokens","type":"address[]","internalType":"address[]"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"router","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"setAddresses","type":"function","inputs":[{"name":"baseToken_","type":"address","internalType":"address"},{"name":"v3Factory_","type":"address","internalType":"address"},{"name":"nfpm_","type":"address","internalType":"address"},{"name":"router_","type":"address","internalType":"address"},{"name":"quoter_","type":"address","internalType":"address"},{"name":"v4PositionManager_","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setAllowedToken","type":"function","inputs":[{"name":"token","type":"address","internalType":"address"},{"name":"allowed","type":"bool","internalType":"bool"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setAllowedTokens","type":"function","inputs":[{"name":"tokens","type":"address[]","internalType":"address[]"},{"name":"allowed","type":"bool","internalType":"bool"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setBlockedToken","type":"function","inputs":[{"name":"token","type":"address","internalType":"address"},{"name":"blocked","type":"bool","internalType":"bool"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setBlockedTokens","type":"function","inputs":[{"name":"tokens","type":"address[]","internalType":"address[]"},{"name":"blocked","type":"bool","internalType":"bool"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setExecutor","type":"function","inputs":[{"name":"executor","type":"address","internalType":"address"},{"name":"enabled","type":"bool","internalType":"bool"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setExecutorLossBudget","type":"function","inputs":[{"name":"enabled","type":"bool","internalType":"bool"},{"name":"riskCapitalNormalized","type":"uint256","internalType":"uint256"},{"name":"capBpsX100","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setFlyRouter","type":"function","inputs":[{"name":"router_","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setKyberRouter","type":"function","inputs":[{"name":"router_","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setModules","type":"function","inputs":[{"name":"v3Module_","type":"address","internalType":"address"},{"name":"v4Module_","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setParams","type":"function","inputs":[{"name":"defaultDeadlineSec_","type":"uint256","internalType":"uint256"},{"name":"slippageBpsMax_","type":"uint256","internalType":"uint256"},{"name":"swapLossBpsMax_","type":"uint256","internalType":"uint256"},{"name":"twapWindowSec_","type":"uint32","internalType":"uint32"},{"name":"twapMaxTickDiff_","type":"int24","internalType":"int24"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setParamsBpsX100","type":"function","inputs":[{"name":"defaultDeadlineSec_","type":"uint256","internalType":"uint256"},{"name":"slippageBpsMaxX100_","type":"uint256","internalType":"uint256"},{"name":"swapLossBpsMaxX100_","type":"uint256","internalType":"uint256"},{"name":"twapWindowSec_","type":"uint32","internalType":"uint32"},{"name":"twapMaxTickDiff_","type":"int24","internalType":"int24"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setPermit2","type":"function","inputs":[{"name":"permit2_","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setPoolAllowed","type":"function","inputs":[{"name":"poolKey","type":"bytes32","internalType":"bytes32"},{"name":"allowed","type":"bool","internalType":"bool"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setPoolAllowlist","type":"function","inputs":[{"name":"poolKeys","type":"bytes32[]","internalType":"bytes32[]"},{"name":"enforced","type":"bool","internalType":"bool"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setPoolAllowlistEnforced","type":"function","inputs":[{"name":"enforced","type":"bool","internalType":"bool"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setPoolsAllowed","type":"function","inputs":[{"name":"poolKeys","type":"bytes32[]","internalType":"bytes32[]"},{"name":"allowed","type":"bool","internalType":"bool"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setStableTokenDecimals","type":"function","inputs":[{"name":"token","type":"address","internalType":"address"},{"name":"decimals_","type":"uint8","internalType":"uint8"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setStableTokenDecimalsBatch","type":"function","inputs":[{"name":"tokens","type":"address[]","internalType":"address[]"},{"name":"decimals_","type":"uint8[]","internalType":"uint8[]"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setSwapModule","type":"function","inputs":[{"name":"swapModule_","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setV4HookAllowed","type":"function","inputs":[{"name":"hook","type":"address","internalType":"address"},{"name":"allowed","type":"bool","internalType":"bool"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setV4StablePriceBounds","type":"function","inputs":[{"name":"minPriceX18","type":"uint256","internalType":"uint256"},{"name":"maxPriceX18","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setV4StateView","type":"function","inputs":[{"name":"stateView","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setVeloraRouter","type":"function","inputs":[{"name":"router_","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"slippageBpsMax","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"slippageBpsMaxX100","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"stableTokenDecimals","type":"function","inputs":[{"name":"","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint8","internalType":"uint8"}],"stateMutability":"view"},{"name":"swapLossBpsMax","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"swapLossBpsMaxX100","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"swapModule","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"swapViaKyberGuarded","type":"function","inputs":[{"name":"routeData","type":"bytes","internalType":"bytes"},{"name":"spends","type":"tuple[]","components":[{"name":"token","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"}],"internalType":"struct ALMGuards.Spend[]"},{"name":"value","type":"uint256","internalType":"uint256"},{"name":"tokenOut","type":"address","internalType":"address"},{"name":"minAmountOut","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"transferOwnership","type":"function","inputs":[{"name":"newOwner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"twapMaxTickDiff","type":"function","inputs":[],"outputs":[{"name":"","type":"int24","internalType":"int24"}],"stateMutability":"view"},{"name":"twapWindowSec","type":"function","inputs":[],"outputs":[{"name":"","type":"uint32","internalType":"uint32"}],"stateMutability":"view"},{"name":"unpause","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"upgradeTo","type":"function","inputs":[{"name":"newImplementation","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"upgradeToAndCall","type":"function","inputs":[{"name":"newImplementation","type":"address","internalType":"address"},{"name":"data","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"payable"},{"name":"upgradeabilityFrozen","type":"function","inputs":[],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"v3Factory","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"v3Module","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"v4Module","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"v4PositionManager","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"v4StablePriceBounds","type":"function","inputs":[],"outputs":[{"name":"minPriceX18","type":"uint256","internalType":"uint256"},{"name":"maxPriceX18","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"v4StablePriceMaxX18","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"v4StablePriceMinX18","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"v4StateView","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"veloraRouter","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"withdrawNFT","type":"function","inputs":[{"name":"nft","type":"address","internalType":"address"},{"name":"id","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"withdrawNative","type":"function","inputs":[{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"withdrawTokens","type":"function","inputs":[{"name":"token","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"receive","stateMutability":"payable"}],"metadata":"{\"compiler\":{\"version\":\"0.8.35+commit.47b9dedd\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"}],\"name\":\"AddressEmptyCode\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AmountTooLarge\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AmountZero\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"ERC1967InvalidImplementation\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ERC1967NonPayable\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"EnforcedPause\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"used24h\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"loss\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"cap24h\",\"type\":\"uint256\"}],\"name\":\"ExecutorLossBudgetExceeded\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ExecutorLossBudgetNotConfigured\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"selector\",\"type\":\"bytes4\"}],\"name\":\"ExecutorSelectorNotAllowed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ExpectedPause\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ExternalCallFailed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FailedCall\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidInitialization\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"KyberAmountMismatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"KyberApproveTargetMismatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"KyberMinOutNotMet\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"KyberRecipientMismatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"KyberRouterNA\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenIn\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenOut\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"effectiveMinOutNormalized\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"requiredMinOutNormalized\",\"type\":\"uint256\"}],\"name\":\"KyberStableMinOutTooLow\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenIn\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenOut\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"outputNormalized\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maxOutputNormalized\",\"type\":\"uint256\"}],\"name\":\"KyberStableOutTooHigh\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"KyberTokenMismatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"KyberUnsupportedRoute\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"LengthMismatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NativeSendFailErr\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotExecutorOrOwner\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotInitializing\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OrderErr\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"OwnableInvalidOwner\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"OwnableUnauthorizedAccount\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"Permit2NA\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PoolNA\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"poolKey\",\"type\":\"bytes32\"}],\"name\":\"PoolNotAllowed\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"nft\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"actualOwner\",\"type\":\"address\"}],\"name\":\"PositionNotOwned\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ReentrancyGuardReentrantCall\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"RenounceOwnershipDisabled\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"RiskParamOutOfRange\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"SafeERC20FailedOperation\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint8\",\"name\":\"decimals_\",\"type\":\"uint8\"}],\"name\":\"StableTokenDecimalsInvalid\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"StableTokenDecimalsNotSet\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"SwapModuleNA\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"TokenNotAllowed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UUPSUnauthorizedCallContext\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"slot\",\"type\":\"bytes32\"}],\"name\":\"UUPSUnsupportedProxiableUUID\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UpgradesFrozenErr\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token0\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"token1\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"priceX18\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minPriceX18\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maxPriceX18\",\"type\":\"uint256\"}],\"name\":\"V3StablePriceOutOfRange\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"V4HookDataNotAllowed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"V4HooksUnsupported\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"V4PriceGuardRequired\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token0\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"token1\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"priceX18\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minPriceX18\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maxPriceX18\",\"type\":\"uint256\"}],\"name\":\"V4StablePriceOutOfRange\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"V4ViewNA\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ZeroAddr\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ZeroPoolKey\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"hourId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"lossNormalized\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"used24h\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"cap24h\",\"type\":\"uint256\"}],\"name\":\"ExecutorLossBudgetConsumed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"enabled\",\"type\":\"bool\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"riskCapitalNormalized\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"capBpsX100\",\"type\":\"uint256\"}],\"name\":\"ExecutorLossBudgetSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"executor\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"enabled\",\"type\":\"bool\"}],\"name\":\"ExecutorSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"router\",\"type\":\"address\"}],\"name\":\"FlyRouterSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"version\",\"type\":\"uint64\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"router\",\"type\":\"address\"}],\"name\":\"KyberRouterSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"router\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"routeData\",\"type\":\"bytes\"}],\"name\":\"KyberSwapExecuted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"v3Module\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"v4Module\",\"type\":\"address\"}],\"name\":\"ModulesSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferStarted\",\"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\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Paused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"Permit2ApprovalRevoked\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"poolKey\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"allowed\",\"type\":\"bool\"}],\"name\":\"PoolAllowedSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"enforced\",\"type\":\"bool\"}],\"name\":\"PoolAllowlistEnforcedSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"decimals_\",\"type\":\"uint8\"}],\"name\":\"StableTokenDecimalsSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"swapModule\",\"type\":\"address\"}],\"name\":\"SwapModuleSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"allowed\",\"type\":\"bool\"}],\"name\":\"TokenAllowedSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"blocked\",\"type\":\"bool\"}],\"name\":\"TokenBlockedSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Unpaused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"Upgraded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"UpgradesFrozen\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"hook\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"allowed\",\"type\":\"bool\"}],\"name\":\"V4HookAllowedSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"minPriceX18\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"maxPriceX18\",\"type\":\"uint256\"}],\"name\":\"V4StablePriceBoundsSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"router\",\"type\":\"address\"}],\"name\":\"VeloraRouterSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Withdraw\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"nft\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"WithdrawNFT\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"WithdrawNative\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"BPS\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"UPGRADE_INTERFACE_VERSION\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"acceptOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"baseToken\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"contractBuildSalt\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"defaultDeadlineSec\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"execSwap\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"ret\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"execV3\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"ret\",\"type\":\"bytes\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"execV4\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"ret\",\"type\":\"bytes\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"executorLossBudgetEnabled\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"executorLossBudgetState\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"enabled\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"riskCapitalNormalized\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"capBpsX100\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"used24h\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"cap24h\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"remaining24h\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"executorLossCap24h\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"executorLossCapBpsX100\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"executorLossUsed24h\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"used24h\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"executorRiskCapitalNormalized\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"fineBpsParamsEnabled\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"flyRouter\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"freezeUpgrades\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token0\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"token1\",\"type\":\"address\"},{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"}],\"name\":\"getPool\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"implementation\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner_\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"baseToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"v3Factory\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"nfpm\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"router\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"quoterV2\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"v4PositionManager\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"v4StateView\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"permit2\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"defaultDeadlineSec\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"slippageBpsMax\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"swapLossBpsMax\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"slippageBpsMaxX100\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"swapLossBpsMaxX100\",\"type\":\"uint256\"},{\"internalType\":\"uint32\",\"name\":\"twapWindowSec\",\"type\":\"uint32\"},{\"internalType\":\"int24\",\"name\":\"twapMaxTickDiff\",\"type\":\"int24\"}],\"internalType\":\"struct ALMCoreUpgradeable.CoreConfig\",\"name\":\"config\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"v3Module\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"v4Module\",\"type\":\"address\"}],\"internalType\":\"struct ALMCoreUpgradeable.ModuleRefs\",\"name\":\"modules\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"router\",\"type\":\"address\"}],\"internalType\":\"struct ALMCoreUpgradeable.KyberConfig\",\"name\":\"kyber\",\"type\":\"tuple\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"isExecutor\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"isPoolAllowed\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"isTokenAllowed\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"isTokenAllowedForExecutor\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"isTokenBlocked\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"isV4HookAllowed\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"kyberRouter\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"nfpm\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"onERC721Received\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pendingOwner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"permit2\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"poolAllowlistEnforced\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"proxiableUUID\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"quoterV2\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"resetExecutorLossBudgetBuckets\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"tokens\",\"type\":\"address[]\"}],\"name\":\"revokePermit2ForV4\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"router\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"baseToken_\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"v3Factory_\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"nfpm_\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"router_\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"quoter_\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"v4PositionManager_\",\"type\":\"address\"}],\"name\":\"setAddresses\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"allowed\",\"type\":\"bool\"}],\"name\":\"setAllowedToken\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"tokens\",\"type\":\"address[]\"},{\"internalType\":\"bool\",\"name\":\"allowed\",\"type\":\"bool\"}],\"name\":\"setAllowedTokens\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"blocked\",\"type\":\"bool\"}],\"name\":\"setBlockedToken\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"tokens\",\"type\":\"address[]\"},{\"internalType\":\"bool\",\"name\":\"blocked\",\"type\":\"bool\"}],\"name\":\"setBlockedTokens\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"executor\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"enabled\",\"type\":\"bool\"}],\"name\":\"setExecutor\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"enabled\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"riskCapitalNormalized\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"capBpsX100\",\"type\":\"uint256\"}],\"name\":\"setExecutorLossBudget\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"router_\",\"type\":\"address\"}],\"name\":\"setFlyRouter\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"router_\",\"type\":\"address\"}],\"name\":\"setKyberRouter\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"v3Module_\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"v4Module_\",\"type\":\"address\"}],\"name\":\"setModules\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"defaultDeadlineSec_\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"slippageBpsMax_\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"swapLossBpsMax_\",\"type\":\"uint256\"},{\"internalType\":\"uint32\",\"name\":\"twapWindowSec_\",\"type\":\"uint32\"},{\"internalType\":\"int24\",\"name\":\"twapMaxTickDiff_\",\"type\":\"int24\"}],\"name\":\"setParams\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"defaultDeadlineSec_\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"slippageBpsMaxX100_\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"swapLossBpsMaxX100_\",\"type\":\"uint256\"},{\"internalType\":\"uint32\",\"name\":\"twapWindowSec_\",\"type\":\"uint32\"},{\"internalType\":\"int24\",\"name\":\"twapMaxTickDiff_\",\"type\":\"int24\"}],\"name\":\"setParamsBpsX100\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"permit2_\",\"type\":\"address\"}],\"name\":\"setPermit2\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"poolKey\",\"type\":\"bytes32\"},{\"internalType\":\"bool\",\"name\":\"allowed\",\"type\":\"bool\"}],\"name\":\"setPoolAllowed\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"poolKeys\",\"type\":\"bytes32[]\"},{\"internalType\":\"bool\",\"name\":\"enforced\",\"type\":\"bool\"}],\"name\":\"setPoolAllowlist\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"enforced\",\"type\":\"bool\"}],\"name\":\"setPoolAllowlistEnforced\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"poolKeys\",\"type\":\"bytes32[]\"},{\"internalType\":\"bool\",\"name\":\"allowed\",\"type\":\"bool\"}],\"name\":\"setPoolsAllowed\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint8\",\"name\":\"decimals_\",\"type\":\"uint8\"}],\"name\":\"setStableTokenDecimals\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"tokens\",\"type\":\"address[]\"},{\"internalType\":\"uint8[]\",\"name\":\"decimals_\",\"type\":\"uint8[]\"}],\"name\":\"setStableTokenDecimalsBatch\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"swapModule_\",\"type\":\"address\"}],\"name\":\"setSwapModule\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"hook\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"allowed\",\"type\":\"bool\"}],\"name\":\"setV4HookAllowed\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"minPriceX18\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maxPriceX18\",\"type\":\"uint256\"}],\"name\":\"setV4StablePriceBounds\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"stateView\",\"type\":\"address\"}],\"name\":\"setV4StateView\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"router_\",\"type\":\"address\"}],\"name\":\"setVeloraRouter\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"slippageBpsMax\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"slippageBpsMaxX100\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"stableTokenDecimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"swapLossBpsMax\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"swapLossBpsMaxX100\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"swapModule\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"routeData\",\"type\":\"bytes\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"internalType\":\"struct ALMGuards.Spend[]\",\"name\":\"spends\",\"type\":\"tuple[]\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"tokenOut\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"minAmountOut\",\"type\":\"uint256\"}],\"name\":\"swapViaKyberGuarded\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"twapMaxTickDiff\",\"outputs\":[{\"internalType\":\"int24\",\"name\":\"\",\"type\":\"int24\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"twapWindowSec\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unpause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newImplementation\",\"type\":\"address\"}],\"name\":\"upgradeTo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newImplementation\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"upgradeToAndCall\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"upgradeabilityFrozen\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"v3Factory\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"v3Module\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"v4Module\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"v4PositionManager\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"v4StablePriceBounds\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"minPriceX18\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maxPriceX18\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"v4StablePriceMaxX18\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"v4StablePriceMinX18\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"v4StateView\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"veloraRouter\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"nft\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"withdrawNFT\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"withdrawNative\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"withdrawTokens\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}],\"devdoc\":{\"errors\":{\"AddressEmptyCode(address)\":[{\"details\":\"There's no code at `target` (it is not a contract).\"}],\"ERC1967InvalidImplementation(address)\":[{\"details\":\"The `implementation` of the proxy is invalid.\"}],\"ERC1967NonPayable()\":[{\"details\":\"An upgrade function sees `msg.value > 0` that may be lost.\"}],\"EnforcedPause()\":[{\"details\":\"The operation failed because the contract is paused.\"}],\"ExpectedPause()\":[{\"details\":\"The operation failed because the contract is not paused.\"}],\"FailedCall()\":[{\"details\":\"A call to an address target failed. The target may have reverted.\"}],\"InvalidInitialization()\":[{\"details\":\"The contract is already initialized.\"}],\"NotInitializing()\":[{\"details\":\"The contract is not initializing.\"}],\"OwnableInvalidOwner(address)\":[{\"details\":\"The owner is not a valid owner account. (eg. `address(0)`)\"}],\"OwnableUnauthorizedAccount(address)\":[{\"details\":\"The caller account is not authorized to perform an operation.\"}],\"ReentrancyGuardReentrantCall()\":[{\"details\":\"Unauthorized reentrant call.\"}],\"SafeERC20FailedOperation(address)\":[{\"details\":\"An operation with an ERC-20 token failed.\"}],\"UUPSUnauthorizedCallContext()\":[{\"details\":\"The call is from an unauthorized context.\"}],\"UUPSUnsupportedProxiableUUID(bytes32)\":[{\"details\":\"The storage `slot` is unsupported as a UUID.\"}]},\"events\":{\"Initialized(uint64)\":{\"details\":\"Triggered when the contract has been initialized or reinitialized.\"},\"Paused(address)\":{\"details\":\"Emitted when the pause is triggered by `account`.\"},\"Unpaused(address)\":{\"details\":\"Emitted when the pause is lifted by `account`.\"},\"Upgraded(address)\":{\"details\":\"Emitted when the implementation is upgraded.\"}},\"kind\":\"dev\",\"methods\":{\"acceptOwnership()\":{\"details\":\"The new owner accepts the ownership transfer.\"},\"execSwap(bytes)\":{\"details\":\"Only the two `IALMSwapModule` swap selectors pass, for EVERY caller (owner included). The module's revert data is bubbled RAW: offchain error decoding and the Velora `EnforcedPause` attribution read it byte-for-byte. `whenNotPaused` stays on this entry.\"},\"owner()\":{\"details\":\"Returns the address of the current owner.\"},\"paused()\":{\"details\":\"Returns true if the contract is paused, and false otherwise.\"},\"pendingOwner()\":{\"details\":\"Returns the address of the pending owner.\"},\"proxiableUUID()\":{\"details\":\"Implementation of the ERC-1822 {proxiableUUID} function. This returns the storage slot used by the implementation. It is used to validate the implementation's compatibility when performing an upgrade. IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this function revert if invoked through a proxy. This is guaranteed by the `notDelegated` modifier.\"},\"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.\"},\"setPoolAllowlistEnforced(bool)\":{\"details\":\"Enforced with an empty list denies every executor entry (owner entries stay exempt).\"},\"setSwapModule(address)\":{\"details\":\"Upgrades set it atomically: `upgradeToAndCall(newImpl, abi.encodeCall(setSwapModule, (m)))`.\"},\"setV4HookAllowed(address,bool)\":{\"details\":\"Enabling refuses a hook whose address carries remove-liquidity or *_RETURNS_DELTA bits.\"},\"transferOwnership(address)\":{\"details\":\"Starts the ownership transfer of the contract to a new account. Replaces the pending transfer if there is one. Can only be called by the current owner. Setting `newOwner` to the zero address is allowed; this can be used to cancel an initiated ownership transfer.\"},\"upgradeToAndCall(address,bytes)\":{\"details\":\"Upgrade the implementation of the proxy to `newImplementation`, and subsequently execute the function call encoded in `data`. Calls {_authorizeUpgrade}. Emits an {Upgraded} event.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"execSwap(bytes)\":{\"notice\":\"Velora / Fly guarded swaps, delegatecalled into `swapModule`.\"},\"setPoolAllowed(bytes32,bool)\":{\"notice\":\"Allow (or stop allowing) NEW executor positions in a pool. Key: V4 poolId, or the V3 pool address left-padded to bytes32. De-listing never traps capital: exits are not gated.\"},\"setPoolAllowlist(bytes32[],bool)\":{\"notice\":\"Seed the allowlist and set the enforcement flag in ONE call, so a redeploy never leaves the flag on over an empty list.\"},\"setV4HookAllowed(address,bool)\":{\"notice\":\"Allow (or stop allowing) NEW V4 positions in pools using `hook`. De-listing never traps capital: exits (decrease/collect/burn) are not gated by this list.\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"ALMCoreUpgradeable.sol\":\"ALMCoreUpgradeable\"},\"evmVersion\":\"shanghai\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@openzeppelin/contracts-upgradeable/=node_modules/@openzeppelin/contracts-upgradeable/\",\":@openzeppelin/contracts/=node_modules/@openzeppelin/contracts/\",\":@uniswap/v3-core/=node_modules/@uniswap/v3-core/\",\":@uniswap/v4-core/=node_modules/@uniswap/v4-core/\",\":@uniswap/v4-periphery/=node_modules/@uniswap/v4-periphery/\",\":base64-sol/=node_modules/base64-sol/\",\":ds-test/=node_modules/@uniswap/v4-core/lib/solmate/lib/ds-test/\",\":erc4626-tests/=node_modules/@uniswap/v4-core/lib/openzeppelin-contracts/lib/erc4626-tests/\",\":forge-gas-snapshot/=node_modules/@uniswap/v4-periphery/lib/permit2/lib/forge-gas-snapshot/\",\":forge-std/=node_modules/@uniswap/v4-core/lib/forge-std/\",\":openzeppelin-contracts/=node_modules/@uniswap/v4-core/lib/openzeppelin-contracts/\",\":permit2/=node_modules/@uniswap/v4-periphery/lib/permit2/\",\":solmate/=node_modules/@uniswap/v4-core/lib/solmate/\",\":v4-core/=node_modules/@uniswap/v4-periphery/lib/v4-core/\"],\"viaIR\":true},\"sources\":{\"ALMCoreUpgradeable.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity =0.8.35;\\n\\nimport \\\"./ALMShared.sol\\\";\\nimport {IMetaAggregationRouterV2} from \\\"./interfaces/IMetaAggregationRouterV2.sol\\\";\\nimport {Ownable2StepUpgradeable} from \\\"@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable.sol\\\";\\nimport {PausableUpgradeable} from \\\"@openzeppelin/contracts-upgradeable/utils/PausableUpgradeable.sol\\\";\\nimport {UUPSUpgradeable} from \\\"@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.sol\\\";\\nimport {ERC1967Utils} from \\\"@openzeppelin/contracts/proxy/ERC1967/ERC1967Utils.sol\\\";\\nimport {ReentrancyGuard} from \\\"@openzeppelin/contracts/utils/ReentrancyGuard.sol\\\";\\n\\ncontract ALMCoreUpgradeable is\\n    ALMGuards,\\n    Ownable2StepUpgradeable,\\n    PausableUpgradeable,\\n    ReentrancyGuard,\\n    UUPSUpgradeable,\\n    IERC721Receiver\\n{\\n    using SafeERC20 for IERC20;\\n\\n    uint256 private constant MIN_DEADLINE_SEC = 30;\\n    uint256 private constant MAX_DEADLINE_SEC = 3600;\\n    uint256 private constant MAX_SLIPPAGE_BPS_X100 = 10_000; // 100 bps\\n    uint256 private constant MAX_SWAP_LOSS_BPS_X100 = 10_000; // 100 bps\\n    uint32 private constant MIN_TWAP_WINDOW_SEC = 30;\\n    uint32 private constant MAX_TWAP_WINDOW_SEC = 3600;\\n    int24 private constant MAX_TWAP_TICK_DIFF = 5000;\\n    uint256 private constant MIN_V4_STABLE_PRICE_MIN_X18 = 990_000_000_000_000_000; // 0.9900\\n    uint256 private constant MAX_V4_STABLE_PRICE_MAX_X18 = 1_010_000_000_000_000_000; // 1.0100\\n    uint256 private constant MAX_EXECUTOR_LOSS_CAP_BPS_X100 = 10_000; // 100 bps\\n    bytes32 private constant CORE_BUILD_SALT = keccak256(\\\"ALMv2eth-forced-fresh-bytecode-20260930-poolallowlist-01-core\\\");\\n\\n    struct CoreConfig {\\n        address baseToken;\\n        address v3Factory;\\n        address nfpm;\\n        address router;\\n        address quoterV2;\\n        address v4PositionManager;\\n        address v4StateView;\\n        address permit2;\\n        uint256 defaultDeadlineSec;\\n        uint256 slippageBpsMax;\\n        uint256 swapLossBpsMax;\\n        uint256 slippageBpsMaxX100;\\n        uint256 swapLossBpsMaxX100;\\n        uint32 twapWindowSec;\\n        int24 twapMaxTickDiff;\\n    }\\n\\n    struct ModuleRefs {\\n        address v3Module;\\n        address v4Module;\\n    }\\n\\n    struct KyberConfig {\\n        address router;\\n    }\\n\\n    struct ExecutorCreateV3ExactParams {\\n        address token0;\\n        address token1;\\n        uint24 fee;\\n        int24 tickLower;\\n        int24 tickUpper;\\n        uint256 amount0Desired;\\n        uint256 amount1Desired;\\n        uint256 amount0Min;\\n        uint256 amount1Min;\\n    }\\n\\n    struct ExecutorCreateV4Params {\\n        address token0;\\n        address token1;\\n        uint24 fee;\\n        int24 tickSpacing;\\n        int24 tickLower;\\n        int24 tickUpper;\\n        address hooks;\\n        bytes hookData;\\n        uint128 amount0Min;\\n        uint128 amount1Min;\\n        uint160 expectedSqrtPriceX96;\\n        uint256 maxSqrtPriceDeviationBpsX100;\\n    }\\n\\n    struct ExecutorCreateV4ExactParams {\\n        address token0;\\n        address token1;\\n        uint24 fee;\\n        int24 tickSpacing;\\n        int24 tickLower;\\n        int24 tickUpper;\\n        address hooks;\\n        bytes hookData;\\n        uint128 liquidity;\\n        uint128 amount0Max;\\n        uint128 amount1Max;\\n        uint160 expectedSqrtPriceX96;\\n        uint256 maxSqrtPriceDeviationBpsX100;\\n    }\\n\\n    event ExecutorSet(address indexed executor, bool enabled);\\n    event Withdraw(address indexed token, uint256 amount);\\n    event WithdrawNFT(address indexed nft, uint256 id);\\n    event WithdrawNative(uint256 amount);\\n    event ModulesSet(address indexed v3Module, address indexed v4Module);\\n    event SwapModuleSet(address indexed swapModule);\\n    event V4HookAllowedSet(address indexed hook, bool allowed);\\n    event PoolAllowedSet(bytes32 indexed poolKey, bool allowed);\\n    event PoolAllowlistEnforcedSet(bool enforced);\\n    event KyberRouterSet(address indexed router);\\n    event KyberSwapExecuted(address indexed router, uint256 value, bytes routeData);\\n    event FlyRouterSet(address indexed router);\\n    event VeloraRouterSet(address indexed router);\\n    event Permit2ApprovalRevoked(address indexed token, address indexed spender);\\n    event TokenAllowedSet(address indexed token, bool allowed);\\n    event TokenBlockedSet(address indexed token, bool blocked);\\n    event StableTokenDecimalsSet(address indexed token, uint8 decimals_);\\n    event V4StablePriceBoundsSet(uint256 minPriceX18, uint256 maxPriceX18);\\n    event ExecutorLossBudgetSet(bool enabled, uint256 riskCapitalNormalized, uint256 capBpsX100);\\n    event UpgradesFrozen();\\n\\n    modifier onlyExecutorOrOwner() {\\n        if (!(isExecutor[msg.sender] || msg.sender == owner())) revert NotExecutorOrOwner();\\n        _;\\n    }\\n\\n    modifier whenUpgradesAllowed() {\\n        if (upgradeabilityFrozen) revert UpgradesFrozenErr();\\n        _;\\n    }\\n\\n    constructor() {\\n        _disableInitializers();\\n    }\\n\\n    function initialize(\\n        address owner_,\\n        CoreConfig calldata config,\\n        ModuleRefs calldata modules,\\n        KyberConfig calldata kyber\\n    ) external initializer {\\n        if (owner_ == address(0)) revert ZeroAddr();\\n\\n        __Ownable_init(owner_);\\n        __Ownable2Step_init();\\n        __Pausable_init();\\n\\n        _applyConfig(config);\\n        _setModules(modules.v3Module, modules.v4Module);\\n        if (kyber.router != address(0)) {\\n            _setKyberRouter(kyber.router);\\n        }\\n    }\\n\\n    function _authorizeUpgrade(address) internal override onlyOwner whenUpgradesAllowed {}\\n\\n    function implementation() public view returns (address) {\\n        return ERC1967Utils.getImplementation();\\n    }\\n\\n    function contractBuildSalt() external pure returns (bytes32) {\\n        return CORE_BUILD_SALT;\\n    }\\n\\n    function upgradeTo(address newImplementation) external onlyProxy {\\n        upgradeToAndCall(newImplementation, bytes(\\\"\\\"));\\n    }\\n\\n    function upgradeToAndCall(address newImplementation, bytes memory data)\\n        public\\n        payable\\n        override\\n        whenUpgradesAllowed\\n    {\\n        super.upgradeToAndCall(newImplementation, data);\\n    }\\n\\n    function freezeUpgrades() external onlyProxy onlyOwner whenUpgradesAllowed {\\n        upgradeabilityFrozen = true;\\n        emit UpgradesFrozen();\\n    }\\n\\n    function pause() external onlyExecutorOrOwner {\\n        _pause();\\n    }\\n\\n    function unpause() external onlyOwner {\\n        _unpause();\\n    }\\n\\n    function renounceOwnership() public pure override {\\n        revert RenounceOwnershipDisabled();\\n    }\\n\\n    function _applyConfig(CoreConfig calldata config) internal {\\n        if (config.baseToken != address(0)) baseToken = config.baseToken;\\n        if (config.v3Factory != address(0)) v3Factory = config.v3Factory;\\n        if (config.nfpm != address(0)) nfpm = config.nfpm;\\n        if (config.router != address(0)) router = config.router;\\n        if (config.quoterV2 != address(0)) quoterV2 = config.quoterV2;\\n        if (config.v4PositionManager != address(0)) v4PositionManager = config.v4PositionManager;\\n        if (config.v4StateView != address(0)) v4StateView = config.v4StateView;\\n        if (config.permit2 != address(0)) permit2 = config.permit2;\\n\\n        defaultDeadlineSec = config.defaultDeadlineSec == 0 ? 600 : config.defaultDeadlineSec;\\n        uint256 legacySlippageBps = config.slippageBpsMax == 0 ? 3 : config.slippageBpsMax;\\n        uint256 legacySwapLossBps = config.swapLossBpsMax == 0 ? 4 : config.swapLossBpsMax;\\n        slippageBpsMaxX100 = config.slippageBpsMaxX100 == 0 ? legacySlippageBps * 100 : config.slippageBpsMaxX100;\\n        swapLossBpsMaxX100 = config.swapLossBpsMaxX100 == 0 ? legacySwapLossBps * 100 : config.swapLossBpsMaxX100;\\n        slippageBpsMax = _ceilBps(slippageBpsMaxX100);\\n        swapLossBpsMax = _ceilBps(swapLossBpsMaxX100);\\n        fineBpsParamsEnabled = true;\\n        twapWindowSec = config.twapWindowSec == 0 ? 120 : config.twapWindowSec;\\n        twapMaxTickDiff = config.twapMaxTickDiff == 0 ? int24(120) : config.twapMaxTickDiff;\\n        _validateRiskParams(\\n            defaultDeadlineSec,\\n            slippageBpsMaxX100,\\n            swapLossBpsMaxX100,\\n            twapWindowSec,\\n            twapMaxTickDiff\\n        );\\n    }\\n\\n    function setExecutor(address executor, bool enabled) external onlyOwner {\\n        isExecutor[executor] = enabled;\\n        emit ExecutorSet(executor, enabled);\\n    }\\n\\n    function setAllowedToken(address token, bool allowed) external onlyOwner {\\n        _setAllowedToken(token, allowed);\\n    }\\n\\n    function setAllowedTokens(address[] calldata tokens, bool allowed) external onlyOwner {\\n        for (uint256 i = 0; i < tokens.length; i++) {\\n            _setAllowedToken(tokens[i], allowed);\\n        }\\n    }\\n\\n    function setStableTokenDecimals(address token, uint8 decimals_) external onlyOwner {\\n        _setStableTokenDecimals(token, decimals_);\\n    }\\n\\n    function setStableTokenDecimalsBatch(address[] calldata tokens, uint8[] calldata decimals_) external onlyOwner {\\n        if (tokens.length != decimals_.length) revert LengthMismatch();\\n        for (uint256 i = 0; i < tokens.length; i++) {\\n            _setStableTokenDecimals(tokens[i], decimals_[i]);\\n        }\\n    }\\n\\n    function setV4StablePriceBounds(uint256 minPriceX18, uint256 maxPriceX18) external onlyOwner {\\n        if (minPriceX18 == 0 && maxPriceX18 == 0) {\\n            v4StablePriceMinX18 = 0;\\n            v4StablePriceMaxX18 = 0;\\n            emit V4StablePriceBoundsSet(DEFAULT_V4_STABLE_PRICE_MIN_X18, DEFAULT_V4_STABLE_PRICE_MAX_X18);\\n            return;\\n        }\\n\\n        if (\\n            minPriceX18 < MIN_V4_STABLE_PRICE_MIN_X18 ||\\n            maxPriceX18 > MAX_V4_STABLE_PRICE_MAX_X18 ||\\n            minPriceX18 > PRICE_X18 ||\\n            maxPriceX18 < PRICE_X18 ||\\n            minPriceX18 >= maxPriceX18\\n        ) revert RiskParamOutOfRange();\\n\\n        v4StablePriceMinX18 = minPriceX18;\\n        v4StablePriceMaxX18 = maxPriceX18;\\n        emit V4StablePriceBoundsSet(minPriceX18, maxPriceX18);\\n    }\\n\\n    function v4StablePriceBounds() external view returns (uint256 minPriceX18, uint256 maxPriceX18) {\\n        return (_effectiveV4StablePriceMinX18(), _effectiveV4StablePriceMaxX18());\\n    }\\n\\n    function setExecutorLossBudget(\\n        bool enabled,\\n        uint256 riskCapitalNormalized,\\n        uint256 capBpsX100\\n    ) external onlyOwner {\\n        if (capBpsX100 > MAX_EXECUTOR_LOSS_CAP_BPS_X100) revert RiskParamOutOfRange();\\n        if (enabled && (riskCapitalNormalized == 0 || capBpsX100 == 0)) revert RiskParamOutOfRange();\\n\\n        executorLossBudgetEnabled = enabled;\\n        executorRiskCapitalNormalized = riskCapitalNormalized;\\n        executorLossCapBpsX100 = capBpsX100;\\n        emit ExecutorLossBudgetSet(enabled, riskCapitalNormalized, capBpsX100);\\n    }\\n\\n    function resetExecutorLossBudgetBuckets() external onlyOwner {\\n        for (uint256 i = 0; i < EXECUTOR_LOSS_WINDOW_HOURS; i++) {\\n            executorLossBucketHours[i] = 0;\\n            executorLossBucketAmounts[i] = 0;\\n        }\\n    }\\n\\n    function executorLossBudgetState()\\n        external\\n        view\\n        returns (\\n            bool enabled,\\n            uint256 riskCapitalNormalized,\\n            uint256 capBpsX100,\\n            uint256 used24h,\\n            uint256 cap24h,\\n            uint256 remaining24h\\n        )\\n    {\\n        enabled = executorLossBudgetEnabled;\\n        riskCapitalNormalized = executorRiskCapitalNormalized;\\n        capBpsX100 = executorLossCapBpsX100;\\n        used24h = executorLossUsed24h();\\n        cap24h = executorLossCap24h();\\n        remaining24h = used24h >= cap24h ? 0 : cap24h - used24h;\\n    }\\n\\n    function setBlockedToken(address token, bool blocked) external onlyOwner {\\n        _setBlockedToken(token, blocked);\\n    }\\n\\n    function setBlockedTokens(address[] calldata tokens, bool blocked) external onlyOwner {\\n        for (uint256 i = 0; i < tokens.length; i++) {\\n            _setBlockedToken(tokens[i], blocked);\\n        }\\n    }\\n\\n    function setAddresses(\\n        address baseToken_,\\n        address v3Factory_,\\n        address nfpm_,\\n        address router_,\\n        address quoter_,\\n        address v4PositionManager_\\n    ) external onlyOwner {\\n        if (baseToken_ != address(0)) baseToken = baseToken_;\\n        if (v3Factory_ != address(0)) v3Factory = v3Factory_;\\n        if (nfpm_ != address(0)) nfpm = nfpm_;\\n        if (router_ != address(0)) router = router_;\\n        if (quoter_ != address(0)) quoterV2 = quoter_;\\n        if (v4PositionManager_ != address(0)) v4PositionManager = v4PositionManager_;\\n    }\\n\\n    function setV4StateView(address stateView) external onlyOwner {\\n        v4StateView = stateView;\\n    }\\n\\n    function setPermit2(address permit2_) external onlyOwner {\\n        permit2 = permit2_;\\n    }\\n\\n    function setKyberRouter(address router_) external onlyOwner {\\n        _setKyberRouter(router_);\\n    }\\n\\n    function setFlyRouter(address router_) external onlyOwner {\\n        _setFlyRouter(router_);\\n    }\\n\\n    function setVeloraRouter(address router_) external onlyOwner {\\n        _setVeloraRouter(router_);\\n    }\\n\\n    /// @dev Upgrades set it atomically: `upgradeToAndCall(newImpl, abi.encodeCall(setSwapModule, (m)))`.\\n    function setSwapModule(address swapModule_) external onlyOwner {\\n        if (swapModule_ == address(0)) revert ZeroAddr();\\n        _requireModuleInterface(swapModule_, type(IALMSwapModule).interfaceId);\\n        swapModule = swapModule_;\\n        emit SwapModuleSet(swapModule_);\\n    }\\n\\n    /// @notice Allow (or stop allowing) NEW V4 positions in pools using `hook`. De-listing never traps\\n    /// capital: exits (decrease/collect/burn) are not gated by this list.\\n    /// @dev Enabling refuses a hook whose address carries remove-liquidity or *_RETURNS_DELTA bits.\\n    function setV4HookAllowed(address hook, bool allowed) external onlyOwner {\\n        if (hook == address(0)) revert ZeroAddr();\\n        if (allowed && (uint160(hook) & V4_HOOK_FORBIDDEN_FLAGS) != 0) revert V4HooksUnsupported();\\n        isV4HookAllowed[hook] = allowed;\\n        emit V4HookAllowedSet(hook, allowed);\\n    }\\n\\n    /// @notice Allow (or stop allowing) NEW executor positions in a pool. Key: V4 poolId, or the V3\\n    /// pool address left-padded to bytes32. De-listing never traps capital: exits are not gated.\\n    function setPoolAllowed(bytes32 poolKey, bool allowed) external onlyOwner {\\n        _setPoolAllowed(poolKey, allowed);\\n    }\\n\\n    function setPoolsAllowed(bytes32[] calldata poolKeys, bool allowed) external onlyOwner {\\n        for (uint256 i = 0; i < poolKeys.length; i++) {\\n            _setPoolAllowed(poolKeys[i], allowed);\\n        }\\n    }\\n\\n    /// @dev Enforced with an empty list denies every executor entry (owner entries stay exempt).\\n    function setPoolAllowlistEnforced(bool enforced) external onlyOwner {\\n        _setPoolAllowlistEnforced(enforced);\\n    }\\n\\n    /// @notice Seed the allowlist and set the enforcement flag in ONE call, so a redeploy never\\n    /// leaves the flag on over an empty list.\\n    function setPoolAllowlist(bytes32[] calldata poolKeys, bool enforced) external onlyOwner {\\n        for (uint256 i = 0; i < poolKeys.length; i++) {\\n            _setPoolAllowed(poolKeys[i], true);\\n        }\\n        _setPoolAllowlistEnforced(enforced);\\n    }\\n\\n    function setParams(\\n        uint256 defaultDeadlineSec_,\\n        uint256 slippageBpsMax_,\\n        uint256 swapLossBpsMax_,\\n        uint32 twapWindowSec_,\\n        int24 twapMaxTickDiff_\\n    ) external onlyOwner {\\n        if (\\n            slippageBpsMax_ > MAX_SLIPPAGE_BPS_X100 / 100 ||\\n            swapLossBpsMax_ > MAX_SWAP_LOSS_BPS_X100 / 100\\n        ) revert RiskParamOutOfRange();\\n        _validateRiskParams(\\n            defaultDeadlineSec_,\\n            slippageBpsMax_ * 100,\\n            swapLossBpsMax_ * 100,\\n            twapWindowSec_,\\n            twapMaxTickDiff_\\n        );\\n        defaultDeadlineSec = defaultDeadlineSec_;\\n        slippageBpsMax = slippageBpsMax_;\\n        swapLossBpsMax = swapLossBpsMax_;\\n        slippageBpsMaxX100 = slippageBpsMax_ * 100;\\n        swapLossBpsMaxX100 = swapLossBpsMax_ * 100;\\n        fineBpsParamsEnabled = true;\\n        twapWindowSec = twapWindowSec_;\\n        twapMaxTickDiff = twapMaxTickDiff_;\\n    }\\n\\n    function setParamsBpsX100(\\n        uint256 defaultDeadlineSec_,\\n        uint256 slippageBpsMaxX100_,\\n        uint256 swapLossBpsMaxX100_,\\n        uint32 twapWindowSec_,\\n        int24 twapMaxTickDiff_\\n    ) external onlyOwner {\\n        _validateRiskParams(\\n            defaultDeadlineSec_,\\n            slippageBpsMaxX100_,\\n            swapLossBpsMaxX100_,\\n            twapWindowSec_,\\n            twapMaxTickDiff_\\n        );\\n        defaultDeadlineSec = defaultDeadlineSec_;\\n        slippageBpsMaxX100 = slippageBpsMaxX100_;\\n        swapLossBpsMaxX100 = swapLossBpsMaxX100_;\\n        slippageBpsMax = _ceilBps(slippageBpsMaxX100_);\\n        swapLossBpsMax = _ceilBps(swapLossBpsMaxX100_);\\n        fineBpsParamsEnabled = true;\\n        twapWindowSec = twapWindowSec_;\\n        twapMaxTickDiff = twapMaxTickDiff_;\\n    }\\n\\n    function setModules(address v3Module_, address v4Module_) external onlyOwner {\\n        _setModules(v3Module_, v4Module_);\\n    }\\n\\n    function withdrawTokens(address token, uint256 amount) external onlyOwner nonReentrant {\\n        if (token == address(0)) revert ZeroAddr();\\n        if (amount == 0) revert AmountZero();\\n        IERC20(token).safeTransfer(owner(), amount);\\n        emit Withdraw(token, amount);\\n    }\\n\\n    function withdrawNFT(address nft, uint256 id) external onlyOwner nonReentrant {\\n        if (nft == address(0)) revert ZeroAddr();\\n        IERC721(nft).transferFrom(address(this), owner(), id);\\n        emit WithdrawNFT(nft, id);\\n    }\\n\\n    function withdrawNative(uint256 amount) external onlyOwner nonReentrant {\\n        if (amount == 0) revert AmountZero();\\n        (bool ok,) = payable(owner()).call{value: amount}(\\\"\\\");\\n        if (!ok) revert NativeSendFailErr();\\n        emit WithdrawNative(amount);\\n    }\\n\\n    function execV3(bytes calldata data)\\n        external\\n        payable\\n        onlyExecutorOrOwner\\n        nonReentrant\\n        whenNotPaused\\n        returns (bytes memory ret)\\n    {\\n        _requireExecutorAllowedV3(data);\\n        if (v3Module == address(0)) revert ExternalCallFailed();\\n        (bool ok, bytes memory result) = v3Module.delegatecall(data);\\n        if (!ok) {\\n            assembly {\\n                revert(add(result, 32), mload(result))\\n            }\\n        }\\n        return result;\\n    }\\n\\n    function execV4(bytes calldata data)\\n        external\\n        payable\\n        onlyExecutorOrOwner\\n        nonReentrant\\n        whenNotPaused\\n        returns (bytes memory ret)\\n    {\\n        _requireExecutorAllowedV4(data);\\n        if (v4Module == address(0)) revert ExternalCallFailed();\\n        (bool ok, bytes memory result) = v4Module.delegatecall(data);\\n        if (!ok) {\\n            assembly {\\n                revert(add(result, 32), mload(result))\\n            }\\n        }\\n        return result;\\n    }\\n\\n    /// @notice Velora / Fly guarded swaps, delegatecalled into `swapModule`.\\n    /// @dev Only the two `IALMSwapModule` swap selectors pass, for EVERY caller (owner included).\\n    /// The module's revert data is bubbled RAW: offchain error decoding and the Velora\\n    /// `EnforcedPause` attribution read it byte-for-byte. `whenNotPaused` stays on this entry.\\n    function execSwap(bytes calldata data)\\n        external\\n        onlyExecutorOrOwner\\n        nonReentrant\\n        whenNotPaused\\n        returns (bytes memory ret)\\n    {\\n        bytes4 selector = _selectorOf(data);\\n        if (\\n            selector != IALMSwapModule.swapViaFlyGuarded.selector\\n                && selector != IALMSwapModule.swapViaVeloraGuarded.selector\\n        ) revert ExecutorSelectorNotAllowed(selector);\\n        address module = swapModule;\\n        if (module == address(0)) revert SwapModuleNA();\\n        (bool ok, bytes memory result) = module.delegatecall(data);\\n        if (!ok) {\\n            assembly {\\n                revert(add(result, 32), mload(result))\\n            }\\n        }\\n        return result;\\n    }\\n\\n    function revokePermit2ForV4(address[] calldata tokens) external onlyOwner {\\n        if (permit2 == address(0)) revert Permit2NA();\\n\\n        for (uint256 i = 0; i < tokens.length; i++) {\\n            IERC20(tokens[i]).forceApprove(permit2, 0);\\n            IAllowanceTransfer(permit2).approve(tokens[i], v4PositionManager, 0, 1);\\n            emit Permit2ApprovalRevoked(tokens[i], v4PositionManager);\\n        }\\n    }\\n\\n    function swapViaKyberGuarded(\\n        bytes calldata routeData,\\n        Spend[] calldata spends,\\n        uint256 value,\\n        address tokenOut,\\n        uint256 minAmountOut\\n    ) external onlyExecutorOrOwner nonReentrant whenNotPaused {\\n        (IMetaAggregationRouterV2.SwapDescriptionV2 memory desc, address approveTarget) =\\n            _decodeKyberSwapDescription(routeData);\\n\\n        if (msg.sender != owner()) {\\n            _requireAllowedToken(desc.srcToken);\\n            _requireAllowedToken(desc.dstToken);\\n            _requireAllowedToken(tokenOut);\\n        }\\n\\n        if (desc.dstReceiver != address(this)) revert KyberRecipientMismatch();\\n        if (desc.dstToken != tokenOut) revert KyberTokenMismatch();\\n        if (desc.srcToken == desc.dstToken) revert KyberTokenMismatch();\\n        if (approveTarget != address(0) && approveTarget != kyberRouter) revert KyberApproveTargetMismatch();\\n        if (desc.minReturnAmount < minAmountOut) revert KyberMinOutNotMet();\\n\\n        if (spends.length > 1) revert LengthMismatch();\\n        if (spends.length == 1) {\\n            if (value != 0) revert KyberAmountMismatch();\\n            if (desc.srcToken != spends[0].token || desc.amount != spends[0].amount) revert KyberAmountMismatch();\\n            if (msg.sender != owner()) _requireAllowedToken(spends[0].token);\\n        } else {\\n            if (value == 0) revert AmountZero();\\n            if (desc.srcToken != KYBER_NATIVE_TOKEN || desc.amount != value) revert KyberAmountMismatch();\\n        }\\n        uint256 effectiveMinOut = desc.minReturnAmount > minAmountOut ? desc.minReturnAmount : minAmountOut;\\n        if (msg.sender != owner()) {\\n            _requireKyberStableMinOut(desc.srcToken, tokenOut, desc.amount, effectiveMinOut);\\n            _requireExecutorLossBudgetHeadroom(desc.srcToken, tokenOut, desc.amount, effectiveMinOut);\\n        }\\n\\n        uint256 balanceBefore = _kyberBalanceOf(tokenOut);\\n        _swapViaKyberInternal(routeData, spends, value);\\n        uint256 balanceAfter = _kyberBalanceOf(tokenOut);\\n        if (balanceAfter < balanceBefore) revert KyberMinOutNotMet();\\n        uint256 actualOut = balanceAfter - balanceBefore;\\n        if (actualOut < effectiveMinOut) revert KyberMinOutNotMet();\\n        if (msg.sender != owner()) {\\n            _requireKyberStableOutNotTooHigh(desc.srcToken, tokenOut, desc.amount, actualOut);\\n            _consumeExecutorLossBudgetRealized(desc.srcToken, tokenOut, desc.amount, actualOut);\\n        }\\n    }\\n\\n    function _swapViaKyberInternal(bytes calldata routeData, Spend[] calldata spends, uint256 value) internal {\\n        address router_ = kyberRouter;\\n        if (router_ == address(0)) revert KyberRouterNA();\\n        if (spends.length == 0 && value == 0) revert AmountZero();\\n\\n        for (uint256 i = 0; i < spends.length; i++) {\\n            IERC20(spends[i].token).forceApprove(router_, spends[i].amount);\\n        }\\n\\n        (bool ok, bytes memory reason) = router_.call{value: value}(routeData);\\n\\n        for (uint256 j = 0; j < spends.length; j++) {\\n            IERC20(spends[j].token).forceApprove(router_, 0);\\n        }\\n\\n        if (!ok) {\\n            assembly {\\n                revert(add(reason, 32), mload(reason))\\n            }\\n        }\\n\\n        emit KyberSwapExecuted(router_, value, routeData);\\n    }\\n\\n    function _requireExecutorAllowedV3(bytes calldata data) internal view {\\n        if (msg.sender == owner()) return;\\n        bytes4 selector = _selectorOf(data);\\n        if (selector == bytes4(keccak256(\\\"createPositionV3Exact((address,address,uint24,int24,int24,uint256,uint256,uint256,uint256))\\\"))) {\\n            ExecutorCreateV3ExactParams memory params =\\n                abi.decode(data[4:], (ExecutorCreateV3ExactParams));\\n            _requireAllowedPair(params.token0, params.token1);\\n            _requireV3StablePriceGuard(\\n                _requireExecutorPoolAllowedV3(params.token0, params.token1, params.fee),\\n                params.token0,\\n                params.token1\\n            );\\n            return;\\n        }\\n        if (selector == bytes4(keccak256(\\\"increaseLiquidityV3(uint256,uint256,uint256,uint256,uint256)\\\"))) {\\n            (uint256 tokenId,,,,) = abi.decode(data[4:], (uint256, uint256, uint256, uint256, uint256));\\n            (address token0, address token1, uint24 fee) = _requireAllowedV3PositionTokens(tokenId);\\n            _requireV3StablePriceGuard(_requireExecutorPoolAllowedV3(token0, token1, fee), token0, token1);\\n            return;\\n        }\\n        if (selector == bytes4(keccak256(\\\"decreaseLiquidityV3(uint256,uint128,uint256,uint256)\\\"))) {\\n            (uint256 tokenId,,,) = abi.decode(data[4:], (uint256, uint128, uint256, uint256));\\n            _requireAllowedV3PositionTokens(tokenId);\\n            return;\\n        }\\n        if (selector == bytes4(keccak256(\\\"collectFeesV3(uint256)\\\")) || selector == bytes4(keccak256(\\\"burnPositionV3(uint256)\\\"))) {\\n            uint256 tokenId = abi.decode(data[4:], (uint256));\\n            _requireAllowedV3PositionTokens(tokenId);\\n            return;\\n        }\\n        revert ExecutorSelectorNotAllowed(selector);\\n    }\\n\\n    function _requireExecutorAllowedV4(bytes calldata data) internal view {\\n        if (msg.sender == owner()) return;\\n        bytes4 selector = _selectorOf(data);\\n        if (\\n            selector\\n                == bytes4(\\n                    keccak256(\\\"createPositionV4UsingBalances((address,address,uint24,int24,int24,int24,address,bytes,uint128,uint128,uint160,uint256))\\\")\\n                )\\n        ) {\\n            ExecutorCreateV4Params memory params = abi.decode(data[4:], (ExecutorCreateV4Params));\\n            _requireAllowedPair(params.token0, params.token1);\\n            _requireEmptyV4HookData(params.hookData);\\n            _requireExecutorEntryV4(\\n                _v4PoolKey(params.token0, params.token1, params.fee, params.tickSpacing, params.hooks),\\n                params.expectedSqrtPriceX96\\n            );\\n            return;\\n        }\\n        if (\\n            selector\\n                == bytes4(\\n                    keccak256(\\\"createPositionV4Exact((address,address,uint24,int24,int24,int24,address,bytes,uint128,uint128,uint128,uint160,uint256))\\\")\\n                )\\n        ) {\\n            ExecutorCreateV4ExactParams memory params = abi.decode(data[4:], (ExecutorCreateV4ExactParams));\\n            _requireAllowedPair(params.token0, params.token1);\\n            _requireEmptyV4HookData(params.hookData);\\n            _requireExecutorEntryV4(\\n                _v4PoolKey(params.token0, params.token1, params.fee, params.tickSpacing, params.hooks),\\n                params.expectedSqrtPriceX96\\n            );\\n            return;\\n        }\\n        if (selector == bytes4(keccak256(\\\"increaseLiquidityV4Exact(uint256,uint128,uint128,uint128,bytes,uint160,uint256)\\\"))) {\\n            (uint256 tokenId,,,, bytes memory hookData, uint160 expectedSqrtPriceX96,) =\\n                abi.decode(data[4:], (uint256, uint128, uint128, uint128, bytes, uint160, uint256));\\n            _requireEmptyV4HookData(hookData);\\n            _requireExecutorEntryV4(_requireAllowedV4PositionTokens(tokenId), expectedSqrtPriceX96);\\n            return;\\n        }\\n        if (selector == bytes4(keccak256(\\\"increaseLiquidityV4(uint256,uint256,uint256,bytes,uint160,uint256)\\\"))) {\\n            (uint256 tokenId,,, bytes memory hookData, uint160 expectedSqrtPriceX96,) =\\n                abi.decode(data[4:], (uint256, uint256, uint256, bytes, uint160, uint256));\\n            _requireEmptyV4HookData(hookData);\\n            _requireExecutorEntryV4(_requireAllowedV4PositionTokens(tokenId), expectedSqrtPriceX96);\\n            return;\\n        }\\n        if (selector == bytes4(keccak256(\\\"decreaseLiquidityV4(uint256,uint256,uint128,uint128,bytes)\\\"))) {\\n            (uint256 tokenId,,,, bytes memory hookData) =\\n                abi.decode(data[4:], (uint256, uint256, uint128, uint128, bytes));\\n            _requireEmptyV4HookData(hookData);\\n            _requireAllowedV4PositionTokens(tokenId);\\n            return;\\n        }\\n        if (selector == bytes4(keccak256(\\\"collectFeesV4(uint256)\\\"))) {\\n            uint256 tokenId = abi.decode(data[4:], (uint256));\\n            _requireAllowedV4PositionTokens(tokenId);\\n            return;\\n        }\\n        if (selector == bytes4(keccak256(\\\"burnPositionV4(uint256,uint128,uint128,bytes)\\\"))) {\\n            (uint256 tokenId,,, bytes memory hookData) = abi.decode(data[4:], (uint256, uint128, uint128, bytes));\\n            _requireEmptyV4HookData(hookData);\\n            _requireAllowedV4PositionTokens(tokenId);\\n            return;\\n        }\\n        revert ExecutorSelectorNotAllowed(selector);\\n    }\\n\\n    function _ceilBps(uint256 bpsX100) internal pure returns (uint256) {\\n        return bpsX100 == 0 ? 0 : ((bpsX100 + 99) / 100);\\n    }\\n\\n    function _validateRiskParams(\\n        uint256 defaultDeadlineSec_,\\n        uint256 slippageBpsMaxX100_,\\n        uint256 swapLossBpsMaxX100_,\\n        uint32 twapWindowSec_,\\n        int24 twapMaxTickDiff_\\n    ) internal pure {\\n        if (defaultDeadlineSec_ < MIN_DEADLINE_SEC || defaultDeadlineSec_ > MAX_DEADLINE_SEC) {\\n            revert RiskParamOutOfRange();\\n        }\\n        if (slippageBpsMaxX100_ > MAX_SLIPPAGE_BPS_X100) revert RiskParamOutOfRange();\\n        if (swapLossBpsMaxX100_ > MAX_SWAP_LOSS_BPS_X100) revert RiskParamOutOfRange();\\n        if (twapWindowSec_ < MIN_TWAP_WINDOW_SEC || twapWindowSec_ > MAX_TWAP_WINDOW_SEC) {\\n            revert RiskParamOutOfRange();\\n        }\\n        if (twapMaxTickDiff_ < 0 || twapMaxTickDiff_ > MAX_TWAP_TICK_DIFF) revert RiskParamOutOfRange();\\n    }\\n\\n    function _setAllowedToken(address token, bool allowed) internal {\\n        if (token == address(0)) revert ZeroAddr();\\n        isTokenAllowed[token] = allowed;\\n        emit TokenAllowedSet(token, allowed);\\n    }\\n\\n    function _setPoolAllowed(bytes32 poolKey, bool allowed) internal {\\n        if (poolKey == bytes32(0)) revert ZeroPoolKey();\\n        isPoolAllowed[poolKey] = allowed;\\n        emit PoolAllowedSet(poolKey, allowed);\\n    }\\n\\n    function _setPoolAllowlistEnforced(bool enforced) internal {\\n        poolAllowlistEnforced = enforced;\\n        emit PoolAllowlistEnforcedSet(enforced);\\n    }\\n\\n    function _setStableTokenDecimals(address token, uint8 decimals_) internal {\\n        if (token == address(0)) revert ZeroAddr();\\n        if (decimals_ > 18) revert StableTokenDecimalsInvalid(token, decimals_);\\n        stableTokenDecimals[token] = decimals_;\\n        emit StableTokenDecimalsSet(token, decimals_);\\n    }\\n\\n    function _setBlockedToken(address token, bool blocked) internal {\\n        if (token == address(0)) revert ZeroAddr();\\n        isTokenBlocked[token] = blocked;\\n        emit TokenBlockedSet(token, blocked);\\n    }\\n\\n    function _requireAllowedPair(address token0, address token1) internal view {\\n        _requireAllowedToken(token0);\\n        _requireAllowedToken(token1);\\n    }\\n\\n    /// @dev Executor hookData is always empty: the offchain runtime sends `0x`, and an allowlisted\\n    /// hook (upgradeable by its own governance) must never receive executor-chosen bytes.\\n    function _requireEmptyV4HookData(bytes memory hookData) internal pure {\\n        if (hookData.length != 0) revert V4HookDataNotAllowed();\\n    }\\n\\n    function _v4PoolKey(address token0, address token1, uint24 fee, int24 tickSpacing, address hooks)\\n        internal\\n        view\\n        returns (IPositionManagerV4.PoolKey memory key)\\n    {\\n        if (token0 == address(0) || token1 == address(0)) revert ZeroAddr();\\n        if (token0 >= token1) revert OrderErr();\\n        if (!_v4HookAllowedForEntry(hooks)) revert V4HooksUnsupported();\\n        key = IPositionManagerV4.PoolKey({\\n            currency0: token0,\\n            currency1: token1,\\n            fee: fee,\\n            tickSpacing: tickSpacing,\\n            hooks: hooks\\n        });\\n    }\\n\\n    /// @dev Executor ENTRY only (create/increase): with `poolAllowlistEnforced` on, the pool must be on\\n    /// the owner-set allowlist. Exits (decrease/collect/burn) never come through here, so de-listing\\n    /// a pool stops new deposits but cannot trap capital. The owner is exempt (guards return early).\\n    function _requireExecutorPoolAllowed(bytes32 poolKey) internal view {\\n        if (!_poolAllowedForEntry(poolKey)) revert PoolNotAllowed(poolKey);\\n    }\\n\\n    /// @dev V3 allowlist key is the pool address the factory reports for (token0, token1, fee).\\n    function _requireExecutorPoolAllowedV3(address token0, address token1, uint24 fee)\\n        internal\\n        view\\n        returns (address pool)\\n    {\\n        pool = _v3Pool(token0, token1, fee);\\n        _requireExecutorPoolAllowed(bytes32(uint256(uint160(pool))));\\n    }\\n\\n    /// @dev V4 allowlist key is the poolId; the allowlist is asked before any price read.\\n    function _requireExecutorEntryV4(IPositionManagerV4.PoolKey memory key, uint160 expectedSqrtPriceX96)\\n        internal\\n        view\\n    {\\n        bytes32 poolId = keccak256(abi.encode(key));\\n        _requireExecutorPoolAllowed(poolId);\\n        _requireV4StablePriceGuard(key, poolId, expectedSqrtPriceX96);\\n    }\\n\\n    function _requireV4StablePriceGuard(\\n        IPositionManagerV4.PoolKey memory key,\\n        bytes32 poolId,\\n        uint160 expectedSqrtPriceX96\\n    ) internal view {\\n        if (expectedSqrtPriceX96 == 0) revert V4PriceGuardRequired();\\n        if (v4StateView == address(0)) revert V4ViewNA();\\n        (uint160 spot,,,) = IStateViewV4(v4StateView).getSlot0(poolId);\\n        uint8 decimals0 = _stableTokenDecimalsOrRevert(key.currency0);\\n        uint8 decimals1 = _stableTokenDecimalsOrRevert(key.currency1);\\n        uint256 priceX18 = _v4PriceX18FromSqrt(spot, decimals0, decimals1);\\n        uint256 minPriceX18 = _effectiveV4StablePriceMinX18();\\n        uint256 maxPriceX18 = _effectiveV4StablePriceMaxX18();\\n        if (priceX18 < minPriceX18 || priceX18 > maxPriceX18) {\\n            revert V4StablePriceOutOfRange(key.currency0, key.currency1, priceX18, minPriceX18, maxPriceX18);\\n        }\\n    }\\n\\n    function _v4PriceX18FromSqrt(uint160 sqrtPriceX96, uint8 decimals0, uint8 decimals1)\\n        internal\\n        pure\\n        returns (uint256)\\n    {\\n        uint256 rawPriceX96 = FullMath.mulDiv(uint256(sqrtPriceX96), uint256(sqrtPriceX96), FixedPoint96.Q96);\\n        uint256 scale0 = 10 ** uint256(decimals0);\\n        uint256 scale1 = 10 ** uint256(decimals1);\\n        return FullMath.mulDiv(rawPriceX96, 1e18 * scale0, FixedPoint96.Q96 * scale1);\\n    }\\n\\n    function _requireOwnedPosition(address nft, uint256 tokenId) internal view {\\n        address actualOwner = IERC721(nft).ownerOf(tokenId);\\n        if (actualOwner != address(this)) revert PositionNotOwned(nft, tokenId, actualOwner);\\n    }\\n\\n    function _requireAllowedV3PositionTokens(uint256 tokenId)\\n        internal\\n        view\\n        returns (address token0, address token1, uint24 fee)\\n    {\\n        _requireOwnedPosition(nfpm, tokenId);\\n        (,, token0, token1, fee,,,,,,,) = INonfungiblePositionManager(nfpm).positions(tokenId);\\n        _requireAllowedPair(token0, token1);\\n    }\\n\\n    function _v3Pool(address token0, address token1, uint24 fee) internal view returns (address pool) {\\n        pool = IUniswapV3Factory(v3Factory).getPool(token0, token1, fee);\\n        if (pool == address(0)) revert PoolNA();\\n    }\\n\\n    function _requireV3StablePriceGuard(address pool, address token0, address token1) internal view {\\n        (uint160 spot,,,,,,) = IUniswapV3Pool(pool).slot0();\\n        uint256 priceX18 = _v4PriceX18FromSqrt(\\n            spot,\\n            _stableTokenDecimalsOrRevert(token0),\\n            _stableTokenDecimalsOrRevert(token1)\\n        );\\n        uint256 minPriceX18 = _effectiveV4StablePriceMinX18();\\n        uint256 maxPriceX18 = _effectiveV4StablePriceMaxX18();\\n        if (priceX18 < minPriceX18 || priceX18 > maxPriceX18) {\\n            revert V3StablePriceOutOfRange(token0, token1, priceX18, minPriceX18, maxPriceX18);\\n        }\\n    }\\n\\n    function _requireAllowedV4PositionTokens(uint256 tokenId)\\n        internal\\n        view\\n        returns (IPositionManagerV4.PoolKey memory key)\\n    {\\n        _requireOwnedPosition(v4PositionManager, tokenId);\\n        (key,) = IPositionManagerV4(v4PositionManager).getPoolAndPositionInfo(tokenId);\\n        _requireAllowedPair(key.currency0, key.currency1);\\n    }\\n\\n    function _selectorOf(bytes calldata data) internal pure returns (bytes4 selector) {\\n        if (data.length < 4) revert ExternalCallFailed();\\n        assembly {\\n            selector := calldataload(data.offset)\\n        }\\n    }\\n\\n    function _decodeKyberSwapDescription(bytes calldata routeData)\\n        internal\\n        pure\\n        returns (IMetaAggregationRouterV2.SwapDescriptionV2 memory desc, address approveTarget)\\n    {\\n        if (routeData.length < 4) revert KyberUnsupportedRoute();\\n\\n        bytes4 selector;\\n        assembly {\\n            selector := calldataload(routeData.offset)\\n        }\\n\\n        bytes calldata params = routeData[4:];\\n        if (selector == IMetaAggregationRouterV2.swap.selector || selector == IMetaAggregationRouterV2.swapGeneric.selector) {\\n            IMetaAggregationRouterV2.SwapExecutionParams memory execution =\\n                abi.decode(params, (IMetaAggregationRouterV2.SwapExecutionParams));\\n            return (execution.desc, execution.approveTarget);\\n        }\\n        if (selector == IMetaAggregationRouterV2.swapSimpleMode.selector) {\\n            (, desc,,) = abi.decode(params, (address, IMetaAggregationRouterV2.SwapDescriptionV2, bytes, bytes));\\n            return (desc, address(0));\\n        }\\n\\n        revert KyberUnsupportedRoute();\\n    }\\n\\n    function getPool(address token0, address token1, uint24 fee) external view returns (address) {\\n        return _v3Pool(token0, token1, fee);\\n    }\\n\\n    function onERC721Received(address, address, uint256, bytes calldata) external pure override returns (bytes4) {\\n        return IERC721Receiver.onERC721Received.selector;\\n    }\\n\\n    receive() external payable {}\\n\\n    function _setModules(address v3Module_, address v4Module_) internal {\\n        if (v3Module_ == address(0) || v4Module_ == address(0)) revert ZeroAddr();\\n        _requireModuleInterface(v3Module_, type(IALMV3Module).interfaceId);\\n        _requireModuleInterface(v4Module_, type(IALMV4Module).interfaceId);\\n        v3Module = v3Module_;\\n        v4Module = v4Module_;\\n        emit ModulesSet(v3Module_, v4Module_);\\n    }\\n\\n    function _requireModuleInterface(address module, bytes4 interfaceId) internal view {\\n        if (module.code.length == 0) revert ExternalCallFailed();\\n        try IERC165(module).supportsInterface(interfaceId) returns (bool supported) {\\n            if (!supported) revert ExternalCallFailed();\\n        } catch {\\n            revert ExternalCallFailed();\\n        }\\n    }\\n\\n    function _setKyberRouter(address router_) internal {\\n        if (router_ == address(0)) revert ZeroAddr();\\n        if (router_.code.length == 0) revert ExternalCallFailed();\\n        kyberRouter = router_;\\n        emit KyberRouterSet(router_);\\n    }\\n\\n    function _setFlyRouter(address router_) internal {\\n        if (router_ == address(0)) revert ZeroAddr();\\n        if (router_.code.length == 0) revert ExternalCallFailed();\\n        flyRouter = router_;\\n        emit FlyRouterSet(router_);\\n    }\\n\\n    function _setVeloraRouter(address router_) internal {\\n        if (router_ == address(0)) revert ZeroAddr();\\n        if (router_.code.length == 0) revert ExternalCallFailed();\\n        veloraRouter = router_;\\n        emit VeloraRouterSet(router_);\\n    }\\n}\\n\",\"keccak256\":\"0xc1fac47e403eaa014b08faaa331cc4854b6b1ca14d2d847c5dd3d18c460a466c\",\"license\":\"MIT\"},\"ALMShared.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity =0.8.35;\\n\\nimport {IERC20} from \\\"@openzeppelin/contracts/token/ERC20/IERC20.sol\\\";\\nimport {SafeERC20} from \\\"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\\\";\\nimport {IERC721} from \\\"@openzeppelin/contracts/token/ERC721/IERC721.sol\\\";\\nimport {IERC721Receiver} from \\\"@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\\\";\\nimport {IERC165} from \\\"@openzeppelin/contracts/utils/introspection/IERC165.sol\\\";\\nimport {IUniswapV3Factory} from \\\"@uniswap/v3-core/contracts/interfaces/IUniswapV3Factory.sol\\\";\\nimport {IUniswapV3Pool} from \\\"@uniswap/v3-core/contracts/interfaces/IUniswapV3Pool.sol\\\";\\nimport {IAllowanceTransfer} from \\\"@uniswap/v4-periphery/lib/permit2/src/interfaces/IAllowanceTransfer.sol\\\";\\nimport {FullMath} from \\\"@uniswap/v4-core/src/libraries/FullMath.sol\\\";\\nimport {FixedPoint96} from \\\"@uniswap/v4-core/src/libraries/FixedPoint96.sol\\\";\\nimport {SafeCast as V4SafeCast} from \\\"@uniswap/v4-core/src/libraries/SafeCast.sol\\\";\\nimport {TickMath} from \\\"@uniswap/v4-core/src/libraries/TickMath.sol\\\";\\nimport {SqrtPriceMath} from \\\"@uniswap/v4-core/src/libraries/SqrtPriceMath.sol\\\";\\nimport {LiquidityAmounts} from \\\"@uniswap/v4-periphery/src/libraries/LiquidityAmounts.sol\\\";\\n\\n/* ========= Shared errors ========= */\\nerror NotExecutorOrOwner();\\nerror ZeroAddr();\\nerror PoolNA();\\nerror AmountZero();\\nerror TwapCheckFailed();\\nerror SwapSlip();\\nerror Permit2NA();\\nerror V4PMNA();\\nerror V4ViewNA();\\nerror TickRangeErr();\\nerror TickAlignErr();\\nerror LiquidityZeroErr();\\nerror NativeSendFailErr();\\nerror ExternalCallFailed();\\nerror OrderErr();\\nerror LengthMismatch();\\nerror UpgradesFrozenErr();\\nerror RenounceOwnershipDisabled();\\nerror KyberRouterNA();\\nerror ExecutorSelectorNotAllowed(bytes4 selector);\\nerror KyberUnsupportedRoute();\\nerror KyberTokenMismatch();\\nerror KyberAmountMismatch();\\nerror KyberRecipientMismatch();\\nerror KyberMinOutNotMet();\\nerror KyberApproveTargetMismatch();\\nerror FlyRouterNA();\\nerror FlyAmountMismatch();\\nerror VeloraRouterNA();\\nerror VeloraRouteMismatch();\\nerror VeloraDeadline();\\nerror AmountTooLarge();\\nerror SwapModuleNA();\\nerror V4HooksUnsupported();\\nerror V4HookDataNotAllowed();\\nerror PoolNotAllowed(bytes32 poolKey);\\nerror ZeroPoolKey();\\nerror TokenNotAllowed(address token);\\nerror V4PriceGuardRequired();\\nerror V4PriceCheckFailed();\\nerror V4MintBelowMin(uint256 used0, uint256 used1, uint256 amount0Min, uint256 amount1Min);\\nerror DirectModuleCall();\\nerror StableTokenDecimalsInvalid(address token, uint8 decimals_);\\nerror StableTokenDecimalsNotSet(address token);\\nerror V4StablePriceOutOfRange(\\n    address token0,\\n    address token1,\\n    uint256 priceX18,\\n    uint256 minPriceX18,\\n    uint256 maxPriceX18\\n);\\nerror V3StablePriceOutOfRange(\\n    address token0,\\n    address token1,\\n    uint256 priceX18,\\n    uint256 minPriceX18,\\n    uint256 maxPriceX18\\n);\\nerror KyberStableMinOutTooLow(\\n    address tokenIn,\\n    address tokenOut,\\n    uint256 effectiveMinOutNormalized,\\n    uint256 requiredMinOutNormalized\\n);\\nerror KyberStableOutTooHigh(\\n    address tokenIn,\\n    address tokenOut,\\n    uint256 outputNormalized,\\n    uint256 maxOutputNormalized\\n);\\nerror ExecutorLossBudgetNotConfigured();\\nerror ExecutorLossBudgetExceeded(uint256 used24h, uint256 loss, uint256 cap24h);\\nerror RiskParamOutOfRange();\\nerror PositionNotOwned(address nft, uint256 tokenId, address actualOwner);\\nerror EmptyInitData();\\n\\n/* ========= Shared interfaces ========= */\\n/// @dev Pinned minimal Uniswap V3 NonfungiblePositionManager ABI.\\n/// The official v3-periphery interface imports pre-0.8 helper sources that do not compile under solc 0.8.35.\\ninterface INonfungiblePositionManager {\\n    struct MintParams {\\n        address token0;\\n        address token1;\\n        uint24 fee;\\n        int24 tickLower;\\n        int24 tickUpper;\\n        uint256 amount0Desired;\\n        uint256 amount1Desired;\\n        uint256 amount0Min;\\n        uint256 amount1Min;\\n        address recipient;\\n        uint256 deadline;\\n    }\\n\\n    struct IncreaseLiquidityParams {\\n        uint256 tokenId;\\n        uint256 amount0Desired;\\n        uint256 amount1Desired;\\n        uint256 amount0Min;\\n        uint256 amount1Min;\\n        uint256 deadline;\\n    }\\n\\n    struct DecreaseLiquidityParams {\\n        uint256 tokenId;\\n        uint128 liquidity;\\n        uint256 amount0Min;\\n        uint256 amount1Min;\\n        uint256 deadline;\\n    }\\n\\n    struct CollectParams {\\n        uint256 tokenId;\\n        address recipient;\\n        uint128 amount0Max;\\n        uint128 amount1Max;\\n    }\\n\\n    function positions(uint256 tokenId) external view returns (\\n        uint96,\\n        address,\\n        address,\\n        address,\\n        uint24,\\n        int24,\\n        int24,\\n        uint128,\\n        uint256,\\n        uint256,\\n        uint128,\\n        uint128\\n    );\\n\\n    function mint(MintParams calldata) external payable returns (uint256, uint128, uint256, uint256);\\n    function increaseLiquidity(IncreaseLiquidityParams calldata) external payable returns (uint128, uint256, uint256);\\n    function decreaseLiquidity(DecreaseLiquidityParams calldata) external payable returns (uint256, uint256);\\n    function collect(CollectParams calldata) external payable returns (uint256, uint256);\\n    function burn(uint256 tokenId) external payable;\\n}\\n\\ninterface IPositionManagerV4 {\\n    struct PoolKey {\\n        address currency0;\\n        address currency1;\\n        uint24 fee;\\n        int24 tickSpacing;\\n        address hooks;\\n    }\\n\\n    function modifyLiquidities(bytes calldata unlockData, uint256 deadline) external payable;\\n    function getPoolAndPositionInfo(uint256 tokenId) external view returns (PoolKey memory poolKey, uint256 infoPacked);\\n    function getPositionLiquidity(uint256 tokenId) external view returns (uint128);\\n    function nextTokenId() external view returns (uint256);\\n}\\n\\ninterface IStateViewV4 {\\n    function getSlot0(bytes32) external view returns (uint160, int24, uint24, uint24);\\n}\\n\\ninterface IALMV3Module {\\n    struct CreateV3ExactParams {\\n        address token0;\\n        address token1;\\n        uint24 fee;\\n        int24 tickLower;\\n        int24 tickUpper;\\n        uint256 amount0Desired;\\n        uint256 amount1Desired;\\n        uint256 amount0Min;\\n        uint256 amount1Min;\\n    }\\n\\n    function approveERC20(address token, address spender, uint256 amount) external;\\n    function approveBoth(address token0, address token1, address spender, uint256 amount) external;\\n    function revokeERC20(address token, address spender) external;\\n    function createPositionV3Exact(CreateV3ExactParams calldata params) external;\\n    function increaseLiquidityV3(\\n        uint256 tokenId,\\n        uint256 amount0Desired,\\n        uint256 amount1Desired,\\n        uint256 amount0Min,\\n        uint256 amount1Min\\n    ) external;\\n    function decreaseLiquidityV3(uint256 tokenId, uint128 liquidity, uint256 amount0Min, uint256 amount1Min) external;\\n    function collectFeesV3(uint256 tokenId) external;\\n    function burnPositionV3(uint256 tokenId) external;\\n}\\n\\ninterface IALMV4Module {\\n    struct CreateV4Params {\\n        address token0;\\n        address token1;\\n        uint24 fee;\\n        int24 tickSpacing;\\n        int24 tickLower;\\n        int24 tickUpper;\\n        address hooks;\\n        bytes hookData;\\n        uint128 amount0Min;\\n        uint128 amount1Min;\\n        uint160 expectedSqrtPriceX96;\\n        uint256 maxSqrtPriceDeviationBpsX100;\\n    }\\n\\n    struct CreateV4ExactParams {\\n        address token0;\\n        address token1;\\n        uint24 fee;\\n        int24 tickSpacing;\\n        int24 tickLower;\\n        int24 tickUpper;\\n        address hooks;\\n        bytes hookData;\\n        uint128 liquidity;\\n        uint128 amount0Max;\\n        uint128 amount1Max;\\n        uint160 expectedSqrtPriceX96;\\n        uint256 maxSqrtPriceDeviationBpsX100;\\n    }\\n\\n    function createPositionV4UsingBalances(CreateV4Params calldata params) external;\\n    function createPositionV4Exact(CreateV4ExactParams calldata params) external;\\n    function increaseLiquidityV4Exact(\\n        uint256 tokenId,\\n        uint128 liquidity,\\n        uint128 amount0Max,\\n        uint128 amount1Max,\\n        bytes calldata hookData,\\n        uint160 expectedSqrtPriceX96,\\n        uint256 maxSqrtPriceDeviationBpsX100\\n    ) external;\\n    function increaseLiquidityV4(\\n        uint256 tokenId,\\n        uint256 amount0Max,\\n        uint256 amount1Max,\\n        bytes calldata hookData,\\n        uint160 expectedSqrtPriceX96,\\n        uint256 maxSqrtPriceDeviationBpsX100\\n    ) external;\\n    function decreaseLiquidityV4(\\n        uint256 tokenId,\\n        uint256 liquidity,\\n        uint128 amount0Min,\\n        uint128 amount1Min,\\n        bytes calldata hookData\\n    ) external;\\n    function collectFeesV4(uint256 tokenId) external;\\n    function burnPositionV4(uint256 tokenId, uint128 amount0Min, uint128 amount1Min, bytes calldata hookData) external;\\n}\\n\\n/* ========= Shared storage ========= */\\nabstract contract ALMStorage {\\n    bool public upgradeabilityFrozen;\\n\\n    uint256 public constant BPS = 10_000;\\n\\n    address public v3Factory;\\n    address public nfpm;\\n    address public router;\\n    address public quoterV2;\\n    address public v4PositionManager;\\n    address public kyberRouter;\\n    address public baseToken;\\n    address public v4StateView;\\n    address public permit2;\\n    address public v3Module;\\n    address public v4Module;\\n\\n    uint256 public defaultDeadlineSec;\\n    uint256 public slippageBpsMax;\\n    uint256 public swapLossBpsMax;\\n\\n    uint32 public twapWindowSec;\\n    int24 public twapMaxTickDiff;\\n\\n    mapping(address => bool) public isExecutor;\\n    mapping(address => bool) public isTokenAllowed;\\n    mapping(address => bool) public isTokenBlocked;\\n    mapping(address => uint8) public stableTokenDecimals;\\n\\n    uint256 public slippageBpsMaxX100;\\n    uint256 public swapLossBpsMaxX100;\\n    bool public fineBpsParamsEnabled;\\n\\n    uint256 public v4StablePriceMinX18;\\n    uint256 public v4StablePriceMaxX18;\\n    uint256 public executorRiskCapitalNormalized;\\n    uint256 public executorLossCapBpsX100;\\n    bool public executorLossBudgetEnabled;\\n    uint64[24] internal executorLossBucketHours;\\n    uint256[24] internal executorLossBucketAmounts;\\n    address public flyRouter;\\n    address public veloraRouter;\\n    /// @dev Delegatecall target for the Velora/Fly guarded swaps (`execSwap`). Slot 59.\\n    address public swapModule;\\n    /// @dev Owner-set Uniswap V4 hook allowlist; gates ENTRY (create/increase) only. Slot 60.\\n    mapping(address => bool) public isV4HookAllowed;\\n    /// @dev Owner-set pool allowlist; gates executor ENTRY (create/increase) only. Slot 61.\\n    /// Key: V4 poolId = keccak256(abi.encode(PoolKey)); V3 = bytes32(uint256(uint160(pool))).\\n    mapping(bytes32 => bool) public isPoolAllowed;\\n    /// @dev When false the pool allowlist is not enforced (feature off). Slot 62.\\n    bool public poolAllowlistEnforced;\\n\\n    uint256[45] private __gap;\\n\\n    /// @dev Hook permission bits (Uniswap v4 `Hooks.sol`) an allowlisted hook must NOT carry:\\n    /// BEFORE/AFTER_REMOVE_LIQUIDITY (1<<9, 1<<8) could block or skim an exit, and the four\\n    /// *_RETURNS_DELTA bits (1<<3..1<<0) let a hook rewrite the deltas the ALM settles against\\n    /// full-balance allowances. Re-checked on every entry so a stale mapping entry cannot pass.\\n    uint160 internal constant V4_HOOK_FORBIDDEN_FLAGS = 0x030F;\\n\\n    function _v4HookAllowedForEntry(address hooks) internal view returns (bool) {\\n        if (hooks == address(0)) return true;\\n        return isV4HookAllowed[hooks] && (uint160(hooks) & V4_HOOK_FORBIDDEN_FLAGS) == 0;\\n    }\\n\\n    function _poolAllowedForEntry(bytes32 poolKey) internal view returns (bool) {\\n        if (!poolAllowlistEnforced) return true;\\n        return isPoolAllowed[poolKey];\\n    }\\n}\\n\\n/* ========= Guards shared by the core and the swap module ========= */\\n/// @dev Executor token allowlist, stable decimals, stable min-out / max-out bounds and the 24h\\n/// executor loss budget. The core (Kyber) and the SwapModule (Velora/Fly, via delegatecall) must\\n/// apply the SAME guards, so they live here once. No state variables: layout is ALMStorage's.\\nabstract contract ALMGuards is ALMStorage {\\n    struct Spend {\\n        address token;\\n        uint256 amount;\\n    }\\n\\n    address internal constant KYBER_NATIVE_TOKEN = 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE;\\n    uint256 internal constant PRICE_X18 = 1e18;\\n    uint256 internal constant DEFAULT_V4_STABLE_PRICE_MIN_X18 = 998_850_000_000_000_000; // 0.99885\\n    uint256 internal constant DEFAULT_V4_STABLE_PRICE_MAX_X18 = 1_002_000_000_000_000_000; // 1.0020\\n    uint256 internal constant EXECUTOR_LOSS_CAP_DENOMINATOR = 1_000_000; // BPS * 100\\n    uint256 internal constant EXECUTOR_LOSS_WINDOW_HOURS = 24;\\n    // Hardcoded allowlist: Ethereum only (this tree deploys to chainId 1 only). USDC/USDT/DAI/USDe\\n    // since the 2026-09-06 size trim; USDG (Paxos Global Dollar, 6 decimals) added 2026-09-27 for the\\n    // StablePair hook pool. Anything else must be enabled by the owner through setAllowedToken +\\n    // setStableTokenDecimals.\\n    address internal constant ETHEREUM_USDC = 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48;\\n    address internal constant ETHEREUM_USDT = 0xdAC17F958D2ee523a2206206994597C13D831ec7;\\n    address internal constant ETHEREUM_DAI = 0x6B175474E89094C44Da98b954EedeAC495271d0F;\\n    address internal constant ETHEREUM_USDE = 0x4c9EDD5852cd905f086C759E8383e09bff1E68B3;\\n    address internal constant ETHEREUM_USDG = 0xe343167631d89B6Ffc58B88d6b7fB0228795491D;\\n\\n    event ExecutorLossBudgetConsumed(uint256 hourId, uint256 lossNormalized, uint256 used24h, uint256 cap24h);\\n\\n    function isTokenAllowedForExecutor(address token) public view returns (bool) {\\n        if (isTokenBlocked[token]) return false;\\n        return isTokenAllowed[token] || _isHardcodedAllowedToken(token);\\n    }\\n\\n    function executorLossCap24h() public view returns (uint256) {\\n        if (!executorLossBudgetEnabled) return 0;\\n        return FullMath.mulDiv(executorRiskCapitalNormalized, executorLossCapBpsX100, EXECUTOR_LOSS_CAP_DENOMINATOR);\\n    }\\n\\n    function executorLossUsed24h() public view returns (uint256 used24h) {\\n        uint256 currentHour = block.timestamp / 1 hours;\\n        for (uint256 i = 0; i < EXECUTOR_LOSS_WINDOW_HOURS; i++) {\\n            uint256 bucketHour = uint256(executorLossBucketHours[i]);\\n            if (bucketHour <= currentHour && currentHour - bucketHour < EXECUTOR_LOSS_WINDOW_HOURS) {\\n                used24h += executorLossBucketAmounts[i];\\n            }\\n        }\\n    }\\n\\n    function _isHardcodedAllowedToken(address token) internal view returns (bool) {\\n        if (block.chainid == 1) return _isEthereumHardcodedAllowedToken(token);\\n        return false;\\n    }\\n\\n    function _isEthereumHardcodedAllowedToken(address token) internal pure returns (bool) {\\n        return token == ETHEREUM_USDC || token == ETHEREUM_USDT || token == ETHEREUM_DAI || token == ETHEREUM_USDE\\n            || token == ETHEREUM_USDG;\\n    }\\n\\n    function _requireAllowedToken(address token) internal view {\\n        if (!isTokenAllowedForExecutor(token)) revert TokenNotAllowed(token);\\n    }\\n\\n    function _swapLossBpsX100() internal view returns (uint256) {\\n        return fineBpsParamsEnabled ? swapLossBpsMaxX100 : swapLossBpsMax * 100;\\n    }\\n\\n    function _knownStableTokenDecimals(address token) internal view returns (uint8) {\\n        if (block.chainid == 1) {\\n            if (token == ETHEREUM_USDC || token == ETHEREUM_USDT || token == ETHEREUM_USDG) return 6;\\n            if (token == ETHEREUM_DAI || token == ETHEREUM_USDE) return 18;\\n        }\\n        return 0;\\n    }\\n\\n    function _stableTokenDecimalsOrRevert(address token) internal view returns (uint8) {\\n        uint8 configured = stableTokenDecimals[token];\\n        if (configured != 0) return configured;\\n        uint8 known = _knownStableTokenDecimals(token);\\n        if (known != 0) return known;\\n        revert StableTokenDecimalsNotSet(token);\\n    }\\n\\n    function _normalizeStableAmount(address token, uint256 amount) internal view returns (uint256) {\\n        uint8 decimals_ = _stableTokenDecimalsOrRevert(token);\\n        if (decimals_ == 18) return amount;\\n        return amount * (10 ** uint256(18 - decimals_));\\n    }\\n\\n    function _effectiveV4StablePriceMinX18() internal view returns (uint256) {\\n        return v4StablePriceMinX18 == 0 ? DEFAULT_V4_STABLE_PRICE_MIN_X18 : v4StablePriceMinX18;\\n    }\\n\\n    function _effectiveV4StablePriceMaxX18() internal view returns (uint256) {\\n        return v4StablePriceMaxX18 == 0 ? DEFAULT_V4_STABLE_PRICE_MAX_X18 : v4StablePriceMaxX18;\\n    }\\n\\n    function _requireKyberStableMinOut(\\n        address tokenIn,\\n        address tokenOut,\\n        uint256 amountIn,\\n        uint256 effectiveMinOut\\n    ) internal view {\\n        uint256 maxLossBpsX100 = _swapLossBpsX100();\\n        if (maxLossBpsX100 >= BPS * 100) revert RiskParamOutOfRange();\\n\\n        uint256 minOutNormalized = _normalizeStableAmount(tokenOut, effectiveMinOut);\\n        uint256 requiredNormalized =\\n            FullMath.mulDiv(_normalizeStableAmount(tokenIn, amountIn), BPS * 100 - maxLossBpsX100, BPS * 100);\\n        if (minOutNormalized < requiredNormalized) {\\n            revert KyberStableMinOutTooLow(tokenIn, tokenOut, minOutNormalized, requiredNormalized);\\n        }\\n        _requireKyberStableOutNormalizedNotTooHigh(tokenIn, tokenOut, amountIn, minOutNormalized);\\n    }\\n\\n    function _requireKyberStableOutNotTooHigh(\\n        address tokenIn,\\n        address tokenOut,\\n        uint256 amountIn,\\n        uint256 amountOut\\n    ) internal view {\\n        _requireKyberStableOutNormalizedNotTooHigh(\\n            tokenIn,\\n            tokenOut,\\n            amountIn,\\n            _normalizeStableAmount(tokenOut, amountOut)\\n        );\\n    }\\n\\n    function _requireKyberStableOutNormalizedNotTooHigh(\\n        address tokenIn,\\n        address tokenOut,\\n        uint256 amountIn,\\n        uint256 outputNormalized\\n    ) internal view {\\n        uint256 maxOutputNormalized =\\n            FullMath.mulDiv(_normalizeStableAmount(tokenIn, amountIn), _effectiveV4StablePriceMaxX18(), PRICE_X18);\\n        if (outputNormalized > maxOutputNormalized) {\\n            revert KyberStableOutTooHigh(tokenIn, tokenOut, outputNormalized, maxOutputNormalized);\\n        }\\n    }\\n\\n    /// @dev Pre-swap check only: worst-case allowed slippage envelope must fit in remaining 24h budget.\\n    function _requireExecutorLossBudgetHeadroom(\\n        address tokenIn,\\n        address tokenOut,\\n        uint256 amountIn,\\n        uint256 effectiveMinOut\\n    ) internal view {\\n        if (!executorLossBudgetEnabled) return;\\n\\n        uint256 inputNormalized = _normalizeStableAmount(tokenIn, amountIn);\\n        uint256 outputNormalized = _normalizeStableAmount(tokenOut, effectiveMinOut);\\n        if (outputNormalized >= inputNormalized) return;\\n\\n        uint256 envelopeNormalized = inputNormalized - outputNormalized;\\n        uint256 cap24h = executorLossCap24h();\\n        if (cap24h == 0) revert ExecutorLossBudgetNotConfigured();\\n\\n        uint256 used24h = executorLossUsed24h();\\n        if (used24h + envelopeNormalized > cap24h) {\\n            revert ExecutorLossBudgetExceeded(used24h, envelopeNormalized, cap24h);\\n        }\\n    }\\n\\n    function _consumeExecutorLossBudgetRealized(\\n        address tokenIn,\\n        address tokenOut,\\n        uint256 amountIn,\\n        uint256 actualOut\\n    ) internal {\\n        if (!executorLossBudgetEnabled) return;\\n\\n        uint256 inputNormalized = _normalizeStableAmount(tokenIn, amountIn);\\n        uint256 outputNormalized = _normalizeStableAmount(tokenOut, actualOut);\\n        if (outputNormalized >= inputNormalized) return;\\n\\n        uint256 lossNormalized = inputNormalized - outputNormalized;\\n        uint256 cap24h = executorLossCap24h();\\n        if (cap24h == 0) revert ExecutorLossBudgetNotConfigured();\\n\\n        uint256 used24h = executorLossUsed24h();\\n        if (used24h + lossNormalized > cap24h) {\\n            revert ExecutorLossBudgetExceeded(used24h, lossNormalized, cap24h);\\n        }\\n\\n        uint256 currentHour = block.timestamp / 1 hours;\\n        uint256 bucketIndex = currentHour % EXECUTOR_LOSS_WINDOW_HOURS;\\n        if (currentHour > type(uint64).max) revert AmountTooLarge();\\n        // forge-lint: disable-next-line(unsafe-typecast)\\n        uint64 currentHour64 = uint64(currentHour);\\n        if (executorLossBucketHours[bucketIndex] != currentHour64) {\\n            executorLossBucketHours[bucketIndex] = currentHour64;\\n            executorLossBucketAmounts[bucketIndex] = 0;\\n        }\\n        executorLossBucketAmounts[bucketIndex] += lossNormalized;\\n        emit ExecutorLossBudgetConsumed(currentHour, lossNormalized, used24h + lossNormalized, cap24h);\\n    }\\n\\n    function _kyberBalanceOf(address token) internal view returns (uint256) {\\n        if (token == KYBER_NATIVE_TOKEN) return address(this).balance;\\n        return IERC20(token).balanceOf(address(this));\\n    }\\n}\\n\\n/// @dev ERC-165 identity of the swap module (`swap.sol`) reached through the core's `execSwap`.\\ninterface IALMSwapModule {\\n    function swapViaFlyGuarded(\\n        bytes calldata routeData,\\n        ALMGuards.Spend[] calldata spends,\\n        uint256 value,\\n        address tokenOut,\\n        uint256 minAmountOut\\n    ) external;\\n\\n    function swapViaVeloraGuarded(\\n        bytes calldata routeData,\\n        ALMGuards.Spend[] calldata spends,\\n        address tokenOut,\\n        uint256 minAmountOut,\\n        uint256 deadline\\n    ) external;\\n}\\n\",\"keccak256\":\"0xf59edfdc81007744c9b22495642c24f6a71bad0d7ae420caf2fef17109032090\",\"license\":\"MIT\"},\"interfaces/IMetaAggregationRouterV2.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity =0.8.35;\\n\\n/// @dev Pinned KyberSwap MetaAggregationRouterV2 ABI surface used by ALM guarded swap validation.\\n/// Keep this interface synchronized with the configured chain router deployment before router changes.\\ninterface IMetaAggregationRouterV2 {\\n    struct SwapDescriptionV2 {\\n        address srcToken;\\n        address dstToken;\\n        address[] srcReceivers;\\n        uint256[] srcAmounts;\\n        address[] feeReceivers;\\n        uint256[] feeAmounts;\\n        address dstReceiver;\\n        uint256 amount;\\n        uint256 minReturnAmount;\\n        uint256 flags;\\n        bytes permit;\\n    }\\n\\n    struct SwapExecutionParams {\\n        address callTarget;\\n        address approveTarget;\\n        bytes targetData;\\n        SwapDescriptionV2 desc;\\n        bytes clientData;\\n    }\\n\\n    function swap(SwapExecutionParams calldata execution) external payable returns (uint256 returnAmount, uint256 gasUsed);\\n    function swapGeneric(SwapExecutionParams calldata execution)\\n        external\\n        payable\\n        returns (uint256 returnAmount, uint256 gasUsed);\\n    function swapSimpleMode(\\n        address executor,\\n        SwapDescriptionV2 calldata desc,\\n        bytes calldata executorData,\\n        bytes calldata clientData\\n    ) external payable returns (uint256 returnAmount, uint256 gasUsed);\\n}\\n\",\"keccak256\":\"0x82be5b648971171fbcfe3e920ddc1fa52eb04aa878ae1b2b8690cfb0caa18c64\",\"license\":\"MIT\"},\"node_modules/@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.1.0) (access/Ownable2Step.sol)\\n\\npragma solidity ^0.8.20;\\n\\nimport {OwnableUpgradeable} from \\\"./OwnableUpgradeable.sol\\\";\\nimport {Initializable} from \\\"@openzeppelin/contracts/proxy/utils/Initializable.sol\\\";\\n\\n/**\\n * @dev Contract module which provides access control mechanism, where\\n * there is an account (an owner) that can be granted exclusive access to\\n * specific functions.\\n *\\n * This extension of the {Ownable} contract includes a two-step mechanism to transfer\\n * ownership, where the new owner must call {acceptOwnership} in order to replace the\\n * old one. This can help prevent common mistakes, such as transfers of ownership to\\n * incorrect accounts, or to contracts that are unable to interact with the\\n * permission system.\\n *\\n * The initial owner is specified at deployment time in the constructor for `Ownable`. This\\n * can later be changed with {transferOwnership} and {acceptOwnership}.\\n *\\n * This module is used through inheritance. It will make available all functions\\n * from parent (Ownable).\\n */\\nabstract contract Ownable2StepUpgradeable is Initializable, OwnableUpgradeable {\\n    /// @custom:storage-location erc7201:openzeppelin.storage.Ownable2Step\\n    struct Ownable2StepStorage {\\n        address _pendingOwner;\\n    }\\n\\n    // keccak256(abi.encode(uint256(keccak256(\\\"openzeppelin.storage.Ownable2Step\\\")) - 1)) & ~bytes32(uint256(0xff))\\n    bytes32 private constant Ownable2StepStorageLocation = 0x237e158222e3e6968b72b9db0d8043aacf074ad9f650f0d1606b4d82ee432c00;\\n\\n    function _getOwnable2StepStorage() private pure returns (Ownable2StepStorage storage $) {\\n        assembly {\\n            $.slot := Ownable2StepStorageLocation\\n        }\\n    }\\n\\n    event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner);\\n\\n    function __Ownable2Step_init() internal onlyInitializing {\\n    }\\n\\n    function __Ownable2Step_init_unchained() internal onlyInitializing {\\n    }\\n    /**\\n     * @dev Returns the address of the pending owner.\\n     */\\n    function pendingOwner() public view virtual returns (address) {\\n        Ownable2StepStorage storage $ = _getOwnable2StepStorage();\\n        return $._pendingOwner;\\n    }\\n\\n    /**\\n     * @dev Starts the ownership transfer of the contract to a new account. Replaces the pending transfer if there is one.\\n     * Can only be called by the current owner.\\n     *\\n     * Setting `newOwner` to the zero address is allowed; this can be used to cancel an initiated ownership transfer.\\n     */\\n    function transferOwnership(address newOwner) public virtual override onlyOwner {\\n        Ownable2StepStorage storage $ = _getOwnable2StepStorage();\\n        $._pendingOwner = newOwner;\\n        emit OwnershipTransferStarted(owner(), newOwner);\\n    }\\n\\n    /**\\n     * @dev Transfers ownership of the contract to a new account (`newOwner`) and deletes any pending owner.\\n     * Internal function without access restriction.\\n     */\\n    function _transferOwnership(address newOwner) internal virtual override {\\n        Ownable2StepStorage storage $ = _getOwnable2StepStorage();\\n        delete $._pendingOwner;\\n        super._transferOwnership(newOwner);\\n    }\\n\\n    /**\\n     * @dev The new owner accepts the ownership transfer.\\n     */\\n    function acceptOwnership() public virtual {\\n        address sender = _msgSender();\\n        if (pendingOwner() != sender) {\\n            revert OwnableUnauthorizedAccount(sender);\\n        }\\n        _transferOwnership(sender);\\n    }\\n}\\n\",\"keccak256\":\"0x046f0d6d983477925b41d34b2afdb3c91baa0013ee0d75b8827272d5f7bd91b6\",\"license\":\"MIT\"},\"node_modules/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)\\n\\npragma solidity ^0.8.20;\\n\\nimport {ContextUpgradeable} from \\\"../utils/ContextUpgradeable.sol\\\";\\nimport {Initializable} from \\\"@openzeppelin/contracts/proxy/utils/Initializable.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 * The initial owner is set to the address provided by the deployer. This can\\n * 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 OwnableUpgradeable is Initializable, ContextUpgradeable {\\n    /// @custom:storage-location erc7201:openzeppelin.storage.Ownable\\n    struct OwnableStorage {\\n        address _owner;\\n    }\\n\\n    // keccak256(abi.encode(uint256(keccak256(\\\"openzeppelin.storage.Ownable\\\")) - 1)) & ~bytes32(uint256(0xff))\\n    bytes32 private constant OwnableStorageLocation = 0x9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c199300;\\n\\n    function _getOwnableStorage() private pure returns (OwnableStorage storage $) {\\n        assembly {\\n            $.slot := OwnableStorageLocation\\n        }\\n    }\\n\\n    /**\\n     * @dev The caller account is not authorized to perform an operation.\\n     */\\n    error OwnableUnauthorizedAccount(address account);\\n\\n    /**\\n     * @dev The owner is not a valid owner account. (eg. `address(0)`)\\n     */\\n    error OwnableInvalidOwner(address owner);\\n\\n    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n    /**\\n     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.\\n     */\\n    function __Ownable_init(address initialOwner) internal onlyInitializing {\\n        __Ownable_init_unchained(initialOwner);\\n    }\\n\\n    function __Ownable_init_unchained(address initialOwner) internal onlyInitializing {\\n        if (initialOwner == address(0)) {\\n            revert OwnableInvalidOwner(address(0));\\n        }\\n        _transferOwnership(initialOwner);\\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        OwnableStorage storage $ = _getOwnableStorage();\\n        return $._owner;\\n    }\\n\\n    /**\\n     * @dev Throws if the sender is not the owner.\\n     */\\n    function _checkOwner() internal view virtual {\\n        if (owner() != _msgSender()) {\\n            revert OwnableUnauthorizedAccount(_msgSender());\\n        }\\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        if (newOwner == address(0)) {\\n            revert OwnableInvalidOwner(address(0));\\n        }\\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        OwnableStorage storage $ = _getOwnableStorage();\\n        address oldOwner = $._owner;\\n        $._owner = newOwner;\\n        emit OwnershipTransferred(oldOwner, newOwner);\\n    }\\n}\\n\",\"keccak256\":\"0x85c3b9bac35a90dce9ed9b31532c3739cae432359d8d7ff59cb6712f21c7ed14\",\"license\":\"MIT\"},\"node_modules/@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\npragma solidity ^0.8.22;\\n\\nimport {UUPSUpgradeable} from \\\"@openzeppelin/contracts/proxy/utils/UUPSUpgradeable.sol\\\";\\n\",\"keccak256\":\"0x4918e374e9ce84e9b196486bafbd46851d5e72ab315e31f0b1d7c443dcfea5bf\",\"license\":\"MIT\"},\"node_modules/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)\\n\\npragma solidity ^0.8.20;\\nimport {Initializable} from \\\"@openzeppelin/contracts/proxy/utils/Initializable.sol\\\";\\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 ContextUpgradeable is Initializable {\\n    function __Context_init() internal onlyInitializing {\\n    }\\n\\n    function __Context_init_unchained() internal onlyInitializing {\\n    }\\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\",\"keccak256\":\"0xad316bdc3ee64a0e29773256245045dc57b92660799ff14f668f7c0da9456a9d\",\"license\":\"MIT\"},\"node_modules/@openzeppelin/contracts-upgradeable/utils/PausableUpgradeable.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.3.0) (utils/Pausable.sol)\\n\\npragma solidity ^0.8.20;\\n\\nimport {ContextUpgradeable} from \\\"../utils/ContextUpgradeable.sol\\\";\\nimport {Initializable} from \\\"@openzeppelin/contracts/proxy/utils/Initializable.sol\\\";\\n\\n/**\\n * @dev Contract module which allows children to implement an emergency stop\\n * mechanism that can be triggered by an authorized account.\\n *\\n * This module is used through inheritance. It will make available the\\n * modifiers `whenNotPaused` and `whenPaused`, which can be applied to\\n * the functions of your contract. Note that they will not be pausable by\\n * simply including this module, only once the modifiers are put in place.\\n */\\nabstract contract PausableUpgradeable is Initializable, ContextUpgradeable {\\n    /// @custom:storage-location erc7201:openzeppelin.storage.Pausable\\n    struct PausableStorage {\\n        bool _paused;\\n    }\\n\\n    // keccak256(abi.encode(uint256(keccak256(\\\"openzeppelin.storage.Pausable\\\")) - 1)) & ~bytes32(uint256(0xff))\\n    bytes32 private constant PausableStorageLocation = 0xcd5ed15c6e187e77e9aee88184c21f4f2182ab5827cb3b7e07fbedcd63f03300;\\n\\n    function _getPausableStorage() private pure returns (PausableStorage storage $) {\\n        assembly {\\n            $.slot := PausableStorageLocation\\n        }\\n    }\\n\\n    /**\\n     * @dev Emitted when the pause is triggered by `account`.\\n     */\\n    event Paused(address account);\\n\\n    /**\\n     * @dev Emitted when the pause is lifted by `account`.\\n     */\\n    event Unpaused(address account);\\n\\n    /**\\n     * @dev The operation failed because the contract is paused.\\n     */\\n    error EnforcedPause();\\n\\n    /**\\n     * @dev The operation failed because the contract is not paused.\\n     */\\n    error ExpectedPause();\\n\\n    /**\\n     * @dev Modifier to make a function callable only when the contract is not paused.\\n     *\\n     * Requirements:\\n     *\\n     * - The contract must not be paused.\\n     */\\n    modifier whenNotPaused() {\\n        _requireNotPaused();\\n        _;\\n    }\\n\\n    /**\\n     * @dev Modifier to make a function callable only when the contract is paused.\\n     *\\n     * Requirements:\\n     *\\n     * - The contract must be paused.\\n     */\\n    modifier whenPaused() {\\n        _requirePaused();\\n        _;\\n    }\\n\\n    function __Pausable_init() internal onlyInitializing {\\n    }\\n\\n    function __Pausable_init_unchained() internal onlyInitializing {\\n    }\\n    /**\\n     * @dev Returns true if the contract is paused, and false otherwise.\\n     */\\n    function paused() public view virtual returns (bool) {\\n        PausableStorage storage $ = _getPausableStorage();\\n        return $._paused;\\n    }\\n\\n    /**\\n     * @dev Throws if the contract is paused.\\n     */\\n    function _requireNotPaused() internal view virtual {\\n        if (paused()) {\\n            revert EnforcedPause();\\n        }\\n    }\\n\\n    /**\\n     * @dev Throws if the contract is not paused.\\n     */\\n    function _requirePaused() internal view virtual {\\n        if (!paused()) {\\n            revert ExpectedPause();\\n        }\\n    }\\n\\n    /**\\n     * @dev Triggers stopped state.\\n     *\\n     * Requirements:\\n     *\\n     * - The contract must not be paused.\\n     */\\n    function _pause() internal virtual whenNotPaused {\\n        PausableStorage storage $ = _getPausableStorage();\\n        $._paused = true;\\n        emit Paused(_msgSender());\\n    }\\n\\n    /**\\n     * @dev Returns to normal state.\\n     *\\n     * Requirements:\\n     *\\n     * - The contract must be paused.\\n     */\\n    function _unpause() internal virtual whenPaused {\\n        PausableStorage storage $ = _getPausableStorage();\\n        $._paused = false;\\n        emit Unpaused(_msgSender());\\n    }\\n}\\n\",\"keccak256\":\"0x1149f6c3445a564f5b9cd27c2dc85c6bcaed254c67cb57a416bc7ca1f667ad1f\",\"license\":\"MIT\"},\"node_modules/@openzeppelin/contracts/interfaces/IERC1363.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC1363.sol)\\n\\npragma solidity >=0.6.2;\\n\\nimport {IERC20} from \\\"./IERC20.sol\\\";\\nimport {IERC165} from \\\"./IERC165.sol\\\";\\n\\n/**\\n * @title IERC1363\\n * @dev Interface of the ERC-1363 standard as defined in the https://eips.ethereum.org/EIPS/eip-1363[ERC-1363].\\n *\\n * Defines an extension interface for ERC-20 tokens that supports executing code on a recipient contract\\n * after `transfer` or `transferFrom`, or code on a spender contract after `approve`, in a single transaction.\\n */\\ninterface IERC1363 is IERC20, IERC165 {\\n    /*\\n     * Note: the ERC-165 identifier for this interface is 0xb0202a11.\\n     * 0xb0202a11 ===\\n     *   bytes4(keccak256('transferAndCall(address,uint256)')) ^\\n     *   bytes4(keccak256('transferAndCall(address,uint256,bytes)')) ^\\n     *   bytes4(keccak256('transferFromAndCall(address,address,uint256)')) ^\\n     *   bytes4(keccak256('transferFromAndCall(address,address,uint256,bytes)')) ^\\n     *   bytes4(keccak256('approveAndCall(address,uint256)')) ^\\n     *   bytes4(keccak256('approveAndCall(address,uint256,bytes)'))\\n     */\\n\\n    /**\\n     * @dev Moves a `value` amount of tokens from the caller's account to `to`\\n     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.\\n     * @param to The address which you want to transfer to.\\n     * @param value The amount of tokens to be transferred.\\n     * @return A boolean value indicating whether the operation succeeded unless throwing.\\n     */\\n    function transferAndCall(address to, uint256 value) external returns (bool);\\n\\n    /**\\n     * @dev Moves a `value` amount of tokens from the caller's account to `to`\\n     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.\\n     * @param to The address which you want to transfer to.\\n     * @param value The amount of tokens to be transferred.\\n     * @param data Additional data with no specified format, sent in call to `to`.\\n     * @return A boolean value indicating whether the operation succeeded unless throwing.\\n     */\\n    function transferAndCall(address to, uint256 value, bytes calldata data) external returns (bool);\\n\\n    /**\\n     * @dev Moves a `value` amount of tokens from `from` to `to` using the allowance mechanism\\n     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.\\n     * @param from The address which you want to send tokens from.\\n     * @param to The address which you want to transfer to.\\n     * @param value The amount of tokens to be transferred.\\n     * @return A boolean value indicating whether the operation succeeded unless throwing.\\n     */\\n    function transferFromAndCall(address from, address to, uint256 value) external returns (bool);\\n\\n    /**\\n     * @dev Moves a `value` amount of tokens from `from` to `to` using the allowance mechanism\\n     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.\\n     * @param from The address which you want to send tokens from.\\n     * @param to The address which you want to transfer to.\\n     * @param value The amount of tokens to be transferred.\\n     * @param data Additional data with no specified format, sent in call to `to`.\\n     * @return A boolean value indicating whether the operation succeeded unless throwing.\\n     */\\n    function transferFromAndCall(address from, address to, uint256 value, bytes calldata data) external returns (bool);\\n\\n    /**\\n     * @dev Sets a `value` amount of tokens as the allowance of `spender` over the\\n     * caller's tokens and then calls {IERC1363Spender-onApprovalReceived} on `spender`.\\n     * @param spender The address which will spend the funds.\\n     * @param value The amount of tokens to be spent.\\n     * @return A boolean value indicating whether the operation succeeded unless throwing.\\n     */\\n    function approveAndCall(address spender, uint256 value) external returns (bool);\\n\\n    /**\\n     * @dev Sets a `value` amount of tokens as the allowance of `spender` over the\\n     * caller's tokens and then calls {IERC1363Spender-onApprovalReceived} on `spender`.\\n     * @param spender The address which will spend the funds.\\n     * @param value The amount of tokens to be spent.\\n     * @param data Additional data with no specified format, sent in call to `spender`.\\n     * @return A boolean value indicating whether the operation succeeded unless throwing.\\n     */\\n    function approveAndCall(address spender, uint256 value, bytes calldata data) external returns (bool);\\n}\\n\",\"keccak256\":\"0xd5ea07362ab630a6a3dee4285a74cf2377044ca2e4be472755ad64d7c5d4b69d\",\"license\":\"MIT\"},\"node_modules/@openzeppelin/contracts/interfaces/IERC165.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC165.sol)\\n\\npragma solidity >=0.4.16;\\n\\nimport {IERC165} from \\\"../utils/introspection/IERC165.sol\\\";\\n\",\"keccak256\":\"0x0afcb7e740d1537b252cb2676f600465ce6938398569f09ba1b9ca240dde2dfc\",\"license\":\"MIT\"},\"node_modules/@openzeppelin/contracts/interfaces/IERC1967.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC1967.sol)\\n\\npragma solidity >=0.4.11;\\n\\n/**\\n * @dev ERC-1967: Proxy Storage Slots. This interface contains the events defined in the ERC.\\n */\\ninterface IERC1967 {\\n    /**\\n     * @dev Emitted when the implementation is upgraded.\\n     */\\n    event Upgraded(address indexed implementation);\\n\\n    /**\\n     * @dev Emitted when the admin account has changed.\\n     */\\n    event AdminChanged(address previousAdmin, address newAdmin);\\n\\n    /**\\n     * @dev Emitted when the beacon is changed.\\n     */\\n    event BeaconUpgraded(address indexed beacon);\\n}\\n\",\"keccak256\":\"0xbf2aefe54b76d7f7bcd4f6da1080b7b1662611937d870b880db584d09cea56b5\",\"license\":\"MIT\"},\"node_modules/@openzeppelin/contracts/interfaces/IERC20.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC20.sol)\\n\\npragma solidity >=0.4.16;\\n\\nimport {IERC20} from \\\"../token/ERC20/IERC20.sol\\\";\\n\",\"keccak256\":\"0x1a6221315ce0307746c2c4827c125d821ee796c74a676787762f4778671d4f44\",\"license\":\"MIT\"},\"node_modules/@openzeppelin/contracts/interfaces/draft-IERC1822.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/draft-IERC1822.sol)\\n\\npragma solidity >=0.4.16;\\n\\n/**\\n * @dev ERC-1822: Universal Upgradeable Proxy Standard (UUPS) documents a method for upgradeability through a simplified\\n * proxy whose upgrades are fully controlled by the current implementation.\\n */\\ninterface IERC1822Proxiable {\\n    /**\\n     * @dev Returns the storage slot that the proxiable contract assumes is being used to store the implementation\\n     * address.\\n     *\\n     * IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks\\n     * bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this\\n     * function revert if invoked through a proxy.\\n     */\\n    function proxiableUUID() external view returns (bytes32);\\n}\\n\",\"keccak256\":\"0x82f757819bf2429a0d4db141b99a4bbe5039e4ef86dfb94e2e6d40577ed5b28b\",\"license\":\"MIT\"},\"node_modules/@openzeppelin/contracts/proxy/ERC1967/ERC1967Utils.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.6.0) (proxy/ERC1967/ERC1967Utils.sol)\\n\\npragma solidity ^0.8.21;\\n\\nimport {IBeacon} from \\\"../beacon/IBeacon.sol\\\";\\nimport {IERC1967} from \\\"../../interfaces/IERC1967.sol\\\";\\nimport {Address} from \\\"../../utils/Address.sol\\\";\\nimport {StorageSlot} from \\\"../../utils/StorageSlot.sol\\\";\\n\\n/**\\n * @dev This library provides getters and event emitting update functions for\\n * https://eips.ethereum.org/EIPS/eip-1967[ERC-1967] slots.\\n */\\nlibrary ERC1967Utils {\\n    /**\\n     * @dev Storage slot with the address of the current implementation.\\n     * This is the keccak-256 hash of \\\"eip1967.proxy.implementation\\\" subtracted by 1.\\n     */\\n    // solhint-disable-next-line private-vars-leading-underscore\\n    bytes32 internal constant IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;\\n\\n    /**\\n     * @dev The `implementation` of the proxy is invalid.\\n     */\\n    error ERC1967InvalidImplementation(address implementation);\\n\\n    /**\\n     * @dev The `admin` of the proxy is invalid.\\n     */\\n    error ERC1967InvalidAdmin(address admin);\\n\\n    /**\\n     * @dev The `beacon` of the proxy is invalid.\\n     */\\n    error ERC1967InvalidBeacon(address beacon);\\n\\n    /**\\n     * @dev An upgrade function sees `msg.value > 0` that may be lost.\\n     */\\n    error ERC1967NonPayable();\\n\\n    /**\\n     * @dev Returns the current implementation address.\\n     */\\n    function getImplementation() internal view returns (address) {\\n        return StorageSlot.getAddressSlot(IMPLEMENTATION_SLOT).value;\\n    }\\n\\n    /**\\n     * @dev Stores a new address in the ERC-1967 implementation slot.\\n     */\\n    function _setImplementation(address newImplementation) private {\\n        if (newImplementation.code.length == 0) {\\n            revert ERC1967InvalidImplementation(newImplementation);\\n        }\\n        StorageSlot.getAddressSlot(IMPLEMENTATION_SLOT).value = newImplementation;\\n    }\\n\\n    /**\\n     * @dev Performs implementation upgrade with additional setup call if data is nonempty.\\n     * This function is payable only if the setup call is performed, otherwise `msg.value` is rejected\\n     * to avoid stuck value in the contract.\\n     *\\n     * Emits an {IERC1967-Upgraded} event.\\n     */\\n    function upgradeToAndCall(address newImplementation, bytes memory data) internal {\\n        _setImplementation(newImplementation);\\n        emit IERC1967.Upgraded(newImplementation);\\n\\n        if (data.length > 0) {\\n            Address.functionDelegateCall(newImplementation, data);\\n        } else {\\n            _checkNonPayable();\\n        }\\n    }\\n\\n    /**\\n     * @dev Storage slot with the admin of the contract.\\n     * This is the keccak-256 hash of \\\"eip1967.proxy.admin\\\" subtracted by 1.\\n     */\\n    // solhint-disable-next-line private-vars-leading-underscore\\n    bytes32 internal constant ADMIN_SLOT = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103;\\n\\n    /**\\n     * @dev Returns the current admin.\\n     *\\n     * TIP: To get this value clients can read directly from the storage slot shown below (specified by ERC-1967) using\\n     * the https://ethereum.org/developers/docs/apis/json-rpc/#eth_getstorageat[`eth_getStorageAt`] RPC call.\\n     * `0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103`\\n     */\\n    function getAdmin() internal view returns (address) {\\n        return StorageSlot.getAddressSlot(ADMIN_SLOT).value;\\n    }\\n\\n    /**\\n     * @dev Stores a new address in the ERC-1967 admin slot.\\n     */\\n    function _setAdmin(address newAdmin) private {\\n        if (newAdmin == address(0)) {\\n            revert ERC1967InvalidAdmin(address(0));\\n        }\\n        StorageSlot.getAddressSlot(ADMIN_SLOT).value = newAdmin;\\n    }\\n\\n    /**\\n     * @dev Changes the admin of the proxy.\\n     *\\n     * Emits an {IERC1967-AdminChanged} event.\\n     */\\n    function changeAdmin(address newAdmin) internal {\\n        emit IERC1967.AdminChanged(getAdmin(), newAdmin);\\n        _setAdmin(newAdmin);\\n    }\\n\\n    /**\\n     * @dev The storage slot of the UpgradeableBeacon contract which defines the implementation for this proxy.\\n     * This is the keccak-256 hash of \\\"eip1967.proxy.beacon\\\" subtracted by 1.\\n     */\\n    // solhint-disable-next-line private-vars-leading-underscore\\n    bytes32 internal constant BEACON_SLOT = 0xa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d50;\\n\\n    /**\\n     * @dev Returns the current beacon.\\n     */\\n    function getBeacon() internal view returns (address) {\\n        return StorageSlot.getAddressSlot(BEACON_SLOT).value;\\n    }\\n\\n    /**\\n     * @dev Stores a new beacon in the ERC-1967 beacon slot.\\n     */\\n    function _setBeacon(address newBeacon) private {\\n        if (newBeacon.code.length == 0) {\\n            revert ERC1967InvalidBeacon(newBeacon);\\n        }\\n\\n        StorageSlot.getAddressSlot(BEACON_SLOT).value = newBeacon;\\n\\n        address beaconImplementation = IBeacon(newBeacon).implementation();\\n        if (beaconImplementation.code.length == 0) {\\n            revert ERC1967InvalidImplementation(beaconImplementation);\\n        }\\n    }\\n\\n    /**\\n     * @dev Change the beacon and trigger a setup call if data is nonempty.\\n     * This function is payable only if the setup call is performed, otherwise `msg.value` is rejected\\n     * to avoid stuck value in the contract.\\n     *\\n     * Emits an {IERC1967-BeaconUpgraded} event.\\n     *\\n     * CAUTION: Invoking this function has no effect on an instance of {BeaconProxy} since v5, since\\n     * it uses an immutable beacon without looking at the value of the ERC-1967 beacon slot for\\n     * efficiency.\\n     */\\n    function upgradeBeaconToAndCall(address newBeacon, bytes memory data) internal {\\n        _setBeacon(newBeacon);\\n        emit IERC1967.BeaconUpgraded(newBeacon);\\n\\n        if (data.length > 0) {\\n            Address.functionDelegateCall(IBeacon(newBeacon).implementation(), data);\\n        } else {\\n            _checkNonPayable();\\n        }\\n    }\\n\\n    /**\\n     * @dev Reverts if `msg.value` is not zero. It can be used to avoid `msg.value` stuck in the contract\\n     * if an upgrade doesn't perform an initialization call.\\n     */\\n    function _checkNonPayable() private {\\n        if (msg.value > 0) {\\n            revert ERC1967NonPayable();\\n        }\\n    }\\n}\\n\",\"keccak256\":\"0x3d8b816f00b4cabe9a9fb7e84908ef785d6e5b0ef988bcd3c52fe811b4559686\",\"license\":\"MIT\"},\"node_modules/@openzeppelin/contracts/proxy/beacon/IBeacon.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.4.0) (proxy/beacon/IBeacon.sol)\\n\\npragma solidity >=0.4.16;\\n\\n/**\\n * @dev This is the interface that {BeaconProxy} expects of its beacon.\\n */\\ninterface IBeacon {\\n    /**\\n     * @dev Must return an address that can be used as a delegate call target.\\n     *\\n     * {UpgradeableBeacon} will check that this address is a contract.\\n     */\\n    function implementation() external view returns (address);\\n}\\n\",\"keccak256\":\"0x20462ddb2665e9521372c76b001d0ce196e59dbbd989de9af5576cad0bd5628b\",\"license\":\"MIT\"},\"node_modules/@openzeppelin/contracts/proxy/utils/Initializable.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.3.0) (proxy/utils/Initializable.sol)\\n\\npragma solidity ^0.8.20;\\n\\n/**\\n * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed\\n * behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an\\n * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer\\n * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.\\n *\\n * The initialization functions use a version number. Once a version number is used, it is consumed and cannot be\\n * reused. This mechanism prevents re-execution of each \\\"step\\\" but allows the creation of new initialization steps in\\n * case an upgrade adds a module that needs to be initialized.\\n *\\n * For example:\\n *\\n * [.hljs-theme-light.nopadding]\\n * ```solidity\\n * contract MyToken is ERC20Upgradeable {\\n *     function initialize() initializer public {\\n *         __ERC20_init(\\\"MyToken\\\", \\\"MTK\\\");\\n *     }\\n * }\\n *\\n * contract MyTokenV2 is MyToken, ERC20PermitUpgradeable {\\n *     function initializeV2() reinitializer(2) public {\\n *         __ERC20Permit_init(\\\"MyToken\\\");\\n *     }\\n * }\\n * ```\\n *\\n * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as\\n * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.\\n *\\n * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure\\n * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.\\n *\\n * [CAUTION]\\n * ====\\n * Avoid leaving a contract uninitialized.\\n *\\n * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation\\n * contract, which may impact the proxy. To prevent the implementation contract from being used, you should invoke\\n * the {_disableInitializers} function in the constructor to automatically lock it when it is deployed:\\n *\\n * [.hljs-theme-light.nopadding]\\n * ```\\n * /// @custom:oz-upgrades-unsafe-allow constructor\\n * constructor() {\\n *     _disableInitializers();\\n * }\\n * ```\\n * ====\\n */\\nabstract contract Initializable {\\n    /**\\n     * @dev Storage of the initializable contract.\\n     *\\n     * It's implemented on a custom ERC-7201 namespace to reduce the risk of storage collisions\\n     * when using with upgradeable contracts.\\n     *\\n     * @custom:storage-location erc7201:openzeppelin.storage.Initializable\\n     */\\n    struct InitializableStorage {\\n        /**\\n         * @dev Indicates that the contract has been initialized.\\n         */\\n        uint64 _initialized;\\n        /**\\n         * @dev Indicates that the contract is in the process of being initialized.\\n         */\\n        bool _initializing;\\n    }\\n\\n    // keccak256(abi.encode(uint256(keccak256(\\\"openzeppelin.storage.Initializable\\\")) - 1)) & ~bytes32(uint256(0xff))\\n    bytes32 private constant INITIALIZABLE_STORAGE = 0xf0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00;\\n\\n    /**\\n     * @dev The contract is already initialized.\\n     */\\n    error InvalidInitialization();\\n\\n    /**\\n     * @dev The contract is not initializing.\\n     */\\n    error NotInitializing();\\n\\n    /**\\n     * @dev Triggered when the contract has been initialized or reinitialized.\\n     */\\n    event Initialized(uint64 version);\\n\\n    /**\\n     * @dev A modifier that defines a protected initializer function that can be invoked at most once. In its scope,\\n     * `onlyInitializing` functions can be used to initialize parent contracts.\\n     *\\n     * Similar to `reinitializer(1)`, except that in the context of a constructor an `initializer` may be invoked any\\n     * number of times. This behavior in the constructor can be useful during testing and is not expected to be used in\\n     * production.\\n     *\\n     * Emits an {Initialized} event.\\n     */\\n    modifier initializer() {\\n        // solhint-disable-next-line var-name-mixedcase\\n        InitializableStorage storage $ = _getInitializableStorage();\\n\\n        // Cache values to avoid duplicated sloads\\n        bool isTopLevelCall = !$._initializing;\\n        uint64 initialized = $._initialized;\\n\\n        // Allowed calls:\\n        // - initialSetup: the contract is not in the initializing state and no previous version was\\n        //                 initialized\\n        // - construction: the contract is initialized at version 1 (no reinitialization) and the\\n        //                 current contract is just being deployed\\n        bool initialSetup = initialized == 0 && isTopLevelCall;\\n        bool construction = initialized == 1 && address(this).code.length == 0;\\n\\n        if (!initialSetup && !construction) {\\n            revert InvalidInitialization();\\n        }\\n        $._initialized = 1;\\n        if (isTopLevelCall) {\\n            $._initializing = true;\\n        }\\n        _;\\n        if (isTopLevelCall) {\\n            $._initializing = false;\\n            emit Initialized(1);\\n        }\\n    }\\n\\n    /**\\n     * @dev A modifier that defines a protected reinitializer function that can be invoked at most once, and only if the\\n     * contract hasn't been initialized to a greater version before. In its scope, `onlyInitializing` functions can be\\n     * used to initialize parent contracts.\\n     *\\n     * A reinitializer may be used after the original initialization step. This is essential to configure modules that\\n     * are added through upgrades and that require initialization.\\n     *\\n     * When `version` is 1, this modifier is similar to `initializer`, except that functions marked with `reinitializer`\\n     * cannot be nested. If one is invoked in the context of another, execution will revert.\\n     *\\n     * Note that versions can jump in increments greater than 1; this implies that if multiple reinitializers coexist in\\n     * a contract, executing them in the right order is up to the developer or operator.\\n     *\\n     * WARNING: Setting the version to 2**64 - 1 will prevent any future reinitialization.\\n     *\\n     * Emits an {Initialized} event.\\n     */\\n    modifier reinitializer(uint64 version) {\\n        // solhint-disable-next-line var-name-mixedcase\\n        InitializableStorage storage $ = _getInitializableStorage();\\n\\n        if ($._initializing || $._initialized >= version) {\\n            revert InvalidInitialization();\\n        }\\n        $._initialized = version;\\n        $._initializing = true;\\n        _;\\n        $._initializing = false;\\n        emit Initialized(version);\\n    }\\n\\n    /**\\n     * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the\\n     * {initializer} and {reinitializer} modifiers, directly or indirectly.\\n     */\\n    modifier onlyInitializing() {\\n        _checkInitializing();\\n        _;\\n    }\\n\\n    /**\\n     * @dev Reverts if the contract is not in an initializing state. See {onlyInitializing}.\\n     */\\n    function _checkInitializing() internal view virtual {\\n        if (!_isInitializing()) {\\n            revert NotInitializing();\\n        }\\n    }\\n\\n    /**\\n     * @dev Locks the contract, preventing any future reinitialization. This cannot be part of an initializer call.\\n     * Calling this in the constructor of a contract will prevent that contract from being initialized or reinitialized\\n     * to any version. It is recommended to use this to lock implementation contracts that are designed to be called\\n     * through proxies.\\n     *\\n     * Emits an {Initialized} event the first time it is successfully executed.\\n     */\\n    function _disableInitializers() internal virtual {\\n        // solhint-disable-next-line var-name-mixedcase\\n        InitializableStorage storage $ = _getInitializableStorage();\\n\\n        if ($._initializing) {\\n            revert InvalidInitialization();\\n        }\\n        if ($._initialized != type(uint64).max) {\\n            $._initialized = type(uint64).max;\\n            emit Initialized(type(uint64).max);\\n        }\\n    }\\n\\n    /**\\n     * @dev Returns the highest version that has been initialized. See {reinitializer}.\\n     */\\n    function _getInitializedVersion() internal view returns (uint64) {\\n        return _getInitializableStorage()._initialized;\\n    }\\n\\n    /**\\n     * @dev Returns `true` if the contract is currently initializing. See {onlyInitializing}.\\n     */\\n    function _isInitializing() internal view returns (bool) {\\n        return _getInitializableStorage()._initializing;\\n    }\\n\\n    /**\\n     * @dev Pointer to storage slot. Allows integrators to override it with a custom storage location.\\n     *\\n     * NOTE: Consider following the ERC-7201 formula to derive storage locations.\\n     */\\n    function _initializableStorageSlot() internal pure virtual returns (bytes32) {\\n        return INITIALIZABLE_STORAGE;\\n    }\\n\\n    /**\\n     * @dev Returns a pointer to the storage namespace.\\n     */\\n    // solhint-disable-next-line var-name-mixedcase\\n    function _getInitializableStorage() private pure returns (InitializableStorage storage $) {\\n        bytes32 slot = _initializableStorageSlot();\\n        assembly {\\n            $.slot := slot\\n        }\\n    }\\n}\\n\",\"keccak256\":\"0xdb4d24ee2c087c391d587cd17adfe5b3f9d93b3110b1388c2ab6c7c0ad1dcd05\",\"license\":\"MIT\"},\"node_modules/@openzeppelin/contracts/proxy/utils/UUPSUpgradeable.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.5.0) (proxy/utils/UUPSUpgradeable.sol)\\n\\npragma solidity ^0.8.22;\\n\\nimport {IERC1822Proxiable} from \\\"../../interfaces/draft-IERC1822.sol\\\";\\nimport {ERC1967Utils} from \\\"../ERC1967/ERC1967Utils.sol\\\";\\n\\n/**\\n * @dev An upgradeability mechanism designed for UUPS proxies. The functions included here can perform an upgrade of an\\n * {ERC1967Proxy}, when this contract is set as the implementation behind such a proxy.\\n *\\n * A security mechanism ensures that an upgrade does not turn off upgradeability accidentally, although this risk is\\n * reinstated if the upgrade retains upgradeability but removes the security mechanism, e.g. by replacing\\n * `UUPSUpgradeable` with a custom implementation of upgrades.\\n *\\n * The {_authorizeUpgrade} function must be overridden to include access restriction to the upgrade mechanism.\\n *\\n * @custom:stateless\\n */\\nabstract contract UUPSUpgradeable is IERC1822Proxiable {\\n    /// @custom:oz-upgrades-unsafe-allow state-variable-immutable\\n    address private immutable __self = address(this);\\n\\n    /**\\n     * @dev The version of the upgrade interface of the contract. If this getter is missing, both `upgradeTo(address)`\\n     * and `upgradeToAndCall(address,bytes)` are present, and `upgradeTo` must be used if no function should be called,\\n     * while `upgradeToAndCall` will invoke the `receive` function if the second argument is the empty byte string.\\n     * If the getter returns `\\\"5.0.0\\\"`, only `upgradeToAndCall(address,bytes)` is present, and the second argument must\\n     * be the empty byte string if no function should be called, making it impossible to invoke the `receive` function\\n     * during an upgrade.\\n     */\\n    string public constant UPGRADE_INTERFACE_VERSION = \\\"5.0.0\\\";\\n\\n    /**\\n     * @dev The call is from an unauthorized context.\\n     */\\n    error UUPSUnauthorizedCallContext();\\n\\n    /**\\n     * @dev The storage `slot` is unsupported as a UUID.\\n     */\\n    error UUPSUnsupportedProxiableUUID(bytes32 slot);\\n\\n    /**\\n     * @dev Check that the execution is being performed through a delegatecall call and that the execution context is\\n     * a proxy contract with an implementation (as defined in ERC-1967) pointing to self. This should only be the case\\n     * for UUPS and transparent proxies that are using the current contract as their implementation. Execution of a\\n     * function through ERC-1167 minimal proxies (clones) would not normally pass this test, but is not guaranteed to\\n     * fail.\\n     */\\n    modifier onlyProxy() {\\n        _checkProxy();\\n        _;\\n    }\\n\\n    /**\\n     * @dev Check that the execution is not being performed through a delegate call. This allows a function to be\\n     * callable on the implementing contract but not through proxies.\\n     */\\n    modifier notDelegated() {\\n        _checkNotDelegated();\\n        _;\\n    }\\n\\n    /**\\n     * @dev Implementation of the ERC-1822 {proxiableUUID} function. This returns the storage slot used by the\\n     * implementation. It is used to validate the implementation's compatibility when performing an upgrade.\\n     *\\n     * IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks\\n     * bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this\\n     * function revert if invoked through a proxy. This is guaranteed by the `notDelegated` modifier.\\n     */\\n    function proxiableUUID() external view notDelegated returns (bytes32) {\\n        return ERC1967Utils.IMPLEMENTATION_SLOT;\\n    }\\n\\n    /**\\n     * @dev Upgrade the implementation of the proxy to `newImplementation`, and subsequently execute the function call\\n     * encoded in `data`.\\n     *\\n     * Calls {_authorizeUpgrade}.\\n     *\\n     * Emits an {Upgraded} event.\\n     *\\n     * @custom:oz-upgrades-unsafe-allow-reachable delegatecall\\n     */\\n    function upgradeToAndCall(address newImplementation, bytes memory data) public payable virtual onlyProxy {\\n        _authorizeUpgrade(newImplementation);\\n        _upgradeToAndCallUUPS(newImplementation, data);\\n    }\\n\\n    /**\\n     * @dev Reverts if the execution is not performed via delegatecall or the execution\\n     * context is not of a proxy with an ERC-1967 compliant implementation pointing to self.\\n     */\\n    function _checkProxy() internal view virtual {\\n        if (\\n            address(this) == __self || // Must be called through delegatecall\\n            ERC1967Utils.getImplementation() != __self // Must be called through an active proxy\\n        ) {\\n            revert UUPSUnauthorizedCallContext();\\n        }\\n    }\\n\\n    /**\\n     * @dev Reverts if the execution is performed via delegatecall.\\n     * See {notDelegated}.\\n     */\\n    function _checkNotDelegated() internal view virtual {\\n        if (address(this) != __self) {\\n            // Must not be called through delegatecall\\n            revert UUPSUnauthorizedCallContext();\\n        }\\n    }\\n\\n    /**\\n     * @dev Function that should revert when `msg.sender` is not authorized to upgrade the contract. Called by\\n     * {upgradeToAndCall}.\\n     *\\n     * Normally, this function will use an xref:access.adoc[access control] modifier such as {Ownable-onlyOwner}.\\n     *\\n     * ```solidity\\n     * function _authorizeUpgrade(address) internal onlyOwner {}\\n     * ```\\n     */\\n    function _authorizeUpgrade(address newImplementation) internal virtual;\\n\\n    /**\\n     * @dev Performs an implementation upgrade with a security check for UUPS proxies, and additional setup call.\\n     *\\n     * As a security check, {proxiableUUID} is invoked in the new implementation, and the return value\\n     * is expected to be the implementation slot in ERC-1967.\\n     *\\n     * Emits an {IERC1967-Upgraded} event.\\n     */\\n    function _upgradeToAndCallUUPS(address newImplementation, bytes memory data) private {\\n        try IERC1822Proxiable(newImplementation).proxiableUUID() returns (bytes32 slot) {\\n            if (slot != ERC1967Utils.IMPLEMENTATION_SLOT) {\\n                revert UUPSUnsupportedProxiableUUID(slot);\\n            }\\n            ERC1967Utils.upgradeToAndCall(newImplementation, data);\\n        } catch {\\n            // The implementation is not UUPS\\n            revert ERC1967Utils.ERC1967InvalidImplementation(newImplementation);\\n        }\\n    }\\n}\\n\",\"keccak256\":\"0x1a26353563a2c63b4120ea0b94727253eeff84fe2241d42c1452308b9080e66a\",\"license\":\"MIT\"},\"node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.4.0) (token/ERC20/IERC20.sol)\\n\\npragma solidity >=0.4.16;\\n\\n/**\\n * @dev Interface of the ERC-20 standard as defined in the ERC.\\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 value of tokens in existence.\\n     */\\n    function totalSupply() external view returns (uint256);\\n\\n    /**\\n     * @dev Returns the value of tokens owned by `account`.\\n     */\\n    function balanceOf(address account) external view returns (uint256);\\n\\n    /**\\n     * @dev Moves a `value` amount of 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 value) 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 a `value` amount of tokens as the allowance of `spender` over the\\n     * 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 value) external returns (bool);\\n\\n    /**\\n     * @dev Moves a `value` amount of tokens from `from` to `to` using the\\n     * allowance mechanism. `value` 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 value) external returns (bool);\\n}\\n\",\"keccak256\":\"0x74ed01eb66b923d0d0cfe3be84604ac04b76482a55f9dd655e1ef4d367f95bc2\",\"license\":\"MIT\"},\"node_modules/@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.5.0) (token/ERC20/utils/SafeERC20.sol)\\n\\npragma solidity ^0.8.20;\\n\\nimport {IERC20} from \\\"../IERC20.sol\\\";\\nimport {IERC1363} from \\\"../../../interfaces/IERC1363.sol\\\";\\n\\n/**\\n * @title SafeERC20\\n * @dev Wrappers around ERC-20 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    /**\\n     * @dev An operation with an ERC-20 token failed.\\n     */\\n    error SafeERC20FailedOperation(address token);\\n\\n    /**\\n     * @dev Indicates a failed `decreaseAllowance` request.\\n     */\\n    error SafeERC20FailedDecreaseAllowance(address spender, uint256 currentAllowance, uint256 requestedDecrease);\\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        if (!_safeTransfer(token, to, value, true)) {\\n            revert SafeERC20FailedOperation(address(token));\\n        }\\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        if (!_safeTransferFrom(token, from, to, value, true)) {\\n            revert SafeERC20FailedOperation(address(token));\\n        }\\n    }\\n\\n    /**\\n     * @dev Variant of {safeTransfer} that returns a bool instead of reverting if the operation is not successful.\\n     */\\n    function trySafeTransfer(IERC20 token, address to, uint256 value) internal returns (bool) {\\n        return _safeTransfer(token, to, value, false);\\n    }\\n\\n    /**\\n     * @dev Variant of {safeTransferFrom} that returns a bool instead of reverting if the operation is not successful.\\n     */\\n    function trySafeTransferFrom(IERC20 token, address from, address to, uint256 value) internal returns (bool) {\\n        return _safeTransferFrom(token, from, to, value, false);\\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     * IMPORTANT: If the token implements ERC-7674 (ERC-20 with temporary allowance), and if the \\\"client\\\"\\n     * smart contract uses ERC-7674 to set temporary allowances, then the \\\"client\\\" smart contract should avoid using\\n     * this function. Performing a {safeIncreaseAllowance} or {safeDecreaseAllowance} operation on a token contract\\n     * that has a non-zero temporary allowance (for that particular owner-spender) will result in unexpected behavior.\\n     */\\n    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {\\n        uint256 oldAllowance = token.allowance(address(this), spender);\\n        forceApprove(token, spender, oldAllowance + value);\\n    }\\n\\n    /**\\n     * @dev Decrease the calling contract's allowance toward `spender` by `requestedDecrease`. If `token` returns no\\n     * value, non-reverting calls are assumed to be successful.\\n     *\\n     * IMPORTANT: If the token implements ERC-7674 (ERC-20 with temporary allowance), and if the \\\"client\\\"\\n     * smart contract uses ERC-7674 to set temporary allowances, then the \\\"client\\\" smart contract should avoid using\\n     * this function. Performing a {safeIncreaseAllowance} or {safeDecreaseAllowance} operation on a token contract\\n     * that has a non-zero temporary allowance (for that particular owner-spender) will result in unexpected behavior.\\n     */\\n    function safeDecreaseAllowance(IERC20 token, address spender, uint256 requestedDecrease) internal {\\n        unchecked {\\n            uint256 currentAllowance = token.allowance(address(this), spender);\\n            if (currentAllowance < requestedDecrease) {\\n                revert SafeERC20FailedDecreaseAllowance(spender, currentAllowance, requestedDecrease);\\n            }\\n            forceApprove(token, spender, currentAllowance - requestedDecrease);\\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     * NOTE: If the token implements ERC-7674, this function will not modify any temporary allowance. This function\\n     * only sets the \\\"standard\\\" allowance. Any temporary allowance will remain active, in addition to the value being\\n     * set here.\\n     */\\n    function forceApprove(IERC20 token, address spender, uint256 value) internal {\\n        if (!_safeApprove(token, spender, value, false)) {\\n            if (!_safeApprove(token, spender, 0, true)) revert SafeERC20FailedOperation(address(token));\\n            if (!_safeApprove(token, spender, value, true)) revert SafeERC20FailedOperation(address(token));\\n        }\\n    }\\n\\n    /**\\n     * @dev Performs an {ERC1363} transferAndCall, with a fallback to the simple {ERC20} transfer if the target has no\\n     * code. This can be used to implement an {ERC721}-like safe transfer that relies on {ERC1363} checks when\\n     * targeting contracts.\\n     *\\n     * Reverts if the returned value is other than `true`.\\n     */\\n    function transferAndCallRelaxed(IERC1363 token, address to, uint256 value, bytes memory data) internal {\\n        if (to.code.length == 0) {\\n            safeTransfer(token, to, value);\\n        } else if (!token.transferAndCall(to, value, data)) {\\n            revert SafeERC20FailedOperation(address(token));\\n        }\\n    }\\n\\n    /**\\n     * @dev Performs an {ERC1363} transferFromAndCall, with a fallback to the simple {ERC20} transferFrom if the target\\n     * has no code. This can be used to implement an {ERC721}-like safe transfer that relies on {ERC1363} checks when\\n     * targeting contracts.\\n     *\\n     * Reverts if the returned value is other than `true`.\\n     */\\n    function transferFromAndCallRelaxed(\\n        IERC1363 token,\\n        address from,\\n        address to,\\n        uint256 value,\\n        bytes memory data\\n    ) internal {\\n        if (to.code.length == 0) {\\n            safeTransferFrom(token, from, to, value);\\n        } else if (!token.transferFromAndCall(from, to, value, data)) {\\n            revert SafeERC20FailedOperation(address(token));\\n        }\\n    }\\n\\n    /**\\n     * @dev Performs an {ERC1363} approveAndCall, with a fallback to the simple {ERC20} approve if the target has no\\n     * code. This can be used to implement an {ERC721}-like safe transfer that rely on {ERC1363} checks when\\n     * targeting contracts.\\n     *\\n     * NOTE: When the recipient address (`to`) has no code (i.e. is an EOA), this function behaves as {forceApprove}.\\n     * Oppositely, when the recipient address (`to`) has code, this function only attempts to call {ERC1363-approveAndCall}\\n     * once without retrying, and relies on the returned value to be true.\\n     *\\n     * Reverts if the returned value is other than `true`.\\n     */\\n    function approveAndCallRelaxed(IERC1363 token, address to, uint256 value, bytes memory data) internal {\\n        if (to.code.length == 0) {\\n            forceApprove(token, to, value);\\n        } else if (!token.approveAndCall(to, value, data)) {\\n            revert SafeERC20FailedOperation(address(token));\\n        }\\n    }\\n\\n    /**\\n     * @dev Imitates a Solidity `token.transfer(to, value)` call, relaxing the requirement on the return value: the\\n     * return value is optional (but if data is returned, it must not be false).\\n     *\\n     * @param token The token targeted by the call.\\n     * @param to The recipient of the tokens\\n     * @param value The amount of token to transfer\\n     * @param bubble Behavior switch if the transfer call reverts: bubble the revert reason or return a false boolean.\\n     */\\n    function _safeTransfer(IERC20 token, address to, uint256 value, bool bubble) private returns (bool success) {\\n        bytes4 selector = IERC20.transfer.selector;\\n\\n        assembly (\\\"memory-safe\\\") {\\n            let fmp := mload(0x40)\\n            mstore(0x00, selector)\\n            mstore(0x04, and(to, shr(96, not(0))))\\n            mstore(0x24, value)\\n            success := call(gas(), token, 0, 0x00, 0x44, 0x00, 0x20)\\n            // if call success and return is true, all is good.\\n            // otherwise (not success or return is not true), we need to perform further checks\\n            if iszero(and(success, eq(mload(0x00), 1))) {\\n                // if the call was a failure and bubble is enabled, bubble the error\\n                if and(iszero(success), bubble) {\\n                    returndatacopy(fmp, 0x00, returndatasize())\\n                    revert(fmp, returndatasize())\\n                }\\n                // if the return value is not true, then the call is only successful if:\\n                // - the token address has code\\n                // - the returndata is empty\\n                success := and(success, and(iszero(returndatasize()), gt(extcodesize(token), 0)))\\n            }\\n            mstore(0x40, fmp)\\n        }\\n    }\\n\\n    /**\\n     * @dev Imitates a Solidity `token.transferFrom(from, to, value)` call, relaxing the requirement on the return\\n     * value: the return value is optional (but if data is returned, it must not be false).\\n     *\\n     * @param token The token targeted by the call.\\n     * @param from The sender of the tokens\\n     * @param to The recipient of the tokens\\n     * @param value The amount of token to transfer\\n     * @param bubble Behavior switch if the transfer call reverts: bubble the revert reason or return a false boolean.\\n     */\\n    function _safeTransferFrom(\\n        IERC20 token,\\n        address from,\\n        address to,\\n        uint256 value,\\n        bool bubble\\n    ) private returns (bool success) {\\n        bytes4 selector = IERC20.transferFrom.selector;\\n\\n        assembly (\\\"memory-safe\\\") {\\n            let fmp := mload(0x40)\\n            mstore(0x00, selector)\\n            mstore(0x04, and(from, shr(96, not(0))))\\n            mstore(0x24, and(to, shr(96, not(0))))\\n            mstore(0x44, value)\\n            success := call(gas(), token, 0, 0x00, 0x64, 0x00, 0x20)\\n            // if call success and return is true, all is good.\\n            // otherwise (not success or return is not true), we need to perform further checks\\n            if iszero(and(success, eq(mload(0x00), 1))) {\\n                // if the call was a failure and bubble is enabled, bubble the error\\n                if and(iszero(success), bubble) {\\n                    returndatacopy(fmp, 0x00, returndatasize())\\n                    revert(fmp, returndatasize())\\n                }\\n                // if the return value is not true, then the call is only successful if:\\n                // - the token address has code\\n                // - the returndata is empty\\n                success := and(success, and(iszero(returndatasize()), gt(extcodesize(token), 0)))\\n            }\\n            mstore(0x40, fmp)\\n            mstore(0x60, 0)\\n        }\\n    }\\n\\n    /**\\n     * @dev Imitates a Solidity `token.approve(spender, value)` call, relaxing the requirement on the return value:\\n     * the return value is optional (but if data is returned, it must not be false).\\n     *\\n     * @param token The token targeted by the call.\\n     * @param spender The spender of the tokens\\n     * @param value The amount of token to transfer\\n     * @param bubble Behavior switch if the transfer call reverts: bubble the revert reason or return a false boolean.\\n     */\\n    function _safeApprove(IERC20 token, address spender, uint256 value, bool bubble) private returns (bool success) {\\n        bytes4 selector = IERC20.approve.selector;\\n\\n        assembly (\\\"memory-safe\\\") {\\n            let fmp := mload(0x40)\\n            mstore(0x00, selector)\\n            mstore(0x04, and(spender, shr(96, not(0))))\\n            mstore(0x24, value)\\n            success := call(gas(), token, 0, 0x00, 0x44, 0x00, 0x20)\\n            // if call success and return is true, all is good.\\n            // otherwise (not success or return is not true), we need to perform further checks\\n            if iszero(and(success, eq(mload(0x00), 1))) {\\n                // if the call was a failure and bubble is enabled, bubble the error\\n                if and(iszero(success), bubble) {\\n                    returndatacopy(fmp, 0x00, returndatasize())\\n                    revert(fmp, returndatasize())\\n                }\\n                // if the return value is not true, then the call is only successful if:\\n                // - the token address has code\\n                // - the returndata is empty\\n                success := and(success, and(iszero(returndatasize()), gt(extcodesize(token), 0)))\\n            }\\n            mstore(0x40, fmp)\\n        }\\n    }\\n}\\n\",\"keccak256\":\"0x304d732678032a9781ae85c8f204c8fba3d3a5e31c02616964e75cfdc5049098\",\"license\":\"MIT\"},\"node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.4.0) (token/ERC721/IERC721.sol)\\n\\npragma solidity >=0.6.2;\\n\\nimport {IERC165} from \\\"../../utils/introspection/IERC165.sol\\\";\\n\\n/**\\n * @dev Required interface of an ERC-721 compliant contract.\\n */\\ninterface IERC721 is IERC165 {\\n    /**\\n     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.\\n     */\\n    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);\\n\\n    /**\\n     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.\\n     */\\n    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);\\n\\n    /**\\n     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.\\n     */\\n    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);\\n\\n    /**\\n     * @dev Returns the number of tokens in ``owner``'s account.\\n     */\\n    function balanceOf(address owner) external view returns (uint256 balance);\\n\\n    /**\\n     * @dev Returns the owner of the `tokenId` token.\\n     *\\n     * Requirements:\\n     *\\n     * - `tokenId` must exist.\\n     */\\n    function ownerOf(uint256 tokenId) external view returns (address owner);\\n\\n    /**\\n     * @dev Safely transfers `tokenId` token from `from` to `to`.\\n     *\\n     * Requirements:\\n     *\\n     * - `from` cannot be the zero address.\\n     * - `to` cannot be the zero address.\\n     * - `tokenId` token must exist and be owned by `from`.\\n     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\\n     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon\\n     *   a safe transfer.\\n     *\\n     * Emits a {Transfer} event.\\n     */\\n    function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;\\n\\n    /**\\n     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\\n     * are aware of the ERC-721 protocol to prevent tokens from being forever locked.\\n     *\\n     * Requirements:\\n     *\\n     * - `from` cannot be the zero address.\\n     * - `to` cannot be the zero address.\\n     * - `tokenId` token must exist and be owned by `from`.\\n     * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or\\n     *   {setApprovalForAll}.\\n     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon\\n     *   a safe transfer.\\n     *\\n     * Emits a {Transfer} event.\\n     */\\n    function safeTransferFrom(address from, address to, uint256 tokenId) external;\\n\\n    /**\\n     * @dev Transfers `tokenId` token from `from` to `to`.\\n     *\\n     * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC-721\\n     * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must\\n     * understand this adds an external call which potentially creates a reentrancy vulnerability.\\n     *\\n     * Requirements:\\n     *\\n     * - `from` cannot be the zero address.\\n     * - `to` cannot be the zero address.\\n     * - `tokenId` token must be owned by `from`.\\n     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\\n     *\\n     * Emits a {Transfer} event.\\n     */\\n    function transferFrom(address from, address to, uint256 tokenId) external;\\n\\n    /**\\n     * @dev Gives permission to `to` to transfer `tokenId` token to another account.\\n     * The approval is cleared when the token is transferred.\\n     *\\n     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.\\n     *\\n     * Requirements:\\n     *\\n     * - The caller must own the token or be an approved operator.\\n     * - `tokenId` must exist.\\n     *\\n     * Emits an {Approval} event.\\n     */\\n    function approve(address to, uint256 tokenId) external;\\n\\n    /**\\n     * @dev Approve or remove `operator` as an operator for the caller.\\n     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.\\n     *\\n     * Requirements:\\n     *\\n     * - The `operator` cannot be the address zero.\\n     *\\n     * Emits an {ApprovalForAll} event.\\n     */\\n    function setApprovalForAll(address operator, bool approved) external;\\n\\n    /**\\n     * @dev Returns the account approved for `tokenId` token.\\n     *\\n     * Requirements:\\n     *\\n     * - `tokenId` must exist.\\n     */\\n    function getApproved(uint256 tokenId) external view returns (address operator);\\n\\n    /**\\n     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.\\n     *\\n     * See {setApprovalForAll}\\n     */\\n    function isApprovedForAll(address owner, address operator) external view returns (bool);\\n}\\n\",\"keccak256\":\"0xf78f05f3b8c9f75570e85300d7b4600d7f6f6a198449273f31d44c1641adb46f\",\"license\":\"MIT\"},\"node_modules/@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.4.0) (token/ERC721/IERC721Receiver.sol)\\n\\npragma solidity >=0.5.0;\\n\\n/**\\n * @title ERC-721 token receiver interface\\n * @dev Interface for any contract that wants to support safeTransfers\\n * from ERC-721 asset contracts.\\n */\\ninterface IERC721Receiver {\\n    /**\\n     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}\\n     * by `operator` from `from`, this function is called.\\n     *\\n     * It must return its Solidity selector to confirm the token transfer.\\n     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be\\n     * reverted.\\n     *\\n     * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`.\\n     */\\n    function onERC721Received(\\n        address operator,\\n        address from,\\n        uint256 tokenId,\\n        bytes calldata data\\n    ) external returns (bytes4);\\n}\\n\",\"keccak256\":\"0x88cd5e3bee2e8c36b8d9058fbcaa81ad5704281b25634122234b55ea853d8055\",\"license\":\"MIT\"},\"node_modules/@openzeppelin/contracts/utils/Address.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.5.0) (utils/Address.sol)\\n\\npragma solidity ^0.8.20;\\n\\nimport {Errors} from \\\"./Errors.sol\\\";\\nimport {LowLevelCall} from \\\"./LowLevelCall.sol\\\";\\n\\n/**\\n * @dev Collection of functions related to the address type\\n */\\nlibrary Address {\\n    /**\\n     * @dev There's no code at `target` (it is not a contract).\\n     */\\n    error AddressEmptyCode(address target);\\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.20/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\\n     */\\n    function sendValue(address payable recipient, uint256 amount) internal {\\n        if (address(this).balance < amount) {\\n            revert Errors.InsufficientBalance(address(this).balance, amount);\\n        }\\n        if (LowLevelCall.callNoReturn(recipient, amount, \\\"\\\")) {\\n            // call successful, nothing to do\\n            return;\\n        } else if (LowLevelCall.returnDataSize() > 0) {\\n            LowLevelCall.bubbleRevert();\\n        } else {\\n            revert Errors.FailedCall();\\n        }\\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 or custom error, it is bubbled\\n     * up by this function (like regular Solidity function calls). However, if\\n     * the call reverted with no returned reason, this function reverts with a\\n     * {Errors.FailedCall} error.\\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    function functionCall(address target, bytes memory data) internal returns (bytes memory) {\\n        return functionCallWithValue(target, data, 0);\\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    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {\\n        if (address(this).balance < value) {\\n            revert Errors.InsufficientBalance(address(this).balance, value);\\n        }\\n        bool success = LowLevelCall.callNoReturn(target, value, data);\\n        if (success && (LowLevelCall.returnDataSize() > 0 || target.code.length > 0)) {\\n            return LowLevelCall.returnData();\\n        } else if (success) {\\n            revert AddressEmptyCode(target);\\n        } else if (LowLevelCall.returnDataSize() > 0) {\\n            LowLevelCall.bubbleRevert();\\n        } else {\\n            revert Errors.FailedCall();\\n        }\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n     * but performing a static call.\\n     */\\n    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\\n        bool success = LowLevelCall.staticcallNoReturn(target, data);\\n        if (success && (LowLevelCall.returnDataSize() > 0 || target.code.length > 0)) {\\n            return LowLevelCall.returnData();\\n        } else if (success) {\\n            revert AddressEmptyCode(target);\\n        } else if (LowLevelCall.returnDataSize() > 0) {\\n            LowLevelCall.bubbleRevert();\\n        } else {\\n            revert Errors.FailedCall();\\n        }\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n     * but performing a delegate call.\\n     */\\n    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\\n        bool success = LowLevelCall.delegatecallNoReturn(target, data);\\n        if (success && (LowLevelCall.returnDataSize() > 0 || target.code.length > 0)) {\\n            return LowLevelCall.returnData();\\n        } else if (success) {\\n            revert AddressEmptyCode(target);\\n        } else if (LowLevelCall.returnDataSize() > 0) {\\n            LowLevelCall.bubbleRevert();\\n        } else {\\n            revert Errors.FailedCall();\\n        }\\n    }\\n\\n    /**\\n     * @dev Tool to verify that a low level call to smart-contract was successful, and reverts if the target\\n     * was not a contract or bubbling up the revert reason (falling back to {Errors.FailedCall}) in case\\n     * of an unsuccessful call.\\n     *\\n     * NOTE: This function is DEPRECATED and may be removed in the next major release.\\n     */\\n    function verifyCallResultFromTarget(\\n        address target,\\n        bool success,\\n        bytes memory returndata\\n    ) internal view returns (bytes memory) {\\n        // only check if target is a contract if the call was successful and the return data is empty\\n        // otherwise we already know that it was a contract\\n        if (success && (returndata.length > 0 || target.code.length > 0)) {\\n            return returndata;\\n        } else if (success) {\\n            revert AddressEmptyCode(target);\\n        } else if (returndata.length > 0) {\\n            LowLevelCall.bubbleRevert(returndata);\\n        } else {\\n            revert Errors.FailedCall();\\n        }\\n    }\\n\\n    /**\\n     * @dev Tool to verify that a low level call was successful, and reverts if it wasn't, either by bubbling the\\n     * revert reason or with a default {Errors.FailedCall} error.\\n     */\\n    function verifyCallResult(bool success, bytes memory returndata) internal pure returns (bytes memory) {\\n        if (success) {\\n            return returndata;\\n        } else if (returndata.length > 0) {\\n            LowLevelCall.bubbleRevert(returndata);\\n        } else {\\n            revert Errors.FailedCall();\\n        }\\n    }\\n}\\n\",\"keccak256\":\"0x0fa9e0d3a859900b5a46f70a03c73adf259603d5e05027a37fe0b45529d85346\",\"license\":\"MIT\"},\"node_modules/@openzeppelin/contracts/utils/Errors.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/Errors.sol)\\n\\npragma solidity ^0.8.20;\\n\\n/**\\n * @dev Collection of common custom errors used in multiple contracts\\n *\\n * IMPORTANT: Backwards compatibility is not guaranteed in future versions of the library.\\n * It is recommended to avoid relying on the error API for critical functionality.\\n *\\n * _Available since v5.1._\\n */\\nlibrary Errors {\\n    /**\\n     * @dev The ETH balance of the account is not enough to perform the operation.\\n     */\\n    error InsufficientBalance(uint256 balance, uint256 needed);\\n\\n    /**\\n     * @dev A call to an address target failed. The target may have reverted.\\n     */\\n    error FailedCall();\\n\\n    /**\\n     * @dev The deployment failed.\\n     */\\n    error FailedDeployment();\\n\\n    /**\\n     * @dev A necessary precompile is missing.\\n     */\\n    error MissingPrecompile(address);\\n}\\n\",\"keccak256\":\"0x6afa713bfd42cf0f7656efa91201007ac465e42049d7de1d50753a373648c123\",\"license\":\"MIT\"},\"node_modules/@openzeppelin/contracts/utils/LowLevelCall.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.6.0) (utils/LowLevelCall.sol)\\n\\npragma solidity ^0.8.20;\\n\\n/**\\n * @dev Library of low level call functions that implement different calling strategies to deal with the return data.\\n *\\n * WARNING: Using this library requires an advanced understanding of Solidity and how the EVM works. It is recommended\\n * to use the {Address} library instead.\\n */\\nlibrary LowLevelCall {\\n    /// @dev Performs a Solidity function call using a low level `call` and ignoring the return data.\\n    function callNoReturn(address target, bytes memory data) internal returns (bool success) {\\n        return callNoReturn(target, 0, data);\\n    }\\n\\n    /// @dev Same as {callNoReturn-address-bytes}, but allows specifying the value to be sent in the call.\\n    function callNoReturn(address target, uint256 value, bytes memory data) internal returns (bool success) {\\n        assembly (\\\"memory-safe\\\") {\\n            success := call(gas(), target, value, add(data, 0x20), mload(data), 0x00, 0x00)\\n        }\\n    }\\n\\n    /// @dev Performs a Solidity function call using a low level `call` and returns the first 64 bytes of the result\\n    /// in the scratch space of memory. Useful for functions that return a tuple with two single-word values.\\n    ///\\n    /// WARNING: Do not assume that the results are zero if `success` is false. Memory can be already allocated\\n    /// and this function doesn't zero it out.\\n    function callReturn64Bytes(\\n        address target,\\n        bytes memory data\\n    ) internal returns (bool success, bytes32 result1, bytes32 result2) {\\n        return callReturn64Bytes(target, 0, data);\\n    }\\n\\n    /// @dev Same as {callReturn64Bytes-address-bytes}, but allows specifying the value to be sent in the call.\\n    function callReturn64Bytes(\\n        address target,\\n        uint256 value,\\n        bytes memory data\\n    ) internal returns (bool success, bytes32 result1, bytes32 result2) {\\n        assembly (\\\"memory-safe\\\") {\\n            success := call(gas(), target, value, add(data, 0x20), mload(data), 0x00, 0x40)\\n            result1 := mload(0x00)\\n            result2 := mload(0x20)\\n        }\\n    }\\n\\n    /// @dev Performs a Solidity function call using a low level `staticcall` and ignoring the return data.\\n    function staticcallNoReturn(address target, bytes memory data) internal view returns (bool success) {\\n        assembly (\\\"memory-safe\\\") {\\n            success := staticcall(gas(), target, add(data, 0x20), mload(data), 0x00, 0x00)\\n        }\\n    }\\n\\n    /// @dev Performs a Solidity function call using a low level `staticcall` and returns the first 64 bytes of the result\\n    /// in the scratch space of memory. Useful for functions that return a tuple with two single-word values.\\n    ///\\n    /// WARNING: Do not assume that the results are zero if `success` is false. Memory can be already allocated\\n    /// and this function doesn't zero it out.\\n    function staticcallReturn64Bytes(\\n        address target,\\n        bytes memory data\\n    ) internal view returns (bool success, bytes32 result1, bytes32 result2) {\\n        assembly (\\\"memory-safe\\\") {\\n            success := staticcall(gas(), target, add(data, 0x20), mload(data), 0x00, 0x40)\\n            result1 := mload(0x00)\\n            result2 := mload(0x20)\\n        }\\n    }\\n\\n    /// @dev Performs a Solidity function call using a low level `delegatecall` and ignoring the return data.\\n    function delegatecallNoReturn(address target, bytes memory data) internal returns (bool success) {\\n        assembly (\\\"memory-safe\\\") {\\n            success := delegatecall(gas(), target, add(data, 0x20), mload(data), 0x00, 0x00)\\n        }\\n    }\\n\\n    /// @dev Performs a Solidity function call using a low level `delegatecall` and returns the first 64 bytes of the result\\n    /// in the scratch space of memory. Useful for functions that return a tuple with two single-word values.\\n    ///\\n    /// WARNING: Do not assume that the results are zero if `success` is false. Memory can be already allocated\\n    /// and this function doesn't zero it out.\\n    function delegatecallReturn64Bytes(\\n        address target,\\n        bytes memory data\\n    ) internal returns (bool success, bytes32 result1, bytes32 result2) {\\n        assembly (\\\"memory-safe\\\") {\\n            success := delegatecall(gas(), target, add(data, 0x20), mload(data), 0x00, 0x40)\\n            result1 := mload(0x00)\\n            result2 := mload(0x20)\\n        }\\n    }\\n\\n    /// @dev Returns the size of the return data buffer.\\n    function returnDataSize() internal pure returns (uint256 size) {\\n        assembly (\\\"memory-safe\\\") {\\n            size := returndatasize()\\n        }\\n    }\\n\\n    /// @dev Returns a buffer containing the return data from the last call.\\n    function returnData() internal pure returns (bytes memory result) {\\n        assembly (\\\"memory-safe\\\") {\\n            result := mload(0x40)\\n            mstore(result, returndatasize())\\n            returndatacopy(add(result, 0x20), 0x00, returndatasize())\\n            mstore(0x40, add(result, add(0x20, returndatasize())))\\n        }\\n    }\\n\\n    /// @dev Revert with the return data from the last call.\\n    function bubbleRevert() internal pure {\\n        assembly (\\\"memory-safe\\\") {\\n            let fmp := mload(0x40)\\n            returndatacopy(fmp, 0x00, returndatasize())\\n            revert(fmp, returndatasize())\\n        }\\n    }\\n\\n    function bubbleRevert(bytes memory returndata) internal pure {\\n        assembly (\\\"memory-safe\\\") {\\n            revert(add(returndata, 0x20), mload(returndata))\\n        }\\n    }\\n}\\n\",\"keccak256\":\"0x6ba3db1346fc75a832aa6cd075e12f6f1fa172fa2122a020f324c319fe5be75e\",\"license\":\"MIT\"},\"node_modules/@openzeppelin/contracts/utils/ReentrancyGuard.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.5.0) (utils/ReentrancyGuard.sol)\\n\\npragma solidity ^0.8.20;\\n\\nimport {StorageSlot} from \\\"./StorageSlot.sol\\\";\\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 EIP-1153 (transient storage) is available on the chain you're deploying at,\\n * consider using {ReentrancyGuardTransient} instead.\\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 *\\n * IMPORTANT: Deprecated. This storage-based reentrancy guard will be removed and replaced\\n * by the {ReentrancyGuardTransient} variant in v6.0.\\n *\\n * @custom:stateless\\n */\\nabstract contract ReentrancyGuard {\\n    using StorageSlot for bytes32;\\n\\n    // keccak256(abi.encode(uint256(keccak256(\\\"openzeppelin.storage.ReentrancyGuard\\\")) - 1)) & ~bytes32(uint256(0xff))\\n    bytes32 private constant REENTRANCY_GUARD_STORAGE =\\n        0x9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00;\\n\\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    /**\\n     * @dev Unauthorized reentrant call.\\n     */\\n    error ReentrancyGuardReentrantCall();\\n\\n    constructor() {\\n        _reentrancyGuardStorageSlot().getUint256Slot().value = 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 making it call a\\n     * `private` function that does the actual work.\\n     */\\n    modifier nonReentrant() {\\n        _nonReentrantBefore();\\n        _;\\n        _nonReentrantAfter();\\n    }\\n\\n    /**\\n     * @dev A `view` only version of {nonReentrant}. Use to block view functions\\n     * from being called, preventing reading from inconsistent contract state.\\n     *\\n     * CAUTION: This is a \\\"view\\\" modifier and does not change the reentrancy\\n     * status. Use it only on view functions. For payable or non-payable functions,\\n     * use the standard {nonReentrant} modifier instead.\\n     */\\n    modifier nonReentrantView() {\\n        _nonReentrantBeforeView();\\n        _;\\n    }\\n\\n    function _nonReentrantBeforeView() private view {\\n        if (_reentrancyGuardEntered()) {\\n            revert ReentrancyGuardReentrantCall();\\n        }\\n    }\\n\\n    function _nonReentrantBefore() private {\\n        // On the first call to nonReentrant, _status will be NOT_ENTERED\\n        _nonReentrantBeforeView();\\n\\n        // Any calls to nonReentrant after this point will fail\\n        _reentrancyGuardStorageSlot().getUint256Slot().value = ENTERED;\\n    }\\n\\n    function _nonReentrantAfter() private {\\n        // By storing the original value once again, a refund is triggered (see\\n        // https://eips.ethereum.org/EIPS/eip-2200)\\n        _reentrancyGuardStorageSlot().getUint256Slot().value = NOT_ENTERED;\\n    }\\n\\n    /**\\n     * @dev Returns true if the reentrancy guard is currently set to \\\"entered\\\", which indicates there is a\\n     * `nonReentrant` function in the call stack.\\n     */\\n    function _reentrancyGuardEntered() internal view returns (bool) {\\n        return _reentrancyGuardStorageSlot().getUint256Slot().value == ENTERED;\\n    }\\n\\n    function _reentrancyGuardStorageSlot() internal pure virtual returns (bytes32) {\\n        return REENTRANCY_GUARD_STORAGE;\\n    }\\n}\\n\",\"keccak256\":\"0xa516cbf1c7d15d3517c2d668601ce016c54395bf5171918a14e2686977465f53\",\"license\":\"MIT\"},\"node_modules/@openzeppelin/contracts/utils/StorageSlot.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/StorageSlot.sol)\\n// This file was procedurally generated from scripts/generate/templates/StorageSlot.js.\\n\\npragma solidity ^0.8.20;\\n\\n/**\\n * @dev Library for reading and writing primitive types to specific storage slots.\\n *\\n * Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.\\n * This library helps with reading and writing to such slots without the need for inline assembly.\\n *\\n * The functions in this library return Slot structs that contain a `value` member that can be used to read or write.\\n *\\n * Example usage to set ERC-1967 implementation slot:\\n * ```solidity\\n * contract ERC1967 {\\n *     // Define the slot. Alternatively, use the SlotDerivation library to derive the slot.\\n *     bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;\\n *\\n *     function _getImplementation() internal view returns (address) {\\n *         return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;\\n *     }\\n *\\n *     function _setImplementation(address newImplementation) internal {\\n *         require(newImplementation.code.length > 0);\\n *         StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;\\n *     }\\n * }\\n * ```\\n *\\n * TIP: Consider using this library along with {SlotDerivation}.\\n */\\nlibrary StorageSlot {\\n    struct AddressSlot {\\n        address value;\\n    }\\n\\n    struct BooleanSlot {\\n        bool value;\\n    }\\n\\n    struct Bytes32Slot {\\n        bytes32 value;\\n    }\\n\\n    struct Uint256Slot {\\n        uint256 value;\\n    }\\n\\n    struct Int256Slot {\\n        int256 value;\\n    }\\n\\n    struct StringSlot {\\n        string value;\\n    }\\n\\n    struct BytesSlot {\\n        bytes value;\\n    }\\n\\n    /**\\n     * @dev Returns an `AddressSlot` with member `value` located at `slot`.\\n     */\\n    function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) {\\n        assembly (\\\"memory-safe\\\") {\\n            r.slot := slot\\n        }\\n    }\\n\\n    /**\\n     * @dev Returns a `BooleanSlot` with member `value` located at `slot`.\\n     */\\n    function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) {\\n        assembly (\\\"memory-safe\\\") {\\n            r.slot := slot\\n        }\\n    }\\n\\n    /**\\n     * @dev Returns a `Bytes32Slot` with member `value` located at `slot`.\\n     */\\n    function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) {\\n        assembly (\\\"memory-safe\\\") {\\n            r.slot := slot\\n        }\\n    }\\n\\n    /**\\n     * @dev Returns a `Uint256Slot` with member `value` located at `slot`.\\n     */\\n    function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) {\\n        assembly (\\\"memory-safe\\\") {\\n            r.slot := slot\\n        }\\n    }\\n\\n    /**\\n     * @dev Returns a `Int256Slot` with member `value` located at `slot`.\\n     */\\n    function getInt256Slot(bytes32 slot) internal pure returns (Int256Slot storage r) {\\n        assembly (\\\"memory-safe\\\") {\\n            r.slot := slot\\n        }\\n    }\\n\\n    /**\\n     * @dev Returns a `StringSlot` with member `value` located at `slot`.\\n     */\\n    function getStringSlot(bytes32 slot) internal pure returns (StringSlot storage r) {\\n        assembly (\\\"memory-safe\\\") {\\n            r.slot := slot\\n        }\\n    }\\n\\n    /**\\n     * @dev Returns an `StringSlot` representation of the string storage pointer `store`.\\n     */\\n    function getStringSlot(string storage store) internal pure returns (StringSlot storage r) {\\n        assembly (\\\"memory-safe\\\") {\\n            r.slot := store.slot\\n        }\\n    }\\n\\n    /**\\n     * @dev Returns a `BytesSlot` with member `value` located at `slot`.\\n     */\\n    function getBytesSlot(bytes32 slot) internal pure returns (BytesSlot storage r) {\\n        assembly (\\\"memory-safe\\\") {\\n            r.slot := slot\\n        }\\n    }\\n\\n    /**\\n     * @dev Returns an `BytesSlot` representation of the bytes storage pointer `store`.\\n     */\\n    function getBytesSlot(bytes storage store) internal pure returns (BytesSlot storage r) {\\n        assembly (\\\"memory-safe\\\") {\\n            r.slot := store.slot\\n        }\\n    }\\n}\\n\",\"keccak256\":\"0xcf74f855663ce2ae00ed8352666b7935f6cddea2932fdf2c3ecd30a9b1cd0e97\",\"license\":\"MIT\"},\"node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v5.4.0) (utils/introspection/IERC165.sol)\\n\\npragma solidity >=0.4.16;\\n\\n/**\\n * @dev Interface of the ERC-165 standard, as defined in the\\n * https://eips.ethereum.org/EIPS/eip-165[ERC].\\n *\\n * Implementers can declare support of contract interfaces, which can then be\\n * queried by others ({ERC165Checker}).\\n *\\n * For an implementation, see {ERC165}.\\n */\\ninterface IERC165 {\\n    /**\\n     * @dev Returns true if this contract implements the interface defined by\\n     * `interfaceId`. See the corresponding\\n     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[ERC section]\\n     * to learn more about how these ids are created.\\n     *\\n     * This function call must use less than 30 000 gas.\\n     */\\n    function supportsInterface(bytes4 interfaceId) external view returns (bool);\\n}\\n\",\"keccak256\":\"0x8891738ffe910f0cf2da09566928589bf5d63f4524dd734fd9cedbac3274dd5c\",\"license\":\"MIT\"},\"node_modules/@uniswap/v3-core/contracts/interfaces/IUniswapV3Factory.sol\":{\"content\":\"// SPDX-License-Identifier: GPL-2.0-or-later\\npragma solidity >=0.5.0;\\n\\n/// @title The interface for the Uniswap V3 Factory\\n/// @notice The Uniswap V3 Factory facilitates creation of Uniswap V3 pools and control over the protocol fees\\ninterface IUniswapV3Factory {\\n    /// @notice Emitted when the owner of the factory is changed\\n    /// @param oldOwner The owner before the owner was changed\\n    /// @param newOwner The owner after the owner was changed\\n    event OwnerChanged(address indexed oldOwner, address indexed newOwner);\\n\\n    /// @notice Emitted when a pool is created\\n    /// @param token0 The first token of the pool by address sort order\\n    /// @param token1 The second token of the pool by address sort order\\n    /// @param fee The fee collected upon every swap in the pool, denominated in hundredths of a bip\\n    /// @param tickSpacing The minimum number of ticks between initialized ticks\\n    /// @param pool The address of the created pool\\n    event PoolCreated(\\n        address indexed token0,\\n        address indexed token1,\\n        uint24 indexed fee,\\n        int24 tickSpacing,\\n        address pool\\n    );\\n\\n    /// @notice Emitted when a new fee amount is enabled for pool creation via the factory\\n    /// @param fee The enabled fee, denominated in hundredths of a bip\\n    /// @param tickSpacing The minimum number of ticks between initialized ticks for pools created with the given fee\\n    event FeeAmountEnabled(uint24 indexed fee, int24 indexed tickSpacing);\\n\\n    /// @notice Returns the current owner of the factory\\n    /// @dev Can be changed by the current owner via setOwner\\n    /// @return The address of the factory owner\\n    function owner() external view returns (address);\\n\\n    /// @notice Returns the tick spacing for a given fee amount, if enabled, or 0 if not enabled\\n    /// @dev A fee amount can never be removed, so this value should be hard coded or cached in the calling context\\n    /// @param fee The enabled fee, denominated in hundredths of a bip. Returns 0 in case of unenabled fee\\n    /// @return The tick spacing\\n    function feeAmountTickSpacing(uint24 fee) external view returns (int24);\\n\\n    /// @notice Returns the pool address for a given pair of tokens and a fee, or address 0 if it does not exist\\n    /// @dev tokenA and tokenB may be passed in either token0/token1 or token1/token0 order\\n    /// @param tokenA The contract address of either token0 or token1\\n    /// @param tokenB The contract address of the other token\\n    /// @param fee The fee collected upon every swap in the pool, denominated in hundredths of a bip\\n    /// @return pool The pool address\\n    function getPool(\\n        address tokenA,\\n        address tokenB,\\n        uint24 fee\\n    ) external view returns (address pool);\\n\\n    /// @notice Creates a pool for the given two tokens and fee\\n    /// @param tokenA One of the two tokens in the desired pool\\n    /// @param tokenB The other of the two tokens in the desired pool\\n    /// @param fee The desired fee for the pool\\n    /// @dev tokenA and tokenB may be passed in either order: token0/token1 or token1/token0. tickSpacing is retrieved\\n    /// from the fee. The call will revert if the pool already exists, the fee is invalid, or the token arguments\\n    /// are invalid.\\n    /// @return pool The address of the newly created pool\\n    function createPool(\\n        address tokenA,\\n        address tokenB,\\n        uint24 fee\\n    ) external returns (address pool);\\n\\n    /// @notice Updates the owner of the factory\\n    /// @dev Must be called by the current owner\\n    /// @param _owner The new owner of the factory\\n    function setOwner(address _owner) external;\\n\\n    /// @notice Enables a fee amount with the given tickSpacing\\n    /// @dev Fee amounts may never be removed once enabled\\n    /// @param fee The fee amount to enable, denominated in hundredths of a bip (i.e. 1e-6)\\n    /// @param tickSpacing The spacing between ticks to be enforced for all pools created with the given fee amount\\n    function enableFeeAmount(uint24 fee, int24 tickSpacing) external;\\n}\\n\",\"keccak256\":\"0xcc3d0c93fc9ac0febbe09f941b465b57f750bcf3b48432da0b97dc289cfdc489\",\"license\":\"GPL-2.0-or-later\"},\"node_modules/@uniswap/v3-core/contracts/interfaces/IUniswapV3Pool.sol\":{\"content\":\"// SPDX-License-Identifier: GPL-2.0-or-later\\npragma solidity >=0.5.0;\\n\\nimport './pool/IUniswapV3PoolImmutables.sol';\\nimport './pool/IUniswapV3PoolState.sol';\\nimport './pool/IUniswapV3PoolDerivedState.sol';\\nimport './pool/IUniswapV3PoolActions.sol';\\nimport './pool/IUniswapV3PoolOwnerActions.sol';\\nimport './pool/IUniswapV3PoolEvents.sol';\\n\\n/// @title The interface for a Uniswap V3 Pool\\n/// @notice A Uniswap pool facilitates swapping and automated market making between any two assets that strictly conform\\n/// to the ERC20 specification\\n/// @dev The pool interface is broken up into many smaller pieces\\ninterface IUniswapV3Pool is\\n    IUniswapV3PoolImmutables,\\n    IUniswapV3PoolState,\\n    IUniswapV3PoolDerivedState,\\n    IUniswapV3PoolActions,\\n    IUniswapV3PoolOwnerActions,\\n    IUniswapV3PoolEvents\\n{\\n\\n}\\n\",\"keccak256\":\"0xfe6113d518466cd6652c85b111e01f33eb62157f49ae5ed7d5a3947a2044adb1\",\"license\":\"GPL-2.0-or-later\"},\"node_modules/@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolActions.sol\":{\"content\":\"// SPDX-License-Identifier: GPL-2.0-or-later\\npragma solidity >=0.5.0;\\n\\n/// @title Permissionless pool actions\\n/// @notice Contains pool methods that can be called by anyone\\ninterface IUniswapV3PoolActions {\\n    /// @notice Sets the initial price for the pool\\n    /// @dev Price is represented as a sqrt(amountToken1/amountToken0) Q64.96 value\\n    /// @param sqrtPriceX96 the initial sqrt price of the pool as a Q64.96\\n    function initialize(uint160 sqrtPriceX96) external;\\n\\n    /// @notice Adds liquidity for the given recipient/tickLower/tickUpper position\\n    /// @dev The caller of this method receives a callback in the form of IUniswapV3MintCallback#uniswapV3MintCallback\\n    /// in which they must pay any token0 or token1 owed for the liquidity. The amount of token0/token1 due depends\\n    /// on tickLower, tickUpper, the amount of liquidity, and the current price.\\n    /// @param recipient The address for which the liquidity will be created\\n    /// @param tickLower The lower tick of the position in which to add liquidity\\n    /// @param tickUpper The upper tick of the position in which to add liquidity\\n    /// @param amount The amount of liquidity to mint\\n    /// @param data Any data that should be passed through to the callback\\n    /// @return amount0 The amount of token0 that was paid to mint the given amount of liquidity. Matches the value in the callback\\n    /// @return amount1 The amount of token1 that was paid to mint the given amount of liquidity. Matches the value in the callback\\n    function mint(\\n        address recipient,\\n        int24 tickLower,\\n        int24 tickUpper,\\n        uint128 amount,\\n        bytes calldata data\\n    ) external returns (uint256 amount0, uint256 amount1);\\n\\n    /// @notice Collects tokens owed to a position\\n    /// @dev Does not recompute fees earned, which must be done either via mint or burn of any amount of liquidity.\\n    /// Collect must be called by the position owner. To withdraw only token0 or only token1, amount0Requested or\\n    /// amount1Requested may be set to zero. To withdraw all tokens owed, caller may pass any value greater than the\\n    /// actual tokens owed, e.g. type(uint128).max. Tokens owed may be from accumulated swap fees or burned liquidity.\\n    /// @param recipient The address which should receive the fees collected\\n    /// @param tickLower The lower tick of the position for which to collect fees\\n    /// @param tickUpper The upper tick of the position for which to collect fees\\n    /// @param amount0Requested How much token0 should be withdrawn from the fees owed\\n    /// @param amount1Requested How much token1 should be withdrawn from the fees owed\\n    /// @return amount0 The amount of fees collected in token0\\n    /// @return amount1 The amount of fees collected in token1\\n    function collect(\\n        address recipient,\\n        int24 tickLower,\\n        int24 tickUpper,\\n        uint128 amount0Requested,\\n        uint128 amount1Requested\\n    ) external returns (uint128 amount0, uint128 amount1);\\n\\n    /// @notice Burn liquidity from the sender and account tokens owed for the liquidity to the position\\n    /// @dev Can be used to trigger a recalculation of fees owed to a position by calling with an amount of 0\\n    /// @dev Fees must be collected separately via a call to #collect\\n    /// @param tickLower The lower tick of the position for which to burn liquidity\\n    /// @param tickUpper The upper tick of the position for which to burn liquidity\\n    /// @param amount How much liquidity to burn\\n    /// @return amount0 The amount of token0 sent to the recipient\\n    /// @return amount1 The amount of token1 sent to the recipient\\n    function burn(\\n        int24 tickLower,\\n        int24 tickUpper,\\n        uint128 amount\\n    ) external returns (uint256 amount0, uint256 amount1);\\n\\n    /// @notice Swap token0 for token1, or token1 for token0\\n    /// @dev The caller of this method receives a callback in the form of IUniswapV3SwapCallback#uniswapV3SwapCallback\\n    /// @param recipient The address to receive the output of the swap\\n    /// @param zeroForOne The direction of the swap, true for token0 to token1, false for token1 to token0\\n    /// @param amountSpecified The amount of the swap, which implicitly configures the swap as exact input (positive), or exact output (negative)\\n    /// @param sqrtPriceLimitX96 The Q64.96 sqrt price limit. If zero for one, the price cannot be less than this\\n    /// value after the swap. If one for zero, the price cannot be greater than this value after the swap\\n    /// @param data Any data to be passed through to the callback\\n    /// @return amount0 The delta of the balance of token0 of the pool, exact when negative, minimum when positive\\n    /// @return amount1 The delta of the balance of token1 of the pool, exact when negative, minimum when positive\\n    function swap(\\n        address recipient,\\n        bool zeroForOne,\\n        int256 amountSpecified,\\n        uint160 sqrtPriceLimitX96,\\n        bytes calldata data\\n    ) external returns (int256 amount0, int256 amount1);\\n\\n    /// @notice Receive token0 and/or token1 and pay it back, plus a fee, in the callback\\n    /// @dev The caller of this method receives a callback in the form of IUniswapV3FlashCallback#uniswapV3FlashCallback\\n    /// @dev Can be used to donate underlying tokens pro-rata to currently in-range liquidity providers by calling\\n    /// with 0 amount{0,1} and sending the donation amount(s) from the callback\\n    /// @param recipient The address which will receive the token0 and token1 amounts\\n    /// @param amount0 The amount of token0 to send\\n    /// @param amount1 The amount of token1 to send\\n    /// @param data Any data to be passed through to the callback\\n    function flash(\\n        address recipient,\\n        uint256 amount0,\\n        uint256 amount1,\\n        bytes calldata data\\n    ) external;\\n\\n    /// @notice Increase the maximum number of price and liquidity observations that this pool will store\\n    /// @dev This method is no-op if the pool already has an observationCardinalityNext greater than or equal to\\n    /// the input observationCardinalityNext.\\n    /// @param observationCardinalityNext The desired minimum number of observations for the pool to store\\n    function increaseObservationCardinalityNext(uint16 observationCardinalityNext) external;\\n}\\n\",\"keccak256\":\"0x9453dd0e7442188667d01d9b65de3f1e14e9511ff3e303179a15f6fc267f7634\",\"license\":\"GPL-2.0-or-later\"},\"node_modules/@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolDerivedState.sol\":{\"content\":\"// SPDX-License-Identifier: GPL-2.0-or-later\\npragma solidity >=0.5.0;\\n\\n/// @title Pool state that is not stored\\n/// @notice Contains view functions to provide information about the pool that is computed rather than stored on the\\n/// blockchain. The functions here may have variable gas costs.\\ninterface IUniswapV3PoolDerivedState {\\n    /// @notice Returns the cumulative tick and liquidity as of each timestamp `secondsAgo` from the current block timestamp\\n    /// @dev To get a time weighted average tick or liquidity-in-range, you must call this with two values, one representing\\n    /// the beginning of the period and another for the end of the period. E.g., to get the last hour time-weighted average tick,\\n    /// you must call it with secondsAgos = [3600, 0].\\n    /// @dev The time weighted average tick represents the geometric time weighted average price of the pool, in\\n    /// log base sqrt(1.0001) of token1 / token0. The TickMath library can be used to go from a tick value to a ratio.\\n    /// @param secondsAgos From how long ago each cumulative tick and liquidity value should be returned\\n    /// @return tickCumulatives Cumulative tick values as of each `secondsAgos` from the current block timestamp\\n    /// @return secondsPerLiquidityCumulativeX128s Cumulative seconds per liquidity-in-range value as of each `secondsAgos` from the current block\\n    /// timestamp\\n    function observe(uint32[] calldata secondsAgos)\\n        external\\n        view\\n        returns (int56[] memory tickCumulatives, uint160[] memory secondsPerLiquidityCumulativeX128s);\\n\\n    /// @notice Returns a snapshot of the tick cumulative, seconds per liquidity and seconds inside a tick range\\n    /// @dev Snapshots must only be compared to other snapshots, taken over a period for which a position existed.\\n    /// I.e., snapshots cannot be compared if a position is not held for the entire period between when the first\\n    /// snapshot is taken and the second snapshot is taken.\\n    /// @param tickLower The lower tick of the range\\n    /// @param tickUpper The upper tick of the range\\n    /// @return tickCumulativeInside The snapshot of the tick accumulator for the range\\n    /// @return secondsPerLiquidityInsideX128 The snapshot of seconds per liquidity for the range\\n    /// @return secondsInside The snapshot of seconds per liquidity for the range\\n    function snapshotCumulativesInside(int24 tickLower, int24 tickUpper)\\n        external\\n        view\\n        returns (\\n            int56 tickCumulativeInside,\\n            uint160 secondsPerLiquidityInsideX128,\\n            uint32 secondsInside\\n        );\\n}\\n\",\"keccak256\":\"0xe603ac5b17ecdee73ba2b27efdf386c257a19c14206e87eee77e2017b742d9e5\",\"license\":\"GPL-2.0-or-later\"},\"node_modules/@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolEvents.sol\":{\"content\":\"// SPDX-License-Identifier: GPL-2.0-or-later\\npragma solidity >=0.5.0;\\n\\n/// @title Events emitted by a pool\\n/// @notice Contains all events emitted by the pool\\ninterface IUniswapV3PoolEvents {\\n    /// @notice Emitted exactly once by a pool when #initialize is first called on the pool\\n    /// @dev Mint/Burn/Swap cannot be emitted by the pool before Initialize\\n    /// @param sqrtPriceX96 The initial sqrt price of the pool, as a Q64.96\\n    /// @param tick The initial tick of the pool, i.e. log base 1.0001 of the starting price of the pool\\n    event Initialize(uint160 sqrtPriceX96, int24 tick);\\n\\n    /// @notice Emitted when liquidity is minted for a given position\\n    /// @param sender The address that minted the liquidity\\n    /// @param owner The owner of the position and recipient of any minted liquidity\\n    /// @param tickLower The lower tick of the position\\n    /// @param tickUpper The upper tick of the position\\n    /// @param amount The amount of liquidity minted to the position range\\n    /// @param amount0 How much token0 was required for the minted liquidity\\n    /// @param amount1 How much token1 was required for the minted liquidity\\n    event Mint(\\n        address sender,\\n        address indexed owner,\\n        int24 indexed tickLower,\\n        int24 indexed tickUpper,\\n        uint128 amount,\\n        uint256 amount0,\\n        uint256 amount1\\n    );\\n\\n    /// @notice Emitted when fees are collected by the owner of a position\\n    /// @dev Collect events may be emitted with zero amount0 and amount1 when the caller chooses not to collect fees\\n    /// @param owner The owner of the position for which fees are collected\\n    /// @param tickLower The lower tick of the position\\n    /// @param tickUpper The upper tick of the position\\n    /// @param amount0 The amount of token0 fees collected\\n    /// @param amount1 The amount of token1 fees collected\\n    event Collect(\\n        address indexed owner,\\n        address recipient,\\n        int24 indexed tickLower,\\n        int24 indexed tickUpper,\\n        uint128 amount0,\\n        uint128 amount1\\n    );\\n\\n    /// @notice Emitted when a position's liquidity is removed\\n    /// @dev Does not withdraw any fees earned by the liquidity position, which must be withdrawn via #collect\\n    /// @param owner The owner of the position for which liquidity is removed\\n    /// @param tickLower The lower tick of the position\\n    /// @param tickUpper The upper tick of the position\\n    /// @param amount The amount of liquidity to remove\\n    /// @param amount0 The amount of token0 withdrawn\\n    /// @param amount1 The amount of token1 withdrawn\\n    event Burn(\\n        address indexed owner,\\n        int24 indexed tickLower,\\n        int24 indexed tickUpper,\\n        uint128 amount,\\n        uint256 amount0,\\n        uint256 amount1\\n    );\\n\\n    /// @notice Emitted by the pool for any swaps between token0 and token1\\n    /// @param sender The address that initiated the swap call, and that received the callback\\n    /// @param recipient The address that received the output of the swap\\n    /// @param amount0 The delta of the token0 balance of the pool\\n    /// @param amount1 The delta of the token1 balance of the pool\\n    /// @param sqrtPriceX96 The sqrt(price) of the pool after the swap, as a Q64.96\\n    /// @param liquidity The liquidity of the pool after the swap\\n    /// @param tick The log base 1.0001 of price of the pool after the swap\\n    event Swap(\\n        address indexed sender,\\n        address indexed recipient,\\n        int256 amount0,\\n        int256 amount1,\\n        uint160 sqrtPriceX96,\\n        uint128 liquidity,\\n        int24 tick\\n    );\\n\\n    /// @notice Emitted by the pool for any flashes of token0/token1\\n    /// @param sender The address that initiated the swap call, and that received the callback\\n    /// @param recipient The address that received the tokens from flash\\n    /// @param amount0 The amount of token0 that was flashed\\n    /// @param amount1 The amount of token1 that was flashed\\n    /// @param paid0 The amount of token0 paid for the flash, which can exceed the amount0 plus the fee\\n    /// @param paid1 The amount of token1 paid for the flash, which can exceed the amount1 plus the fee\\n    event Flash(\\n        address indexed sender,\\n        address indexed recipient,\\n        uint256 amount0,\\n        uint256 amount1,\\n        uint256 paid0,\\n        uint256 paid1\\n    );\\n\\n    /// @notice Emitted by the pool for increases to the number of observations that can be stored\\n    /// @dev observationCardinalityNext is not the observation cardinality until an observation is written at the index\\n    /// just before a mint/swap/burn.\\n    /// @param observationCardinalityNextOld The previous value of the next observation cardinality\\n    /// @param observationCardinalityNextNew The updated value of the next observation cardinality\\n    event IncreaseObservationCardinalityNext(\\n        uint16 observationCardinalityNextOld,\\n        uint16 observationCardinalityNextNew\\n    );\\n\\n    /// @notice Emitted when the protocol fee is changed by the pool\\n    /// @param feeProtocol0Old The previous value of the token0 protocol fee\\n    /// @param feeProtocol1Old The previous value of the token1 protocol fee\\n    /// @param feeProtocol0New The updated value of the token0 protocol fee\\n    /// @param feeProtocol1New The updated value of the token1 protocol fee\\n    event SetFeeProtocol(uint8 feeProtocol0Old, uint8 feeProtocol1Old, uint8 feeProtocol0New, uint8 feeProtocol1New);\\n\\n    /// @notice Emitted when the collected protocol fees are withdrawn by the factory owner\\n    /// @param sender The address that collects the protocol fees\\n    /// @param recipient The address that receives the collected protocol fees\\n    /// @param amount0 The amount of token0 protocol fees that is withdrawn\\n    /// @param amount0 The amount of token1 protocol fees that is withdrawn\\n    event CollectProtocol(address indexed sender, address indexed recipient, uint128 amount0, uint128 amount1);\\n}\\n\",\"keccak256\":\"0x8071514d0fe5d17d6fbd31c191cdfb703031c24e0ece3621d88ab10e871375cd\",\"license\":\"GPL-2.0-or-later\"},\"node_modules/@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolImmutables.sol\":{\"content\":\"// SPDX-License-Identifier: GPL-2.0-or-later\\npragma solidity >=0.5.0;\\n\\n/// @title Pool state that never changes\\n/// @notice These parameters are fixed for a pool forever, i.e., the methods will always return the same values\\ninterface IUniswapV3PoolImmutables {\\n    /// @notice The contract that deployed the pool, which must adhere to the IUniswapV3Factory interface\\n    /// @return The contract address\\n    function factory() external view returns (address);\\n\\n    /// @notice The first of the two tokens of the pool, sorted by address\\n    /// @return The token contract address\\n    function token0() external view returns (address);\\n\\n    /// @notice The second of the two tokens of the pool, sorted by address\\n    /// @return The token contract address\\n    function token1() external view returns (address);\\n\\n    /// @notice The pool's fee in hundredths of a bip, i.e. 1e-6\\n    /// @return The fee\\n    function fee() external view returns (uint24);\\n\\n    /// @notice The pool tick spacing\\n    /// @dev Ticks can only be used at multiples of this value, minimum of 1 and always positive\\n    /// e.g.: a tickSpacing of 3 means ticks can be initialized every 3rd tick, i.e., ..., -6, -3, 0, 3, 6, ...\\n    /// This value is an int24 to avoid casting even though it is always positive.\\n    /// @return The tick spacing\\n    function tickSpacing() external view returns (int24);\\n\\n    /// @notice The maximum amount of position liquidity that can use any tick in the range\\n    /// @dev This parameter is enforced per tick to prevent liquidity from overflowing a uint128 at any point, and\\n    /// also prevents out-of-range liquidity from being used to prevent adding in-range liquidity to a pool\\n    /// @return The max amount of liquidity per tick\\n    function maxLiquidityPerTick() external view returns (uint128);\\n}\\n\",\"keccak256\":\"0xf6e5d2cd1139c4c276bdbc8e1d2b256e456c866a91f1b868da265c6d2685c3f7\",\"license\":\"GPL-2.0-or-later\"},\"node_modules/@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolOwnerActions.sol\":{\"content\":\"// SPDX-License-Identifier: GPL-2.0-or-later\\npragma solidity >=0.5.0;\\n\\n/// @title Permissioned pool actions\\n/// @notice Contains pool methods that may only be called by the factory owner\\ninterface IUniswapV3PoolOwnerActions {\\n    /// @notice Set the denominator of the protocol's % share of the fees\\n    /// @param feeProtocol0 new protocol fee for token0 of the pool\\n    /// @param feeProtocol1 new protocol fee for token1 of the pool\\n    function setFeeProtocol(uint8 feeProtocol0, uint8 feeProtocol1) external;\\n\\n    /// @notice Collect the protocol fee accrued to the pool\\n    /// @param recipient The address to which collected protocol fees should be sent\\n    /// @param amount0Requested The maximum amount of token0 to send, can be 0 to collect fees in only token1\\n    /// @param amount1Requested The maximum amount of token1 to send, can be 0 to collect fees in only token0\\n    /// @return amount0 The protocol fee collected in token0\\n    /// @return amount1 The protocol fee collected in token1\\n    function collectProtocol(\\n        address recipient,\\n        uint128 amount0Requested,\\n        uint128 amount1Requested\\n    ) external returns (uint128 amount0, uint128 amount1);\\n}\\n\",\"keccak256\":\"0x759b78a2918af9e99e246dc3af084f654e48ef32bb4e4cb8a966aa3dcaece235\",\"license\":\"GPL-2.0-or-later\"},\"node_modules/@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolState.sol\":{\"content\":\"// SPDX-License-Identifier: GPL-2.0-or-later\\npragma solidity >=0.5.0;\\n\\n/// @title Pool state that can change\\n/// @notice These methods compose the pool's state, and can change with any frequency including multiple times\\n/// per transaction\\ninterface IUniswapV3PoolState {\\n    /// @notice The 0th storage slot in the pool stores many values, and is exposed as a single method to save gas\\n    /// when accessed externally.\\n    /// @return sqrtPriceX96 The current price of the pool as a sqrt(token1/token0) Q64.96 value\\n    /// tick The current tick of the pool, i.e. according to the last tick transition that was run.\\n    /// This value may not always be equal to SqrtTickMath.getTickAtSqrtRatio(sqrtPriceX96) if the price is on a tick\\n    /// boundary.\\n    /// observationIndex The index of the last oracle observation that was written,\\n    /// observationCardinality The current maximum number of observations stored in the pool,\\n    /// observationCardinalityNext The next maximum number of observations, to be updated when the observation.\\n    /// feeProtocol The protocol fee for both tokens of the pool.\\n    /// Encoded as two 4 bit values, where the protocol fee of token1 is shifted 4 bits and the protocol fee of token0\\n    /// is the lower 4 bits. Used as the denominator of a fraction of the swap fee, e.g. 4 means 1/4th of the swap fee.\\n    /// unlocked Whether the pool is currently locked to reentrancy\\n    function slot0()\\n        external\\n        view\\n        returns (\\n            uint160 sqrtPriceX96,\\n            int24 tick,\\n            uint16 observationIndex,\\n            uint16 observationCardinality,\\n            uint16 observationCardinalityNext,\\n            uint8 feeProtocol,\\n            bool unlocked\\n        );\\n\\n    /// @notice The fee growth as a Q128.128 fees of token0 collected per unit of liquidity for the entire life of the pool\\n    /// @dev This value can overflow the uint256\\n    function feeGrowthGlobal0X128() external view returns (uint256);\\n\\n    /// @notice The fee growth as a Q128.128 fees of token1 collected per unit of liquidity for the entire life of the pool\\n    /// @dev This value can overflow the uint256\\n    function feeGrowthGlobal1X128() external view returns (uint256);\\n\\n    /// @notice The amounts of token0 and token1 that are owed to the protocol\\n    /// @dev Protocol fees will never exceed uint128 max in either token\\n    function protocolFees() external view returns (uint128 token0, uint128 token1);\\n\\n    /// @notice The currently in range liquidity available to the pool\\n    /// @dev This value has no relationship to the total liquidity across all ticks\\n    function liquidity() external view returns (uint128);\\n\\n    /// @notice Look up information about a specific tick in the pool\\n    /// @param tick The tick to look up\\n    /// @return liquidityGross the total amount of position liquidity that uses the pool either as tick lower or\\n    /// tick upper,\\n    /// liquidityNet how much liquidity changes when the pool price crosses the tick,\\n    /// feeGrowthOutside0X128 the fee growth on the other side of the tick from the current tick in token0,\\n    /// feeGrowthOutside1X128 the fee growth on the other side of the tick from the current tick in token1,\\n    /// tickCumulativeOutside the cumulative tick value on the other side of the tick from the current tick\\n    /// secondsPerLiquidityOutsideX128 the seconds spent per liquidity on the other side of the tick from the current tick,\\n    /// secondsOutside the seconds spent on the other side of the tick from the current tick,\\n    /// initialized Set to true if the tick is initialized, i.e. liquidityGross is greater than 0, otherwise equal to false.\\n    /// Outside values can only be used if the tick is initialized, i.e. if liquidityGross is greater than 0.\\n    /// In addition, these values are only relative and must be used only in comparison to previous snapshots for\\n    /// a specific position.\\n    function ticks(int24 tick)\\n        external\\n        view\\n        returns (\\n            uint128 liquidityGross,\\n            int128 liquidityNet,\\n            uint256 feeGrowthOutside0X128,\\n            uint256 feeGrowthOutside1X128,\\n            int56 tickCumulativeOutside,\\n            uint160 secondsPerLiquidityOutsideX128,\\n            uint32 secondsOutside,\\n            bool initialized\\n        );\\n\\n    /// @notice Returns 256 packed tick initialized boolean values. See TickBitmap for more information\\n    function tickBitmap(int16 wordPosition) external view returns (uint256);\\n\\n    /// @notice Returns the information about a position by the position's key\\n    /// @param key The position's key is a hash of a preimage composed by the owner, tickLower and tickUpper\\n    /// @return _liquidity The amount of liquidity in the position,\\n    /// Returns feeGrowthInside0LastX128 fee growth of token0 inside the tick range as of the last mint/burn/poke,\\n    /// Returns feeGrowthInside1LastX128 fee growth of token1 inside the tick range as of the last mint/burn/poke,\\n    /// Returns tokensOwed0 the computed amount of token0 owed to the position as of the last mint/burn/poke,\\n    /// Returns tokensOwed1 the computed amount of token1 owed to the position as of the last mint/burn/poke\\n    function positions(bytes32 key)\\n        external\\n        view\\n        returns (\\n            uint128 _liquidity,\\n            uint256 feeGrowthInside0LastX128,\\n            uint256 feeGrowthInside1LastX128,\\n            uint128 tokensOwed0,\\n            uint128 tokensOwed1\\n        );\\n\\n    /// @notice Returns data about a specific observation index\\n    /// @param index The element of the observations array to fetch\\n    /// @dev You most likely want to use #observe() instead of this method to get an observation as of some amount of time\\n    /// ago, rather than at a specific index in the array.\\n    /// @return blockTimestamp The timestamp of the observation,\\n    /// Returns tickCumulative the tick multiplied by seconds elapsed for the life of the pool as of the observation timestamp,\\n    /// Returns secondsPerLiquidityCumulativeX128 the seconds per in range liquidity for the life of the pool as of the observation timestamp,\\n    /// Returns initialized whether the observation has been initialized and the values are safe to use\\n    function observations(uint256 index)\\n        external\\n        view\\n        returns (\\n            uint32 blockTimestamp,\\n            int56 tickCumulative,\\n            uint160 secondsPerLiquidityCumulativeX128,\\n            bool initialized\\n        );\\n}\\n\",\"keccak256\":\"0x852dc1f5df7dcf7f11e7bb3eed79f0cea72ad4b25f6a9d2c35aafb48925fd49f\",\"license\":\"GPL-2.0-or-later\"},\"node_modules/@uniswap/v4-core/src/libraries/BitMath.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/// @title BitMath\\n/// @dev This library provides functionality for computing bit properties of an unsigned integer\\n/// @author Solady (https://github.com/Vectorized/solady/blob/8200a70e8dc2a77ecb074fc2e99a2a0d36547522/src/utils/LibBit.sol)\\nlibrary BitMath {\\n    /// @notice Returns the index of the most significant bit of the number,\\n    ///     where the least significant bit is at index 0 and the most significant bit is at index 255\\n    /// @param x the value for which to compute the most significant bit, must be greater than 0\\n    /// @return r the index of the most significant bit\\n    function mostSignificantBit(uint256 x) internal pure returns (uint8 r) {\\n        require(x > 0);\\n\\n        assembly (\\\"memory-safe\\\") {\\n            r := shl(7, lt(0xffffffffffffffffffffffffffffffff, x))\\n            r := or(r, shl(6, lt(0xffffffffffffffff, shr(r, x))))\\n            r := or(r, shl(5, lt(0xffffffff, shr(r, x))))\\n            r := or(r, shl(4, lt(0xffff, shr(r, x))))\\n            r := or(r, shl(3, lt(0xff, shr(r, x))))\\n            // forgefmt: disable-next-item\\n            r := or(r, byte(and(0x1f, shr(shr(r, x), 0x8421084210842108cc6318c6db6d54be)),\\n                0x0706060506020500060203020504000106050205030304010505030400000000))\\n        }\\n    }\\n\\n    /// @notice Returns the index of the least significant bit of the number,\\n    ///     where the least significant bit is at index 0 and the most significant bit is at index 255\\n    /// @param x the value for which to compute the least significant bit, must be greater than 0\\n    /// @return r the index of the least significant bit\\n    function leastSignificantBit(uint256 x) internal pure returns (uint8 r) {\\n        require(x > 0);\\n\\n        assembly (\\\"memory-safe\\\") {\\n            // Isolate the least significant bit.\\n            x := and(x, sub(0, x))\\n            // For the upper 3 bits of the result, use a De Bruijn-like lookup.\\n            // Credit to adhusson: https://blog.adhusson.com/cheap-find-first-set-evm/\\n            // forgefmt: disable-next-item\\n            r := shl(5, shr(252, shl(shl(2, shr(250, mul(x,\\n                0xb6db6db6ddddddddd34d34d349249249210842108c6318c639ce739cffffffff))),\\n                0x8040405543005266443200005020610674053026020000107506200176117077)))\\n            // For the lower 5 bits of the result, use a De Bruijn lookup.\\n            // forgefmt: disable-next-item\\n            r := or(r, byte(and(div(0xd76453e0, shr(r, x)), 0x1f),\\n                0x001f0d1e100c1d070f090b19131c1706010e11080a1a141802121b1503160405))\\n        }\\n    }\\n}\\n\",\"keccak256\":\"0x51b9be4f5c4fd3e80cbc9631a65244a2eb2be250b6b7f128a2035080e18aee8d\",\"license\":\"MIT\"},\"node_modules/@uniswap/v4-core/src/libraries/CustomRevert.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/// @title Library for reverting with custom errors efficiently\\n/// @notice Contains functions for reverting with custom errors with different argument types efficiently\\n/// @dev To use this library, declare `using CustomRevert for bytes4;` and replace `revert CustomError()` with\\n/// `CustomError.selector.revertWith()`\\n/// @dev The functions may tamper with the free memory pointer but it is fine since the call context is exited immediately\\nlibrary CustomRevert {\\n    /// @dev ERC-7751 error for wrapping bubbled up reverts\\n    error WrappedError(address target, bytes4 selector, bytes reason, bytes details);\\n\\n    /// @dev Reverts with the selector of a custom error in the scratch space\\n    function revertWith(bytes4 selector) internal pure {\\n        assembly (\\\"memory-safe\\\") {\\n            mstore(0, selector)\\n            revert(0, 0x04)\\n        }\\n    }\\n\\n    /// @dev Reverts with a custom error with an address argument in the scratch space\\n    function revertWith(bytes4 selector, address addr) internal pure {\\n        assembly (\\\"memory-safe\\\") {\\n            mstore(0, selector)\\n            mstore(0x04, and(addr, 0xffffffffffffffffffffffffffffffffffffffff))\\n            revert(0, 0x24)\\n        }\\n    }\\n\\n    /// @dev Reverts with a custom error with an int24 argument in the scratch space\\n    function revertWith(bytes4 selector, int24 value) internal pure {\\n        assembly (\\\"memory-safe\\\") {\\n            mstore(0, selector)\\n            mstore(0x04, signextend(2, value))\\n            revert(0, 0x24)\\n        }\\n    }\\n\\n    /// @dev Reverts with a custom error with a uint160 argument in the scratch space\\n    function revertWith(bytes4 selector, uint160 value) internal pure {\\n        assembly (\\\"memory-safe\\\") {\\n            mstore(0, selector)\\n            mstore(0x04, and(value, 0xffffffffffffffffffffffffffffffffffffffff))\\n            revert(0, 0x24)\\n        }\\n    }\\n\\n    /// @dev Reverts with a custom error with two int24 arguments\\n    function revertWith(bytes4 selector, int24 value1, int24 value2) internal pure {\\n        assembly (\\\"memory-safe\\\") {\\n            let fmp := mload(0x40)\\n            mstore(fmp, selector)\\n            mstore(add(fmp, 0x04), signextend(2, value1))\\n            mstore(add(fmp, 0x24), signextend(2, value2))\\n            revert(fmp, 0x44)\\n        }\\n    }\\n\\n    /// @dev Reverts with a custom error with two uint160 arguments\\n    function revertWith(bytes4 selector, uint160 value1, uint160 value2) internal pure {\\n        assembly (\\\"memory-safe\\\") {\\n            let fmp := mload(0x40)\\n            mstore(fmp, selector)\\n            mstore(add(fmp, 0x04), and(value1, 0xffffffffffffffffffffffffffffffffffffffff))\\n            mstore(add(fmp, 0x24), and(value2, 0xffffffffffffffffffffffffffffffffffffffff))\\n            revert(fmp, 0x44)\\n        }\\n    }\\n\\n    /// @dev Reverts with a custom error with two address arguments\\n    function revertWith(bytes4 selector, address value1, address value2) internal pure {\\n        assembly (\\\"memory-safe\\\") {\\n            let fmp := mload(0x40)\\n            mstore(fmp, selector)\\n            mstore(add(fmp, 0x04), and(value1, 0xffffffffffffffffffffffffffffffffffffffff))\\n            mstore(add(fmp, 0x24), and(value2, 0xffffffffffffffffffffffffffffffffffffffff))\\n            revert(fmp, 0x44)\\n        }\\n    }\\n\\n    /// @notice bubble up the revert message returned by a call and revert with a wrapped ERC-7751 error\\n    /// @dev this method can be vulnerable to revert data bombs\\n    function bubbleUpAndRevertWith(\\n        address revertingContract,\\n        bytes4 revertingFunctionSelector,\\n        bytes4 additionalContext\\n    ) internal pure {\\n        bytes4 wrappedErrorSelector = WrappedError.selector;\\n        assembly (\\\"memory-safe\\\") {\\n            // Ensure the size of the revert data is a multiple of 32 bytes\\n            let encodedDataSize := mul(div(add(returndatasize(), 31), 32), 32)\\n\\n            let fmp := mload(0x40)\\n\\n            // Encode wrapped error selector, address, function selector, offset, additional context, size, revert reason\\n            mstore(fmp, wrappedErrorSelector)\\n            mstore(add(fmp, 0x04), and(revertingContract, 0xffffffffffffffffffffffffffffffffffffffff))\\n            mstore(\\n                add(fmp, 0x24),\\n                and(revertingFunctionSelector, 0xffffffff00000000000000000000000000000000000000000000000000000000)\\n            )\\n            // offset revert reason\\n            mstore(add(fmp, 0x44), 0x80)\\n            // offset additional context\\n            mstore(add(fmp, 0x64), add(0xa0, encodedDataSize))\\n            // size revert reason\\n            mstore(add(fmp, 0x84), returndatasize())\\n            // revert reason\\n            returndatacopy(add(fmp, 0xa4), 0, returndatasize())\\n            // size additional context\\n            mstore(add(fmp, add(0xa4, encodedDataSize)), 0x04)\\n            // additional context\\n            mstore(\\n                add(fmp, add(0xc4, encodedDataSize)),\\n                and(additionalContext, 0xffffffff00000000000000000000000000000000000000000000000000000000)\\n            )\\n            revert(fmp, add(0xe4, encodedDataSize))\\n        }\\n    }\\n}\\n\",\"keccak256\":\"0x111ed3031b6990c80a93ae35dde6b6ac0b7e6af471388fdd7461e91edda9b7de\",\"license\":\"MIT\"},\"node_modules/@uniswap/v4-core/src/libraries/FixedPoint96.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/// @title FixedPoint96\\n/// @notice A library for handling binary fixed point numbers, see https://en.wikipedia.org/wiki/Q_(number_format)\\n/// @dev Used in SqrtPriceMath.sol\\nlibrary FixedPoint96 {\\n    uint8 internal constant RESOLUTION = 96;\\n    uint256 internal constant Q96 = 0x1000000000000000000000000;\\n}\\n\",\"keccak256\":\"0xef5c3fd41aee26bb12aa1c32873cfee88e67eddfe7c2b32283786265ac669741\",\"license\":\"MIT\"},\"node_modules/@uniswap/v4-core/src/libraries/FullMath.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/// @title Contains 512-bit math functions\\n/// @notice Facilitates multiplication and division that can have overflow of an intermediate value without any loss of precision\\n/// @dev Handles \\\"phantom overflow\\\" i.e., allows multiplication and division where an intermediate value overflows 256 bits\\nlibrary FullMath {\\n    /// @notice Calculates floor(a×b÷denominator) with full precision. Throws if result overflows a uint256 or denominator == 0\\n    /// @param a The multiplicand\\n    /// @param b The multiplier\\n    /// @param denominator The divisor\\n    /// @return result The 256-bit result\\n    /// @dev Credit to Remco Bloemen under MIT license https://xn--2-umb.com/21/muldiv\\n    function mulDiv(uint256 a, uint256 b, uint256 denominator) internal pure returns (uint256 result) {\\n        unchecked {\\n            // 512-bit multiply [prod1 prod0] = a * b\\n            // Compute the product mod 2**256 and mod 2**256 - 1\\n            // then use the Chinese Remainder Theorem to reconstruct\\n            // the 512 bit result. The result is stored in two 256\\n            // variables such that product = prod1 * 2**256 + prod0\\n            uint256 prod0 = a * b; // Least significant 256 bits of the product\\n            uint256 prod1; // Most significant 256 bits of the product\\n            assembly (\\\"memory-safe\\\") {\\n                let mm := mulmod(a, b, not(0))\\n                prod1 := sub(sub(mm, prod0), lt(mm, prod0))\\n            }\\n\\n            // Make sure the result is less than 2**256.\\n            // Also prevents denominator == 0\\n            require(denominator > prod1);\\n\\n            // Handle non-overflow cases, 256 by 256 division\\n            if (prod1 == 0) {\\n                assembly (\\\"memory-safe\\\") {\\n                    result := div(prod0, denominator)\\n                }\\n                return result;\\n            }\\n\\n            ///////////////////////////////////////////////\\n            // 512 by 256 division.\\n            ///////////////////////////////////////////////\\n\\n            // Make division exact by subtracting the remainder from [prod1 prod0]\\n            // Compute remainder using mulmod\\n            uint256 remainder;\\n            assembly (\\\"memory-safe\\\") {\\n                remainder := mulmod(a, b, denominator)\\n            }\\n            // Subtract 256 bit number from 512 bit number\\n            assembly (\\\"memory-safe\\\") {\\n                prod1 := sub(prod1, gt(remainder, prod0))\\n                prod0 := sub(prod0, remainder)\\n            }\\n\\n            // Factor powers of two out of denominator\\n            // Compute largest power of two divisor of denominator.\\n            // Always >= 1.\\n            uint256 twos = (0 - denominator) & denominator;\\n            // Divide denominator by power of two\\n            assembly (\\\"memory-safe\\\") {\\n                denominator := div(denominator, twos)\\n            }\\n\\n            // Divide [prod1 prod0] by the factors of two\\n            assembly (\\\"memory-safe\\\") {\\n                prod0 := div(prod0, twos)\\n            }\\n            // Shift in bits from prod1 into prod0. For this we need\\n            // to flip `twos` such that it is 2**256 / twos.\\n            // If twos is zero, then it becomes one\\n            assembly (\\\"memory-safe\\\") {\\n                twos := add(div(sub(0, twos), twos), 1)\\n            }\\n            prod0 |= prod1 * twos;\\n\\n            // Invert denominator mod 2**256\\n            // Now that denominator is an odd number, it has an inverse\\n            // modulo 2**256 such that denominator * inv = 1 mod 2**256.\\n            // Compute the inverse by starting with a seed that is correct\\n            // correct for four bits. That is, denominator * inv = 1 mod 2**4\\n            uint256 inv = (3 * denominator) ^ 2;\\n            // Now use Newton-Raphson iteration to improve the precision.\\n            // Thanks to Hensel's lifting lemma, this also works in modular\\n            // arithmetic, doubling the correct bits in each step.\\n            inv *= 2 - denominator * inv; // inverse mod 2**8\\n            inv *= 2 - denominator * inv; // inverse mod 2**16\\n            inv *= 2 - denominator * inv; // inverse mod 2**32\\n            inv *= 2 - denominator * inv; // inverse mod 2**64\\n            inv *= 2 - denominator * inv; // inverse mod 2**128\\n            inv *= 2 - denominator * inv; // inverse mod 2**256\\n\\n            // Because the division is now exact we can divide by multiplying\\n            // with the modular inverse of denominator. This will give us the\\n            // correct result modulo 2**256. Since the preconditions guarantee\\n            // that the outcome is less than 2**256, this is the final result.\\n            // We don't need to compute the high bits of the result and prod1\\n            // is no longer required.\\n            result = prod0 * inv;\\n            return result;\\n        }\\n    }\\n\\n    /// @notice Calculates ceil(a×b÷denominator) with full precision. Throws if result overflows a uint256 or denominator == 0\\n    /// @param a The multiplicand\\n    /// @param b The multiplier\\n    /// @param denominator The divisor\\n    /// @return result The 256-bit result\\n    function mulDivRoundingUp(uint256 a, uint256 b, uint256 denominator) internal pure returns (uint256 result) {\\n        unchecked {\\n            result = mulDiv(a, b, denominator);\\n            if (mulmod(a, b, denominator) != 0) {\\n                require(++result > 0);\\n            }\\n        }\\n    }\\n}\\n\",\"keccak256\":\"0x4fc73a00817193fd3cac1cc03d8167d21af97d75f1815a070ee31a90c702b4c2\",\"license\":\"MIT\"},\"node_modules/@uniswap/v4-core/src/libraries/SafeCast.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\nimport {CustomRevert} from \\\"./CustomRevert.sol\\\";\\n\\n/// @title Safe casting methods\\n/// @notice Contains methods for safely casting between types\\nlibrary SafeCast {\\n    using CustomRevert for bytes4;\\n\\n    error SafeCastOverflow();\\n\\n    /// @notice Cast a uint256 to a uint160, revert on overflow\\n    /// @param x The uint256 to be downcasted\\n    /// @return y The downcasted integer, now type uint160\\n    function toUint160(uint256 x) internal pure returns (uint160 y) {\\n        y = uint160(x);\\n        if (y != x) SafeCastOverflow.selector.revertWith();\\n    }\\n\\n    /// @notice Cast a uint256 to a uint128, revert on overflow\\n    /// @param x The uint256 to be downcasted\\n    /// @return y The downcasted integer, now type uint128\\n    function toUint128(uint256 x) internal pure returns (uint128 y) {\\n        y = uint128(x);\\n        if (x != y) SafeCastOverflow.selector.revertWith();\\n    }\\n\\n    /// @notice Cast a int128 to a uint128, revert on overflow or underflow\\n    /// @param x The int128 to be casted\\n    /// @return y The casted integer, now type uint128\\n    function toUint128(int128 x) internal pure returns (uint128 y) {\\n        if (x < 0) SafeCastOverflow.selector.revertWith();\\n        y = uint128(x);\\n    }\\n\\n    /// @notice Cast a int256 to a int128, revert on overflow or underflow\\n    /// @param x The int256 to be downcasted\\n    /// @return y The downcasted integer, now type int128\\n    function toInt128(int256 x) internal pure returns (int128 y) {\\n        y = int128(x);\\n        if (y != x) SafeCastOverflow.selector.revertWith();\\n    }\\n\\n    /// @notice Cast a uint256 to a int256, revert on overflow\\n    /// @param x The uint256 to be casted\\n    /// @return y The casted integer, now type int256\\n    function toInt256(uint256 x) internal pure returns (int256 y) {\\n        y = int256(x);\\n        if (y < 0) SafeCastOverflow.selector.revertWith();\\n    }\\n\\n    /// @notice Cast a uint256 to a int128, revert on overflow\\n    /// @param x The uint256 to be downcasted\\n    /// @return The downcasted integer, now type int128\\n    function toInt128(uint256 x) internal pure returns (int128) {\\n        if (x >= 1 << 127) SafeCastOverflow.selector.revertWith();\\n        return int128(int256(x));\\n    }\\n}\\n\",\"keccak256\":\"0x42c4a24f996a14d358be397b71f7ec9d7daf666aaec78002c63315a6ee67aa86\",\"license\":\"MIT\"},\"node_modules/@uniswap/v4-core/src/libraries/SqrtPriceMath.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\nimport {SafeCast} from \\\"./SafeCast.sol\\\";\\n\\nimport {FullMath} from \\\"./FullMath.sol\\\";\\nimport {UnsafeMath} from \\\"./UnsafeMath.sol\\\";\\nimport {FixedPoint96} from \\\"./FixedPoint96.sol\\\";\\n\\n/// @title Functions based on Q64.96 sqrt price and liquidity\\n/// @notice Contains the math that uses square root of price as a Q64.96 and liquidity to compute deltas\\nlibrary SqrtPriceMath {\\n    using SafeCast for uint256;\\n\\n    error InvalidPriceOrLiquidity();\\n    error InvalidPrice();\\n    error NotEnoughLiquidity();\\n    error PriceOverflow();\\n\\n    /// @notice Gets the next sqrt price given a delta of currency0\\n    /// @dev Always rounds up, because in the exact output case (increasing price) we need to move the price at least\\n    /// far enough to get the desired output amount, and in the exact input case (decreasing price) we need to move the\\n    /// price less in order to not send too much output.\\n    /// The most precise formula for this is liquidity * sqrtPX96 / (liquidity +- amount * sqrtPX96),\\n    /// if this is impossible because of overflow, we calculate liquidity / (liquidity / sqrtPX96 +- amount).\\n    /// @param sqrtPX96 The starting price, i.e. before accounting for the currency0 delta\\n    /// @param liquidity The amount of usable liquidity\\n    /// @param amount How much of currency0 to add or remove from virtual reserves\\n    /// @param add Whether to add or remove the amount of currency0\\n    /// @return The price after adding or removing amount, depending on add\\n    function getNextSqrtPriceFromAmount0RoundingUp(uint160 sqrtPX96, uint128 liquidity, uint256 amount, bool add)\\n        internal\\n        pure\\n        returns (uint160)\\n    {\\n        // we short circuit amount == 0 because the result is otherwise not guaranteed to equal the input price\\n        if (amount == 0) return sqrtPX96;\\n        uint256 numerator1 = uint256(liquidity) << FixedPoint96.RESOLUTION;\\n\\n        if (add) {\\n            unchecked {\\n                uint256 product = amount * sqrtPX96;\\n                if (product / amount == sqrtPX96) {\\n                    uint256 denominator = numerator1 + product;\\n                    if (denominator >= numerator1) {\\n                        // always fits in 160 bits\\n                        return uint160(FullMath.mulDivRoundingUp(numerator1, sqrtPX96, denominator));\\n                    }\\n                }\\n            }\\n            // denominator is checked for overflow\\n            return uint160(UnsafeMath.divRoundingUp(numerator1, (numerator1 / sqrtPX96) + amount));\\n        } else {\\n            unchecked {\\n                uint256 product = amount * sqrtPX96;\\n                // if the product overflows, we know the denominator underflows\\n                // in addition, we must check that the denominator does not underflow\\n                // equivalent: if (product / amount != sqrtPX96 || numerator1 <= product) revert PriceOverflow();\\n                assembly (\\\"memory-safe\\\") {\\n                    if iszero(\\n                        and(\\n                            eq(div(product, amount), and(sqrtPX96, 0xffffffffffffffffffffffffffffffffffffffff)),\\n                            gt(numerator1, product)\\n                        )\\n                    ) {\\n                        mstore(0, 0xf5c787f1) // selector for PriceOverflow()\\n                        revert(0x1c, 0x04)\\n                    }\\n                }\\n                uint256 denominator = numerator1 - product;\\n                return FullMath.mulDivRoundingUp(numerator1, sqrtPX96, denominator).toUint160();\\n            }\\n        }\\n    }\\n\\n    /// @notice Gets the next sqrt price given a delta of currency1\\n    /// @dev Always rounds down, because in the exact output case (decreasing price) we need to move the price at least\\n    /// far enough to get the desired output amount, and in the exact input case (increasing price) we need to move the\\n    /// price less in order to not send too much output.\\n    /// The formula we compute is within <1 wei of the lossless version: sqrtPX96 +- amount / liquidity\\n    /// @param sqrtPX96 The starting price, i.e., before accounting for the currency1 delta\\n    /// @param liquidity The amount of usable liquidity\\n    /// @param amount How much of currency1 to add, or remove, from virtual reserves\\n    /// @param add Whether to add, or remove, the amount of currency1\\n    /// @return The price after adding or removing `amount`\\n    function getNextSqrtPriceFromAmount1RoundingDown(uint160 sqrtPX96, uint128 liquidity, uint256 amount, bool add)\\n        internal\\n        pure\\n        returns (uint160)\\n    {\\n        // if we're adding (subtracting), rounding down requires rounding the quotient down (up)\\n        // in both cases, avoid a mulDiv for most inputs\\n        if (add) {\\n            uint256 quotient = (\\n                amount <= type(uint160).max\\n                    ? (amount << FixedPoint96.RESOLUTION) / liquidity\\n                    : FullMath.mulDiv(amount, FixedPoint96.Q96, liquidity)\\n            );\\n\\n            return (uint256(sqrtPX96) + quotient).toUint160();\\n        } else {\\n            uint256 quotient = (\\n                amount <= type(uint160).max\\n                    ? UnsafeMath.divRoundingUp(amount << FixedPoint96.RESOLUTION, liquidity)\\n                    : FullMath.mulDivRoundingUp(amount, FixedPoint96.Q96, liquidity)\\n            );\\n\\n            // equivalent: if (sqrtPX96 <= quotient) revert NotEnoughLiquidity();\\n            assembly (\\\"memory-safe\\\") {\\n                if iszero(gt(and(sqrtPX96, 0xffffffffffffffffffffffffffffffffffffffff), quotient)) {\\n                    mstore(0, 0x4323a555) // selector for NotEnoughLiquidity()\\n                    revert(0x1c, 0x04)\\n                }\\n            }\\n            // always fits 160 bits\\n            unchecked {\\n                return uint160(sqrtPX96 - quotient);\\n            }\\n        }\\n    }\\n\\n    /// @notice Gets the next sqrt price given an input amount of currency0 or currency1\\n    /// @dev Throws if price or liquidity are 0, or if the next price is out of bounds\\n    /// @param sqrtPX96 The starting price, i.e., before accounting for the input amount\\n    /// @param liquidity The amount of usable liquidity\\n    /// @param amountIn How much of currency0, or currency1, is being swapped in\\n    /// @param zeroForOne Whether the amount in is currency0 or currency1\\n    /// @return uint160 The price after adding the input amount to currency0 or currency1\\n    function getNextSqrtPriceFromInput(uint160 sqrtPX96, uint128 liquidity, uint256 amountIn, bool zeroForOne)\\n        internal\\n        pure\\n        returns (uint160)\\n    {\\n        // equivalent: if (sqrtPX96 == 0 || liquidity == 0) revert InvalidPriceOrLiquidity();\\n        assembly (\\\"memory-safe\\\") {\\n            if or(\\n                iszero(and(sqrtPX96, 0xffffffffffffffffffffffffffffffffffffffff)),\\n                iszero(and(liquidity, 0xffffffffffffffffffffffffffffffff))\\n            ) {\\n                mstore(0, 0x4f2461b8) // selector for InvalidPriceOrLiquidity()\\n                revert(0x1c, 0x04)\\n            }\\n        }\\n\\n        // round to make sure that we don't pass the target price\\n        return zeroForOne\\n            ? getNextSqrtPriceFromAmount0RoundingUp(sqrtPX96, liquidity, amountIn, true)\\n            : getNextSqrtPriceFromAmount1RoundingDown(sqrtPX96, liquidity, amountIn, true);\\n    }\\n\\n    /// @notice Gets the next sqrt price given an output amount of currency0 or currency1\\n    /// @dev Throws if price or liquidity are 0 or the next price is out of bounds\\n    /// @param sqrtPX96 The starting price before accounting for the output amount\\n    /// @param liquidity The amount of usable liquidity\\n    /// @param amountOut How much of currency0, or currency1, is being swapped out\\n    /// @param zeroForOne Whether the amount out is currency1 or currency0\\n    /// @return uint160 The price after removing the output amount of currency0 or currency1\\n    function getNextSqrtPriceFromOutput(uint160 sqrtPX96, uint128 liquidity, uint256 amountOut, bool zeroForOne)\\n        internal\\n        pure\\n        returns (uint160)\\n    {\\n        // equivalent: if (sqrtPX96 == 0 || liquidity == 0) revert InvalidPriceOrLiquidity();\\n        assembly (\\\"memory-safe\\\") {\\n            if or(\\n                iszero(and(sqrtPX96, 0xffffffffffffffffffffffffffffffffffffffff)),\\n                iszero(and(liquidity, 0xffffffffffffffffffffffffffffffff))\\n            ) {\\n                mstore(0, 0x4f2461b8) // selector for InvalidPriceOrLiquidity()\\n                revert(0x1c, 0x04)\\n            }\\n        }\\n\\n        // round to make sure that we pass the target price\\n        return zeroForOne\\n            ? getNextSqrtPriceFromAmount1RoundingDown(sqrtPX96, liquidity, amountOut, false)\\n            : getNextSqrtPriceFromAmount0RoundingUp(sqrtPX96, liquidity, amountOut, false);\\n    }\\n\\n    /// @notice Gets the amount0 delta between two prices\\n    /// @dev Calculates liquidity / sqrt(lower) - liquidity / sqrt(upper),\\n    /// i.e. liquidity * (sqrt(upper) - sqrt(lower)) / (sqrt(upper) * sqrt(lower))\\n    /// @param sqrtPriceAX96 A sqrt price\\n    /// @param sqrtPriceBX96 Another sqrt price\\n    /// @param liquidity The amount of usable liquidity\\n    /// @param roundUp Whether to round the amount up or down\\n    /// @return uint256 Amount of currency0 required to cover a position of size liquidity between the two passed prices\\n    function getAmount0Delta(uint160 sqrtPriceAX96, uint160 sqrtPriceBX96, uint128 liquidity, bool roundUp)\\n        internal\\n        pure\\n        returns (uint256)\\n    {\\n        unchecked {\\n            if (sqrtPriceAX96 > sqrtPriceBX96) (sqrtPriceAX96, sqrtPriceBX96) = (sqrtPriceBX96, sqrtPriceAX96);\\n\\n            // equivalent: if (sqrtPriceAX96 == 0) revert InvalidPrice();\\n            assembly (\\\"memory-safe\\\") {\\n                if iszero(and(sqrtPriceAX96, 0xffffffffffffffffffffffffffffffffffffffff)) {\\n                    mstore(0, 0x00bfc921) // selector for InvalidPrice()\\n                    revert(0x1c, 0x04)\\n                }\\n            }\\n\\n            uint256 numerator1 = uint256(liquidity) << FixedPoint96.RESOLUTION;\\n            uint256 numerator2 = sqrtPriceBX96 - sqrtPriceAX96;\\n\\n            return roundUp\\n                ? UnsafeMath.divRoundingUp(FullMath.mulDivRoundingUp(numerator1, numerator2, sqrtPriceBX96), sqrtPriceAX96)\\n                : FullMath.mulDiv(numerator1, numerator2, sqrtPriceBX96) / sqrtPriceAX96;\\n        }\\n    }\\n\\n    /// @notice Equivalent to: `a >= b ? a - b : b - a`\\n    function absDiff(uint160 a, uint160 b) internal pure returns (uint256 res) {\\n        assembly (\\\"memory-safe\\\") {\\n            let diff :=\\n                sub(and(a, 0xffffffffffffffffffffffffffffffffffffffff), and(b, 0xffffffffffffffffffffffffffffffffffffffff))\\n            // mask = 0 if a >= b else -1 (all 1s)\\n            let mask := sar(255, diff)\\n            // if a >= b, res = a - b = 0 ^ (a - b)\\n            // if a < b, res = b - a = ~~(b - a) = ~(-(b - a) - 1) = ~(a - b - 1) = (-1) ^ (a - b - 1)\\n            // either way, res = mask ^ (a - b + mask)\\n            res := xor(mask, add(mask, diff))\\n        }\\n    }\\n\\n    /// @notice Gets the amount1 delta between two prices\\n    /// @dev Calculates liquidity * (sqrt(upper) - sqrt(lower))\\n    /// @param sqrtPriceAX96 A sqrt price\\n    /// @param sqrtPriceBX96 Another sqrt price\\n    /// @param liquidity The amount of usable liquidity\\n    /// @param roundUp Whether to round the amount up, or down\\n    /// @return amount1 Amount of currency1 required to cover a position of size liquidity between the two passed prices\\n    function getAmount1Delta(uint160 sqrtPriceAX96, uint160 sqrtPriceBX96, uint128 liquidity, bool roundUp)\\n        internal\\n        pure\\n        returns (uint256 amount1)\\n    {\\n        uint256 numerator = absDiff(sqrtPriceAX96, sqrtPriceBX96);\\n        uint256 denominator = FixedPoint96.Q96;\\n        uint256 _liquidity = uint256(liquidity);\\n\\n        /**\\n         * Equivalent to:\\n         *   amount1 = roundUp\\n         *       ? FullMath.mulDivRoundingUp(liquidity, sqrtPriceBX96 - sqrtPriceAX96, FixedPoint96.Q96)\\n         *       : FullMath.mulDiv(liquidity, sqrtPriceBX96 - sqrtPriceAX96, FixedPoint96.Q96);\\n         * Cannot overflow because `type(uint128).max * type(uint160).max >> 96 < (1 << 192)`.\\n         */\\n        amount1 = FullMath.mulDiv(_liquidity, numerator, denominator);\\n        assembly (\\\"memory-safe\\\") {\\n            amount1 := add(amount1, and(gt(mulmod(_liquidity, numerator, denominator), 0), roundUp))\\n        }\\n    }\\n\\n    /// @notice Helper that gets signed currency0 delta\\n    /// @param sqrtPriceAX96 A sqrt price\\n    /// @param sqrtPriceBX96 Another sqrt price\\n    /// @param liquidity The change in liquidity for which to compute the amount0 delta\\n    /// @return int256 Amount of currency0 corresponding to the passed liquidityDelta between the two prices\\n    function getAmount0Delta(uint160 sqrtPriceAX96, uint160 sqrtPriceBX96, int128 liquidity)\\n        internal\\n        pure\\n        returns (int256)\\n    {\\n        unchecked {\\n            return liquidity < 0\\n                ? getAmount0Delta(sqrtPriceAX96, sqrtPriceBX96, uint128(-liquidity), false).toInt256()\\n                : -getAmount0Delta(sqrtPriceAX96, sqrtPriceBX96, uint128(liquidity), true).toInt256();\\n        }\\n    }\\n\\n    /// @notice Helper that gets signed currency1 delta\\n    /// @param sqrtPriceAX96 A sqrt price\\n    /// @param sqrtPriceBX96 Another sqrt price\\n    /// @param liquidity The change in liquidity for which to compute the amount1 delta\\n    /// @return int256 Amount of currency1 corresponding to the passed liquidityDelta between the two prices\\n    function getAmount1Delta(uint160 sqrtPriceAX96, uint160 sqrtPriceBX96, int128 liquidity)\\n        internal\\n        pure\\n        returns (int256)\\n    {\\n        unchecked {\\n            return liquidity < 0\\n                ? getAmount1Delta(sqrtPriceAX96, sqrtPriceBX96, uint128(-liquidity), false).toInt256()\\n                : -getAmount1Delta(sqrtPriceAX96, sqrtPriceBX96, uint128(liquidity), true).toInt256();\\n        }\\n    }\\n}\\n\",\"keccak256\":\"0xf8079fe6e3460db495451d06b1705e18f1c4075c1af96a31ad313545f7082982\",\"license\":\"MIT\"},\"node_modules/@uniswap/v4-core/src/libraries/TickMath.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\nimport {BitMath} from \\\"./BitMath.sol\\\";\\nimport {CustomRevert} from \\\"./CustomRevert.sol\\\";\\n\\n/// @title Math library for computing sqrt prices from ticks and vice versa\\n/// @notice Computes sqrt price for ticks of size 1.0001, i.e. sqrt(1.0001^tick) as fixed point Q64.96 numbers. Supports\\n/// prices between 2**-128 and 2**128\\nlibrary TickMath {\\n    using CustomRevert for bytes4;\\n\\n    /// @notice Thrown when the tick passed to #getSqrtPriceAtTick is not between MIN_TICK and MAX_TICK\\n    error InvalidTick(int24 tick);\\n    /// @notice Thrown when the price passed to #getTickAtSqrtPrice does not correspond to a price between MIN_TICK and MAX_TICK\\n    error InvalidSqrtPrice(uint160 sqrtPriceX96);\\n\\n    /// @dev The minimum tick that may be passed to #getSqrtPriceAtTick computed from log base 1.0001 of 2**-128\\n    /// @dev If ever MIN_TICK and MAX_TICK are not centered around 0, the absTick logic in getSqrtPriceAtTick cannot be used\\n    int24 internal constant MIN_TICK = -887272;\\n    /// @dev The maximum tick that may be passed to #getSqrtPriceAtTick computed from log base 1.0001 of 2**128\\n    /// @dev If ever MIN_TICK and MAX_TICK are not centered around 0, the absTick logic in getSqrtPriceAtTick cannot be used\\n    int24 internal constant MAX_TICK = 887272;\\n\\n    /// @dev The minimum tick spacing value drawn from the range of type int16 that is greater than 0, i.e. min from the range [1, 32767]\\n    int24 internal constant MIN_TICK_SPACING = 1;\\n    /// @dev The maximum tick spacing value drawn from the range of type int16, i.e. max from the range [1, 32767]\\n    int24 internal constant MAX_TICK_SPACING = type(int16).max;\\n\\n    /// @dev The minimum value that can be returned from #getSqrtPriceAtTick. Equivalent to getSqrtPriceAtTick(MIN_TICK)\\n    uint160 internal constant MIN_SQRT_PRICE = 4295128739;\\n    /// @dev The maximum value that can be returned from #getSqrtPriceAtTick. Equivalent to getSqrtPriceAtTick(MAX_TICK)\\n    uint160 internal constant MAX_SQRT_PRICE = 1461446703485210103287273052203988822378723970342;\\n    /// @dev A threshold used for optimized bounds check, equals `MAX_SQRT_PRICE - MIN_SQRT_PRICE - 1`\\n    uint160 internal constant MAX_SQRT_PRICE_MINUS_MIN_SQRT_PRICE_MINUS_ONE =\\n        1461446703485210103287273052203988822378723970342 - 4295128739 - 1;\\n\\n    /// @notice Given a tickSpacing, compute the maximum usable tick\\n    function maxUsableTick(int24 tickSpacing) internal pure returns (int24) {\\n        unchecked {\\n            return (MAX_TICK / tickSpacing) * tickSpacing;\\n        }\\n    }\\n\\n    /// @notice Given a tickSpacing, compute the minimum usable tick\\n    function minUsableTick(int24 tickSpacing) internal pure returns (int24) {\\n        unchecked {\\n            return (MIN_TICK / tickSpacing) * tickSpacing;\\n        }\\n    }\\n\\n    /// @notice Calculates sqrt(1.0001^tick) * 2^96\\n    /// @dev Throws if |tick| > max tick\\n    /// @param tick The input tick for the above formula\\n    /// @return sqrtPriceX96 A Fixed point Q64.96 number representing the sqrt of the price of the two assets (currency1/currency0)\\n    /// at the given tick\\n    function getSqrtPriceAtTick(int24 tick) internal pure returns (uint160 sqrtPriceX96) {\\n        unchecked {\\n            uint256 absTick;\\n            assembly (\\\"memory-safe\\\") {\\n                tick := signextend(2, tick)\\n                // mask = 0 if tick >= 0 else -1 (all 1s)\\n                let mask := sar(255, tick)\\n                // if tick >= 0, |tick| = tick = 0 ^ tick\\n                // if tick < 0, |tick| = ~~|tick| = ~(-|tick| - 1) = ~(tick - 1) = (-1) ^ (tick - 1)\\n                // either way, |tick| = mask ^ (tick + mask)\\n                absTick := xor(mask, add(mask, tick))\\n            }\\n\\n            if (absTick > uint256(int256(MAX_TICK))) InvalidTick.selector.revertWith(tick);\\n\\n            // The tick is decomposed into bits, and for each bit with index i that is set, the product of 1/sqrt(1.0001^(2^i))\\n            // is calculated (using Q128.128). The constants used for this calculation are rounded to the nearest integer\\n\\n            // Equivalent to:\\n            //     price = absTick & 0x1 != 0 ? 0xfffcb933bd6fad37aa2d162d1a594001 : 0x100000000000000000000000000000000;\\n            //     or price = int(2**128 / sqrt(1.0001)) if (absTick & 0x1) else 1 << 128\\n            uint256 price;\\n            assembly (\\\"memory-safe\\\") {\\n                price := xor(shl(128, 1), mul(xor(shl(128, 1), 0xfffcb933bd6fad37aa2d162d1a594001), and(absTick, 0x1)))\\n            }\\n            if (absTick & 0x2 != 0) price = (price * 0xfff97272373d413259a46990580e213a) >> 128;\\n            if (absTick & 0x4 != 0) price = (price * 0xfff2e50f5f656932ef12357cf3c7fdcc) >> 128;\\n            if (absTick & 0x8 != 0) price = (price * 0xffe5caca7e10e4e61c3624eaa0941cd0) >> 128;\\n            if (absTick & 0x10 != 0) price = (price * 0xffcb9843d60f6159c9db58835c926644) >> 128;\\n            if (absTick & 0x20 != 0) price = (price * 0xff973b41fa98c081472e6896dfb254c0) >> 128;\\n            if (absTick & 0x40 != 0) price = (price * 0xff2ea16466c96a3843ec78b326b52861) >> 128;\\n            if (absTick & 0x80 != 0) price = (price * 0xfe5dee046a99a2a811c461f1969c3053) >> 128;\\n            if (absTick & 0x100 != 0) price = (price * 0xfcbe86c7900a88aedcffc83b479aa3a4) >> 128;\\n            if (absTick & 0x200 != 0) price = (price * 0xf987a7253ac413176f2b074cf7815e54) >> 128;\\n            if (absTick & 0x400 != 0) price = (price * 0xf3392b0822b70005940c7a398e4b70f3) >> 128;\\n            if (absTick & 0x800 != 0) price = (price * 0xe7159475a2c29b7443b29c7fa6e889d9) >> 128;\\n            if (absTick & 0x1000 != 0) price = (price * 0xd097f3bdfd2022b8845ad8f792aa5825) >> 128;\\n            if (absTick & 0x2000 != 0) price = (price * 0xa9f746462d870fdf8a65dc1f90e061e5) >> 128;\\n            if (absTick & 0x4000 != 0) price = (price * 0x70d869a156d2a1b890bb3df62baf32f7) >> 128;\\n            if (absTick & 0x8000 != 0) price = (price * 0x31be135f97d08fd981231505542fcfa6) >> 128;\\n            if (absTick & 0x10000 != 0) price = (price * 0x9aa508b5b7a84e1c677de54f3e99bc9) >> 128;\\n            if (absTick & 0x20000 != 0) price = (price * 0x5d6af8dedb81196699c329225ee604) >> 128;\\n            if (absTick & 0x40000 != 0) price = (price * 0x2216e584f5fa1ea926041bedfe98) >> 128;\\n            if (absTick & 0x80000 != 0) price = (price * 0x48a170391f7dc42444e8fa2) >> 128;\\n\\n            assembly (\\\"memory-safe\\\") {\\n                // if (tick > 0) price = type(uint256).max / price;\\n                if sgt(tick, 0) { price := div(not(0), price) }\\n\\n                // this divides by 1<<32 rounding up to go from a Q128.128 to a Q128.96.\\n                // we then downcast because we know the result always fits within 160 bits due to our tick input constraint\\n                // we round up in the division so getTickAtSqrtPrice of the output price is always consistent\\n                // `sub(shl(32, 1), 1)` is `type(uint32).max`\\n                // `price + type(uint32).max` will not overflow because `price` fits in 192 bits\\n                sqrtPriceX96 := shr(32, add(price, sub(shl(32, 1), 1)))\\n            }\\n        }\\n    }\\n\\n    /// @notice Calculates the greatest tick value such that getSqrtPriceAtTick(tick) <= sqrtPriceX96\\n    /// @dev Throws in case sqrtPriceX96 < MIN_SQRT_PRICE, as MIN_SQRT_PRICE is the lowest value getSqrtPriceAtTick may\\n    /// ever return.\\n    /// @param sqrtPriceX96 The sqrt price for which to compute the tick as a Q64.96\\n    /// @return tick The greatest tick for which the getSqrtPriceAtTick(tick) is less than or equal to the input sqrtPriceX96\\n    function getTickAtSqrtPrice(uint160 sqrtPriceX96) internal pure returns (int24 tick) {\\n        unchecked {\\n            // Equivalent: if (sqrtPriceX96 < MIN_SQRT_PRICE || sqrtPriceX96 >= MAX_SQRT_PRICE) revert InvalidSqrtPrice();\\n            // second inequality must be >= because the price can never reach the price at the max tick\\n            // if sqrtPriceX96 < MIN_SQRT_PRICE, the `sub` underflows and `gt` is true\\n            // if sqrtPriceX96 >= MAX_SQRT_PRICE, sqrtPriceX96 - MIN_SQRT_PRICE > MAX_SQRT_PRICE - MIN_SQRT_PRICE - 1\\n            if ((sqrtPriceX96 - MIN_SQRT_PRICE) > MAX_SQRT_PRICE_MINUS_MIN_SQRT_PRICE_MINUS_ONE) {\\n                InvalidSqrtPrice.selector.revertWith(sqrtPriceX96);\\n            }\\n\\n            uint256 price = uint256(sqrtPriceX96) << 32;\\n\\n            uint256 r = price;\\n            uint256 msb = BitMath.mostSignificantBit(r);\\n\\n            if (msb >= 128) r = price >> (msb - 127);\\n            else r = price << (127 - msb);\\n\\n            int256 log_2 = (int256(msb) - 128) << 64;\\n\\n            assembly (\\\"memory-safe\\\") {\\n                r := shr(127, mul(r, r))\\n                let f := shr(128, r)\\n                log_2 := or(log_2, shl(63, f))\\n                r := shr(f, r)\\n            }\\n            assembly (\\\"memory-safe\\\") {\\n                r := shr(127, mul(r, r))\\n                let f := shr(128, r)\\n                log_2 := or(log_2, shl(62, f))\\n                r := shr(f, r)\\n            }\\n            assembly (\\\"memory-safe\\\") {\\n                r := shr(127, mul(r, r))\\n                let f := shr(128, r)\\n                log_2 := or(log_2, shl(61, f))\\n                r := shr(f, r)\\n            }\\n            assembly (\\\"memory-safe\\\") {\\n                r := shr(127, mul(r, r))\\n                let f := shr(128, r)\\n                log_2 := or(log_2, shl(60, f))\\n                r := shr(f, r)\\n            }\\n            assembly (\\\"memory-safe\\\") {\\n                r := shr(127, mul(r, r))\\n                let f := shr(128, r)\\n                log_2 := or(log_2, shl(59, f))\\n                r := shr(f, r)\\n            }\\n            assembly (\\\"memory-safe\\\") {\\n                r := shr(127, mul(r, r))\\n                let f := shr(128, r)\\n                log_2 := or(log_2, shl(58, f))\\n                r := shr(f, r)\\n            }\\n            assembly (\\\"memory-safe\\\") {\\n                r := shr(127, mul(r, r))\\n                let f := shr(128, r)\\n                log_2 := or(log_2, shl(57, f))\\n                r := shr(f, r)\\n            }\\n            assembly (\\\"memory-safe\\\") {\\n                r := shr(127, mul(r, r))\\n                let f := shr(128, r)\\n                log_2 := or(log_2, shl(56, f))\\n                r := shr(f, r)\\n            }\\n            assembly (\\\"memory-safe\\\") {\\n                r := shr(127, mul(r, r))\\n                let f := shr(128, r)\\n                log_2 := or(log_2, shl(55, f))\\n                r := shr(f, r)\\n            }\\n            assembly (\\\"memory-safe\\\") {\\n                r := shr(127, mul(r, r))\\n                let f := shr(128, r)\\n                log_2 := or(log_2, shl(54, f))\\n                r := shr(f, r)\\n            }\\n            assembly (\\\"memory-safe\\\") {\\n                r := shr(127, mul(r, r))\\n                let f := shr(128, r)\\n                log_2 := or(log_2, shl(53, f))\\n                r := shr(f, r)\\n            }\\n            assembly (\\\"memory-safe\\\") {\\n                r := shr(127, mul(r, r))\\n                let f := shr(128, r)\\n                log_2 := or(log_2, shl(52, f))\\n                r := shr(f, r)\\n            }\\n            assembly (\\\"memory-safe\\\") {\\n                r := shr(127, mul(r, r))\\n                let f := shr(128, r)\\n                log_2 := or(log_2, shl(51, f))\\n                r := shr(f, r)\\n            }\\n            assembly (\\\"memory-safe\\\") {\\n                r := shr(127, mul(r, r))\\n                let f := shr(128, r)\\n                log_2 := or(log_2, shl(50, f))\\n            }\\n\\n            int256 log_sqrt10001 = log_2 * 255738958999603826347141; // Q22.128 number\\n\\n            // Magic number represents the ceiling of the maximum value of the error when approximating log_sqrt10001(x)\\n            int24 tickLow = int24((log_sqrt10001 - 3402992956809132418596140100660247210) >> 128);\\n\\n            // Magic number represents the minimum value of the error when approximating log_sqrt10001(x), when\\n            // sqrtPrice is from the range (2^-64, 2^64). This is safe as MIN_SQRT_PRICE is more than 2^-64. If MIN_SQRT_PRICE\\n            // is changed, this may need to be changed too\\n            int24 tickHi = int24((log_sqrt10001 + 291339464771989622907027621153398088495) >> 128);\\n\\n            tick = tickLow == tickHi ? tickLow : getSqrtPriceAtTick(tickHi) <= sqrtPriceX96 ? tickHi : tickLow;\\n        }\\n    }\\n}\\n\",\"keccak256\":\"0x4e1a11e154eb06106cb1c4598f06cca5f5ca16eaa33494ba2f0e74981123eca8\",\"license\":\"MIT\"},\"node_modules/@uniswap/v4-core/src/libraries/UnsafeMath.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/// @title Math functions that do not check inputs or outputs\\n/// @notice Contains methods that perform common math functions but do not do any overflow or underflow checks\\nlibrary UnsafeMath {\\n    /// @notice Returns ceil(x / y)\\n    /// @dev division by 0 will return 0, and should be checked externally\\n    /// @param x The dividend\\n    /// @param y The divisor\\n    /// @return z The quotient, ceil(x / y)\\n    function divRoundingUp(uint256 x, uint256 y) internal pure returns (uint256 z) {\\n        assembly (\\\"memory-safe\\\") {\\n            z := add(div(x, y), gt(mod(x, y), 0))\\n        }\\n    }\\n\\n    /// @notice Calculates floor(a×b÷denominator)\\n    /// @dev division by 0 will return 0, and should be checked externally\\n    /// @param a The multiplicand\\n    /// @param b The multiplier\\n    /// @param denominator The divisor\\n    /// @return result The 256-bit result, floor(a×b÷denominator)\\n    function simpleMulDiv(uint256 a, uint256 b, uint256 denominator) internal pure returns (uint256 result) {\\n        assembly (\\\"memory-safe\\\") {\\n            result := div(mul(a, b), denominator)\\n        }\\n    }\\n}\\n\",\"keccak256\":\"0xa6e55e0a43a15df2df471d9972cd48f613d07c663ecb8bbeaf7623f6f99bcce4\",\"license\":\"MIT\"},\"node_modules/@uniswap/v4-periphery/lib/permit2/src/interfaces/IAllowanceTransfer.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\nimport {IEIP712} from \\\"./IEIP712.sol\\\";\\n\\n/// @title AllowanceTransfer\\n/// @notice Handles ERC20 token permissions through signature based allowance setting and ERC20 token transfers by checking allowed amounts\\n/// @dev Requires user's token approval on the Permit2 contract\\ninterface IAllowanceTransfer is IEIP712 {\\n    /// @notice Thrown when an allowance on a token has expired.\\n    /// @param deadline The timestamp at which the allowed amount is no longer valid\\n    error AllowanceExpired(uint256 deadline);\\n\\n    /// @notice Thrown when an allowance on a token has been depleted.\\n    /// @param amount The maximum amount allowed\\n    error InsufficientAllowance(uint256 amount);\\n\\n    /// @notice Thrown when too many nonces are invalidated.\\n    error ExcessiveInvalidation();\\n\\n    /// @notice Emits an event when the owner successfully invalidates an ordered nonce.\\n    event NonceInvalidation(\\n        address indexed owner, address indexed token, address indexed spender, uint48 newNonce, uint48 oldNonce\\n    );\\n\\n    /// @notice Emits an event when the owner successfully sets permissions on a token for the spender.\\n    event Approval(\\n        address indexed owner, address indexed token, address indexed spender, uint160 amount, uint48 expiration\\n    );\\n\\n    /// @notice Emits an event when the owner successfully sets permissions using a permit signature on a token for the spender.\\n    event Permit(\\n        address indexed owner,\\n        address indexed token,\\n        address indexed spender,\\n        uint160 amount,\\n        uint48 expiration,\\n        uint48 nonce\\n    );\\n\\n    /// @notice Emits an event when the owner sets the allowance back to 0 with the lockdown function.\\n    event Lockdown(address indexed owner, address token, address spender);\\n\\n    /// @notice The permit data for a token\\n    struct PermitDetails {\\n        // ERC20 token address\\n        address token;\\n        // the maximum amount allowed to spend\\n        uint160 amount;\\n        // timestamp at which a spender's token allowances become invalid\\n        uint48 expiration;\\n        // an incrementing value indexed per owner,token,and spender for each signature\\n        uint48 nonce;\\n    }\\n\\n    /// @notice The permit message signed for a single token allowance\\n    struct PermitSingle {\\n        // the permit data for a single token alownce\\n        PermitDetails details;\\n        // address permissioned on the allowed tokens\\n        address spender;\\n        // deadline on the permit signature\\n        uint256 sigDeadline;\\n    }\\n\\n    /// @notice The permit message signed for multiple token allowances\\n    struct PermitBatch {\\n        // the permit data for multiple token allowances\\n        PermitDetails[] details;\\n        // address permissioned on the allowed tokens\\n        address spender;\\n        // deadline on the permit signature\\n        uint256 sigDeadline;\\n    }\\n\\n    /// @notice The saved permissions\\n    /// @dev This info is saved per owner, per token, per spender and all signed over in the permit message\\n    /// @dev Setting amount to type(uint160).max sets an unlimited approval\\n    struct PackedAllowance {\\n        // amount allowed\\n        uint160 amount;\\n        // permission expiry\\n        uint48 expiration;\\n        // an incrementing value indexed per owner,token,and spender for each signature\\n        uint48 nonce;\\n    }\\n\\n    /// @notice A token spender pair.\\n    struct TokenSpenderPair {\\n        // the token the spender is approved\\n        address token;\\n        // the spender address\\n        address spender;\\n    }\\n\\n    /// @notice Details for a token transfer.\\n    struct AllowanceTransferDetails {\\n        // the owner of the token\\n        address from;\\n        // the recipient of the token\\n        address to;\\n        // the amount of the token\\n        uint160 amount;\\n        // the token to be transferred\\n        address token;\\n    }\\n\\n    /// @notice A mapping from owner address to token address to spender address to PackedAllowance struct, which contains details and conditions of the approval.\\n    /// @notice The mapping is indexed in the above order see: allowance[ownerAddress][tokenAddress][spenderAddress]\\n    /// @dev The packed slot holds the allowed amount, expiration at which the allowed amount is no longer valid, and current nonce thats updated on any signature based approvals.\\n    function allowance(address user, address token, address spender)\\n        external\\n        view\\n        returns (uint160 amount, uint48 expiration, uint48 nonce);\\n\\n    /// @notice Approves the spender to use up to amount of the specified token up until the expiration\\n    /// @param token The token to approve\\n    /// @param spender The spender address to approve\\n    /// @param amount The approved amount of the token\\n    /// @param expiration The timestamp at which the approval is no longer valid\\n    /// @dev The packed allowance also holds a nonce, which will stay unchanged in approve\\n    /// @dev Setting amount to type(uint160).max sets an unlimited approval\\n    function approve(address token, address spender, uint160 amount, uint48 expiration) external;\\n\\n    /// @notice Permit a spender to a given amount of the owners token via the owner's EIP-712 signature\\n    /// @dev May fail if the owner's nonce was invalidated in-flight by invalidateNonce\\n    /// @param owner The owner of the tokens being approved\\n    /// @param permitSingle Data signed over by the owner specifying the terms of approval\\n    /// @param signature The owner's signature over the permit data\\n    function permit(address owner, PermitSingle memory permitSingle, bytes calldata signature) external;\\n\\n    /// @notice Permit a spender to the signed amounts of the owners tokens via the owner's EIP-712 signature\\n    /// @dev May fail if the owner's nonce was invalidated in-flight by invalidateNonce\\n    /// @param owner The owner of the tokens being approved\\n    /// @param permitBatch Data signed over by the owner specifying the terms of approval\\n    /// @param signature The owner's signature over the permit data\\n    function permit(address owner, PermitBatch memory permitBatch, bytes calldata signature) external;\\n\\n    /// @notice Transfer approved tokens from one address to another\\n    /// @param from The address to transfer from\\n    /// @param to The address of the recipient\\n    /// @param amount The amount of the token to transfer\\n    /// @param token The token address to transfer\\n    /// @dev Requires the from address to have approved at least the desired amount\\n    /// of tokens to msg.sender.\\n    function transferFrom(address from, address to, uint160 amount, address token) external;\\n\\n    /// @notice Transfer approved tokens in a batch\\n    /// @param transferDetails Array of owners, recipients, amounts, and tokens for the transfers\\n    /// @dev Requires the from addresses to have approved at least the desired amount\\n    /// of tokens to msg.sender.\\n    function transferFrom(AllowanceTransferDetails[] calldata transferDetails) external;\\n\\n    /// @notice Enables performing a \\\"lockdown\\\" of the sender's Permit2 identity\\n    /// by batch revoking approvals\\n    /// @param approvals Array of approvals to revoke.\\n    function lockdown(TokenSpenderPair[] calldata approvals) external;\\n\\n    /// @notice Invalidate nonces for a given (token, spender) pair\\n    /// @param token The token to invalidate nonces for\\n    /// @param spender The spender to invalidate nonces for\\n    /// @param newNonce The new nonce to set. Invalidates all nonces less than it.\\n    /// @dev Can't invalidate more than 2**16 nonces per transaction.\\n    function invalidateNonces(address token, address spender, uint48 newNonce) external;\\n}\\n\",\"keccak256\":\"0x37f0ac203b6ef605c9533e1a739477e8e9dcea90710b40e645a367f8a21ace29\",\"license\":\"MIT\"},\"node_modules/@uniswap/v4-periphery/lib/permit2/src/interfaces/IEIP712.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\ninterface IEIP712 {\\n    function DOMAIN_SEPARATOR() external view returns (bytes32);\\n}\\n\",\"keccak256\":\"0xfdccf2b9639070803cd0e4198427fb0df3cc452ca59bd3b8a0d957a9a4254138\",\"license\":\"MIT\"},\"node_modules/@uniswap/v4-periphery/src/libraries/LiquidityAmounts.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\nimport {FullMath} from \\\"@uniswap/v4-core/src/libraries/FullMath.sol\\\";\\nimport {FixedPoint96} from \\\"@uniswap/v4-core/src/libraries/FixedPoint96.sol\\\";\\nimport {SafeCast} from \\\"@uniswap/v4-core/src/libraries/SafeCast.sol\\\";\\n\\n/// @notice Provides functions for computing liquidity amounts from token amounts and prices\\nlibrary LiquidityAmounts {\\n    using SafeCast for uint256;\\n\\n    /// @notice Computes the amount of liquidity received for a given amount of token0 and price range\\n    /// @dev Calculates amount0 * (sqrt(upper) * sqrt(lower)) / (sqrt(upper) - sqrt(lower))\\n    /// @param sqrtPriceAX96 A sqrt price representing the first tick boundary\\n    /// @param sqrtPriceBX96 A sqrt price representing the second tick boundary\\n    /// @param amount0 The amount0 being sent in\\n    /// @return liquidity The amount of returned liquidity\\n    function getLiquidityForAmount0(uint160 sqrtPriceAX96, uint160 sqrtPriceBX96, uint256 amount0)\\n        internal\\n        pure\\n        returns (uint128 liquidity)\\n    {\\n        unchecked {\\n            if (sqrtPriceAX96 > sqrtPriceBX96) (sqrtPriceAX96, sqrtPriceBX96) = (sqrtPriceBX96, sqrtPriceAX96);\\n            uint256 intermediate = FullMath.mulDiv(sqrtPriceAX96, sqrtPriceBX96, FixedPoint96.Q96);\\n            return FullMath.mulDiv(amount0, intermediate, sqrtPriceBX96 - sqrtPriceAX96).toUint128();\\n        }\\n    }\\n\\n    /// @notice Computes the amount of liquidity received for a given amount of token1 and price range\\n    /// @dev Calculates amount1 / (sqrt(upper) - sqrt(lower)).\\n    /// @param sqrtPriceAX96 A sqrt price representing the first tick boundary\\n    /// @param sqrtPriceBX96 A sqrt price representing the second tick boundary\\n    /// @param amount1 The amount1 being sent in\\n    /// @return liquidity The amount of returned liquidity\\n    function getLiquidityForAmount1(uint160 sqrtPriceAX96, uint160 sqrtPriceBX96, uint256 amount1)\\n        internal\\n        pure\\n        returns (uint128 liquidity)\\n    {\\n        unchecked {\\n            if (sqrtPriceAX96 > sqrtPriceBX96) (sqrtPriceAX96, sqrtPriceBX96) = (sqrtPriceBX96, sqrtPriceAX96);\\n            return FullMath.mulDiv(amount1, FixedPoint96.Q96, sqrtPriceBX96 - sqrtPriceAX96).toUint128();\\n        }\\n    }\\n\\n    /// @notice Computes the maximum amount of liquidity received for a given amount of token0, token1, the current\\n    /// pool prices and the prices at the tick boundaries\\n    /// @param sqrtPriceX96 A sqrt price representing the current pool prices\\n    /// @param sqrtPriceAX96 A sqrt price representing the first tick boundary\\n    /// @param sqrtPriceBX96 A sqrt price representing the second tick boundary\\n    /// @param amount0 The amount of token0 being sent in\\n    /// @param amount1 The amount of token1 being sent in\\n    /// @return liquidity The maximum amount of liquidity received\\n    function getLiquidityForAmounts(\\n        uint160 sqrtPriceX96,\\n        uint160 sqrtPriceAX96,\\n        uint160 sqrtPriceBX96,\\n        uint256 amount0,\\n        uint256 amount1\\n    ) internal pure returns (uint128 liquidity) {\\n        if (sqrtPriceAX96 > sqrtPriceBX96) (sqrtPriceAX96, sqrtPriceBX96) = (sqrtPriceBX96, sqrtPriceAX96);\\n\\n        if (sqrtPriceX96 <= sqrtPriceAX96) {\\n            liquidity = getLiquidityForAmount0(sqrtPriceAX96, sqrtPriceBX96, amount0);\\n        } else if (sqrtPriceX96 < sqrtPriceBX96) {\\n            uint128 liquidity0 = getLiquidityForAmount0(sqrtPriceX96, sqrtPriceBX96, amount0);\\n            uint128 liquidity1 = getLiquidityForAmount1(sqrtPriceAX96, sqrtPriceX96, amount1);\\n\\n            liquidity = liquidity0 < liquidity1 ? liquidity0 : liquidity1;\\n        } else {\\n            liquidity = getLiquidityForAmount1(sqrtPriceAX96, sqrtPriceBX96, amount1);\\n        }\\n    }\\n}\\n\",\"keccak256\":\"0x8ea74b89831877ffe657f8461164a01a6f3c7e46f415410854fca8d28a8cab53\",\"license\":\"MIT\"}},\"version\":1}","userdoc":{"kind":"user","methods":{"execSwap(bytes)":{"notice":"Velora / Fly guarded swaps, delegatecalled into `swapModule`."},"setPoolAllowed(bytes32,bool)":{"notice":"Allow (or stop allowing) NEW executor positions in a pool. Key: V4 poolId, or the V3 pool address left-padded to bytes32. De-listing never traps capital: exits are not gated."},"setV4HookAllowed(address,bool)":{"notice":"Allow (or stop allowing) NEW V4 positions in pools using `hook`. De-listing never traps capital: exits (decrease/collect/burn) are not gated by this list."},"setPoolAllowlist(bytes32[],bool)":{"notice":"Seed the allowlist and set the enforcement flag in ONE call, so a redeploy never leaves the flag on over an empty list."}},"version":1},"devdoc":{"kind":"dev","errors":{"FailedCall()":[{"details":"A call to an address target failed. The target may have reverted."}],"EnforcedPause()":[{"details":"The operation failed because the contract is paused."}],"ExpectedPause()":[{"details":"The operation failed because the contract is not paused."}],"NotInitializing()":[{"details":"The contract is not initializing."}],"ERC1967NonPayable()":[{"details":"An upgrade function sees `msg.value > 0` that may be lost."}],"InvalidInitialization()":[{"details":"The contract is already initialized."}],"AddressEmptyCode(address)":[{"details":"There's no code at `target` (it is not a contract)."}],"OwnableInvalidOwner(address)":[{"details":"The owner is not a valid owner account. (eg. `address(0)`)"}],"UUPSUnauthorizedCallContext()":[{"details":"The call is from an unauthorized context."}],"ReentrancyGuardReentrantCall()":[{"details":"Unauthorized reentrant call."}],"SafeERC20FailedOperation(address)":[{"details":"An operation with an ERC-20 token failed."}],"OwnableUnauthorizedAccount(address)":[{"details":"The caller account is not authorized to perform an operation."}],"ERC1967InvalidImplementation(address)":[{"details":"The `implementation` of the proxy is invalid."}],"UUPSUnsupportedProxiableUUID(bytes32)":[{"details":"The storage `slot` is unsupported as a UUID."}]},"events":{"Paused(address)":{"details":"Emitted when the pause is triggered by `account`."},"Unpaused(address)":{"details":"Emitted when the pause is lifted by `account`."},"Upgraded(address)":{"details":"Emitted when the implementation is upgraded."},"Initialized(uint64)":{"details":"Triggered when the contract has been initialized or reinitialized."}},"methods":{"owner()":{"details":"Returns the address of the current owner."},"paused()":{"details":"Returns true if the contract is paused, and false otherwise."},"pendingOwner()":{"details":"Returns the address of the pending owner."},"execSwap(bytes)":{"details":"Only the two `IALMSwapModule` swap selectors pass, for EVERY caller (owner included). The module's revert data is bubbled RAW: offchain error decoding and the Velora `EnforcedPause` attribution read it byte-for-byte. `whenNotPaused` stays on this entry."},"proxiableUUID()":{"details":"Implementation of the ERC-1822 {proxiableUUID} function. This returns the storage slot used by the implementation. It is used to validate the implementation's compatibility when performing an upgrade. IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this function revert if invoked through a proxy. This is guaranteed by the `notDelegated` modifier."},"acceptOwnership()":{"details":"The new owner accepts the ownership transfer."},"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."},"setSwapModule(address)":{"details":"Upgrades set it atomically: `upgradeToAndCall(newImpl, abi.encodeCall(setSwapModule, (m)))`."},"transferOwnership(address)":{"details":"Starts the ownership transfer of the contract to a new account. Replaces the pending transfer if there is one. Can only be called by the current owner. Setting `newOwner` to the zero address is allowed; this can be used to cancel an initiated ownership transfer."},"setPoolAllowlistEnforced(bool)":{"details":"Enforced with an empty list denies every executor entry (owner entries stay exempt)."},"setV4HookAllowed(address,bool)":{"details":"Enabling refuses a hook whose address carries remove-liquidity or *_RETURNS_DELTA bits."},"upgradeToAndCall(address,bytes)":{"details":"Upgrade the implementation of the proxy to `newImplementation`, and subsequently execute the function call encoded in `data`. Calls {_authorizeUpgrade}. Emits an {Upgraded} event."}},"version":1},"storageLayout":{"types":{"t_bool":{"label":"bool","encoding":"inplace","numberOfBytes":"1"},"t_int24":{"label":"int24","encoding":"inplace","numberOfBytes":"3"},"t_uint8":{"label":"uint8","encoding":"inplace","numberOfBytes":"1"},"t_uint32":{"label":"uint32","encoding":"inplace","numberOfBytes":"4"},"t_uint64":{"label":"uint64","encoding":"inplace","numberOfBytes":"8"},"t_address":{"label":"address","encoding":"inplace","numberOfBytes":"20"},"t_bytes32":{"label":"bytes32","encoding":"inplace","numberOfBytes":"32"},"t_uint256":{"label":"uint256","encoding":"inplace","numberOfBytes":"32"},"t_array(t_uint64)24_storage":{"base":"t_uint64","label":"uint64[24]","encoding":"inplace","numberOfBytes":"192"},"t_mapping(t_address,t_bool)":{"key":"t_address","label":"mapping(address => bool)","value":"t_bool","encoding":"mapping","numberOfBytes":"32"},"t_mapping(t_bytes32,t_bool)":{"key":"t_bytes32","label":"mapping(bytes32 => bool)","value":"t_bool","encoding":"mapping","numberOfBytes":"32"},"t_array(t_uint256)24_storage":{"base":"t_uint256","label":"uint256[24]","encoding":"inplace","numberOfBytes":"768"},"t_array(t_uint256)45_storage":{"base":"t_uint256","label":"uint256[45]","encoding":"inplace","numberOfBytes":"1440"},"t_mapping(t_address,t_uint8)":{"key":"t_address","label":"mapping(address => uint8)","value":"t_uint8","encoding":"mapping","numberOfBytes":"32"}},"storage":[{"slot":"0","type":"t_bool","astId":4496,"label":"upgradeabilityFrozen","offset":0,"contract":"ALMCoreUpgradeable.sol:ALMCoreUpgradeable"},{"slot":"0","type":"t_address","astId":4501,"label":"v3Factory","offset":1,"contract":"ALMCoreUpgradeable.sol:ALMCoreUpgradeable"},{"slot":"1","type":"t_address","astId":4503,"label":"nfpm","offset":0,"contract":"ALMCoreUpgradeable.sol:ALMCoreUpgradeable"},{"slot":"2","type":"t_address","astId":4505,"label":"router","offset":0,"contract":"ALMCoreUpgradeable.sol:ALMCoreUpgradeable"},{"slot":"3","type":"t_address","astId":4507,"label":"quoterV2","offset":0,"contract":"ALMCoreUpgradeable.sol:ALMCoreUpgradeable"},{"slot":"4","type":"t_address","astId":4509,"label":"v4PositionManager","offset":0,"contract":"ALMCoreUpgradeable.sol:ALMCoreUpgradeable"},{"slot":"5","type":"t_address","astId":4511,"label":"kyberRouter","offset":0,"contract":"ALMCoreUpgradeable.sol:ALMCoreUpgradeable"},{"slot":"6","type":"t_address","astId":4513,"label":"baseToken","offset":0,"contract":"ALMCoreUpgradeable.sol:ALMCoreUpgradeable"},{"slot":"7","type":"t_address","astId":4515,"label":"v4StateView","offset":0,"contract":"ALMCoreUpgradeable.sol:ALMCoreUpgradeable"},{"slot":"8","type":"t_address","astId":4517,"label":"permit2","offset":0,"contract":"ALMCoreUpgradeable.sol:ALMCoreUpgradeable"},{"slot":"9","type":"t_address","astId":4519,"label":"v3Module","offset":0,"contract":"ALMCoreUpgradeable.sol:ALMCoreUpgradeable"},{"slot":"10","type":"t_address","astId":4521,"label":"v4Module","offset":0,"contract":"ALMCoreUpgradeable.sol:ALMCoreUpgradeable"},{"slot":"11","type":"t_uint256","astId":4523,"label":"defaultDeadlineSec","offset":0,"contract":"ALMCoreUpgradeable.sol:ALMCoreUpgradeable"},{"slot":"12","type":"t_uint256","astId":4525,"label":"slippageBpsMax","offset":0,"contract":"ALMCoreUpgradeable.sol:ALMCoreUpgradeable"},{"slot":"13","type":"t_uint256","astId":4527,"label":"swapLossBpsMax","offset":0,"contract":"ALMCoreUpgradeable.sol:ALMCoreUpgradeable"},{"slot":"14","type":"t_uint32","astId":4529,"label":"twapWindowSec","offset":0,"contract":"ALMCoreUpgradeable.sol:ALMCoreUpgradeable"},{"slot":"14","type":"t_int24","astId":4531,"label":"twapMaxTickDiff","offset":4,"contract":"ALMCoreUpgradeable.sol:ALMCoreUpgradeable"},{"slot":"15","type":"t_mapping(t_address,t_bool)","astId":4535,"label":"isExecutor","offset":0,"contract":"ALMCoreUpgradeable.sol:ALMCoreUpgradeable"},{"slot":"16","type":"t_mapping(t_address,t_bool)","astId":4539,"label":"isTokenAllowed","offset":0,"contract":"ALMCoreUpgradeable.sol:ALMCoreUpgradeable"},{"slot":"17","type":"t_mapping(t_address,t_bool)","astId":4543,"label":"isTokenBlocked","offset":0,"contract":"ALMCoreUpgradeable.sol:ALMCoreUpgradeable"},{"slot":"18","type":"t_mapping(t_address,t_uint8)","astId":4547,"label":"stableTokenDecimals","offset":0,"contract":"ALMCoreUpgradeable.sol:ALMCoreUpgradeable"},{"slot":"19","type":"t_uint256","astId":4549,"label":"slippageBpsMaxX100","offset":0,"contract":"ALMCoreUpgradeable.sol:ALMCoreUpgradeable"},{"slot":"20","type":"t_uint256","astId":4551,"label":"swapLossBpsMaxX100","offset":0,"contract":"ALMCoreUpgradeable.sol:ALMCoreUpgradeable"},{"slot":"21","type":"t_bool","astId":4553,"label":"fineBpsParamsEnabled","offset":0,"contract":"ALMCoreUpgradeable.sol:ALMCoreUpgradeable"},{"slot":"22","type":"t_uint256","astId":4555,"label":"v4StablePriceMinX18","offset":0,"contract":"ALMCoreUpgradeable.sol:ALMCoreUpgradeable"},{"slot":"23","type":"t_uint256","astId":4557,"label":"v4StablePriceMaxX18","offset":0,"contract":"ALMCoreUpgradeable.sol:ALMCoreUpgradeable"},{"slot":"24","type":"t_uint256","astId":4559,"label":"executorRiskCapitalNormalized","offset":0,"contract":"ALMCoreUpgradeable.sol:ALMCoreUpgradeable"},{"slot":"25","type":"t_uint256","astId":4561,"label":"executorLossCapBpsX100","offset":0,"contract":"ALMCoreUpgradeable.sol:ALMCoreUpgradeable"},{"slot":"26","type":"t_bool","astId":4563,"label":"executorLossBudgetEnabled","offset":0,"contract":"ALMCoreUpgradeable.sol:ALMCoreUpgradeable"},{"slot":"27","type":"t_array(t_uint64)24_storage","astId":4567,"label":"executorLossBucketHours","offset":0,"contract":"ALMCoreUpgradeable.sol:ALMCoreUpgradeable"},{"slot":"33","type":"t_array(t_uint256)24_storage","astId":4571,"label":"executorLossBucketAmounts","offset":0,"contract":"ALMCoreUpgradeable.sol:ALMCoreUpgradeable"},{"slot":"57","type":"t_address","astId":4573,"label":"flyRouter","offset":0,"contract":"ALMCoreUpgradeable.sol:ALMCoreUpgradeable"},{"slot":"58","type":"t_address","astId":4575,"label":"veloraRouter","offset":0,"contract":"ALMCoreUpgradeable.sol:ALMCoreUpgradeable"},{"slot":"59","type":"t_address","astId":4578,"label":"swapModule","offset":0,"contract":"ALMCoreUpgradeable.sol:ALMCoreUpgradeable"},{"slot":"60","type":"t_mapping(t_address,t_bool)","astId":4583,"label":"isV4HookAllowed","offset":0,"contract":"ALMCoreUpgradeable.sol:ALMCoreUpgradeable"},{"slot":"61","type":"t_mapping(t_bytes32,t_bool)","astId":4588,"label":"isPoolAllowed","offset":0,"contract":"ALMCoreUpgradeable.sol:ALMCoreUpgradeable"},{"slot":"62","type":"t_bool","astId":4591,"label":"poolAllowlistEnforced","offset":0,"contract":"ALMCoreUpgradeable.sol:ALMCoreUpgradeable"},{"slot":"63","type":"t_array(t_uint256)45_storage","astId":4595,"label":"__gap","offset":0,"contract":"ALMCoreUpgradeable.sol:ALMCoreUpgradeable"}]},"transientStorageLayout":{"types":null,"storage":[]},"evm":{"bytecode":{"object":"60a080604052346100e65760017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055306080525f516020615e5a5f395f51905f525460ff8160401c166100d7576002600160401b03196001600160401b03821601610084575b604051615d6f90816100eb82396080518181816116710152613c5c0152f35b6001600160401b0319166001600160401b039081175f516020615e5a5f395f51905f525581527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602090a15f80610065565b63f92ee8a960e01b5f5260045ffd5b5f80fdfe6080604052600436101561001a575b3615610018575f80fd5b005b5f3560e01c806306b091f9146105d957806308565bc1146105d45780630a147277146105cf5780630d3eeec1146105ca5780630d734324146105c5578063101ec30a146105c057806312261ee7146105bb57806312f62498146105b6578063141b73c4146105b1578063150b7a02146105ac578063152d0731146105a75780631698ee82146105a25780631de93b481461059d5780631e1bff3f146105985780631f2d5966146105935780632240e6121461058e578063236e5f1414610589578063249d39e91461058457806324bf6e911461057f5780632565c8841461057a578063271d6ffe14610575578063297e396914610570578063323134701461056b5780633659cfe6146105665780633bafd1b3146105615780633c5f72141461055c5780633f1aa6a2146105575780633f4ba83a14610552578063433ca2ec1461054d578063476526a3146105485780634bb3ae3e146105435780634f1ef2861461053e57806352d1902d1461053957806355feedc11461053457806357dccc041461052f5780635c60da1b1461052a5780635c975abb14610525578063605edf1a146105205780636088e93a1461051b57806360996f0d14610516578063660bd0c0146105115780636cf9219f1461050c5780636cfb6bf914610507578063702e1bf414610502578063715018a6146104fd5780637303e913146104f857806376ea0c55146104f3578063785e8275146104ee57806379ba5097146104e95780637c887c59146104e45780637fb051ba146104df578063837e864b146104da57806384276d81146104d55780638456cb59146104d05780638aaa2284146104cb5780638b33203c146104c65780638da5cb5b146104c15780638ebf8289146104bc5780639039cce6146104b757806391c0cd1e146104b2578063941158b0146104ad57806396bd0952146104a85780639c50a4d9146104a3578063a0909db21461049e578063ad3cb1cc14610499578063adf3036114610494578063b9c22f791461048f578063bae7a8ad1461048a578063bec3188914610485578063c475551a14610480578063c55dae631461047b578063c8a85be114610476578063c99f1e5414610471578063cc19de2a1461046c578063cc47abf614610467578063cf753d1214610462578063d24b37971461045d578063d3047d5614610458578063d588f04b14610453578063d74a5d001461044e578063dc419d5914610449578063debfda3014610444578063e20dccb21461043f578063e2f4dd431461043a578063e30c397814610435578063f2fde38b14610430578063f63ca6e41461042b578063f702d94f14610426578063f887ea4014610421578063f9eaee0d1461041c578063fa716b3f146104175763ff1f9c7a0361000e57612941565b612919565b6128d9565b6128b1565b61287c565b612849565b6127c1565b61278d565b612765565b61273d565b6126fd565b612685565b61264b565b612631565b612614565b6125f3565b612563565b612523565b612506565b6124de565b612431565b612409565b6123d8565b6123b6565b612399565b612371565b612354565b61230d565b6121eb565b6121ce565b612139565b612109565b6120ef565b6120c8565b612054565b612020565b611ff3565b611fd4565b611f2f565b611e8c565b611e3c565b611e14565b611de9565b611d9d565b611d0f565b611cd1565b611ca9565b611c8a565b611bb7565b6119cb565b6119a8565b611986565b611912565b611836565b611809565b6117db565b6117a7565b611713565b6116c5565b61165f565b611616565b6114e2565b6114c0565b61148e565b611410565b61135b565b611339565b611193565b611096565b61104c565b610fec565b610fc4565b610f8a565b610f68565b610f4c565b610ebb565b610e74565b610e57565b610deb565b610d9f565b610d4d565b610ccc565b610c72565b610c55565b610b6c565b610b44565b610afd565b610a1b565b6107d9565b610769565b61074c565b61060d565b6001600160a01b038116036105ef57565b5f80fd5b60643590610600826105de565b565b3590610600826105de565b346105ef5760403660031901126105ef5760043561062a816105de565b6024359061063661342b565b61063e61344b565b6001600160a01b03169081156107335780156107245760018060a01b035f516020615ca35f395f51905f5254166040519063a9059cbb60e01b5f526004528160245260205f60448180875af160015f5114811615610705575b604091909152156106e9576040519081527f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a94243649080602081015b0390a261001860015f516020615d035f395f51905f5255565b635274afe760e01b5f526001600160a01b03821660045260245ffd5b600181151661071b573d15843b15151616610697565b503d5f823e3d90fd5b6365e52d5160e11b5f5260045ffd5b63ae9954c360e01b5f5260045ffd5b5f9103126105ef57565b346105ef575f3660031901126105ef576020600d54604051908152f35b346105ef5760203660031901126105ef57600435610786816105de565b60018060a01b03165f52603c602052602060ff60405f2054166040519015158152f35b9181601f840112156105ef578235916001600160401b0383116105ef576020808501948460051b0101116105ef57565b346105ef5760203660031901126105ef576004356001600160401b0381116105ef576108099036906004016107a9565b9061081261342b565b6008546001600160a01b03161561095e575f5b82811061082e57005b6108656108536108476108428487876129b5565b6129ca565b6001600160a01b031690565b6008546001600160a01b031690613483565b60085461087c90610847906001600160a01b031681565b9061088b6108428286866129b5565b6004546001600160a01b0316833b156105ef576040516387517c4560e01b81526001600160a01b039283166004820152911660248201525f604482018190526001606483015290928390608490829084905af19182156109595760019261093f575b506108fc6108428286866129b5565b60045460a084901b8490039081166001600160a01b031691167f8e6082f82d88ebb7595b02d55ede8094ce17e40029d61292354afbb04ffaae855f80a301610825565b8061094d5f61095393611545565b80610742565b5f6108ed565b6129d4565b63876dafaf60e01b5f5260045ffd5b9181601f840112156105ef578235916001600160401b0383116105ef57602083818601950101116105ef57565b60206003198201126105ef57600435906001600160401b0382116105ef576109c49160040161096d565b9091565b91908251928382525f5b8481106109f2575050825f602080949584010152601f8019910116010190565b806020809284010151828286010152016109d2565b906020610a189281815201906109c8565b90565b610a243661099a565b90335f52600f60205260ff60405f2054168015610add575b15610ace57610a4961344b565b610a5161354a565b610a5b8282613937565b600a546001600160a01b03168015610abf57825f939284936040519283928337810184815203915af4610a8c6129ec565b9015610ab757610ab39060015f516020615d035f395f51905f525560405191829182610a07565b0390f35b602081519101fd5b63350c20f160e01b5f5260045ffd5b6312e25d5960e11b5f5260045ffd5b505f516020615ca35f395f51905f52546001600160a01b03163314610a3c565b346105ef5760203660031901126105ef57600435610b1a816105de565b610b2261342b565b600880546001600160a01b0319166001600160a01b0392909216919091179055005b346105ef575f3660031901126105ef576008546040516001600160a01b039091168152602090f35b346105ef5760203660031901126105ef57600435610b89816105de565b610b9161342b565b6001600160a01b038116908115610733573b15610abf576040516301ffc9a760e01b8152639a741b9f60e01b6004820152602081602481855afa5f9181610c24575b50610be75763350c20f160e01b5f5260045ffd5b15610abf57603b80546001600160a01b031916821790557f5371b5384a8ca13185168caea3d68cdae7cdd42fa4b99deede7ed3a345f7d1735f80a2005b610c4791925060203d602011610c4e575b610c3f8183611545565b810190613bc2565b905f610bd3565b503d610c35565b346105ef575f3660031901126105ef576020601754604051908152f35b346105ef5760803660031901126105ef57610c8e6004356105de565b610c996024356105de565b6064356001600160401b0381116105ef57610cb890369060040161096d565b5050604051630a85bd0160e11b8152602090f35b346105ef575f3660031901126105ef57610ce4613c52565b610cec61342b565b5f5460ff8116610d265760019060ff1916175f557fbbbfc8f80672f98366c78f334ec935871991b2825f67cbe69bae201705e81a0c5f80a1005b63d74c95cb60e01b5f5260045ffd5b62ffffff8116036105ef57565b359061060082610d35565b346105ef5760603660031901126105ef576020610d8d600435610d6f816105de565b602435610d7b816105de565b60443591610d8883610d35565b613cd0565b6040516001600160a01b039091168152f35b346105ef575f3660031901126105ef576020601854604051908152f35b801515036105ef57565b60409060031901126105ef57600435610dde816105de565b90602435610a1881610dbc565b346105ef5760207f278b09622564dd3991fe7744514513d64ea2c8ed2b2b9ec1150ad964fde80a99610e1c36610dc6565b9290610e2661342b565b6001600160a01b03165f818152600f835260409020805460ff191660ff86151516179055925b6040519015158152a2005b346105ef575f3660031901126105ef576020600b54604051908152f35b346105ef5760203660031901126105ef57600435610e91816105de565b610e9961342b565b600780546001600160a01b0319166001600160a01b0392909216919091179055005b610ec43661099a565b90335f52600f60205260ff60405f2054168015610f2c575b15610ace57610ee961344b565b610ef161354a565b610efb8282613e59565b6009546001600160a01b03168015610abf57825f939284936040519283928337810184815203915af4610a8c6129ec565b505f516020615ca35f395f51905f52546001600160a01b03163314610edc565b346105ef575f3660031901126105ef5760206040516127108152f35b346105ef575f3660031901126105ef576020610f82612a1b565b604051908152f35b346105ef575f3660031901126105ef5760206040517f999a33e54989faec6502b28ef75a794e0e28fc38d2dc9648a906e853cca474be8152f35b346105ef575f3660031901126105ef57603a546040516001600160a01b039091168152602090f35b346105ef575f3660031901126105ef576007546040516001600160a01b039091168152602090f35b60406003198201126105ef57600435906001600160401b0382116105ef5761103e916004016107a9565b9091602435610a1881610dbc565b346105ef5761105a36611014565b909161106461342b565b5f5b83811061106f57005b806110908461108160019488876129b5565b3561108b816105de565b6141c4565b01611066565b346105ef5760203660031901126105ef576004356110b3816105de565b6110bb613c52565b604051906110ca602083611545565b5f825260ff5f5416610d26576110de613c52565b6110e661342b565b6040516352d1902d60e01b8152916020836004816001600160a01b0386165afa5f9381611162575b5061112f57634c9c8ce360e01b5f526001600160a01b03821660045260245ffd5b905f516020615cc35f395f51905f52830361114e576100189250615a8a565b632a87526960e21b5f52600483905260245ffd5b61118591945060203d60201161118c575b61117d8183611545565b81019061564f565b925f61110e565b503d611173565b346105ef576102603660031901126105ef576004356111b1816105de565b6101e03660231901126105ef576040366102031901126105ef576020366102431901126105ef575f516020615d235f395f51905f5254906001600160401b0361121260ff604085901c1615611205565b1590565b936001600160401b031690565b1680159081611331575b6001149081611327575b15908161131e575b5061130f57611271908261126860016001600160401b03195f516020615d235f395f51905f525416175f516020615d235f395f51905f5255565b6112d557612a39565b61127757005b6112a160ff60401b195f516020615d235f395f51905f5254165f516020615d235f395f51905f5255565b604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29080602081015b0390a1005b61130a6801000000000000000060ff60401b195f516020615d235f395f51905f525416175f516020615d235f395f51905f5255565b612a39565b63f92ee8a960e01b5f5260045ffd5b9050155f61122e565b303b159150611226565b83915061121c565b346105ef575f3660031901126105ef576020600e54811c60020b604051908152f35b346105ef5760403660031901126105ef576004356001600160401b0381116105ef5761138b9036906004016107a9565b6024356001600160401b0381116105ef576113aa9036906004016107a9565b906113b361342b565b818303611401575f5b8381106113c557005b806113fb6113d660019387896129b5565b356113e0816105de565b6113eb8387876129b5565b35906113f682612871565b61437b565b016113bc565b631fec674760e31b5f5260045ffd5b346105ef575f3660031901126105ef5761142861342b565b5f516020615ce35f395f51905f525460ff81161561147f5760ff19165f516020615ce35f395f51905f52557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6020604051338152a1005b638dfc202b60e01b5f5260045ffd5b346105ef575f3660031901126105ef576114a66143f1565b6114ae614406565b60408051928352602083019190915290f35b346105ef575f3660031901126105ef57602060ff603e54166040519015158152f35b346105ef5760203660031901126105ef576004355f52603d602052602060ff60405f2054166040519015158152f35b634e487b7160e01b5f52604160045260245ffd5b60a081019081106001600160401b0382111761154057604052565b611511565b90601f801991011681019081106001600160401b0382111761154057604052565b6040519061060061018083611545565b604051906106006101a083611545565b6040519061060061012083611545565b6040519061060061016083611545565b6040519061060060a083611545565b6001600160401b03811161154057601f01601f191660200190565b81601f820112156105ef578035906115e7826115b5565b926115f56040519485611545565b828452602083830101116105ef57815f926020809301838601378301015290565b60403660031901126105ef5760043561162e816105de565b6024356001600160401b0381116105ef5761164d9036906004016115d0565b9060ff5f5416610d26576110de613c52565b346105ef575f3660031901126105ef577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031630036116b65760206040515f516020615cc35f395f51905f528152f35b63703e46dd60e11b5f5260045ffd5b346105ef575f3660031901126105ef576116dd61342b565b5f5b601881101561001857806116f4600192612e38565b6001600160401b0382549160031b1b191690555f8160210155016116df565b346105ef5761172136611014565b9061172a61342b565b5f5b81811061173c5761001883614466565b6117478183866129b5565b3590811561179857816001925f52603d60205260405f208360ff198254161790557ff565a91252cfbf3ef576a7de924ab11175ba29b316695baeaa0762c25684fcdf6020604051858152a20161172c565b633234591360e21b5f5260045ffd5b346105ef575f3660031901126105ef575f516020615cc35f395f51905f52546040516001600160a01b039091168152602090f35b346105ef575f3660031901126105ef57602060ff5f516020615ce35f395f51905f5254166040519015158152f35b346105ef5760203660031901126105ef5761001860043561182981610dbc565b61183161342b565b614466565b346105ef5760403660031901126105ef57600435611853816105de565b6024359061185f61342b565b61186761344b565b6001600160a01b03169081156107335761187f612986565b90823b156105ef576040516323b872dd60e01b81523060048201526001600160a01b03929092166024830152604482018190525f8260648183875af1908115610959577f3a1474f7e987c73586ba37f580025eac82a1456e87b9eace40768b8518a4b375926106d0926118fe575b506040519081529081906020820190565b8061094d5f61190c93611545565b5f6118ed565b346105ef5760203660031901126105ef5760043561192f816105de565b61193761342b565b6001600160a01b038116908115610733573b15610abf57603980546001600160a01b031916821790557fdb21ee24b749ce266d7e9bb769cc693d234aee3572e069ca1d70fa69b051f5b65f80a2005b346105ef575f3660031901126105ef57602060ff601554166040519015158152f35b346105ef575f3660031901126105ef57602063ffffffff600e5416604051908152f35b346105ef5760c03660031901126105ef576004356119e8816105de565b6024356119f4816105de565b604435611a00816105de565b60643590611a0d826105de565b60843592611a1a846105de565b60a43594611a27866105de565b611a2f61342b565b6001600160a01b031680611b49575b506001600160a01b038116611b1f575b506001600160a01b038116611afa575b506001600160a01b038116611ad5575b506001600160a01b038116611ab0575b506001600160a01b038116611a8f57005b600480546001600160a01b0319166001600160a01b03909216919091179055005b600380546001600160a01b0319166001600160a01b039092169190911790555f611a7e565b600280546001600160a01b0319166001600160a01b039092169190911790555f611a6e565b600180546001600160a01b0319166001600160a01b039092169190911790555f611a5e565b5f8054610100600160a81b03191660089290921b610100600160a81b03169190911790555f611a4e565b6001600160601b0360a01b60065416176006555f611a3e565b63ffffffff8116036105ef57565b8060020b036105ef57565b359061060082611b70565b60a09060031901126105ef57600435906024359060443590606435611baa81611b62565b90608435610a1881611b70565b346105ef57611bc536611b86565b92611bd194929461342b565b606481118015611c80575b611c715761001894611c1d82611c5095611c0d8887611bfd611c2598612e78565b611c0688612e78565b90856144a4565b600b5580600c5582600d55612e78565b601355612e78565b601455611c3a600160ff196015541617601555565b63ffffffff1663ffffffff19600e541617600e55565b600e549060201b66ffffff00000000169066ffffff00000000191617600e55565b637bdbf33d60e01b5f5260045ffd5b5060648511611bdc565b346105ef575f3660031901126105ef5763ffc0fd9360e01b5f5260045ffd5b346105ef575f3660031901126105ef576001546040516001600160a01b039091168152602090f35b346105ef5760203660031901126105ef57600435611cee816105de565b60018060a01b03165f526012602052602060ff60405f205416604051908152f35b346105ef5760a03660031901126105ef576004356001600160401b0381116105ef57611d3f90369060040161096d565b602435906001600160401b0382116105ef57366023830112156105ef578160040135926001600160401b0384116105ef573660248560061b850101116105ef576100189360443591611d8f6105f3565b936024608435960191612e8e565b346105ef575f3660031901126105ef575f516020615d435f395f51905f5254336001600160a01b0390911603611dd65761001833614e16565b63118cdaa760e01b5f523360045260245ffd5b346105ef575f3660031901126105ef575f5460405160089190911c6001600160a01b03168152602090f35b346105ef575f3660031901126105ef576039546040516001600160a01b039091168152602090f35b346105ef57611e4a36611014565b9091611e5461342b565b5f5b838110611e5f57005b80611e7784611e7160019488876129b5565b3561441b565b01611e56565b908160209103126105ef573590565b346105ef5760203660031901126105ef57600435611ea861342b565b611eb061344b565b8015610724575f8080808460018060a01b035f516020615ca35f395f51905f5254165af1611edc6129ec565b5015611f205760207f7da8b376ba93770d27c25cf7bbac4d89f12ba25b3fe6e20fa9ed9e60e6d00f6091604051908152a160015f516020615d035f395f51905f5255005b63b1b5a6af60e01b5f5260045ffd5b346105ef575f3660031901126105ef57335f52600f60205260ff60405f2054168015611fb4575b15610ace57611f6361354a565b600160ff195f516020615ce35f395f51905f525416175f516020615ce35f395f51905f52557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586020604051338152a1005b505f516020615ca35f395f51905f52546001600160a01b03163314611f56565b346105ef57610018611fe536610dc6565b90611fee61342b565b614e81565b346105ef5760203660031901126105ef57610018600435612013816105de565b61201b61342b565b61432c565b346105ef575f3660031901126105ef575f516020615ca35f395f51905f52546040516001600160a01b039091168152602090f35b346105ef5760203660031901126105ef57600435612071816105de565b61207961342b565b6001600160a01b038116908115610733573b15610abf57603a80546001600160a01b031916821790557f957fea8002b35abe6fca992352a8d268b9417ee787639a8da3fc71d9528feaef5f80a2005b346105ef5760403660031901126105ef576100186024356004356120ea61342b565b613232565b346105ef575f3660031901126105ef576020610f82613367565b346105ef5760403660031901126105ef5761001860243560043561212c82610dbc565b61213461342b565b61441b565b346105ef5761214736610dc6565b61214f61342b565b6001600160a01b038216918215610733578190816121c0575b506121b15760207f863bee5db55c02da8b80774d486b56883894e4ea55bbab0ca9d66352ee99a11691835f52603c8252610e4c8160405f209060ff801983541691151516179055565b633832f55960e21b5f5260045ffd5b61030f91501615155f612168565b346105ef575f3660031901126105ef576020600c54604051908152f35b346105ef576121f93661099a565b90335f52600f60205260ff60405f20541680156122ed575b15610ace5761221e61344b565b61222661354a565b6122308282614ed5565b6001600160e01b0319811663938a6e9760e01b81141590816122db575b506122bf5750603b546001600160a01b031680156122b0575f928392612278604051809381936129df565b03915af46122846129ec565b9015610ab757610ab3906122a460015f516020615d035f395f51905f5255565b60405191829182610a07565b6322c1801560e11b5f5260045ffd5b638959bb4d60e01b5f526001600160e01b03191660045260245ffd5b63013fcea160e31b141590505f61224d565b505f516020615ca35f395f51905f52546001600160a01b03163314612211565b346105ef575f3660031901126105ef57610ab360405161232e604082611545565b60058152640352e302e360dc1b60208201526040519182916020835260208301906109c8565b346105ef575f3660031901126105ef576020601654604051908152f35b346105ef575f3660031901126105ef576009546040516001600160a01b039091168152602090f35b346105ef575f3660031901126105ef576020601454604051908152f35b346105ef575f3660031901126105ef57602060ff601a54166040519015158152f35b346105ef5760203660031901126105ef5760206123ff6004356123fa816105de565b6133e2565b6040519015158152f35b346105ef575f3660031901126105ef576006546040516001600160a01b039091168152602090f35b346105ef5760603660031901126105ef5760043561244e81610dbc565b6024356044359161245d61342b565b6127108311611c715780806124ce575b611c71576112d07ff1c2407154dd06d7e072d9b67f946729b9da4b7f9efba2661f88e12fca4bdb439360ff19601a541660ff8415151617601a5583601855806019556040519384938460409194939260608201951515825260208201520152565b5081158061246d5750821561246d565b346105ef575f3660031901126105ef57600a546040516001600160a01b039091168152602090f35b346105ef575f3660031901126105ef576020601354604051908152f35b346105ef5760203660031901126105ef57600435612540816105de565b60018060a01b03165f526011602052602060ff60405f2054166040519015158152f35b346105ef576100186125b363ffffffff6125ab61257f36611b86565b969361258e959293919561342b565b61259b88878685856144a4565b600b558060135582601455614fa2565b600c55614fa2565b600d55600160ff1960155416176015551663ffffffff19600e541617600e55600e549060201b66ffffff00000000169066ffffff00000000191617600e55565b346105ef575f3660031901126105ef57602060ff5f54166040519015158152f35b346105ef575f3660031901126105ef576020601954604051908152f35b346105ef5761001861264236610dc6565b9061108b61342b565b346105ef5760403660031901126105ef5761001860043561266b816105de565b60243590612678826105de565b61268061342b565b614237565b346105ef575f3660031901126105ef5760ff601a541660185490601954916126ab613367565b6126b3612a1b565b908181106126e45760c0945f935b6040519515158652602086015260408501526060840152608083015260a0820152f35b808203948286116126f85760c095936126c1565b612e64565b346105ef5760203660031901126105ef5760043561271a816105de565b60018060a01b03165f52600f602052602060ff60405f2054166040519015158152f35b346105ef575f3660031901126105ef576003546040516001600160a01b039091168152602090f35b346105ef575f3660031901126105ef576004546040516001600160a01b039091168152602090f35b346105ef575f3660031901126105ef575f516020615d435f395f51905f52546040516001600160a01b039091168152602090f35b346105ef5760203660031901126105ef576004356127de816105de565b6127e661342b565b5f516020615d435f395f51905f5280546001600160a01b0319166001600160a01b039283169081179091555f516020615ca35f395f51905f52549091167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e227005f80a3005b346105ef575f3660031901126105ef576005546040516001600160a01b039091168152602090f35b60ff8116036105ef57565b346105ef5760403660031901126105ef5761001860043561289c816105de565b602435906128a982612871565b6113f661342b565b346105ef575f3660031901126105ef576002546040516001600160a01b039091168152602090f35b346105ef5760203660031901126105ef576004356128f6816105de565b60018060a01b03165f526010602052602060ff60405f2054166040519015158152f35b346105ef575f3660031901126105ef57603b546040516001600160a01b039091168152602090f35b346105ef5761294f36611014565b909161295961342b565b5f5b83811061296457005b806129808461297660019488876129b5565b35611fee816105de565b0161295b565b5f516020615ca35f395f51905f52546001600160a01b031690565b634e487b7160e01b5f52603260045260245ffd5b91908110156129c55760051b0190565b6129a1565b35610a18816105de565b6040513d5f823e3d90fd5b908092918237015f815290565b3d15612a16573d906129fd826115b5565b91612a0b6040519384611545565b82523d5f602084013e565b606090565b60ff601a541615612a3557610a1860185460195490614011565b5f90565b6001600160a01b0381161561073357612a6190612a54615624565b612a5c615624565b614e16565b612a69615624565b612a71615624565b6001600160a01b03612a8360246129ca565b16612e09575b612a9661084760446129ca565b612dd1575b612aa861084760646129ca565b612da2575b612aba61084760846129ca565b612d73575b612acc61084760a46129ca565b612d44575b612ade61084760c46129ca565b612d15575b612af061084760e46129ca565b612ce6575b612b036108476101046129ca565b612cb6575b6101243580612cae5750612b1d610258600b55565b6101443580612ca55750612b7060035b6101643580612c9b5750612b576004915b610184359081612c9557612b529150612e78565b601355565b6101a4359081612c8f57612b6b9150612e78565b601455565b612b83612b7e601354614fa2565b600c55565b612b96612b91601454614fa2565b600d55565b612ba8600160ff196015541617601555565b63ffffffff612bb86101c4614223565b16612c7c57600e805463ffffffff191660781790555b612bd96101e461422d565b60020b612c6957600e805466ffffff0000000019166478000000001790555b612c28600b54601354601454600e5491612c22612c188463ffffffff1690565b9360201c60020b90565b936144a4565b612c47612c366102046129ca565b612c416102246129ca565b90614237565b612c556108476102446129ca565b612c5b57565b61060061201b6102446129ca565b612bf8612c776101e461422d565b611c50565b612bce612c8a6101c4614223565b611c3a565b50612b6b565b50612b52565b612b579091612b3e565b612b7090612b2d565b600b55612b1d565b612ce1612cc46101046129ca565b60018060a01b03166001600160601b0360a01b6008541617600855565b612b08565b612d10612cf360e46129ca565b60018060a01b03166001600160601b0360a01b6007541617600755565b612af5565b612d3f612d2260c46129ca565b60018060a01b03166001600160601b0360a01b6004541617600455565b612ae3565b612d6e612d5160a46129ca565b60018060a01b03166001600160601b0360a01b6003541617600355565b612ad1565b612d9d612d8060846129ca565b60018060a01b03166001600160601b0360a01b6002541617600255565b612abf565b612dcc612daf60646129ca565b60018060a01b03166001600160601b0360a01b6001541617600155565b612aad565b612e04612dde60446129ca565b5f8054610100600160a81b03191660089290921b610100600160a81b0316919091179055565b612a9b565b612e33612e1660246129ca565b60018060a01b03166001600160601b0360a01b6006541617600655565b612a89565b9060188210156129c55760188260021c601b019260031b1690565b60188110156129c557602101905f90565b634e487b7160e01b5f52601160045260245ffd5b906064820291808304606414901517156126f857565b92959193909495335f52600f60205260ff60405f20541680156131ec575b15610ace57612eb961344b565b612ec161354a565b612ecb868561481a565b612ed9610847979297612986565b33036131b3575b60c0870151306001600160a01b03909116036131a4576020870180516001600160a01b038b8116911603613195578751612f2f90610847906001600160a01b031692516001600160a01b031690565b6001600160a01b0390911614613195576001600160a01b03168015159081613175575b5061316657610100860193808551106130815760018311611401576001830361311c57836130f25786516001600160a01b0316612f95610847610842868661320c565b6001600160a01b0390911614801590613101575b6130f257612ff194612fbc610847612986565b33036130d8575b5190808211156130d05750965b612fdb610847612986565b3303613090575b612feb89614a99565b95614b4d565b612ffa84614a99565b908082106130815761300b91613225565b9182106130815761301d610847612986565b330361303d575b50505061060060015f516020615d035f395f51905f5255565b80516130799390613071906001600160a01b0316926130648560e083019585875191614c55565b516001600160a01b031690565b915191614c6a565b5f8080613024565b6362e7073960e01b5f5260045ffd5b6130cb888a6130b6826130a98c5160018060a01b031690565b60e08d019384519161495b565b89518c906001600160a01b0316915191614a0e565b612fe2565b905096612fd0565b6130ed6130e8610842868661320c565b61492a565b612fc3565b630bd8074560e21b5f5260045ffd5b5060e08701516020613113858561320c565b01351415612fa9565b83156107245786516001600160a01b031673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee14801590613158575b6130f257612ff194612fc3565b508360e0880151141561314b565b63a18d01bf60e01b5f5260045ffd5b60055490915061318d906001600160a01b0316610847565b14155f612f52565b6316f2578d60e31b5f5260045ffd5b63e294034b60e01b5f5260045ffd5b86516131c7906001600160a01b031661492a565b60208701516131de906001600160a01b031661492a565b6131e78961492a565b612ee0565b505f516020615ca35f395f51905f52546001600160a01b03163314612eac565b90156129c55790565b91908110156129c55760061b0190565b919082039182116126f857565b90811580613352575b6132f557670dbd2fc137a30000821080156132e4575b80156132d3575b80156132c2575b80156132b8575b611c7157816132957f5976992fe6bc159e825b489f5e427d6c113900ec0f428e3c0ba04fd70859d22593601655565b61329e82601755565b60408051918252602082019290925290819081015b0390a1565b5080821015613266565b50670de0b6b3a7640000811061325f565b50670de0b6b3a76400008211613258565b50670e043da6172500008111613251565b50506133005f601655565b6133095f601755565b7f5976992fe6bc159e825b489f5e427d6c113900ec0f428e3c0ba04fd70859d225604051806132b38190670de7d1b0f0f1000060206040840193670ddca0c869e6200081520152565b50801561323b565b919082018092116126f857565b5f90610e1042045f5b6018811061337c575050565b6001600160401b0361338d82612e38565b90549060031b1c168281111590816133ce575b506133ae575b600101613370565b926133b884612e53565b90549060031b1c81018091116126f857926133a6565b905082038281116126f8576018115f6133a0565b6001600160a01b0381165f8181526011602052604090205460ff16613425575f52601060205260ff60405f20541690811561341b575090565b610a189150614ee1565b50505f90565b5f516020615ca35f395f51905f52546001600160a01b03163303611dd657565b60025f516020615d035f395f51905f5254146134745760025f516020615d035f395f51905f5255565b633ee5aeb560e01b5f5260045ffd5b9061348f5f8284614fbe565b15613498575050565b6134a2818361500b565b156134da575f6134b2918361506f565b156134ba5750565b635274afe760e01b5f9081526001600160a01b0391909116600452602490fd5b50635274afe760e01b5f9081526001600160a01b0391909116600452602490fd5b9190613508828285614fbe565b1561351257505050565b61351c818461500b565b1561352c57906134b2918361506f565b635274afe760e01b5f9081526001600160a01b038416600452602490fd5b60ff5f516020615ce35f395f51905f52541661356257565b63d93c066560e01b5f5260045ffd5b90929192836004116105ef5783116105ef57600401916003190190565b6fffffffffffffffffffffffffffffffff8116036105ef57565b35906106008261358e565b6020818303126105ef578035906001600160401b0382116105ef570190610180828203126105ef576135e3611566565b916135ed81610602565b83526135fb60208201610602565b602084015261360c60408201610d42565b604084015261361d60608201611b7b565b606084015261362e60808201611b7b565b608084015261363f60a08201611b7b565b60a084015261365060c08201610602565b60c084015260e08101356001600160401b0381116105ef57610160926136779183016115d0565b60e084015261368961010082016135a8565b61010084015261369c61012082016135a8565b6101208401526136af6101408201610602565b610140840152013561016082015290565b6020818303126105ef578035906001600160401b0382116105ef5701906101a0828203126105ef576136f0611576565b916136fa81610602565b835261370860208201610602565b602084015261371960408201610d42565b604084015261372a60608201611b7b565b606084015261373b60808201611b7b565b608084015261374c60a08201611b7b565b60a084015261375d60c08201610602565b60c084015260e08101356001600160401b0381116105ef57610180926137849183016115d0565b60e084015261379661010082016135a8565b6101008401526137a961012082016135a8565b6101208401526137bc61014082016135a8565b6101408401526137cf6101608201610602565b610160840152013561018082015290565b91909160e0818403126105ef5780359260208201356137fe8161358e565b92604083013561380d8161358e565b92606081013561381c8161358e565b926080820135906001600160401b0382116105ef5761383c9183016115d0565b9160c060a083013561384d816105de565b92013590565b9060c0828203126105ef578135926020830135926040810135926060820135906001600160401b0382116105ef5761388c9183016115d0565b9160a0608083013561384d816105de565b91909160a0818403126105ef5780359260208201359260408301356138c18161358e565b9260608101356138d08161358e565b9260808201356001600160401b0381116105ef57610a1892016115d0565b906080828203126105ef57813592602083013561390a8161358e565b9260408101356139198161358e565b9260608201356001600160401b0381116105ef57610a1892016115d0565b5f516020615ca35f395f51905f525490919061395b906001600160a01b0316610847565b3314613bbe5761396b8183614ed5565b916001600160e01b0319831663106724a160e21b8114613b8657635cad5ee160e01b8114613acd5763e44eda8960e01b8114613a9f576330b82a3d60e21b8114613a6d5763e9b8312960e01b8114613a425763013d134360e61b8114613a2657631ce433c760e21b146139f557638959bb4d60e01b5f526001600160e01b0319831660045260245ffd5b613a239250613a0b82613a1e93613a1393613571565b8101906138ee565b9150509190916150b7565b6152c9565b50565b50613a23925081613a1e92613a3a92613571565b810190611e7d565b50613a239250613a5982613a1e93613a6193613571565b81019061389d565b925050509190916150b7565b506106009250613a8f613a8783613a1e94613a9a94613571565b810190613853565b5095925090506150b7565b6151b9565b506106009250613ac1613ab983613a1e94613a9a94613571565b8101906137e0565b509693509150506150b7565b50610600925081613ae992613ae192613571565b8101906136c0565b8051613b809061016090613b71906001600160a01b03165b6020850180519091613b1d916001600160a01b03165b906150aa565b613b2a60e08601516150b7565b8451613b48906001600160a01b03165b91516001600160a01b031690565b604086015162ffffff16606087015160020b60c08801519092906001600160a01b0316936150f7565b9201516001600160a01b031690565b906151b9565b50610600925081613ba292613b9a92613571565b8101906135b3565b8051613b809061014090613b71906001600160a01b0316613b01565b5050565b908160209103126105ef5751610a1881610dbc565b803b15610abf576040516301ffc9a760e01b815263eef390ed60e01b600482015290602090829060249082906001600160a01b03165afa5f9181613c31575b50613c2a5763350c20f160e01b5f5260045ffd5b15610abf57565b613c4b91925060203d602011610c4e57610c3f8183611545565b905f613c16565b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016308114908115613c8e575b506116b657565b5f516020615cc35f395f51905f52546001600160a01b0316141590505f613c87565b5190610600826105de565b908160209103126105ef5751610a18816105de565b5f54604051630b4c774160e11b81526001600160a01b039283166004820152928216602484015262ffffff9390931660448301529092916020918491606491839160081c165afa918215610959575f92613d46575b506001600160a01b03821615613d3757565b63c8e5b88d60e01b5f5260045ffd5b613d6991925060203d602011613d70575b613d618183611545565b810190613cbb565b905f613d25565b503d613d57565b90816101209103126105ef57610100613d8e611586565b91613d9881610602565b8352613da660208201610602565b6020840152613db760408201610d42565b6040840152613dc860608201611b7b565b6060840152613dd960808201611b7b565b608084015260a081013560a084015260c081013560c084015260e081013560e0840152013561010082015290565b908160a09103126105ef578035916020820135916040810135916080606083013592013590565b91908260809103126105ef578135916020810135613e4b8161358e565b916060604083013592013590565b5f516020615ca35f395f51905f5254909190613e7d906001600160a01b0316610847565b3314613bbe57613e8d8183614ed5565b916001600160e01b03198316637547a56560e01b8114613f8357637e09446960e11b8114613f49576341743b8560e01b8114613f255763d8632f3f60e01b8114908115613f14575b50613ef757638959bb4d60e01b5f526001600160e01b0319831660045260245ffd5b613f0f925081613f0a92613a3a92613571565b615511565b505050565b6308dd0f4b60e41b1490505f613ed5565b50613f0f925081613f4192613f3992613571565b810190613e2e565b505050615511565b506106009250613f6b613f6383613f7e94613f7494613571565b810190613e07565b50505050615511565b818394929461537f565b615415565b50610600925081613f9f92613f9792613571565b810190613d77565b80516001600160a01b03166020820180519091613fc4916001600160a01b0316613b17565b815161400490613b3a90613ff6906001600160a01b031684516001600160a01b0316604087015162ffffff169161537f565b93516001600160a01b031690565b91615415565b156105ef57565b808202905f1983820990828083109203918083039283620f424011156105ef5714614071577fde8f6cefed634549b62c77574f722e1ac57e23f24d8fd5cb790fb65668c2613993620f4240910990828211900360fa1b910360061c170290565b5050620f424091500490565b808202905f1983820990828083109203918083039283670de0b6b3a764000011156105ef57146140e7577faccb18165bd6fe31ae1cf318dc5b51eee0e1ba569b88cd74c1773b91fac1066993670de0b6b3a7640000910990828211900360ee1b910360121c170290565b5050670de0b6b3a764000091500490565b81810291905f1982820991838084109303928084039384600160601b11156105ef571461413857600160601b910990828211900360a01b910360601c1790565b50505060601c90565b91818302915f1981850993838086109503948086039561416287861161400a565b146141bc579082910981805f03168092046002816003021880820260020302808202600203028082026002030280820260020302808202600203028091026002030293600183805f03040190848311900302920304170290565b505091500490565b6001600160a01b03169081156107335760207f459374521a737ddab6c308cce84921454dc67504bab079c570f6b10783a9983391835f52601182526142188160405f209060ff801983541691151516179055565b6040519015158152a2565b35610a1881611b62565b35610a1881611b70565b6001600160a01b03811691908215801561431b575b610733573b15610abf576040516301ffc9a760e01b815263194d3dc360e11b6004820152602081602481865afa5f91816142fa575b506142955763350c20f160e01b5f5260045ffd5b15610abf576142a381613bd7565b816001600160601b0360a01b600954161760095560018060a01b031690816001600160601b0360a01b600a541617600a557fe7836f4c1585572e73ac1ebd237c17348e5b453da767958b34b22bd170f6e52f5f80a3565b61431491925060203d602011610c4e57610c3f8183611545565b905f614281565b506001600160a01b0382161561424c565b6001600160a01b038116908115610733573b15610abf57600580546001600160a01b031916821790557f582a9190e9698f4ae4033df26d63cee4674df3b1b6bc85f15c7b6f6e5b915b585f80a2565b6001600160a01b03169081156107335760ff16601281116143db575f82815260126020908152604091829020805460ff19168417905590519182527f31dfb0b93d14a11354bdf350f127e8377a7bd3cbbd5d0f0bfad2d98eb677663091a2565b90633477b72d60e21b5f5260045260245260445ffd5b60165480610a185750670ddca0c869e6200090565b60175480610a185750670de7d1b0f0f1000090565b9081156117985760207ff565a91252cfbf3ef576a7de924ab11175ba29b316695baeaa0762c25684fcdf91835f52603d82526142188160405f209060ff801983541691151516179055565b60207f8e9de2ad3a40d17f313c20330499cca08ea2af3f45dc68f8f03e27caab0bced391151560ff19603e541660ff821617603e55604051908152a1565b601e8110908115614509575b50611c715761271010611c715761271010611c715763ffffffff16601e81109081156144fd575b50611c715760020b5f81129081156144f1575b50611c7157565b6113889150135f6144ea565b610e109150115f6144d7565b610e109150115f6144b0565b6001600160401b0381116115405760051b60200190565b9080601f830112156105ef57813561454381614515565b926145516040519485611545565b81845260208085019260051b8201019283116105ef57602001905b8282106145795750505090565b602080918335614588816105de565b81520191019061456c565b9080601f830112156105ef5781356145aa81614515565b926145b86040519485611545565b81845260208085019260051b8201019283116105ef57602001905b8282106145e05750505090565b81358152602091820191016145d3565b919091610160818403126105ef57614606611596565b9261461082610602565b845261461e60208301610602565b602085015260408201356001600160401b0381116105ef578161464291840161452c565b604085015260608201356001600160401b0381116105ef5781614666918401614593565b606085015260808201356001600160401b0381116105ef578161468a91840161452c565b608085015260a08201356001600160401b0381116105ef57816146ae918401614593565b60a08501526146bf60c08301610602565b60c085015260e082013560e08501526101008201356101008501526101208201356101208501526101408201356001600160401b0381116105ef5761470492016115d0565b610140830152565b6020818303126105ef578035906001600160401b0382116105ef570160a0818303126105ef5761473a6115a6565b9161474482610602565b835261475260208301610602565b602084015260408201356001600160401b0381116105ef57816147769184016115d0565b604084015260608201356001600160401b0381116105ef578161479a9184016145f0565b606084015260808201356001600160401b0381116105ef576147bc92016115d0565b608082015290565b906080828203126105ef5781356147da816105de565b9260208301356001600160401b0381116105ef57826147fa9185016145f0565b9260408101356001600160401b0381116105ef57836139199183016115d0565b9060405161016081018181106001600160401b03821117611540576040525f81525f60208201526060604082015260608082015260606080820152606060a08201525f60c08201525f60e08201525f6101008201525f6101208201526060610140820152506004811061491b57806148929183613571565b91356001600160e01b03191663e21fd0e960e01b8114801561490b575b6148e457638af033fb60e01b146148cf57633e0420f760e11b5f5260045ffd5b6148db918101906147c4565b50509050905f90565b506148f19181019061470c565b60608101516020909101519091906001600160a01b031690565b506359e50fed60e01b81146148af565b633e0420f760e11b5f5260045ffd5b614933816133e2565b1561493b5750565b63094403b760e41b5f9081526001600160a01b0391909116600452602490fd5b601554919493929160ff16156149f257601454925b620f424080851015611c71576149896149a4928861566c565b9461499e614997868661566c565b9183613225565b90614141565b8084106149b757509361060093946156af565b604051633ec3d85360e01b81526001600160a01b039283166004820152918616602483015260448201849052606482015280608481015b0390fd5b600d546064810290808204606414901517156126f85792614970565b92909260ff601a541615614a9357614a2f92614a299161566c565b9261566c565b81811015613bbe5781039081116126f857614a48612a1b565b908115614a8457614a57613367565b8181018082116126f8578310614a6c57505050565b63e93203bf60e01b5f5260045260245260445260645ffd5b6322cfeb7760e01b5f5260045ffd5b50505050565b6001600160a01b031673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee8114614b1b576020602491604051928380926370a0823160e01b82523060048301525afa908115610959575f91614aec575090565b90506020813d602011614b13575b81614b0760209383611545565b810103126105ef575190565b3d9150614afa565b504790565b91926060938192845260406020850152816040850152848401375f828201840152601f01601f1916010190565b6005546001600160a01b0316949093909285908115614c4657821580614c3e575b610724575f5b838110614c0b57505f8060405180614b8d81898c6129df565b039088865af191614b9c6129ec565b935f5b818110614be8575050505015610ab7575090614be37f1c2e5a1031d3c1c47ea8f476f148cd18347010473bfddd5967d034cefbe63220939260405193849384614b20565b0390a2565b80614c0584614c00610847610842600196888b613215565b613483565b01614b9f565b80614c38614c226108476108426001958988613215565b856020614c30858a89613215565b0135916134fb565b01614b74565b508415614b6e565b6367d4f18960e11b5f5260045ffd5b9190614c64610600948261566c565b926156af565b929092614c7c611201601a5460ff1690565b614a9357614c8d92614a299161566c565b81811015613bbe57614c9e91613225565b614ca6612a1b565b908115614a8457614cb5613367565b9180614cc1838561335a565b11614dfb57610e1042049060188206906001600160401b038311614dec57614d7b847f621d1f8a268d20c5d876ea840dc388aa1ae082a4a6b1a64322be37e94911efec96614d60614d4e6132b3966001600160401b038916806001600160401b03614d41614d2e85612e38565b90546001600160401b039160031b1c1690565b1603614d9e575b50612e53565b614d6585614d608385549060031b1c90565b61335a565b82545f1960039390931b92831b1916911b179055565b604051948594859094939260609260808301968352602083015260408201520152565b614dca90614dab83612e38565b9091906001600160401b038084549260031b9316831b921b1916179055565b614de6614dd682612e53565b8154905f199060031b1b19169055565b5f614d48565b630625040160e01b5f5260045ffd5b63e93203bf60e01b5f5260049290925260245260445260645ffd5b5f516020615d435f395f51905f5280546001600160a01b03199081169091555f516020615ca35f395f51905f5280549182166001600160a01b0393841690811790915591167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a3565b6001600160a01b03169081156107335760207fdc86ea80c17dba36e8aac1a8a9461dcc3967506848bd50e2e48b90507867abb991835f52601082526142188160405f209060ff801983541691151516179055565b90600411610abf573590565b60014614614eee57505f90565b60018060a01b031673a0b86991c6218b36c1d19d4a2e9eb0ce3606eb488114908115614f84575b8115614f66575b8115614f48575b8115614f2d575090565b73e343167631d89b6ffc58b88d6b7fb0228795491d91501490565b734c9edd5852cd905f086c759e8383e09bff1e68b381149150614f23565b736b175474e89094c44da98b954eedeac495271d0f81149150614f1c565b73dac17f958d2ee523a2206206994597c13d831ec781149150614f15565b80614fac57505f90565b606381018091116126f8576064900490565b92916040519163095ea7b360e01b5f5260018060a01b031660045260245260205f60448180875af19260015f5114841615614ffa575b50604052565b3d15903b151516909216915f614ff4565b60405163095ea7b360e01b5f9081526001600160a01b03909316600452602483905290929160209060448180875af19260015f511484161561504d5750604052565b60018492941516615066573b15153d151616915f614ff4565b833d5f823e3d90fd5b92916040519163095ea7b360e01b5f5260018060a01b031660045260245260205f60448180875af19260015f511484161561504d5750604052565b906130e86106009261492a565b516150be57565b634ba0a8f360e01b5f5260045ffd5b604051906150da82611525565b5f6080838281528260208201528260408201528260608201520152565b939190926151036150cd565b506001600160a01b038516801580156151a8575b610733576001600160a01b03851611156151995761513761120184615714565b6121b15761517f61518992615173610a18966151636151546115a6565b6001600160a01b03909a168a52565b6001600160a01b03166020890152565b62ffffff166040870152565b60020b6060850152565b6001600160a01b03166080830152565b632e6c432360e01b5f5260045ffd5b506001600160a01b03851615615117565b9061060091604051602081019060018060a01b03835116825260018060a01b03602084015116604082015262ffffff6040840151166060820152606083015160020b608082015260018060a01b0360808401511660a082015260a0815261522160c082611545565b5190209061522e8261574e565b6157b4565b519061060082610d35565b519061060082611b70565b8092910360c081126105ef5760a0136105ef5760a060405161526a81611525565b8351615275816105de565b81526020840151615285816105de565b6020820152604084015161529881610d35565b604082015260608401516152ab81611b70565b606082015260808401516152be816105de565b608082015292015190565b9060c061531d926152d86150cd565b506004546001600160a01b03166152ef828261593d565b604051637ba03aad60e01b81526004810192909252909384916001600160a01b031690829081906024820190565b03915afa918215610959575f9261534d575b508151610600908390613b17906020906001600160a01b0316613b71565b61537091925060c03d60c011615378575b6153688183611545565b810190615249565b50905f61532f565b503d61535e565b9061538a9291613cd0565b906106006001600160a01b03831661574e565b519061ffff821682036105ef57565b908160e09103126105ef5780516153c2816105de565b9160208201516153d181611b70565b916153de6040820161539d565b916153eb6060830161539d565b916153f86080820161539d565b9160c060a083015161540981612871565b920151610a1881610dbc565b604051633850c7bd60e01b81529060e090829060049082906001600160a01b03165afa801561095957615462915f916154d1575b50615453836159d6565b61545c856159d6565b91615a27565b61546a6143f1565b615472614406565b9181811080156154c8575b615488575050505050565b60405163134e470960e11b81526001600160a01b03948516600482015294909316602485015260448401929092526064830191909152608482015260a490fd5b5082811161547d565b6154f3915060e03d60e0116154ff575b6154eb8183611545565b8101906153ac565b5050505050505f615449565b503d6154e1565b51906106008261358e565b6001546001600160a01b0316906101809061552c818461593d565b60246040518094819363133f757160e31b835260048301525afa918215610959575f925f925f91615564575b509061060083856150aa565b9250509150610180813d821161561c575b816155836101809383611545565b810103126105ef5780516001600160601b03811681036105ef57506155aa60208201613cb0565b506155b760408201613cb0565b916155c460608301613cb0565b926156136101606155d760808601615233565b946155e460a0820161523e565b506155f160c0820161523e565b506155fe60e08201615506565b5061560c6101408201615506565b5001615506565b5092915f615558565b3d9150615575565b60ff5f516020615d235f395f51905f525460401c161561564057565b631afcd79f60e31b5f5260045ffd5b908160209103126105ef575190565b604d81116126f857600a0a90565b61567760ff916159d6565b16601281146156ab5760120360ff81116126f85760ff615697911661565e565b908181029181830414901517156126f85790565b5090565b916156c06156ce919492948461566c565b6156c8614406565b9061407d565b908181116156dc5750505050565b60405163b971b92960e01b81526001600160a01b03938416600482015293909216602484015260448301919091526064820152608490fd5b6001600160a01b0381168015615747575f52603c60205260ff60405f205416908161573d575090565b61030f9150161590565b5050600190565b61575781615b29565b1561575f5750565b63064a469560e31b5f5260045260245ffd5b91908260809103126105ef578151615788816105de565b91602081015161579781611b70565b91606060408301516157a881610d35565b920151610a1881610d35565b916001600160a01b03161561592e576007546001600160a01b0316801561591f5761580e916080916157ee906001600160a01b0316610847565b6040518080958194633205590760e21b8352600483019190602083019252565b03915afa908115610959575f916158ed575b50815161585590615839906001600160a01b03166159d6565b6020840180519093919061545c906001600160a01b03166159d6565b9161585e6143f1565b615866614406565b9181851080156158e4575b61587c575050505050565b516149ee92919061589e906001600160a01b031694516001600160a01b031690565b60405163e97f7d1d60e01b81526001600160a01b0395861660048201529416602485015260448401949094526064830193909352608482019290925290819060a4820190565b50828511615871565b61590f915060803d608011615918575b6159078183611545565b810190615771565b5050505f615820565b503d6158fd565b6303bc067d60e61b5f5260045ffd5b630ef5e33360e41b5f5260045ffd5b6040516331a9108f60e11b81526004810183905291906020836024816001600160a01b0385165afa928315610959575f936159b5575b50306001600160a01b0384160361598957505050565b630e34ebdf60e41b5f9081526001600160a01b0391821660045260249290925291909116604452606490fd5b6159cf91935060203d602011613d7057613d618183611545565b915f615973565b6001600160a01b0381165f818152601260205260409020549092919060ff1680615a225750615a0490615b4c565b60ff8116615a1e5782622f5da360e81b5f5260045260245ffd5b9150565b925050565b60ff615a4981615a42615a509460018060a01b0316806140f8565b941661565e565b931661565e565b9180670de0b6b3a76400000290670de0b6b3a76400008204036126f8576001600160a01b03831683036126f857610a189260601b91614141565b90813b15615b08575f516020615cc35f395f51905f5280546001600160a01b0319166001600160a01b0384169081179091557fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b5f80a2805115615af057613a2391615c16565b505034615af957565b63b398979f60e01b5f5260045ffd5b50634c9c8ce360e01b5f9081526001600160a01b0391909116600452602490fd5b60ff603e541615615b46575f52603d60205260ff60405f20541690565b50600190565b60014614615b5957505f90565b6001600160a01b031673a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4881148015615bf9575b8015615bdc575b615bd657736b175474e89094c44da98b954eedeac495271d0f8114908115615bb8575b50615bb3575f90565b601290565b734c9edd5852cd905f086c759e8383e09bff1e68b39150145f615baa565b50600690565b5073e343167631d89b6ffc58b88d6b7fb0228795491d8114615b87565b5073dac17f958d2ee523a2206206994597c13d831ec78114615b80565b905f8091602081519101845af48080615c76575b15615c39575050610a18615c89565b15615c5e57639996b31560e01b5f9081526001600160a01b0391909116600452602490fd5b3d15155f036129d45763d6bda27560e01b5f5260045ffd5b503d151580615c2a5750813b1515615c2a565b604051903d82523d5f602084013e60203d83010160405256fe9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c199300360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbccd5ed15c6e187e77e9aee88184c21f4f2182ab5827cb3b7e07fbedcd63f033009b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00237e158222e3e6968b72b9db0d8043aacf074ad9f650f0d1606b4d82ee432c00a164736f6c6343000823000af0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00","sourceMap":"653:39313:0:-:0;;;;;;;2365:1:26;1505:66;2365:1;1084:4:18;1076:13;;-1:-1:-1;;;;;;;;;;;653:39313:0;;;;;;7894:76:17;;-1:-1:-1;;;;;;;;;;;653:39313:0;;7983:34:17;7979:146;;-1:-1:-1;653:39313:0;;;;;;;;1076:13:18;653:39313:0;;;;;;;;;;;7979:146:17;-1:-1:-1;;;;;;653:39313:0;-1:-1:-1;;;;;653:39313:0;;;-1:-1:-1;;;;;;;;;;;653:39313:0;;;8085:29:17;;653:39313:0;;8085:29:17;7979:146;;;;7894:76;7936:23;;;-1:-1:-1;7936:23:17;;-1:-1:-1;7936:23:17;653:39313:0;;;","linkReferences":{}},"deployedBytecode":{"object":"6080604052600436101561001a575b3615610018575f80fd5b005b5f3560e01c806306b091f9146105d957806308565bc1146105d45780630a147277146105cf5780630d3eeec1146105ca5780630d734324146105c5578063101ec30a146105c057806312261ee7146105bb57806312f62498146105b6578063141b73c4146105b1578063150b7a02146105ac578063152d0731146105a75780631698ee82146105a25780631de93b481461059d5780631e1bff3f146105985780631f2d5966146105935780632240e6121461058e578063236e5f1414610589578063249d39e91461058457806324bf6e911461057f5780632565c8841461057a578063271d6ffe14610575578063297e396914610570578063323134701461056b5780633659cfe6146105665780633bafd1b3146105615780633c5f72141461055c5780633f1aa6a2146105575780633f4ba83a14610552578063433ca2ec1461054d578063476526a3146105485780634bb3ae3e146105435780634f1ef2861461053e57806352d1902d1461053957806355feedc11461053457806357dccc041461052f5780635c60da1b1461052a5780635c975abb14610525578063605edf1a146105205780636088e93a1461051b57806360996f0d14610516578063660bd0c0146105115780636cf9219f1461050c5780636cfb6bf914610507578063702e1bf414610502578063715018a6146104fd5780637303e913146104f857806376ea0c55146104f3578063785e8275146104ee57806379ba5097146104e95780637c887c59146104e45780637fb051ba146104df578063837e864b146104da57806384276d81146104d55780638456cb59146104d05780638aaa2284146104cb5780638b33203c146104c65780638da5cb5b146104c15780638ebf8289146104bc5780639039cce6146104b757806391c0cd1e146104b2578063941158b0146104ad57806396bd0952146104a85780639c50a4d9146104a3578063a0909db21461049e578063ad3cb1cc14610499578063adf3036114610494578063b9c22f791461048f578063bae7a8ad1461048a578063bec3188914610485578063c475551a14610480578063c55dae631461047b578063c8a85be114610476578063c99f1e5414610471578063cc19de2a1461046c578063cc47abf614610467578063cf753d1214610462578063d24b37971461045d578063d3047d5614610458578063d588f04b14610453578063d74a5d001461044e578063dc419d5914610449578063debfda3014610444578063e20dccb21461043f578063e2f4dd431461043a578063e30c397814610435578063f2fde38b14610430578063f63ca6e41461042b578063f702d94f14610426578063f887ea4014610421578063f9eaee0d1461041c578063fa716b3f146104175763ff1f9c7a0361000e57612941565b612919565b6128d9565b6128b1565b61287c565b612849565b6127c1565b61278d565b612765565b61273d565b6126fd565b612685565b61264b565b612631565b612614565b6125f3565b612563565b612523565b612506565b6124de565b612431565b612409565b6123d8565b6123b6565b612399565b612371565b612354565b61230d565b6121eb565b6121ce565b612139565b612109565b6120ef565b6120c8565b612054565b612020565b611ff3565b611fd4565b611f2f565b611e8c565b611e3c565b611e14565b611de9565b611d9d565b611d0f565b611cd1565b611ca9565b611c8a565b611bb7565b6119cb565b6119a8565b611986565b611912565b611836565b611809565b6117db565b6117a7565b611713565b6116c5565b61165f565b611616565b6114e2565b6114c0565b61148e565b611410565b61135b565b611339565b611193565b611096565b61104c565b610fec565b610fc4565b610f8a565b610f68565b610f4c565b610ebb565b610e74565b610e57565b610deb565b610d9f565b610d4d565b610ccc565b610c72565b610c55565b610b6c565b610b44565b610afd565b610a1b565b6107d9565b610769565b61074c565b61060d565b6001600160a01b038116036105ef57565b5f80fd5b60643590610600826105de565b565b3590610600826105de565b346105ef5760403660031901126105ef5760043561062a816105de565b6024359061063661342b565b61063e61344b565b6001600160a01b03169081156107335780156107245760018060a01b035f516020615ca35f395f51905f5254166040519063a9059cbb60e01b5f526004528160245260205f60448180875af160015f5114811615610705575b604091909152156106e9576040519081527f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a94243649080602081015b0390a261001860015f516020615d035f395f51905f5255565b635274afe760e01b5f526001600160a01b03821660045260245ffd5b600181151661071b573d15843b15151616610697565b503d5f823e3d90fd5b6365e52d5160e11b5f5260045ffd5b63ae9954c360e01b5f5260045ffd5b5f9103126105ef57565b346105ef575f3660031901126105ef576020600d54604051908152f35b346105ef5760203660031901126105ef57600435610786816105de565b60018060a01b03165f52603c602052602060ff60405f2054166040519015158152f35b9181601f840112156105ef578235916001600160401b0383116105ef576020808501948460051b0101116105ef57565b346105ef5760203660031901126105ef576004356001600160401b0381116105ef576108099036906004016107a9565b9061081261342b565b6008546001600160a01b03161561095e575f5b82811061082e57005b6108656108536108476108428487876129b5565b6129ca565b6001600160a01b031690565b6008546001600160a01b031690613483565b60085461087c90610847906001600160a01b031681565b9061088b6108428286866129b5565b6004546001600160a01b0316833b156105ef576040516387517c4560e01b81526001600160a01b039283166004820152911660248201525f604482018190526001606483015290928390608490829084905af19182156109595760019261093f575b506108fc6108428286866129b5565b60045460a084901b8490039081166001600160a01b031691167f8e6082f82d88ebb7595b02d55ede8094ce17e40029d61292354afbb04ffaae855f80a301610825565b8061094d5f61095393611545565b80610742565b5f6108ed565b6129d4565b63876dafaf60e01b5f5260045ffd5b9181601f840112156105ef578235916001600160401b0383116105ef57602083818601950101116105ef57565b60206003198201126105ef57600435906001600160401b0382116105ef576109c49160040161096d565b9091565b91908251928382525f5b8481106109f2575050825f602080949584010152601f8019910116010190565b806020809284010151828286010152016109d2565b906020610a189281815201906109c8565b90565b610a243661099a565b90335f52600f60205260ff60405f2054168015610add575b15610ace57610a4961344b565b610a5161354a565b610a5b8282613937565b600a546001600160a01b03168015610abf57825f939284936040519283928337810184815203915af4610a8c6129ec565b9015610ab757610ab39060015f516020615d035f395f51905f525560405191829182610a07565b0390f35b602081519101fd5b63350c20f160e01b5f5260045ffd5b6312e25d5960e11b5f5260045ffd5b505f516020615ca35f395f51905f52546001600160a01b03163314610a3c565b346105ef5760203660031901126105ef57600435610b1a816105de565b610b2261342b565b600880546001600160a01b0319166001600160a01b0392909216919091179055005b346105ef575f3660031901126105ef576008546040516001600160a01b039091168152602090f35b346105ef5760203660031901126105ef57600435610b89816105de565b610b9161342b565b6001600160a01b038116908115610733573b15610abf576040516301ffc9a760e01b8152639a741b9f60e01b6004820152602081602481855afa5f9181610c24575b50610be75763350c20f160e01b5f5260045ffd5b15610abf57603b80546001600160a01b031916821790557f5371b5384a8ca13185168caea3d68cdae7cdd42fa4b99deede7ed3a345f7d1735f80a2005b610c4791925060203d602011610c4e575b610c3f8183611545565b810190613bc2565b905f610bd3565b503d610c35565b346105ef575f3660031901126105ef576020601754604051908152f35b346105ef5760803660031901126105ef57610c8e6004356105de565b610c996024356105de565b6064356001600160401b0381116105ef57610cb890369060040161096d565b5050604051630a85bd0160e11b8152602090f35b346105ef575f3660031901126105ef57610ce4613c52565b610cec61342b565b5f5460ff8116610d265760019060ff1916175f557fbbbfc8f80672f98366c78f334ec935871991b2825f67cbe69bae201705e81a0c5f80a1005b63d74c95cb60e01b5f5260045ffd5b62ffffff8116036105ef57565b359061060082610d35565b346105ef5760603660031901126105ef576020610d8d600435610d6f816105de565b602435610d7b816105de565b60443591610d8883610d35565b613cd0565b6040516001600160a01b039091168152f35b346105ef575f3660031901126105ef576020601854604051908152f35b801515036105ef57565b60409060031901126105ef57600435610dde816105de565b90602435610a1881610dbc565b346105ef5760207f278b09622564dd3991fe7744514513d64ea2c8ed2b2b9ec1150ad964fde80a99610e1c36610dc6565b9290610e2661342b565b6001600160a01b03165f818152600f835260409020805460ff191660ff86151516179055925b6040519015158152a2005b346105ef575f3660031901126105ef576020600b54604051908152f35b346105ef5760203660031901126105ef57600435610e91816105de565b610e9961342b565b600780546001600160a01b0319166001600160a01b0392909216919091179055005b610ec43661099a565b90335f52600f60205260ff60405f2054168015610f2c575b15610ace57610ee961344b565b610ef161354a565b610efb8282613e59565b6009546001600160a01b03168015610abf57825f939284936040519283928337810184815203915af4610a8c6129ec565b505f516020615ca35f395f51905f52546001600160a01b03163314610edc565b346105ef575f3660031901126105ef5760206040516127108152f35b346105ef575f3660031901126105ef576020610f82612a1b565b604051908152f35b346105ef575f3660031901126105ef5760206040517f999a33e54989faec6502b28ef75a794e0e28fc38d2dc9648a906e853cca474be8152f35b346105ef575f3660031901126105ef57603a546040516001600160a01b039091168152602090f35b346105ef575f3660031901126105ef576007546040516001600160a01b039091168152602090f35b60406003198201126105ef57600435906001600160401b0382116105ef5761103e916004016107a9565b9091602435610a1881610dbc565b346105ef5761105a36611014565b909161106461342b565b5f5b83811061106f57005b806110908461108160019488876129b5565b3561108b816105de565b6141c4565b01611066565b346105ef5760203660031901126105ef576004356110b3816105de565b6110bb613c52565b604051906110ca602083611545565b5f825260ff5f5416610d26576110de613c52565b6110e661342b565b6040516352d1902d60e01b8152916020836004816001600160a01b0386165afa5f9381611162575b5061112f57634c9c8ce360e01b5f526001600160a01b03821660045260245ffd5b905f516020615cc35f395f51905f52830361114e576100189250615a8a565b632a87526960e21b5f52600483905260245ffd5b61118591945060203d60201161118c575b61117d8183611545565b81019061564f565b925f61110e565b503d611173565b346105ef576102603660031901126105ef576004356111b1816105de565b6101e03660231901126105ef576040366102031901126105ef576020366102431901126105ef575f516020615d235f395f51905f5254906001600160401b0361121260ff604085901c1615611205565b1590565b936001600160401b031690565b1680159081611331575b6001149081611327575b15908161131e575b5061130f57611271908261126860016001600160401b03195f516020615d235f395f51905f525416175f516020615d235f395f51905f5255565b6112d557612a39565b61127757005b6112a160ff60401b195f516020615d235f395f51905f5254165f516020615d235f395f51905f5255565b604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29080602081015b0390a1005b61130a6801000000000000000060ff60401b195f516020615d235f395f51905f525416175f516020615d235f395f51905f5255565b612a39565b63f92ee8a960e01b5f5260045ffd5b9050155f61122e565b303b159150611226565b83915061121c565b346105ef575f3660031901126105ef576020600e54811c60020b604051908152f35b346105ef5760403660031901126105ef576004356001600160401b0381116105ef5761138b9036906004016107a9565b6024356001600160401b0381116105ef576113aa9036906004016107a9565b906113b361342b565b818303611401575f5b8381106113c557005b806113fb6113d660019387896129b5565b356113e0816105de565b6113eb8387876129b5565b35906113f682612871565b61437b565b016113bc565b631fec674760e31b5f5260045ffd5b346105ef575f3660031901126105ef5761142861342b565b5f516020615ce35f395f51905f525460ff81161561147f5760ff19165f516020615ce35f395f51905f52557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6020604051338152a1005b638dfc202b60e01b5f5260045ffd5b346105ef575f3660031901126105ef576114a66143f1565b6114ae614406565b60408051928352602083019190915290f35b346105ef575f3660031901126105ef57602060ff603e54166040519015158152f35b346105ef5760203660031901126105ef576004355f52603d602052602060ff60405f2054166040519015158152f35b634e487b7160e01b5f52604160045260245ffd5b60a081019081106001600160401b0382111761154057604052565b611511565b90601f801991011681019081106001600160401b0382111761154057604052565b6040519061060061018083611545565b604051906106006101a083611545565b6040519061060061012083611545565b6040519061060061016083611545565b6040519061060060a083611545565b6001600160401b03811161154057601f01601f191660200190565b81601f820112156105ef578035906115e7826115b5565b926115f56040519485611545565b828452602083830101116105ef57815f926020809301838601378301015290565b60403660031901126105ef5760043561162e816105de565b6024356001600160401b0381116105ef5761164d9036906004016115d0565b9060ff5f5416610d26576110de613c52565b346105ef575f3660031901126105ef577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031630036116b65760206040515f516020615cc35f395f51905f528152f35b63703e46dd60e11b5f5260045ffd5b346105ef575f3660031901126105ef576116dd61342b565b5f5b601881101561001857806116f4600192612e38565b6001600160401b0382549160031b1b191690555f8160210155016116df565b346105ef5761172136611014565b9061172a61342b565b5f5b81811061173c5761001883614466565b6117478183866129b5565b3590811561179857816001925f52603d60205260405f208360ff198254161790557ff565a91252cfbf3ef576a7de924ab11175ba29b316695baeaa0762c25684fcdf6020604051858152a20161172c565b633234591360e21b5f5260045ffd5b346105ef575f3660031901126105ef575f516020615cc35f395f51905f52546040516001600160a01b039091168152602090f35b346105ef575f3660031901126105ef57602060ff5f516020615ce35f395f51905f5254166040519015158152f35b346105ef5760203660031901126105ef5761001860043561182981610dbc565b61183161342b565b614466565b346105ef5760403660031901126105ef57600435611853816105de565b6024359061185f61342b565b61186761344b565b6001600160a01b03169081156107335761187f612986565b90823b156105ef576040516323b872dd60e01b81523060048201526001600160a01b03929092166024830152604482018190525f8260648183875af1908115610959577f3a1474f7e987c73586ba37f580025eac82a1456e87b9eace40768b8518a4b375926106d0926118fe575b506040519081529081906020820190565b8061094d5f61190c93611545565b5f6118ed565b346105ef5760203660031901126105ef5760043561192f816105de565b61193761342b565b6001600160a01b038116908115610733573b15610abf57603980546001600160a01b031916821790557fdb21ee24b749ce266d7e9bb769cc693d234aee3572e069ca1d70fa69b051f5b65f80a2005b346105ef575f3660031901126105ef57602060ff601554166040519015158152f35b346105ef575f3660031901126105ef57602063ffffffff600e5416604051908152f35b346105ef5760c03660031901126105ef576004356119e8816105de565b6024356119f4816105de565b604435611a00816105de565b60643590611a0d826105de565b60843592611a1a846105de565b60a43594611a27866105de565b611a2f61342b565b6001600160a01b031680611b49575b506001600160a01b038116611b1f575b506001600160a01b038116611afa575b506001600160a01b038116611ad5575b506001600160a01b038116611ab0575b506001600160a01b038116611a8f57005b600480546001600160a01b0319166001600160a01b03909216919091179055005b600380546001600160a01b0319166001600160a01b039092169190911790555f611a7e565b600280546001600160a01b0319166001600160a01b039092169190911790555f611a6e565b600180546001600160a01b0319166001600160a01b039092169190911790555f611a5e565b5f8054610100600160a81b03191660089290921b610100600160a81b03169190911790555f611a4e565b6001600160601b0360a01b60065416176006555f611a3e565b63ffffffff8116036105ef57565b8060020b036105ef57565b359061060082611b70565b60a09060031901126105ef57600435906024359060443590606435611baa81611b62565b90608435610a1881611b70565b346105ef57611bc536611b86565b92611bd194929461342b565b606481118015611c80575b611c715761001894611c1d82611c5095611c0d8887611bfd611c2598612e78565b611c0688612e78565b90856144a4565b600b5580600c5582600d55612e78565b601355612e78565b601455611c3a600160ff196015541617601555565b63ffffffff1663ffffffff19600e541617600e55565b600e549060201b66ffffff00000000169066ffffff00000000191617600e55565b637bdbf33d60e01b5f5260045ffd5b5060648511611bdc565b346105ef575f3660031901126105ef5763ffc0fd9360e01b5f5260045ffd5b346105ef575f3660031901126105ef576001546040516001600160a01b039091168152602090f35b346105ef5760203660031901126105ef57600435611cee816105de565b60018060a01b03165f526012602052602060ff60405f205416604051908152f35b346105ef5760a03660031901126105ef576004356001600160401b0381116105ef57611d3f90369060040161096d565b602435906001600160401b0382116105ef57366023830112156105ef578160040135926001600160401b0384116105ef573660248560061b850101116105ef576100189360443591611d8f6105f3565b936024608435960191612e8e565b346105ef575f3660031901126105ef575f516020615d435f395f51905f5254336001600160a01b0390911603611dd65761001833614e16565b63118cdaa760e01b5f523360045260245ffd5b346105ef575f3660031901126105ef575f5460405160089190911c6001600160a01b03168152602090f35b346105ef575f3660031901126105ef576039546040516001600160a01b039091168152602090f35b346105ef57611e4a36611014565b9091611e5461342b565b5f5b838110611e5f57005b80611e7784611e7160019488876129b5565b3561441b565b01611e56565b908160209103126105ef573590565b346105ef5760203660031901126105ef57600435611ea861342b565b611eb061344b565b8015610724575f8080808460018060a01b035f516020615ca35f395f51905f5254165af1611edc6129ec565b5015611f205760207f7da8b376ba93770d27c25cf7bbac4d89f12ba25b3fe6e20fa9ed9e60e6d00f6091604051908152a160015f516020615d035f395f51905f5255005b63b1b5a6af60e01b5f5260045ffd5b346105ef575f3660031901126105ef57335f52600f60205260ff60405f2054168015611fb4575b15610ace57611f6361354a565b600160ff195f516020615ce35f395f51905f525416175f516020615ce35f395f51905f52557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586020604051338152a1005b505f516020615ca35f395f51905f52546001600160a01b03163314611f56565b346105ef57610018611fe536610dc6565b90611fee61342b565b614e81565b346105ef5760203660031901126105ef57610018600435612013816105de565b61201b61342b565b61432c565b346105ef575f3660031901126105ef575f516020615ca35f395f51905f52546040516001600160a01b039091168152602090f35b346105ef5760203660031901126105ef57600435612071816105de565b61207961342b565b6001600160a01b038116908115610733573b15610abf57603a80546001600160a01b031916821790557f957fea8002b35abe6fca992352a8d268b9417ee787639a8da3fc71d9528feaef5f80a2005b346105ef5760403660031901126105ef576100186024356004356120ea61342b565b613232565b346105ef575f3660031901126105ef576020610f82613367565b346105ef5760403660031901126105ef5761001860243560043561212c82610dbc565b61213461342b565b61441b565b346105ef5761214736610dc6565b61214f61342b565b6001600160a01b038216918215610733578190816121c0575b506121b15760207f863bee5db55c02da8b80774d486b56883894e4ea55bbab0ca9d66352ee99a11691835f52603c8252610e4c8160405f209060ff801983541691151516179055565b633832f55960e21b5f5260045ffd5b61030f91501615155f612168565b346105ef575f3660031901126105ef576020600c54604051908152f35b346105ef576121f93661099a565b90335f52600f60205260ff60405f20541680156122ed575b15610ace5761221e61344b565b61222661354a565b6122308282614ed5565b6001600160e01b0319811663938a6e9760e01b81141590816122db575b506122bf5750603b546001600160a01b031680156122b0575f928392612278604051809381936129df565b03915af46122846129ec565b9015610ab757610ab3906122a460015f516020615d035f395f51905f5255565b60405191829182610a07565b6322c1801560e11b5f5260045ffd5b638959bb4d60e01b5f526001600160e01b03191660045260245ffd5b63013fcea160e31b141590505f61224d565b505f516020615ca35f395f51905f52546001600160a01b03163314612211565b346105ef575f3660031901126105ef57610ab360405161232e604082611545565b60058152640352e302e360dc1b60208201526040519182916020835260208301906109c8565b346105ef575f3660031901126105ef576020601654604051908152f35b346105ef575f3660031901126105ef576009546040516001600160a01b039091168152602090f35b346105ef575f3660031901126105ef576020601454604051908152f35b346105ef575f3660031901126105ef57602060ff601a54166040519015158152f35b346105ef5760203660031901126105ef5760206123ff6004356123fa816105de565b6133e2565b6040519015158152f35b346105ef575f3660031901126105ef576006546040516001600160a01b039091168152602090f35b346105ef5760603660031901126105ef5760043561244e81610dbc565b6024356044359161245d61342b565b6127108311611c715780806124ce575b611c71576112d07ff1c2407154dd06d7e072d9b67f946729b9da4b7f9efba2661f88e12fca4bdb439360ff19601a541660ff8415151617601a5583601855806019556040519384938460409194939260608201951515825260208201520152565b5081158061246d5750821561246d565b346105ef575f3660031901126105ef57600a546040516001600160a01b039091168152602090f35b346105ef575f3660031901126105ef576020601354604051908152f35b346105ef5760203660031901126105ef57600435612540816105de565b60018060a01b03165f526011602052602060ff60405f2054166040519015158152f35b346105ef576100186125b363ffffffff6125ab61257f36611b86565b969361258e959293919561342b565b61259b88878685856144a4565b600b558060135582601455614fa2565b600c55614fa2565b600d55600160ff1960155416176015551663ffffffff19600e541617600e55600e549060201b66ffffff00000000169066ffffff00000000191617600e55565b346105ef575f3660031901126105ef57602060ff5f54166040519015158152f35b346105ef575f3660031901126105ef576020601954604051908152f35b346105ef5761001861264236610dc6565b9061108b61342b565b346105ef5760403660031901126105ef5761001860043561266b816105de565b60243590612678826105de565b61268061342b565b614237565b346105ef575f3660031901126105ef5760ff601a541660185490601954916126ab613367565b6126b3612a1b565b908181106126e45760c0945f935b6040519515158652602086015260408501526060840152608083015260a0820152f35b808203948286116126f85760c095936126c1565b612e64565b346105ef5760203660031901126105ef5760043561271a816105de565b60018060a01b03165f52600f602052602060ff60405f2054166040519015158152f35b346105ef575f3660031901126105ef576003546040516001600160a01b039091168152602090f35b346105ef575f3660031901126105ef576004546040516001600160a01b039091168152602090f35b346105ef575f3660031901126105ef575f516020615d435f395f51905f52546040516001600160a01b039091168152602090f35b346105ef5760203660031901126105ef576004356127de816105de565b6127e661342b565b5f516020615d435f395f51905f5280546001600160a01b0319166001600160a01b039283169081179091555f516020615ca35f395f51905f52549091167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e227005f80a3005b346105ef575f3660031901126105ef576005546040516001600160a01b039091168152602090f35b60ff8116036105ef57565b346105ef5760403660031901126105ef5761001860043561289c816105de565b602435906128a982612871565b6113f661342b565b346105ef575f3660031901126105ef576002546040516001600160a01b039091168152602090f35b346105ef5760203660031901126105ef576004356128f6816105de565b60018060a01b03165f526010602052602060ff60405f2054166040519015158152f35b346105ef575f3660031901126105ef57603b546040516001600160a01b039091168152602090f35b346105ef5761294f36611014565b909161295961342b565b5f5b83811061296457005b806129808461297660019488876129b5565b35611fee816105de565b0161295b565b5f516020615ca35f395f51905f52546001600160a01b031690565b634e487b7160e01b5f52603260045260245ffd5b91908110156129c55760051b0190565b6129a1565b35610a18816105de565b6040513d5f823e3d90fd5b908092918237015f815290565b3d15612a16573d906129fd826115b5565b91612a0b6040519384611545565b82523d5f602084013e565b606090565b60ff601a541615612a3557610a1860185460195490614011565b5f90565b6001600160a01b0381161561073357612a6190612a54615624565b612a5c615624565b614e16565b612a69615624565b612a71615624565b6001600160a01b03612a8360246129ca565b16612e09575b612a9661084760446129ca565b612dd1575b612aa861084760646129ca565b612da2575b612aba61084760846129ca565b612d73575b612acc61084760a46129ca565b612d44575b612ade61084760c46129ca565b612d15575b612af061084760e46129ca565b612ce6575b612b036108476101046129ca565b612cb6575b6101243580612cae5750612b1d610258600b55565b6101443580612ca55750612b7060035b6101643580612c9b5750612b576004915b610184359081612c9557612b529150612e78565b601355565b6101a4359081612c8f57612b6b9150612e78565b601455565b612b83612b7e601354614fa2565b600c55565b612b96612b91601454614fa2565b600d55565b612ba8600160ff196015541617601555565b63ffffffff612bb86101c4614223565b16612c7c57600e805463ffffffff191660781790555b612bd96101e461422d565b60020b612c6957600e805466ffffff0000000019166478000000001790555b612c28600b54601354601454600e5491612c22612c188463ffffffff1690565b9360201c60020b90565b936144a4565b612c47612c366102046129ca565b612c416102246129ca565b90614237565b612c556108476102446129ca565b612c5b57565b61060061201b6102446129ca565b612bf8612c776101e461422d565b611c50565b612bce612c8a6101c4614223565b611c3a565b50612b6b565b50612b52565b612b579091612b3e565b612b7090612b2d565b600b55612b1d565b612ce1612cc46101046129ca565b60018060a01b03166001600160601b0360a01b6008541617600855565b612b08565b612d10612cf360e46129ca565b60018060a01b03166001600160601b0360a01b6007541617600755565b612af5565b612d3f612d2260c46129ca565b60018060a01b03166001600160601b0360a01b6004541617600455565b612ae3565b612d6e612d5160a46129ca565b60018060a01b03166001600160601b0360a01b6003541617600355565b612ad1565b612d9d612d8060846129ca565b60018060a01b03166001600160601b0360a01b6002541617600255565b612abf565b612dcc612daf60646129ca565b60018060a01b03166001600160601b0360a01b6001541617600155565b612aad565b612e04612dde60446129ca565b5f8054610100600160a81b03191660089290921b610100600160a81b0316919091179055565b612a9b565b612e33612e1660246129ca565b60018060a01b03166001600160601b0360a01b6006541617600655565b612a89565b9060188210156129c55760188260021c601b019260031b1690565b60188110156129c557602101905f90565b634e487b7160e01b5f52601160045260245ffd5b906064820291808304606414901517156126f857565b92959193909495335f52600f60205260ff60405f20541680156131ec575b15610ace57612eb961344b565b612ec161354a565b612ecb868561481a565b612ed9610847979297612986565b33036131b3575b60c0870151306001600160a01b03909116036131a4576020870180516001600160a01b038b8116911603613195578751612f2f90610847906001600160a01b031692516001600160a01b031690565b6001600160a01b0390911614613195576001600160a01b03168015159081613175575b5061316657610100860193808551106130815760018311611401576001830361311c57836130f25786516001600160a01b0316612f95610847610842868661320c565b6001600160a01b0390911614801590613101575b6130f257612ff194612fbc610847612986565b33036130d8575b5190808211156130d05750965b612fdb610847612986565b3303613090575b612feb89614a99565b95614b4d565b612ffa84614a99565b908082106130815761300b91613225565b9182106130815761301d610847612986565b330361303d575b50505061060060015f516020615d035f395f51905f5255565b80516130799390613071906001600160a01b0316926130648560e083019585875191614c55565b516001600160a01b031690565b915191614c6a565b5f8080613024565b6362e7073960e01b5f5260045ffd5b6130cb888a6130b6826130a98c5160018060a01b031690565b60e08d019384519161495b565b89518c906001600160a01b0316915191614a0e565b612fe2565b905096612fd0565b6130ed6130e8610842868661320c565b61492a565b612fc3565b630bd8074560e21b5f5260045ffd5b5060e08701516020613113858561320c565b01351415612fa9565b83156107245786516001600160a01b031673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee14801590613158575b6130f257612ff194612fc3565b508360e0880151141561314b565b63a18d01bf60e01b5f5260045ffd5b60055490915061318d906001600160a01b0316610847565b14155f612f52565b6316f2578d60e31b5f5260045ffd5b63e294034b60e01b5f5260045ffd5b86516131c7906001600160a01b031661492a565b60208701516131de906001600160a01b031661492a565b6131e78961492a565b612ee0565b505f516020615ca35f395f51905f52546001600160a01b03163314612eac565b90156129c55790565b91908110156129c55760061b0190565b919082039182116126f857565b90811580613352575b6132f557670dbd2fc137a30000821080156132e4575b80156132d3575b80156132c2575b80156132b8575b611c7157816132957f5976992fe6bc159e825b489f5e427d6c113900ec0f428e3c0ba04fd70859d22593601655565b61329e82601755565b60408051918252602082019290925290819081015b0390a1565b5080821015613266565b50670de0b6b3a7640000811061325f565b50670de0b6b3a76400008211613258565b50670e043da6172500008111613251565b50506133005f601655565b6133095f601755565b7f5976992fe6bc159e825b489f5e427d6c113900ec0f428e3c0ba04fd70859d225604051806132b38190670de7d1b0f0f1000060206040840193670ddca0c869e6200081520152565b50801561323b565b919082018092116126f857565b5f90610e1042045f5b6018811061337c575050565b6001600160401b0361338d82612e38565b90549060031b1c168281111590816133ce575b506133ae575b600101613370565b926133b884612e53565b90549060031b1c81018091116126f857926133a6565b905082038281116126f8576018115f6133a0565b6001600160a01b0381165f8181526011602052604090205460ff16613425575f52601060205260ff60405f20541690811561341b575090565b610a189150614ee1565b50505f90565b5f516020615ca35f395f51905f52546001600160a01b03163303611dd657565b60025f516020615d035f395f51905f5254146134745760025f516020615d035f395f51905f5255565b633ee5aeb560e01b5f5260045ffd5b9061348f5f8284614fbe565b15613498575050565b6134a2818361500b565b156134da575f6134b2918361506f565b156134ba5750565b635274afe760e01b5f9081526001600160a01b0391909116600452602490fd5b50635274afe760e01b5f9081526001600160a01b0391909116600452602490fd5b9190613508828285614fbe565b1561351257505050565b61351c818461500b565b1561352c57906134b2918361506f565b635274afe760e01b5f9081526001600160a01b038416600452602490fd5b60ff5f516020615ce35f395f51905f52541661356257565b63d93c066560e01b5f5260045ffd5b90929192836004116105ef5783116105ef57600401916003190190565b6fffffffffffffffffffffffffffffffff8116036105ef57565b35906106008261358e565b6020818303126105ef578035906001600160401b0382116105ef570190610180828203126105ef576135e3611566565b916135ed81610602565b83526135fb60208201610602565b602084015261360c60408201610d42565b604084015261361d60608201611b7b565b606084015261362e60808201611b7b565b608084015261363f60a08201611b7b565b60a084015261365060c08201610602565b60c084015260e08101356001600160401b0381116105ef57610160926136779183016115d0565b60e084015261368961010082016135a8565b61010084015261369c61012082016135a8565b6101208401526136af6101408201610602565b610140840152013561016082015290565b6020818303126105ef578035906001600160401b0382116105ef5701906101a0828203126105ef576136f0611576565b916136fa81610602565b835261370860208201610602565b602084015261371960408201610d42565b604084015261372a60608201611b7b565b606084015261373b60808201611b7b565b608084015261374c60a08201611b7b565b60a084015261375d60c08201610602565b60c084015260e08101356001600160401b0381116105ef57610180926137849183016115d0565b60e084015261379661010082016135a8565b6101008401526137a961012082016135a8565b6101208401526137bc61014082016135a8565b6101408401526137cf6101608201610602565b610160840152013561018082015290565b91909160e0818403126105ef5780359260208201356137fe8161358e565b92604083013561380d8161358e565b92606081013561381c8161358e565b926080820135906001600160401b0382116105ef5761383c9183016115d0565b9160c060a083013561384d816105de565b92013590565b9060c0828203126105ef578135926020830135926040810135926060820135906001600160401b0382116105ef5761388c9183016115d0565b9160a0608083013561384d816105de565b91909160a0818403126105ef5780359260208201359260408301356138c18161358e565b9260608101356138d08161358e565b9260808201356001600160401b0381116105ef57610a1892016115d0565b906080828203126105ef57813592602083013561390a8161358e565b9260408101356139198161358e565b9260608201356001600160401b0381116105ef57610a1892016115d0565b5f516020615ca35f395f51905f525490919061395b906001600160a01b0316610847565b3314613bbe5761396b8183614ed5565b916001600160e01b0319831663106724a160e21b8114613b8657635cad5ee160e01b8114613acd5763e44eda8960e01b8114613a9f576330b82a3d60e21b8114613a6d5763e9b8312960e01b8114613a425763013d134360e61b8114613a2657631ce433c760e21b146139f557638959bb4d60e01b5f526001600160e01b0319831660045260245ffd5b613a239250613a0b82613a1e93613a1393613571565b8101906138ee565b9150509190916150b7565b6152c9565b50565b50613a23925081613a1e92613a3a92613571565b810190611e7d565b50613a239250613a5982613a1e93613a6193613571565b81019061389d565b925050509190916150b7565b506106009250613a8f613a8783613a1e94613a9a94613571565b810190613853565b5095925090506150b7565b6151b9565b506106009250613ac1613ab983613a1e94613a9a94613571565b8101906137e0565b509693509150506150b7565b50610600925081613ae992613ae192613571565b8101906136c0565b8051613b809061016090613b71906001600160a01b03165b6020850180519091613b1d916001600160a01b03165b906150aa565b613b2a60e08601516150b7565b8451613b48906001600160a01b03165b91516001600160a01b031690565b604086015162ffffff16606087015160020b60c08801519092906001600160a01b0316936150f7565b9201516001600160a01b031690565b906151b9565b50610600925081613ba292613b9a92613571565b8101906135b3565b8051613b809061014090613b71906001600160a01b0316613b01565b5050565b908160209103126105ef5751610a1881610dbc565b803b15610abf576040516301ffc9a760e01b815263eef390ed60e01b600482015290602090829060249082906001600160a01b03165afa5f9181613c31575b50613c2a5763350c20f160e01b5f5260045ffd5b15610abf57565b613c4b91925060203d602011610c4e57610c3f8183611545565b905f613c16565b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016308114908115613c8e575b506116b657565b5f516020615cc35f395f51905f52546001600160a01b0316141590505f613c87565b5190610600826105de565b908160209103126105ef5751610a18816105de565b5f54604051630b4c774160e11b81526001600160a01b039283166004820152928216602484015262ffffff9390931660448301529092916020918491606491839160081c165afa918215610959575f92613d46575b506001600160a01b03821615613d3757565b63c8e5b88d60e01b5f5260045ffd5b613d6991925060203d602011613d70575b613d618183611545565b810190613cbb565b905f613d25565b503d613d57565b90816101209103126105ef57610100613d8e611586565b91613d9881610602565b8352613da660208201610602565b6020840152613db760408201610d42565b6040840152613dc860608201611b7b565b6060840152613dd960808201611b7b565b608084015260a081013560a084015260c081013560c084015260e081013560e0840152013561010082015290565b908160a09103126105ef578035916020820135916040810135916080606083013592013590565b91908260809103126105ef578135916020810135613e4b8161358e565b916060604083013592013590565b5f516020615ca35f395f51905f5254909190613e7d906001600160a01b0316610847565b3314613bbe57613e8d8183614ed5565b916001600160e01b03198316637547a56560e01b8114613f8357637e09446960e11b8114613f49576341743b8560e01b8114613f255763d8632f3f60e01b8114908115613f14575b50613ef757638959bb4d60e01b5f526001600160e01b0319831660045260245ffd5b613f0f925081613f0a92613a3a92613571565b615511565b505050565b6308dd0f4b60e41b1490505f613ed5565b50613f0f925081613f4192613f3992613571565b810190613e2e565b505050615511565b506106009250613f6b613f6383613f7e94613f7494613571565b810190613e07565b50505050615511565b818394929461537f565b615415565b50610600925081613f9f92613f9792613571565b810190613d77565b80516001600160a01b03166020820180519091613fc4916001600160a01b0316613b17565b815161400490613b3a90613ff6906001600160a01b031684516001600160a01b0316604087015162ffffff169161537f565b93516001600160a01b031690565b91615415565b156105ef57565b808202905f1983820990828083109203918083039283620f424011156105ef5714614071577fde8f6cefed634549b62c77574f722e1ac57e23f24d8fd5cb790fb65668c2613993620f4240910990828211900360fa1b910360061c170290565b5050620f424091500490565b808202905f1983820990828083109203918083039283670de0b6b3a764000011156105ef57146140e7577faccb18165bd6fe31ae1cf318dc5b51eee0e1ba569b88cd74c1773b91fac1066993670de0b6b3a7640000910990828211900360ee1b910360121c170290565b5050670de0b6b3a764000091500490565b81810291905f1982820991838084109303928084039384600160601b11156105ef571461413857600160601b910990828211900360a01b910360601c1790565b50505060601c90565b91818302915f1981850993838086109503948086039561416287861161400a565b146141bc579082910981805f03168092046002816003021880820260020302808202600203028082026002030280820260020302808202600203028091026002030293600183805f03040190848311900302920304170290565b505091500490565b6001600160a01b03169081156107335760207f459374521a737ddab6c308cce84921454dc67504bab079c570f6b10783a9983391835f52601182526142188160405f209060ff801983541691151516179055565b6040519015158152a2565b35610a1881611b62565b35610a1881611b70565b6001600160a01b03811691908215801561431b575b610733573b15610abf576040516301ffc9a760e01b815263194d3dc360e11b6004820152602081602481865afa5f91816142fa575b506142955763350c20f160e01b5f5260045ffd5b15610abf576142a381613bd7565b816001600160601b0360a01b600954161760095560018060a01b031690816001600160601b0360a01b600a541617600a557fe7836f4c1585572e73ac1ebd237c17348e5b453da767958b34b22bd170f6e52f5f80a3565b61431491925060203d602011610c4e57610c3f8183611545565b905f614281565b506001600160a01b0382161561424c565b6001600160a01b038116908115610733573b15610abf57600580546001600160a01b031916821790557f582a9190e9698f4ae4033df26d63cee4674df3b1b6bc85f15c7b6f6e5b915b585f80a2565b6001600160a01b03169081156107335760ff16601281116143db575f82815260126020908152604091829020805460ff19168417905590519182527f31dfb0b93d14a11354bdf350f127e8377a7bd3cbbd5d0f0bfad2d98eb677663091a2565b90633477b72d60e21b5f5260045260245260445ffd5b60165480610a185750670ddca0c869e6200090565b60175480610a185750670de7d1b0f0f1000090565b9081156117985760207ff565a91252cfbf3ef576a7de924ab11175ba29b316695baeaa0762c25684fcdf91835f52603d82526142188160405f209060ff801983541691151516179055565b60207f8e9de2ad3a40d17f313c20330499cca08ea2af3f45dc68f8f03e27caab0bced391151560ff19603e541660ff821617603e55604051908152a1565b601e8110908115614509575b50611c715761271010611c715761271010611c715763ffffffff16601e81109081156144fd575b50611c715760020b5f81129081156144f1575b50611c7157565b6113889150135f6144ea565b610e109150115f6144d7565b610e109150115f6144b0565b6001600160401b0381116115405760051b60200190565b9080601f830112156105ef57813561454381614515565b926145516040519485611545565b81845260208085019260051b8201019283116105ef57602001905b8282106145795750505090565b602080918335614588816105de565b81520191019061456c565b9080601f830112156105ef5781356145aa81614515565b926145b86040519485611545565b81845260208085019260051b8201019283116105ef57602001905b8282106145e05750505090565b81358152602091820191016145d3565b919091610160818403126105ef57614606611596565b9261461082610602565b845261461e60208301610602565b602085015260408201356001600160401b0381116105ef578161464291840161452c565b604085015260608201356001600160401b0381116105ef5781614666918401614593565b606085015260808201356001600160401b0381116105ef578161468a91840161452c565b608085015260a08201356001600160401b0381116105ef57816146ae918401614593565b60a08501526146bf60c08301610602565b60c085015260e082013560e08501526101008201356101008501526101208201356101208501526101408201356001600160401b0381116105ef5761470492016115d0565b610140830152565b6020818303126105ef578035906001600160401b0382116105ef570160a0818303126105ef5761473a6115a6565b9161474482610602565b835261475260208301610602565b602084015260408201356001600160401b0381116105ef57816147769184016115d0565b604084015260608201356001600160401b0381116105ef578161479a9184016145f0565b606084015260808201356001600160401b0381116105ef576147bc92016115d0565b608082015290565b906080828203126105ef5781356147da816105de565b9260208301356001600160401b0381116105ef57826147fa9185016145f0565b9260408101356001600160401b0381116105ef57836139199183016115d0565b9060405161016081018181106001600160401b03821117611540576040525f81525f60208201526060604082015260608082015260606080820152606060a08201525f60c08201525f60e08201525f6101008201525f6101208201526060610140820152506004811061491b57806148929183613571565b91356001600160e01b03191663e21fd0e960e01b8114801561490b575b6148e457638af033fb60e01b146148cf57633e0420f760e11b5f5260045ffd5b6148db918101906147c4565b50509050905f90565b506148f19181019061470c565b60608101516020909101519091906001600160a01b031690565b506359e50fed60e01b81146148af565b633e0420f760e11b5f5260045ffd5b614933816133e2565b1561493b5750565b63094403b760e41b5f9081526001600160a01b0391909116600452602490fd5b601554919493929160ff16156149f257601454925b620f424080851015611c71576149896149a4928861566c565b9461499e614997868661566c565b9183613225565b90614141565b8084106149b757509361060093946156af565b604051633ec3d85360e01b81526001600160a01b039283166004820152918616602483015260448201849052606482015280608481015b0390fd5b600d546064810290808204606414901517156126f85792614970565b92909260ff601a541615614a9357614a2f92614a299161566c565b9261566c565b81811015613bbe5781039081116126f857614a48612a1b565b908115614a8457614a57613367565b8181018082116126f8578310614a6c57505050565b63e93203bf60e01b5f5260045260245260445260645ffd5b6322cfeb7760e01b5f5260045ffd5b50505050565b6001600160a01b031673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee8114614b1b576020602491604051928380926370a0823160e01b82523060048301525afa908115610959575f91614aec575090565b90506020813d602011614b13575b81614b0760209383611545565b810103126105ef575190565b3d9150614afa565b504790565b91926060938192845260406020850152816040850152848401375f828201840152601f01601f1916010190565b6005546001600160a01b0316949093909285908115614c4657821580614c3e575b610724575f5b838110614c0b57505f8060405180614b8d81898c6129df565b039088865af191614b9c6129ec565b935f5b818110614be8575050505015610ab7575090614be37f1c2e5a1031d3c1c47ea8f476f148cd18347010473bfddd5967d034cefbe63220939260405193849384614b20565b0390a2565b80614c0584614c00610847610842600196888b613215565b613483565b01614b9f565b80614c38614c226108476108426001958988613215565b856020614c30858a89613215565b0135916134fb565b01614b74565b508415614b6e565b6367d4f18960e11b5f5260045ffd5b9190614c64610600948261566c565b926156af565b929092614c7c611201601a5460ff1690565b614a9357614c8d92614a299161566c565b81811015613bbe57614c9e91613225565b614ca6612a1b565b908115614a8457614cb5613367565b9180614cc1838561335a565b11614dfb57610e1042049060188206906001600160401b038311614dec57614d7b847f621d1f8a268d20c5d876ea840dc388aa1ae082a4a6b1a64322be37e94911efec96614d60614d4e6132b3966001600160401b038916806001600160401b03614d41614d2e85612e38565b90546001600160401b039160031b1c1690565b1603614d9e575b50612e53565b614d6585614d608385549060031b1c90565b61335a565b82545f1960039390931b92831b1916911b179055565b604051948594859094939260609260808301968352602083015260408201520152565b614dca90614dab83612e38565b9091906001600160401b038084549260031b9316831b921b1916179055565b614de6614dd682612e53565b8154905f199060031b1b19169055565b5f614d48565b630625040160e01b5f5260045ffd5b63e93203bf60e01b5f5260049290925260245260445260645ffd5b5f516020615d435f395f51905f5280546001600160a01b03199081169091555f516020615ca35f395f51905f5280549182166001600160a01b0393841690811790915591167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a3565b6001600160a01b03169081156107335760207fdc86ea80c17dba36e8aac1a8a9461dcc3967506848bd50e2e48b90507867abb991835f52601082526142188160405f209060ff801983541691151516179055565b90600411610abf573590565b60014614614eee57505f90565b60018060a01b031673a0b86991c6218b36c1d19d4a2e9eb0ce3606eb488114908115614f84575b8115614f66575b8115614f48575b8115614f2d575090565b73e343167631d89b6ffc58b88d6b7fb0228795491d91501490565b734c9edd5852cd905f086c759e8383e09bff1e68b381149150614f23565b736b175474e89094c44da98b954eedeac495271d0f81149150614f1c565b73dac17f958d2ee523a2206206994597c13d831ec781149150614f15565b80614fac57505f90565b606381018091116126f8576064900490565b92916040519163095ea7b360e01b5f5260018060a01b031660045260245260205f60448180875af19260015f5114841615614ffa575b50604052565b3d15903b151516909216915f614ff4565b60405163095ea7b360e01b5f9081526001600160a01b03909316600452602483905290929160209060448180875af19260015f511484161561504d5750604052565b60018492941516615066573b15153d151616915f614ff4565b833d5f823e3d90fd5b92916040519163095ea7b360e01b5f5260018060a01b031660045260245260205f60448180875af19260015f511484161561504d5750604052565b906130e86106009261492a565b516150be57565b634ba0a8f360e01b5f5260045ffd5b604051906150da82611525565b5f6080838281528260208201528260408201528260608201520152565b939190926151036150cd565b506001600160a01b038516801580156151a8575b610733576001600160a01b03851611156151995761513761120184615714565b6121b15761517f61518992615173610a18966151636151546115a6565b6001600160a01b03909a168a52565b6001600160a01b03166020890152565b62ffffff166040870152565b60020b6060850152565b6001600160a01b03166080830152565b632e6c432360e01b5f5260045ffd5b506001600160a01b03851615615117565b9061060091604051602081019060018060a01b03835116825260018060a01b03602084015116604082015262ffffff6040840151166060820152606083015160020b608082015260018060a01b0360808401511660a082015260a0815261522160c082611545565b5190209061522e8261574e565b6157b4565b519061060082610d35565b519061060082611b70565b8092910360c081126105ef5760a0136105ef5760a060405161526a81611525565b8351615275816105de565b81526020840151615285816105de565b6020820152604084015161529881610d35565b604082015260608401516152ab81611b70565b606082015260808401516152be816105de565b608082015292015190565b9060c061531d926152d86150cd565b506004546001600160a01b03166152ef828261593d565b604051637ba03aad60e01b81526004810192909252909384916001600160a01b031690829081906024820190565b03915afa918215610959575f9261534d575b508151610600908390613b17906020906001600160a01b0316613b71565b61537091925060c03d60c011615378575b6153688183611545565b810190615249565b50905f61532f565b503d61535e565b9061538a9291613cd0565b906106006001600160a01b03831661574e565b519061ffff821682036105ef57565b908160e09103126105ef5780516153c2816105de565b9160208201516153d181611b70565b916153de6040820161539d565b916153eb6060830161539d565b916153f86080820161539d565b9160c060a083015161540981612871565b920151610a1881610dbc565b604051633850c7bd60e01b81529060e090829060049082906001600160a01b03165afa801561095957615462915f916154d1575b50615453836159d6565b61545c856159d6565b91615a27565b61546a6143f1565b615472614406565b9181811080156154c8575b615488575050505050565b60405163134e470960e11b81526001600160a01b03948516600482015294909316602485015260448401929092526064830191909152608482015260a490fd5b5082811161547d565b6154f3915060e03d60e0116154ff575b6154eb8183611545565b8101906153ac565b5050505050505f615449565b503d6154e1565b51906106008261358e565b6001546001600160a01b0316906101809061552c818461593d565b60246040518094819363133f757160e31b835260048301525afa918215610959575f925f925f91615564575b509061060083856150aa565b9250509150610180813d821161561c575b816155836101809383611545565b810103126105ef5780516001600160601b03811681036105ef57506155aa60208201613cb0565b506155b760408201613cb0565b916155c460608301613cb0565b926156136101606155d760808601615233565b946155e460a0820161523e565b506155f160c0820161523e565b506155fe60e08201615506565b5061560c6101408201615506565b5001615506565b5092915f615558565b3d9150615575565b60ff5f516020615d235f395f51905f525460401c161561564057565b631afcd79f60e31b5f5260045ffd5b908160209103126105ef575190565b604d81116126f857600a0a90565b61567760ff916159d6565b16601281146156ab5760120360ff81116126f85760ff615697911661565e565b908181029181830414901517156126f85790565b5090565b916156c06156ce919492948461566c565b6156c8614406565b9061407d565b908181116156dc5750505050565b60405163b971b92960e01b81526001600160a01b03938416600482015293909216602484015260448301919091526064820152608490fd5b6001600160a01b0381168015615747575f52603c60205260ff60405f205416908161573d575090565b61030f9150161590565b5050600190565b61575781615b29565b1561575f5750565b63064a469560e31b5f5260045260245ffd5b91908260809103126105ef578151615788816105de565b91602081015161579781611b70565b91606060408301516157a881610d35565b920151610a1881610d35565b916001600160a01b03161561592e576007546001600160a01b0316801561591f5761580e916080916157ee906001600160a01b0316610847565b6040518080958194633205590760e21b8352600483019190602083019252565b03915afa908115610959575f916158ed575b50815161585590615839906001600160a01b03166159d6565b6020840180519093919061545c906001600160a01b03166159d6565b9161585e6143f1565b615866614406565b9181851080156158e4575b61587c575050505050565b516149ee92919061589e906001600160a01b031694516001600160a01b031690565b60405163e97f7d1d60e01b81526001600160a01b0395861660048201529416602485015260448401949094526064830193909352608482019290925290819060a4820190565b50828511615871565b61590f915060803d608011615918575b6159078183611545565b810190615771565b5050505f615820565b503d6158fd565b6303bc067d60e61b5f5260045ffd5b630ef5e33360e41b5f5260045ffd5b6040516331a9108f60e11b81526004810183905291906020836024816001600160a01b0385165afa928315610959575f936159b5575b50306001600160a01b0384160361598957505050565b630e34ebdf60e41b5f9081526001600160a01b0391821660045260249290925291909116604452606490fd5b6159cf91935060203d602011613d7057613d618183611545565b915f615973565b6001600160a01b0381165f818152601260205260409020549092919060ff1680615a225750615a0490615b4c565b60ff8116615a1e5782622f5da360e81b5f5260045260245ffd5b9150565b925050565b60ff615a4981615a42615a509460018060a01b0316806140f8565b941661565e565b931661565e565b9180670de0b6b3a76400000290670de0b6b3a76400008204036126f8576001600160a01b03831683036126f857610a189260601b91614141565b90813b15615b08575f516020615cc35f395f51905f5280546001600160a01b0319166001600160a01b0384169081179091557fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b5f80a2805115615af057613a2391615c16565b505034615af957565b63b398979f60e01b5f5260045ffd5b50634c9c8ce360e01b5f9081526001600160a01b0391909116600452602490fd5b60ff603e541615615b46575f52603d60205260ff60405f20541690565b50600190565b60014614615b5957505f90565b6001600160a01b031673a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4881148015615bf9575b8015615bdc575b615bd657736b175474e89094c44da98b954eedeac495271d0f8114908115615bb8575b50615bb3575f90565b601290565b734c9edd5852cd905f086c759e8383e09bff1e68b39150145f615baa565b50600690565b5073e343167631d89b6ffc58b88d6b7fb0228795491d8114615b87565b5073dac17f958d2ee523a2206206994597c13d831ec78114615b80565b905f8091602081519101845af48080615c76575b15615c39575050610a18615c89565b15615c5e57639996b31560e01b5f9081526001600160a01b0391909116600452602490fd5b3d15155f036129d45763d6bda27560e01b5f5260045ffd5b503d151580615c2a5750813b1515615c2a565b604051903d82523d5f602084013e60203d83010160405256fe9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c199300360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbccd5ed15c6e187e77e9aee88184c21f4f2182ab5827cb3b7e07fbedcd63f033009b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00237e158222e3e6968b72b9db0d8043aacf074ad9f650f0d1606b4d82ee432c00a164736f6c6343000823000a","sourceMap":"653:39313:0:-:0;;;;;;;;;-1:-1:-1;653:39313:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;-1:-1:-1;;;;;653:39313:0;;;;;:::o;:::-;;;;;;;;;;;:::i;:::-;:::o;:::-;;;;;;:::i;:::-;;;;;;-1:-1:-1;;653:39313:0;;;;;;;;;:::i;:::-;;;2324:62:6;;;:::i;:::-;2989:103:26;;:::i;:::-;-1:-1:-1;;;;;653:39313:0;;17240:19;;17236:42;;17292:11;;17288:36;;653:39313;;;;;-1:-1:-1;;;;;;;;;;;653:39313:0;;;8544:1067:20;8509:24;;;;-1:-1:-1;8544:1067:20;653:39313:0;8544:1067:20;;653:39313:0;8544:1067:20;653:39313:0;-1:-1:-1;8544:1067:20;;;;;;1338:4;-1:-1:-1;8544:1067:20;;;;;;;653:39313:0;;8544:1067:20;;;;1305:38;1301:116;;653:39313:0;;;;;17392:23;;653:39313;;;;17392:23;;;;3054:1:26;2365;-1:-1:-1;;;;;;;;;;;1082:6:0;4047:253:26;1301:116:20;-1:-1:-1;;;;1366:40:20;-1:-1:-1;;;;;653:39313:0;;;;;-1:-1:-1;1366:40:20;8544:1067;1338:4;8544:1067;;;;;;;;;;;;;;;;;;-1:-1:-1;8544:1067:20;;;;;17288:36:0;17312:12;;;-1:-1:-1;17312:12:0;653:39313;-1:-1:-1;17312:12:0;17236:42;17268:10;;;-1:-1:-1;17268:10:0;653:39313;-1:-1:-1;17268:10:0;653:39313;;;;;;;:::o;:::-;;;;;;-1:-1:-1;;653:39313:0;;;;;9372:29:1;653:39313:0;;;;;;;;;;;;;-1:-1:-1;;653:39313:0;;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;653:39313:0;10399:47:1;653:39313:0;;;;;-1:-1:-1;653:39313:0;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;-1:-1:-1;;653:39313:0;;;;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;;:::i;:::-;2324:62:6;;;:::i;:::-;20158:7:0;653:39313;-1:-1:-1;;;;;653:39313:0;20158:21;20154:45;;-1:-1:-1;20230:17:0;;;;;;653:39313;20249:3;20268:42;:17;20275:9;;;;;;:::i;:::-;;:::i;:::-;-1:-1:-1;;;;;653:39313:0;;;20268:17;20158:7;653:39313;-1:-1:-1;;;;;653:39313:0;20268:42;;:::i;:::-;20158:7;653:39313;20324:35;;:27;;-1:-1:-1;;;;;653:39313:0;20324:27;653:39313;20324:35;20360:9;;;;;;;:::i;:::-;653:39313;;-1:-1:-1;;;;;653:39313:0;20324:71;;;;;653:39313;;-1:-1:-1;;;20324:71:0;;-1:-1:-1;;;;;653:39313:0;;;;20324:71;;653:39313;;;;;;;-1:-1:-1;653:39313:0;;;;;;;;;;;;;;;;;;;-1:-1:-1;;20324:71:0;;;;;;;653:39313;20324:71;;;20249:3;20437:9;;;;;;;:::i;:::-;653:39313;;;;;;;;;;;;-1:-1:-1;;;;;653:39313:0;;;20414:52;-1:-1:-1;;20414:52:0;653:39313;20215:13;;20324:71;;;-1:-1:-1;20324:71:0;;;:::i;:::-;;;:::i;:::-;;;;;;:::i;20154:45::-;20188:11;;;-1:-1:-1;20188:11:0;653:39313;-1:-1:-1;20188:11:0;653:39313;;;;;;;;;;;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;;;;;;:::o;:::-;;-1:-1:-1;;653:39313:0;;;;;;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::o;:::-;;;;:::i;:::-;4656:10;;-1:-1:-1;653:39313:0;4645:10;653:39313;;;;-1:-1:-1;653:39313:0;;;4645:47;;;;653:39313;4643:50;4639:83;;2989:103:26;;:::i;:::-;1965:72:9;;:::i;:::-;18672:4:0;;;;:::i;:::-;18691:8;653:39313;-1:-1:-1;;;;;653:39313:0;18691:22;;18687:55;;653:39313;-1:-1:-1;653:39313:0;;;;;;;;;;;;;;;;18785:27;;;;;;:::i;:::-;18826:3;;18822:112;;653:39313;1082:6;2365:1:26;-1:-1:-1;;;;;;;;;;;1082:6:0;653:39313;;;;;;;:::i;:::-;;;;18822:112;653:39313;18845:79;;;;;18687:55;18722:20;;;-1:-1:-1;18722:20:0;653:39313;-1:-1:-1;18722:20:0;4639:83;4702:20;;;-1:-1:-1;4702:20:0;653:39313;-1:-1:-1;4702:20:0;4645:47;-1:-1:-1;;;;;;;;;;;;653:39313:0;-1:-1:-1;;;;;653:39313:0;4656:10;4671:21;4645:47;;653:39313;;;;;;-1:-1:-1;;653:39313:0;;;;;;;;;:::i;:::-;2324:62:6;;:::i;:::-;12710:18:0;653:39313;;-1:-1:-1;;;;;;653:39313:0;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;;;;;;;;-1:-1:-1;;653:39313:0;;;;9211:22:1;653:39313:0;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;;;;;-1:-1:-1;;653:39313:0;;;;;;;;;:::i;:::-;2324:62:6;;:::i;:::-;-1:-1:-1;;;;;653:39313:0;;;13243:25;;13239:48;;38934:18;:23;38930:56;;653:39313;;-1:-1:-1;;;39000:46:0;;-1:-1:-1;;;653:39313:0;39000:46;;653:39313;;;;;39000:46;;;-1:-1:-1;;39000:46:0;;;653:39313;-1:-1:-1;38996:203:0;;18722:20;;;-1:-1:-1;39168:20:0;653:39313;-1:-1:-1;39168:20:0;38996:203;39090:10;39086:43;;13377:24;653:39313;;-1:-1:-1;;;;;;653:39313:0;;;;;13416:26;-1:-1:-1;;13416:26:0;653:39313;39000:46;;;;;653:39313;39000:46;653:39313;39000:46;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;;653:39313;;;;;;-1:-1:-1;;653:39313:0;;;;;9844:34:1;653:39313:0;;;;;;;;;;;;;-1:-1:-1;;653:39313:0;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;;:::i;:::-;-1:-1:-1;;653:39313:0;;-1:-1:-1;;;653:39313:0;;;;;;;;;;;-1:-1:-1;;653:39313:0;;;;2537:62:18;;:::i;:::-;2324::6;;:::i;:::-;653:39313:0;;;;;4787:52;;6222:4;653:39313;;;;;;;6241:16;653:39313;6241:16;;653:39313;4787:52;4820:19;;;653:39313;4820:19;653:39313;;4820:19;653:39313;;;;;;;:::o;:::-;;;;;;:::i;:::-;;;;;;-1:-1:-1;;653:39313:0;;;;;38158:28;653:39313;;;;;:::i;:::-;;;;;;:::i;:::-;;;;;;;:::i;:::-;38158:28;:::i;:::-;653:39313;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;;;-1:-1:-1;;653:39313:0;;;;;9884:44:1;653:39313:0;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;8334:30;653:39313;;;:::i;:::-;2324:62:6;;;;:::i;:::-;-1:-1:-1;;;;;653:39313:0;-1:-1:-1;653:39313:0;;;8289:10;653:39313;;;;;;;-1:-1:-1;;653:39313:0;;;;;;;;;;8289:30;653:39313;;;;;;;8334:30;653:39313;;;;;;;-1:-1:-1;;653:39313:0;;;;;9298:33:1;653:39313:0;;;;;;;;;;;;;-1:-1:-1;;653:39313:0;;;;;;;;;:::i;:::-;2324:62:6;;:::i;:::-;12607:23:0;653:39313;;-1:-1:-1;;;;;;653:39313:0;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;;;;;;:::i;:::-;4656:10;;-1:-1:-1;653:39313:0;4645:10;653:39313;;;;-1:-1:-1;653:39313:0;;;4645:47;;;;653:39313;4643:50;4639:83;;2989:103:26;;:::i;:::-;1965:72:9;;:::i;:::-;18159:4:0;;;;:::i;:::-;18178:8;653:39313;-1:-1:-1;;;;;653:39313:0;18178:22;;18174:55;;653:39313;-1:-1:-1;653:39313:0;;;;;;;;;;;;;;;;18272:27;;;;;;:::i;4645:47::-;-1:-1:-1;;;;;;;;;;;;653:39313:0;-1:-1:-1;;;;;653:39313:0;4656:10;4671:21;4645:47;;653:39313;;;;;;-1:-1:-1;;653:39313:0;;;;;;;8955:6:1;653:39313:0;;;;;;;;;-1:-1:-1;;653:39313:0;;;;;;;:::i;:::-;;;;;;;;;;;;;-1:-1:-1;;653:39313:0;;;;;;;1583:74;653:39313;;;;;;;;;-1:-1:-1;;653:39313:0;;;;10151:27:1;653:39313:0;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;;;;;-1:-1:-1;;653:39313:0;;;;9179:26:1;653:39313:0;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;-1:-1:-1;;653:39313:0;;;;;;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;2324:62:6;;;;:::i;:::-;11845:1:0;11848:17;;;;;;653:39313;11867:3;11903:9;11914:7;11903:9;;653:39313;11903:9;;;;:::i;:::-;653:39313;;;;:::i;:::-;11914:7;:::i;:::-;653:39313;11833:13;;653:39313;;;;;;-1:-1:-1;;653:39313:0;;;;;;;;;:::i;:::-;2537:62:18;;:::i;:::-;653:39313:0;;;;;;;:::i;:::-;-1:-1:-1;653:39313:0;;;-1:-1:-1;653:39313:0;;4787:52;;2537:62:18;;:::i;:::-;2324::6;;:::i;:::-;653:39313:0;;-1:-1:-1;;;5881:52:18;;653:39313:0;;;;;-1:-1:-1;;;;;653:39313:0;;5881:52:18;;-1:-1:-1;;5881:52:18;;;653:39313:0;-1:-1:-1;5877:437:18;;-1:-1:-1;;;;6243:60:18;-1:-1:-1;;;;;653:39313:0;;;;;-1:-1:-1;1366:40:20;5877:437:18;5975:40;-1:-1:-1;;;;;;;;;;;5975:40:18;;5971:120;;6153:4;;;;:::i;5971:120::-;-1:-1:-1;;;;6042:34:18;653:39313:0;;;;;-1:-1:-1;1366:40:20;5881:52:18;;;;;653:39313:0;5881:52:18;653:39313:0;5881:52:18;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;;653:39313:0;;;;;;-1:-1:-1;;653:39313:0;;;;;;;;;:::i;:::-;;;-1:-1:-1;;653:39313:0;;;;;;-1:-1:-1;;653:39313:0;;;;;;-1:-1:-1;;653:39313:0;;;;-1:-1:-1;;;;;;;;;;;653:39313:0;;-1:-1:-1;;;;;653:39313:0;;;;;;;4301:16:17;;653:39313:0;;4301:16:17;;653:39313:0;4301:16:17;653:39313:0;-1:-1:-1;;;;;653:39313:0;;;;;4724:16:17;;:34;;;;653:39313:0;4803:1:17;4788:16;:50;;;;653:39313:0;4853:13:17;:30;;;;653:39313:0;4849:91:17;;;5053:1;4949:18;;;653:39313:0;-1:-1:-1;;;;;653:39313:0;-1:-1:-1;;;;;;;;;;;653:39313:0;;;-1:-1:-1;;;;;;;;;;;653:39313:0;;4949:18:17;4977:67;;5053:1;:::i;:::-;5064:101;;653:39313:0;5064:101:17;5098:23;-1:-1:-1;;;653:39313:0;-1:-1:-1;;;;;;;;;;;653:39313:0;;-1:-1:-1;;;;;;;;;;;653:39313:0;;5098:23:17;653:39313:0;;4803:1:17;653:39313:0;;5140:14:17;;653:39313:0;;;;5140:14:17;;;;653:39313:0;4977:67:17;5011:22;653:39313:0;-1:-1:-1;;;653:39313:0;-1:-1:-1;;;;;;;;;;;653:39313:0;;;-1:-1:-1;;;;;;;;;;;653:39313:0;;5011:22:17;5053:1;:::i;4849:91::-;4906:23;;;-1:-1:-1;4906:23:17;653:39313:0;-1:-1:-1;4906:23:17;4853:30;4870:13;;;4853:30;;;4788:50;4816:4;4808:25;:30;;-1:-1:-1;4788:50:17;;4724:34;;;-1:-1:-1;4724:34:17;;653:39313:0;;;;;;-1:-1:-1;;653:39313:0;;;;;9441:28:1;653:39313:0;;;;;;;;;;;;;;;;;-1:-1:-1;;653:39313:0;;;;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;;:::i;:::-;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;;:::i;:::-;2324:62:6;;;:::i;:::-;8990:33:0;;;8986:62;;-1:-1:-1;9078:17:0;;;;;;653:39313;9097:3;9140:9;9151:12;9140:9;653:39313;9140:9;;;;:::i;:::-;653:39313;;;;:::i;:::-;9151:12;;;;;:::i;:::-;653:39313;;;;;:::i;:::-;9151:12;:::i;:::-;653:39313;9063:13;;8986:62;9032:16;;;-1:-1:-1;9032:16:0;653:39313;-1:-1:-1;9032:16:0;653:39313;;;;;;-1:-1:-1;;653:39313:0;;;;2324:62:6;;:::i;:::-;-1:-1:-1;;;;;;;;;;;653:39313:0;;;;2992:9:9;2988:62;;653:39313:0;;;-1:-1:-1;;;;;;;;;;;653:39313:0;3648:22:9;653:39313:0;;;987:10:8;653:39313:0;;3648:22:9;653:39313:0;2988:62:9;3024:15;;;653:39313:0;3024:15:9;653:39313:0;;3024:15:9;653:39313:0;;;;;;-1:-1:-1;;653:39313:0;;;;10105:31;;:::i;:::-;10138;;:::i;:::-;653:39313;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;653:39313:0;;;;;;10774:33:1;653:39313:0;;;;;;;;;;;;;;;;-1:-1:-1;;653:39313:0;;;;;;-1:-1:-1;653:39313:0;10640:45:1;653:39313:0;;;;;-1:-1:-1;653:39313:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;653:39313:0;;;;;;;:::o;:::-;;:::i;:::-;;;;;;;;;;;;;-1:-1:-1;;;;;653:39313:0;;;;;;;:::o;:::-;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;-1:-1:-1;;;;;653:39313:0;;;;;;-1:-1:-1;;653:39313:0;;;;:::o;:::-;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;-1:-1:-1;653:39313:0;;;;;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;653:39313:0;;;;;;;;;:::i;:::-;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;;:::i;:::-;;;-1:-1:-1;653:39313:0;;4787:52;;2537:62:18;;:::i;653:39313:0:-;;;;;;-1:-1:-1;;653:39313:0;;;;4840:6:18;-1:-1:-1;;;;;653:39313:0;4831:4:18;4823:23;4819:145;;653:39313:0;;;-1:-1:-1;;;;;;;;;;;653:39313:0;;;4819:145:18;4924:29;;;653:39313:0;4924:29:18;653:39313:0;;4924:29:18;653:39313:0;;;;;;-1:-1:-1;;653:39313:0;;;;2324:62:6;;:::i;:::-;653:39313:0;10887:3;12659:2:1;10855:30:0;;;;;10906:26;;653:39313;10906:26;;:::i;:::-;-1:-1:-1;;;;;12659:2:1;;;;;;;;;;653:39313:0;12659:2:1;10950:25:0;12659:2:1;;653:39313:0;10840:13;;653:39313;;;;;;;:::i;:::-;2324:62:6;;;:::i;:::-;15089:1:0;15092:19;;;;;;15212:8;;;:::i;15113:3::-;15148:11;;;;;:::i;:::-;653:39313;30344:21;;;30340:47;;653:39313;;;15089:1;653:39313;30397:13;653:39313;;;15089:1;653:39313;;;;;;;;;;30444:32;653:39313;;;;;;30444:32;653:39313;15077:13;;30340:47;30374:13;;;15089:1;30374:13;;15089:1;30374:13;653:39313;;;;;;-1:-1:-1;;653:39313:0;;;;-1:-1:-1;;;;;;;;;;;653:39313:0;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;;;;;-1:-1:-1;;653:39313:0;;;;;;-1:-1:-1;;;;;;;;;;;653:39313:0;;;;;;;;;;;;;;;;-1:-1:-1;;653:39313:0;;;;14807:8;653:39313;;;;;:::i;:::-;2324:62:6;;:::i;:::-;14807:8:0;:::i;653:39313::-;;;;;;-1:-1:-1;;653:39313:0;;;;;;;;;:::i;:::-;;;2324:62:6;;;:::i;:::-;2989:103:26;;:::i;:::-;-1:-1:-1;;;;;653:39313:0;;17520:17;;17516:40;;2591:8:6;;:::i;:::-;17566:53:0;;;;;;653:39313;;-1:-1:-1;;;17566:53:0;;17600:4;653:39313;17566:53;;653:39313;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;;;;;-1:-1:-1;653:39313:0;;;-1:-1:-1;17566:53:0;;;;;;;;17634:20;17566:53;17634:20;17566:53;;;653:39313;-1:-1:-1;653:39313:0;;;;;;;;;;;;;17566:53;;;-1:-1:-1;17566:53:0;;;:::i;:::-;;;;653:39313;;;;;;-1:-1:-1;;653:39313:0;;;;;;;;;:::i;:::-;2324:62:6;;:::i;:::-;-1:-1:-1;;;;;653:39313:0;;;39528:21;;39524:44;;39582:19;:24;39578:57;;39645:19;653:39313;;-1:-1:-1;;;;;;653:39313:0;;;;;39679:21;-1:-1:-1;;39679:21:0;653:39313;;;;;;;-1:-1:-1;;653:39313:0;;;;;;9765:32:1;653:39313:0;;;;;;;;;;;;;;;;-1:-1:-1;;653:39313:0;;;;;;9408:27:1;653:39313:0;;;;;;;;;;;;;;-1:-1:-1;;653:39313:0;;;;;;;;;:::i;:::-;;;;;;:::i;:::-;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;:::i;:::-;2324:62:6;;:::i;:::-;-1:-1:-1;;;;;653:39313:0;;12167:52;;653:39313;-1:-1:-1;;;;;;653:39313:0;;12229:52;;653:39313;-1:-1:-1;;;;;;653:39313:0;;12291:37;;653:39313;-1:-1:-1;;;;;;653:39313:0;;12338:43;;653:39313;-1:-1:-1;;;;;;653:39313:0;;12391:45;;653:39313;-1:-1:-1;;;;;;653:39313:0;;12446:76;;653:39313;12446:76;653:39313;;;-1:-1:-1;;;;;;653:39313:0;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;12391:45;12418:18;653:39313;;-1:-1:-1;;;;;;653:39313:0;-1:-1:-1;;;;;653:39313:0;;;;;;;;;12391:45;;;12338:43;12365:16;653:39313;;-1:-1:-1;;;;;;653:39313:0;-1:-1:-1;;;;;653:39313:0;;;;;;;;;12338:43;;;12291:37;653:39313;;;-1:-1:-1;;;;;;653:39313:0;-1:-1:-1;;;;;653:39313:0;;;;;;;;;12291:37;;;12229:52;12193:1;653:39313;;-1:-1:-1;;;;;;653:39313:0;;;;;;-1:-1:-1;;;;;653:39313:0;;;;;;;12229:52;;;12167;-1:-1:-1;;;;;653:39313:0;;12197:22;653:39313;;;12197:22;653:39313;12167:52;;;653:39313;;;;;;;:::o;:::-;;;;;;;:::o;:::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;:::i;:::-;2324:62:6;;;;;;:::i;:::-;15513:3:0;15471:45;;:107;;;;653:39313;15454:163;;16142:34;15693:21;15982;15693;16102:30;15693:21;15791:16;15693:21;;;16034;15693;;:::i;:::-;15728;;;:::i;:::-;15791:16;;;:::i;:::-;15827:40;1082:6;;15877:32;1082:6;;15919:32;1082:6;15982:21;:::i;:::-;15961:42;1082:6;16034:21;:::i;:::-;16013:42;1082:6;16065:27;16088:4;653:39313;;16065:27;653:39313;;;16065:27;653:39313;;16065:27;653:39313;;;1082:6;16102:30;1082:6;;;16102:30;1082:6;;16102:30;;1082:6;;;;;;;;;;;16102:30;1082:6;;15454:163;15596:21;;;-1:-1:-1;15596:21:0;653:39313;-1:-1:-1;15596:21:0;15471:107;15532:46;15513:3;15532:46;;15471:107;;653:39313;;;;;;-1:-1:-1;;653:39313:0;;;;6485:27;;;653:39313;6485:27;653:39313;;6485:27;653:39313;;;;;;-1:-1:-1;;653:39313:0;;;;;;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;;;;;-1:-1:-1;;653:39313:0;;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;653:39313:0;9628:52:1;653:39313:0;;;;;-1:-1:-1;653:39313:0;;;;;;;;;;;;;;;-1:-1:-1;;653:39313:0;;;;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;;;;;;20489:2474;;653:39313;;;;;:::i;:::-;;;;;;;20489:2474;;:::i;653:39313::-;;;;;;-1:-1:-1;;653:39313:0;;;;-1:-1:-1;;;;;;;;;;;653:39313:0;987:10:8;-1:-1:-1;;;;;653:39313:0;;;3373:24:5;3369:96;;3493:6;987:10:8;3493:6:5;:::i;3369:96::-;3420:34;;;653:39313:0;3420:34:5;987:10:8;653:39313:0;;;;3420:34:5;653:39313:0;;;;;;-1:-1:-1;;653:39313:0;;;;;;;;;;;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;;;-1:-1:-1;;653:39313:0;;;;10121:24:1;653:39313:0;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;;;;;;:::i;:::-;2324:62:6;;;;:::i;:::-;14502:1:0;14505:19;;;;;;653:39313;14526:3;14561:11;14574:7;14561:11;;653:39313;14561:11;;;;:::i;:::-;653:39313;14574:7;:::i;:::-;653:39313;14490:13;;653:39313;;;;;;;;;;;:::o;:::-;;;;;;-1:-1:-1;;653:39313:0;;;;;;2324:62:6;;:::i;:::-;2989:103:26;;:::i;:::-;17753:11:0;;17749:36;;-1:-1:-1;653:39313:0;;;;;;;;;-1:-1:-1;;;;;;;;;;;653:39313:0;;17808:40;;;;:::i;:::-;;17862:3;17858:35;;653:39313;17908:22;653:39313;;;;;;17908:22;2365:1:26;-1:-1:-1;;;;;;;;;;;1082:6:0;653:39313;17858:35;17874:19;;;-1:-1:-1;17874:19:0;653:39313;-1:-1:-1;17874:19:0;653:39313;;;;;;-1:-1:-1;;653:39313:0;;;;4656:10;653:39313;;4645:10;653:39313;;;;;;;;4645:47;;;;653:39313;4643:50;4639:83;;1965:72:9;;:::i;:::-;3321:4;653:39313:0;;-1:-1:-1;;;;;;;;;;;653:39313:0;;;-1:-1:-1;;;;;;;;;;;653:39313:0;3340:20:9;653:39313:0;;;4656:10;653:39313;;3340:20:9;653:39313:0;4645:47;-1:-1:-1;;;;;;;;;;;;653:39313:0;-1:-1:-1;;;;;653:39313:0;4656:10;4671:21;4645:47;;653:39313;;;;8484:7;653:39313;;;:::i;:::-;2324:62:6;;;:::i;:::-;8484:7:0;:::i;653:39313::-;;;;;;-1:-1:-1;;653:39313:0;;;;12827:7;653:39313;;;;;:::i;:::-;2324:62:6;;:::i;:::-;12827:7:0;:::i;653:39313::-;;;;;;-1:-1:-1;;653:39313:0;;;;-1:-1:-1;;;;;;;;;;;653:39313:0;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;;;;;-1:-1:-1;;653:39313:0;;;;;;;;;:::i;:::-;2324:62:6;;:::i;:::-;-1:-1:-1;;;;;653:39313:0;;;39779:21;;39775:44;;39833:19;:24;39829:57;;39896:22;653:39313;;-1:-1:-1;;;;;;653:39313:0;;;;;39933:24;-1:-1:-1;;39933:24:0;653:39313;;;;;;;-1:-1:-1;;653:39313:0;;;;2378:1:6;653:39313:0;;;;2324:62:6;;:::i;:::-;2378:1;:::i;653:39313:0:-;;;;;;-1:-1:-1;;653:39313:0;;;;;;;:::i;:::-;;;;;;-1:-1:-1;;653:39313:0;;;;14367:7;653:39313;;;;;;;:::i;:::-;2324:62:6;;:::i;:::-;14367:7:0;:::i;653:39313::-;;;;;;;:::i;:::-;2324:62:6;;:::i;:::-;-1:-1:-1;;;;;653:39313:0;;;13822:18;;13818:41;;13873:57;;;;;653:39313;13869:90;;;653:39313;14015:31;653:39313;;13838:1;653:39313;13969:15;653:39313;;13969:31;653:39313;;13838:1;653:39313;;;;;;;;;;;;;;;;13869:90;13939:20;;;13838:1;13939:20;653:39313;13838:1;13939:20;13873:57;11279:6:1;13885:39:0;;;13884:46;;13873:57;;;653:39313;;;;;;-1:-1:-1;;653:39313:0;;;;;9337:29:1;653:39313:0;;;;;;;;;;;;;;:::i;:::-;4656:10;;-1:-1:-1;653:39313:0;4645:10;653:39313;;;;-1:-1:-1;653:39313:0;;;4645:47;;;;653:39313;4643:50;4639:83;;2989:103:26;;:::i;:::-;1965:72:9;;:::i;:::-;19524:17:0;;;;:::i;:::-;-1:-1:-1;;;;;;653:39313:0;;-1:-1:-1;;;19568:53:0;;;;;:129;;653:39313;19551:200;;;-1:-1:-1;19778:10:0;653:39313;-1:-1:-1;;;;;653:39313:0;19802:20;;19798:47;;-1:-1:-1;653:39313:0;;;;;;;;;;;:::i;:::-;19888:25;;;;;;:::i;:::-;19927:3;;19923:112;;653:39313;3054:1:26;;2365;-1:-1:-1;;;;;;;;;;;1082:6:0;4047:253:26;3054:1;653:39313:0;;;;;;;:::i;19798:47::-;19831:14;;;-1:-1:-1;19831:14:0;653:39313;-1:-1:-1;19831:14:0;19551:200;-1:-1:-1;;;;19715:36:0;-1:-1:-1;;;;;;653:39313:0;;;;-1:-1:-1;1366:40:20;19568:129:0;-1:-1:-1;;;19641:56:0;;;-1:-1:-1;19568:129:0;;;4645:47;-1:-1:-1;;;;;;;;;;;;653:39313:0;-1:-1:-1;;;;;653:39313:0;4656:10;4671:21;4645:47;;653:39313;;;;;;-1:-1:-1;;653:39313:0;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;653:39313:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;-1:-1:-1;;653:39313:0;;;;;9804:34:1;653:39313:0;;;;;;;;;;;;;-1:-1:-1;;653:39313:0;;;;9239:23:1;653:39313:0;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;;;;;-1:-1:-1;;653:39313:0;;;;;9726:33:1;653:39313:0;;;;;;;;;;;;;-1:-1:-1;;653:39313:0;;;;;;9977:37:1;653:39313:0;;;;;;;;;;;;;;;;-1:-1:-1;;653:39313:0;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;;;;;;;-1:-1:-1;;653:39313:0;;;;9149:24:1;653:39313:0;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;;;;;-1:-1:-1;;653:39313:0;;;;;;;;;:::i;:::-;;;;;2324:62:6;;;:::i;:::-;8955:6:1;10342:43:0;;10338:77;;10429:58;;;;653:39313;10425:92;;10686:65;;653:39313;;;10528:35;653:39313;;;;;;;;10528:35;653:39313;1082:6;10573:53;1082:6;;10636:35;1082:6;653:39313;;10686:65;;;;1517:6;;;;;;;;653:39313;;;;;1517:6;;;653:39313;1517:6;653:39313;1517:6;10429:58;10441:26;;;:45;10429:58;10441:45;10471:15;;;10429:58;;653:39313;;;;;;-1:-1:-1;;653:39313:0;;;;9268:23:1;653:39313:0;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;;;;;-1:-1:-1;;653:39313:0;;;;;9687:33:1;653:39313:0;;;;;;;;;;;;;-1:-1:-1;;653:39313:0;;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;653:39313:0;9576:46:1;653:39313:0;;;;;-1:-1:-1;653:39313:0;;;;;;;;;;;;;;;16959:34;16843:29;653:39313;16787:29;653:39313;;;:::i;:::-;2324:62:6;;;;;;;;;:::i;:::-;16584:16:0;;;;;;;:::i;:::-;16620:40;1082:6;;16670:40;1082:6;;16720:40;1082:6;16787:29;:::i;:::-;16770:46;1082:6;16843:29;:::i;:::-;16826:46;1082:6;16905:4;653:39313;;16882:27;653:39313;;;16882:27;653:39313;;;1082:6;16919:30;1082:6;;;16919:30;1082:6;16102:30;1082:6;;;;;;;;;;;16102:30;1082:6;;653:39313;;;;;;-1:-1:-1;;653:39313:0;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;653:39313:0;;;;;9934:37:1;653:39313:0;;;;;;;;;;;11711:7;653:39313;;;:::i;:::-;2324:62:6;;;:::i;653:39313:0:-;;;;;;-1:-1:-1;;653:39313:0;;;;17116:9;653:39313;;;;;:::i;:::-;;;;;;;:::i;:::-;2324:62:6;;:::i;:::-;17116:9:0;:::i;653:39313::-;;;;;;-1:-1:-1;;653:39313:0;;;;;11313:25;653:39313;;11372:29;653:39313;;11424:22;653:39313;11466:21;;;:::i;:::-;11506:20;;:::i;:::-;11551:40;:17;;;;;653:39313;11551:40;653:39313;11551:40;;653:39313;;;;;;;;;;;;;;;;;;;;;;;;;;;;11551:40;12221:42:1;;;;;;;;;653:39313:0;11551:40;;;;12221:42:1;;:::i;653:39313:0:-;;;;;;-1:-1:-1;;653:39313:0;;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;653:39313:0;9476:42:1;653:39313:0;;;;;-1:-1:-1;653:39313:0;;;;;;;;;;;;;;;;;-1:-1:-1;;653:39313:0;;;;9050:23:1;653:39313:0;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;;;;;-1:-1:-1;;653:39313:0;;;;;;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;;;;;-1:-1:-1;;653:39313:0;;;;-1:-1:-1;;;;;;;;;;;653:39313:0;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;;;;;-1:-1:-1;;653:39313:0;;;;;;;;;:::i;:::-;2324:62:6;;:::i;:::-;-1:-1:-1;;;;;;;;;;;653:39313:0;;-1:-1:-1;;;;;;653:39313:0;-1:-1:-1;;;;;653:39313:0;;;;;;;;;-1:-1:-1;;;;;;;;;;;653:39313:0;;;;2742:43:5;-1:-1:-1;;2742:43:5;653:39313:0;;;;;;;-1:-1:-1;;653:39313:0;;;;9117:26:1;653:39313:0;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;;;;;;:::o;:::-;;;;;;-1:-1:-1;;653:39313:0;;;;8842:9;653:39313;;;;;:::i;:::-;;;;;;;:::i;:::-;2324:62:6;;:::i;653:39313:0:-;;;;;;-1:-1:-1;;653:39313:0;;;;9023:21:1;653:39313:0;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;;;;;-1:-1:-1;;653:39313:0;;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;653:39313:0;9524:46:1;653:39313:0;;;;;-1:-1:-1;653:39313:0;;;;;;;;;;;;;;;;;-1:-1:-1;;653:39313:0;;;;10273:25:1;653:39313:0;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;;;;;;:::i;:::-;2324:62:6;;;;:::i;:::-;8618:1:0;8621:17;;;;;;653:39313;8640:3;8676:9;8687:7;8676:9;;653:39313;8676:9;;;;:::i;:::-;653:39313;;;;:::i;8687:7::-;653:39313;8606:13;;653:39313;-1:-1:-1;;;;;;;;;;;653:39313:0;-1:-1:-1;;;;;653:39313:0;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;-1:-1:-1;653:39313:0;;;;:::o;:::-;;;:::o;13773:235:1:-;653:39313:0;13848:25:1;653:39313:0;;13847:26:1;13843:40;;13900:101;13916:29;653:39313:0;13947:22:1;653:39313:0;13900:101:1;;:::i;13843:40::-;653:39313:0;13875:8:1;:::o;4922:514:0:-;-1:-1:-1;;;;;653:39313:0;;5116:20;5112:43;;2216:12:6;6891:76:17;;;:::i;:::-;;;:::i;:::-;2216:12:6;:::i;:::-;6891:76:17;;:::i;:::-;;;:::i;:::-;-1:-1:-1;;;;;6598:16:0;653:39313;6598:16;:::i;:::-;653:39313;6594:64;;4922:514;6672:30;:16;;;:::i;:30::-;6668:64;;4922:514;6746:25;:11;;;:::i;:25::-;6742:49;;4922:514;6805:27;:13;;;:::i;:27::-;6801:55;;4922:514;6870:29;:15;;;:::i;:29::-;6866:61;;4922:514;6941:38;:24;;;:::i;:38::-;6937:88;;4922:514;7039:32;:18;;;:::i;:32::-;7035:70;;4922:514;7119:28;:14;;;:::i;:28::-;7115:58;;4922:514;7205:25;653:39313;7205:30;;;:64;7184:85;7238:3;15827:40;1082:6;;7184:85;7307:21;653:39313;7307:26;;;:54;7578:105;7336:1;7307:54;7399:21;653:39313;7399:26;;;:54;7463:105;7428:1;7399:54;;7484:25;653:39313;;7484:30;;;7517:23;;;;:::i;:::-;15961:42;1082:6;;7463:105;7599:25;653:39313;;7599:30;;;7632:23;;;;:::i;:::-;16013:42;1082:6;;7578:105;7693:45;7710:28;7463:105;653:39313;7710:28;:::i;:::-;15877:32;1082:6;;7693:45;7748;7765:28;7578:105;653:39313;7765:28;:::i;:::-;15919:32;1082:6;;7748:45;7803:27;16088:4;653:39313;;16065:27;653:39313;;;16065:27;653:39313;;7803:27;653:39313;7856:20;;;:::i;:::-;653:39313;7856:54;;16102:30;1082:6;;-1:-1:-1;;1082:6:0;7884:3;1082:6;;;7840:70;7938:22;;;:::i;:::-;653:39313;;7938:65;;16102:30;1082:6;;-1:-1:-1;;1082:6:0;;;;;7920:83;8169:15;7184:85;653:39313;7463:105;653:39313;7578:105;653:39313;7840:70;653:39313;;;;;;;;;;;;;;;;;;8169:15;;:::i;:::-;5317:16;5299;653:39313;5299:16;:::i;:::-;5317;;;:::i;:::-;;;:::i;:::-;5348:26;:12;653:39313;5348:12;:::i;:26::-;5344:86;;4922:514::o;5344:86::-;5406:12;;653:39313;5406:12;:::i;7938:65::-;7920:83;7981:22;7938;7981;:::i;:::-;7920:83;:::i;7856:54::-;7840:70;7890:20;7856;7890;:::i;:::-;7840:70;:::i;7599:84::-;;7578:105;:::i;7484:84::-;;7463:105;:::i;7399:54::-;7463:105;7399:54;;;;7307;7578:105;7307:54;;;7205:64;15827:40;1082:6;7184:85;1082:6;7115:58;7149:24;7159:14;7119;7159;:::i;:::-;653:39313;;;;;;-1:-1:-1;;;;;653:39313:0;;7149:24;653:39313;;;7149:24;653:39313;;7149:24;7115:58;;7035:70;7073:32;7087:18;7039;7087;:::i;:::-;653:39313;;;;;;-1:-1:-1;;;;;653:39313:0;;7073:32;653:39313;;;7073:32;653:39313;;7073:32;7035:70;;6937:88;6981:44;7001:24;6941;7001;:::i;:::-;653:39313;;;;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;6981:44;6937:88;;6866:61;6901:26;6912:15;6870;6912;:::i;:::-;653:39313;;;;;;-1:-1:-1;;;;;653:39313:0;;12418:18;653:39313;;;12418:18;653:39313;;6901:26;6866:61;;6801:55;6834:22;6843:13;6805;6843;:::i;:::-;653:39313;;;;;;-1:-1:-1;;;;;653:39313:0;;12365:16;653:39313;;;12365:16;653:39313;;6834:22;6801:55;;6742:49;6773:18;6780:11;6746;6780;:::i;:::-;653:39313;;;;;;-1:-1:-1;;;;;653:39313:0;;12316:12;653:39313;;;12316:12;653:39313;;6773:18;6742:49;;6668:64;6704:28;6716:16;6672;6716;:::i;:::-;12193:1;653:39313;;-1:-1:-1;;;;;;653:39313:0;;;;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;6704:28;6668:64;;6594;6630:28;6642:16;653:39313;6642:16;:::i;:::-;653:39313;;;;;;-1:-1:-1;;;;;653:39313:0;;6630:28;653:39313;;;6630:28;653:39313;;6630:28;6594:64;;12659:2:1;;;;;;;;;;;;10906:23:0;12659:2:1;;;;;;:::o;:::-;;;;;;;14408:25;12659:2;;;;:::o;1009:6:0:-;653:39313;;;1009:6;;;;;;;;1082;;15513:3;1082:6;;;;;;15513:3;1082:6;;;;;;;:::o;4598:142::-;;;;;;;;4656:10;-1:-1:-1;653:39313:0;4645:10;653:39313;;;;-1:-1:-1;653:39313:0;;;4645:47;;;;4598:142;4643:50;4639:83;;2989:103:26;;:::i;:::-;1965:72:9;;:::i;:::-;20830:38:0;;;;:::i;:::-;20883:21;2591:8:6;;;;;:::i;20883:21:0:-;4656:10;20883:21;20879:180;;4598:142;21073:16;;;653:39313;21101:4;-1:-1:-1;;;;;653:39313:0;;;21073:33;21069:70;;653:39313;21153:13;;653:39313;;-1:-1:-1;;;;;653:39313:0;;;;;21153:25;21149:58;;653:39313;;21221:30;;653:39313;;-1:-1:-1;;;;;653:39313:0;;;-1:-1:-1;;;;;653:39313:0;;;21221:30;-1:-1:-1;;;;;653:39313:0;;;21221:30;21217:63;;-1:-1:-1;;;;;653:39313:0;21294:27;;;;;:59;;4598:142;21290:100;;;21404:20;;;653:39313;;;;21404:35;21400:67;;21498:1;21482:17;;21478:46;;21498:1;21538:18;;21498:1;;21576:10;21572:44;;653:39313;;-1:-1:-1;;;;;653:39313:0;21634:32;21651:15;:9;;;;:::i;21634:32::-;-1:-1:-1;;;;;653:39313:0;;;21634:32;;;;:67;;21534:459;21630:101;;22456:5;2591:8:6;21749:21:0;2591:8:6;;:::i;21749:21:0:-;4656:10;21749:21;21745:64;;21534:459;653:39313;;22028:35;;;;;;:73;;;22115:21;2591:8:6;;:::i;22115:21:0:-;4656:10;22115:21;22111:235;;22028:73;22380:25;;;:::i;:::-;22456:5;;:::i;:::-;22495:25;;;:::i;:::-;22534:28;;;;22530:60;;22620:28;;;:::i;:::-;22662:27;;;22658:59;;22731:21;2591:8:6;;:::i;22731:21:0:-;4656:10;22731:21;22727:230;;22028:73;3054:1:26;;;;2365;-1:-1:-1;;;;;;;;;;;1082:6:0;4047:253:26;22727:230:0;653:39313;;22936:9;;653:39313;;;-1:-1:-1;;;;;653:39313:0;22826:11;22839:9;22826:11;;;;653:39313;;;;22839:9;;:::i;:::-;653:39313;-1:-1:-1;;;;;653:39313:0;;;;;;22936:9;;:::i;:::-;22727:230;;;;;22658:59;21448:19;;;-1:-1:-1;22698:19:0;;-1:-1:-1;22698:19:0;22111:235;22319:15;653:39313;;22216:15;653:39313;;;;;;;;;;;;;22203:11;;;653:39313;;;22216:15;;:::i;:::-;653:39313;;;;-1:-1:-1;;;;;653:39313:0;;;22319:15;;:::i;:::-;22111:235;;22028:73;;;;;;21745:64;21793:15;;:9;;;;:::i;:15::-;;:::i;:::-;21745:64;;21630:101;21961:21;;;-1:-1:-1;21710:21:0;;-1:-1:-1;21710:21:0;21634:67;21670:11;;;;653:39313;;21685:9;;;;:::i;:::-;:16;653:39313;21670:31;;21634:67;;21534:459;21844:10;;21840:35;;653:39313;;-1:-1:-1;;;;;653:39313:0;12221:42:1;21893:35:0;;;;:59;;21534:459;21889:93;;22456:5;21534:459;;;21893:59;21932:11;;;;;653:39313;21932:20;;21893:59;;21290:100;21362:28;;;-1:-1:-1;21362:28:0;;-1:-1:-1;21362:28:0;21294:59;21342:11;653:39313;;;-1:-1:-1;21325:28:0;;-1:-1:-1;;;;;653:39313:0;;;21325:28;;;21294:59;;;21217:63;21187:20;;;-1:-1:-1;21260:20:0;;-1:-1:-1;21260:20:0;21069:70;21115:24;;;-1:-1:-1;21115:24:0;;-1:-1:-1;21115:24:0;20879:180;653:39313;;20941:13;;-1:-1:-1;;;;;653:39313:0;21793:15;:::i;20941:13::-;653:39313;20990:13;;653:39313;20990:13;;-1:-1:-1;;;;;653:39313:0;21793:15;:::i;20990:13::-;21039:8;;;:::i;:::-;20879:180;;4645:47;-1:-1:-1;;;;;;;;;;;;653:39313:0;-1:-1:-1;;;;;653:39313:0;4656:10;4671:21;4645:47;;12221:42:1;;;;;;:::o;:::-;;;;;;;;;;;;:::o;:::-;;;;;;;;;;:::o;9187:798:0:-;;9294:16;;:36;;;9187:798;9290:254;;1324:23;9571:41;;:98;;;;9187:798;9571:137;;;;9187:798;9571:176;;;;9187:798;9571:218;;;;9187:798;9554:274;;9839:33;;9930:48;9839:33;;1082:6;;9839:33;9882;;;1082:6;;9882:33;653:39313;;;;;;;;;;;;;;;;;;9930:48;;;;9187:798::o;9571:218::-;9763:26;;;;;9571:218;;:176;9724:23;12307:4:1;9724:23:0;;9571:176;;:137;9685:23;12307:4:1;9685:23:0;;9571:137;;:98;9628:41;1418:25;9628:41;;9571:98;;9290:254;9346:23;;;9309:1;9346:23;1082:6;;9346:23;9383;9309:1;9383:23;1082:6;;9383:23;9425:88;653:39313;;9425:88;;;653:39313;12477:25:1;653:39313:0;;;;;12377:23:1;653:39313:0;;;;;9294:36;9314:16;;;9294:36;;653:39313;;;;;;;;;;:::o;14014:453:1:-;653:39313:0;14115:15:1;14133:7;14115:15;1009:6:0;653:39313;14170:30:1;12659:2;14170:30;;;;14014:453;;:::o;14202:3::-;-1:-1:-1;;;;;14250:26:1;;;:::i;:::-;653:39313:0;;;;;;;14295:25:1;;;;:82;;;;14202:3;14291:160;;;14202:3;653:39313:0;;14155:13:1;;14291:160;14408:28;;;;:::i;:::-;653:39313:0;;;;;;;;;;;;;14397:39:1;14291:160;;14295:82;14324:24;;12221:42;;;;;;;12659:2;-1:-1:-1;14295:82:1;;;13561:206;-1:-1:-1;;;;;653:39313:0;;;;;;13652:14:1;653:39313:0;;;;;;;;13648:39:1;;653:39313:0;;13704:14:1;653:39313:0;;;;;;;;13704:56:1;;;;;13697:63;13561:206;:::o;13704:56::-;13729:31;;;;:::i;13648:39::-;13675:12;;653:39313:0;13675:12:1;:::o;2679:162:6:-;-1:-1:-1;;;;;;;;;;;653:39313:0;-1:-1:-1;;;;;653:39313:0;987:10:8;2738:23:6;2734:101;;2679:162::o;3749:292:26:-;2407:1;-1:-1:-1;;;;;;;;;;;653:39313:0;4560:63:26;3644:93;;2407:1;-1:-1:-1;;;;;;;;;;;1082:6:0;3749:292:26:o;3644:93::-;3696:30;;;-1:-1:-1;3696:30:26;;-1:-1:-1;3696:30:26;5098:367:20;;5190:42;20177:1:0;5190:42:20;;;:::i;:::-;5189:43;5185:274;;5098:367;;:::o;5185:274::-;5253:37;;;;:::i;:::-;5252:38;5248:91;;20177:1:0;5358:41:20;;;;:::i;:::-;5357:42;5353:95;;5098:367;:::o;5353:95::-;-1:-1:-1;;;20177:1:0;5408:40:20;;;-1:-1:-1;;;;;653:39313:0;;;;5408:40:20;653:39313:0;;;5408:40:20;5248:91;-1:-1:-1;;;;20177:1:0;5299:40:20;;;-1:-1:-1;;;;;653:39313:0;;;;5299:40:20;653:39313:0;;;5299:40:20;5098:367;;;5190:42;;;;;:::i;:::-;5189:43;5185:274;;5098:367;;;:::o;5185:274::-;5253:37;;;;:::i;:::-;5252:38;5248:91;;5358:41;;;;;:::i;5248:91::-;-1:-1:-1;;;5226:5:20;5299:40;;;-1:-1:-1;;;;;653:39313:0;;5299:40:20;653:39313:0;;;5299:40:20;2730:128:9;653:39313:0;-1:-1:-1;;;;;;;;;;;653:39313:0;;2791:61:9;;2730:128::o;2791:61::-;2826:15;;;-1:-1:-1;2826:15:9;;-1:-1:-1;2826:15:9;653:39313:0;;;;;;26054:1;653:39313;;;;;;;26054:1;653:39313;;-1:-1:-1;;653:39313:0;;:::o;:::-;;;;;;;:::o;:::-;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;:::i;25583:3514::-;-1:-1:-1;;;;;;;;;;;653:39313:0;25583:3514;;;25667:21;;-1:-1:-1;;;;;653:39313:0;;;25667:21;:10;:21;25663:34;;25724:17;;;;:::i;:::-;653:39313;-1:-1:-1;;;;;;653:39313:0;;-1:-1:-1;;;25768:206:0;;25751:681;;-1:-1:-1;;;26458:206:0;;26441:691;;-1:-1:-1;;;27145:112:0;;27141:487;;-1:-1:-1;;;27641:99:0;;27637:464;;-1:-1:-1;;;28114:91:0;;28110:370;;-1:-1:-1;;;28493:55:0;;28489:209;;-1:-1:-1;;;28711:78:0;28707:331;;-1:-1:-1;;;29054:36:0;;-1:-1:-1;;;;;;653:39313:0;;;;;-1:-1:-1;1366:40:20;28707:331:0;28967:40;28861:8;;;;28944;28861;28850:56;28861:8;;:::i;:::-;28850:56;;;;:::i;:::-;28944:8;;;;;;;:::i;:::-;28967:40;:::i;:::-;;29021:7::o;28489:209::-;28593:8;28627:40;28593:8;;;28582:31;28593:8;;;;:::i;:::-;28582:31;;;;:::i;28110:370::-;28294:8;28409:40;28294:8;;;;28386;28294;28283:65;28294:8;;:::i;:::-;28283:65;;;;:::i;:::-;28386:8;;;;;;;;:::i;27637:464::-;27859:8;28049:20;27859:8;;27848:74;27859:8;;27960;27859;28007:40;27859:8;;:::i;:::-;27848:74;;;;:::i;:::-;27960:8;;;;;;;:::i;28007:40::-;28049:20;:::i;27141:487::-;27377:8;27576:20;27377:8;;27366:83;27377:8;;27487;27377;27534:40;27377:8;;:::i;:::-;27366:83;;;;:::i;:::-;27487:8;;;;;;;;:::i;26441:691::-;26744:8;27060:27;26744:8;;;26733:51;26744:8;;;;:::i;:::-;26733:51;;;;:::i;:::-;653:39313;;;;27060:27;;26956:86;;-1:-1:-1;;;;;653:39313:0;;26833:13;;;653:39313;;26833:13;;;;-1:-1:-1;;;;;653:39313:0;;26833:13;;:::i;:::-;26885:15;;;;;;:::i;:::-;653:39313;;;;-1:-1:-1;;;;;653:39313:0;;;;-1:-1:-1;;;;;653:39313:0;;;;26997:10;;;653:39313;;;27009:18;;;653:39313;;;27029:12;;;653:39313;27029:12;;;-1:-1:-1;;;;;653:39313:0;26956:86;;:::i;:::-;27060:27;;653:39313;-1:-1:-1;;;;;653:39313:0;;;;27060:27;;:::i;25751:681::-;26049:8;26360:27;26049:8;;;26038:46;26049:8;;;;:::i;:::-;26038:46;;;;:::i;:::-;653:39313;;;;26360:27;;26256:86;;-1:-1:-1;;;;;653:39313:0;;;25663:34;25690:7;;:::o;653:39313::-;;;;;;;;;;;;;:::i;38837:368::-;38934:18;;:23;38930:56;;653:39313;;-1:-1:-1;;;39000:46:0;;-1:-1:-1;;;39000:46:0;;;653:39313;;39000:46;;653:39313;;;;;;-1:-1:-1;;;;;653:39313:0;39000:46;;38956:1;;39000:46;;;38837:368;-1:-1:-1;38996:203:0;;18722:20;;;38956:1;39168:20;39000:46;38956:1;39168:20;38996:203;39090:10;39086:43;;38837:368::o;39000:46::-;;;;;;;;;;;;;;;:::i;:::-;;;;;4328:312:18;-1:-1:-1;;;;;4417:6:18;653:39313:0;4408:4:18;4400:23;;;:120;;;;4328:312;4383:251;;;4328:312::o;4400:120::-;-1:-1:-1;;;;;;;;;;;653:39313:0;-1:-1:-1;;;;;653:39313:0;4478:42:18;;;-1:-1:-1;4400:120:18;;;653:39313:0;;;;;;:::i;:::-;;;;;;;;;;;;;:::i;35504:228::-;35637:9;653:39313;;;-1:-1:-1;;;35619:57:0;;-1:-1:-1;;;;;653:39313:0;;;35619:57;;;653:39313;;;;;;;;;;;;;;;;;;;35504:228;35619:57;;653:39313;;;;;;;;;35619:57;;;;;;;35637:9;35619:57;;;35504:228;-1:-1:-1;;;;;;653:39313:0;;35690:18;35686:39;;35504:228::o;35686:39::-;35717:8;;;35637:9;35717:8;35619:57;35637:9;35717:8;35619:57;;;;;;;;;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;;653:39313;;;;;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;:::o;23785:1792::-;-1:-1:-1;;;;;;;;;;;653:39313:0;23785:1792;;;23869:21;;-1:-1:-1;;;;;653:39313:0;;;23869:21;:10;:21;23865:34;;23926:17;;;;:::i;:::-;653:39313;-1:-1:-1;;;;;;653:39313:0;;-1:-1:-1;;;23957:124:0;;23953:554;;-1:-1:-1;;;24520:93:0;;24516:444;;-1:-1:-1;;;24973:85:0;;24969:271;;-1:-1:-1;;;25253:55:0;;;:115;;;;23785:1792;25249:269;;;-1:-1:-1;;;25534:36:0;;-1:-1:-1;;;;;;653:39313:0;;;;;-1:-1:-1;1366:40:20;25249:269:0;25447:40;25413:8;;;25402:31;25413:8;;;;:::i;25402:31::-;25447:40;:::i;:::-;25501:7;;;:::o;25253:115::-;-1:-1:-1;;;25312:56:0;;-1:-1:-1;25253:115:0;;;24969:271;25108:8;25169:40;25108:8;;;25097:58;25108:8;;;;:::i;:::-;25097:58;;;;:::i;:::-;25169:40;;;;:::i;24516:444::-;24664:8;24922:6;24664:8;;24653:67;24664:8;;24862:50;24664:8;24781:40;24664:8;;:::i;:::-;24653:67;;;;:::i;:::-;24781:40;;;;;:::i;:::-;24862:50;;;;;;:::i;:::-;24922:6;:::i;23953:554::-;24168:8;24449:13;24168:8;;;24157:51;24168:8;;;;:::i;:::-;24157:51;;;;:::i;:::-;653:39313;;-1:-1:-1;;;;;653:39313:0;24257:13;;;653:39313;;24257:13;;;;-1:-1:-1;;;;;653:39313:0;;;24257:13;653:39313;;;;;;24329:71;;-1:-1:-1;;;;;653:39313:0;;;-1:-1:-1;;;;;653:39313:0;24389:10;;;653:39313;;;24329:71;;:::i;:::-;653:39313;;-1:-1:-1;;;;;653:39313:0;;;;24449:13;;:::i;653:39313::-;;;;:::o;741:4141:40:-;653:39313:0;;;;-1:-1:-1;;653:39313:0;;1347:147:40;;;;;;;;;;;;1619:19;;12576:9:1;1619:19:40;653:39313:0;;;1720:10:40;1716:177;;653:39313:0;2224:95:40;12576:9:1;2224:95:40;;2391:145;;;;;;653:39313:0;;2391:145:40;;2977:82;;3363:21;653:39313:0;741:4141:40;:::o;1716:177::-;1750:98;;12576:9:1;1750:98:40;;;1865:13;:::o;741:4141::-;653:39313:0;;;;-1:-1:-1;;653:39313:0;;1347:147:40;;;;;;;;;;;;1619:19;;12307:4:1;1619:19:40;653:39313:0;;;1720:10:40;1716:177;;653:39313:0;2224:95:40;12307:4:1;2224:95:40;;2391:145;;;;;;653:39313:0;;2391:145:40;;2977:82;;3363:21;653:39313:0;741:4141:40;:::o;1716:177::-;1750:98;;12307:4:1;1750:98:40;;;1865:13;:::o;741:4141::-;653:39313:0;;;;741:4141:40;-1:-1:-1;;741:4141:40;;1347:147;;;;;;;;;;;;335:27:39;;653:39313:0;335:27:39;;1619:19:40;653:39313:0;;;1720:10:40;1716:177;;-1:-1:-1;;;335:27:39;2224:95:40;2391:145;;;;;;653:39313:0;;2391:145:40;;2977:82;;3363:21;741:4141;:::o;1716:177::-;1750:98;;;;;1865:13;:::o;741:4141::-;;653:39313:0;;;;-1:-1:-1;;653:39313:0;741:4141:40;1347:147;;;;;;;;;;;;1619:19;1611:28;1619:19;;;1611:28;:::i;:::-;1720:10;1716:177;;2224:95;;;;653:39313:0;;;;2716:31:40;2811:94;;;3776:1;653:39313:0;3757:1:40;653:39313:0;3756:21:40;653:39313:0;;;3776:1:40;653:39313:0;;;;;3776:1:40;653:39313:0;;;;;3776:1:40;653:39313:0;;;;;3776:1:40;653:39313:0;;;;;3776:1:40;653:39313:0;;;;;3776:1:40;653:39313:0;;3254:96:40;;;;653:39313:0;3254:96:40;;;2391:145;;;;;;653:39313:0;2391:145:40;;2977:82;3363:21;653:39313:0;741:4141:40;:::o;1716:177::-;1750:98;;;;;1865:13;:::o;30975:210:0:-;-1:-1:-1;;;;;653:39313:0;;31053:19;;31049:42;;653:39313;31147:31;653:39313;;31070:1;653:39313;31101:14;653:39313;;31101:31;653:39313;;31070:1;653:39313;;;;;;;;;;;;;;;;31101:31;653:39313;;;;;;;31147:31;30975:210::o;653:39313::-;;;;;:::i;:::-;;;;;:::i;38414:417::-;-1:-1:-1;;;;;653:39313:0;;;38414:417;38496:23;;:50;;;;38414:417;38492:73;;38934:18;:23;38930:56;;653:39313;;-1:-1:-1;;;39000:46:0;;-1:-1:-1;;;39000:46:0;;;653:39313;39000:46;653:39313;;;39000:46;;;38517:1;;39000:46;;;38414:417;-1:-1:-1;38996:203:0;;18722:20;;;38517:1;39168:20;39000:46;38517:1;39168:20;38996:203;39090:10;39086:43;;38686:30;;;:::i;:::-;653:39313;-1:-1:-1;;;;;653:39313:0;;38727:20;653:39313;;;38727:20;653:39313;;;;;;;;;-1:-1:-1;;;;;653:39313:0;;38757:20;653:39313;;;38757:20;653:39313;38792:32;38517:1;38792:32;;38414:417::o;39000:46::-;;;;;;;;;;;;;;;:::i;:::-;;;;;38496:50;-1:-1:-1;;;;;;653:39313:0;;38523:23;38496:50;;39211:248;-1:-1:-1;;;;;653:39313:0;;;39276:21;;39272:44;;39330:19;:24;39326:57;;39393:21;653:39313;;-1:-1:-1;;;;;;653:39313:0;;;;;39429:23;-1:-1:-1;;39429:23:0;39211:248::o;30652:317::-;-1:-1:-1;;;;;653:39313:0;;30740:19;;30736:42;;653:39313;;30804:2;30792:14;;30788:71;;30757:1;653:39313;;;30804:2;653:39313;;;;;;;;;;;-1:-1:-1;;653:39313:0;;;;;;;;;;30922:40;;;30652:317::o;30788:71::-;30815:44;;;;30757:1;30815:44;;653:39313;;;;30757:1;30815:44;16170:177:1;16260:19;653:39313:0;16260:24:1;;;:80;12377:23;16170:177;:::o;16353:::-;16443:19;653:39313:0;16443:24:1;;;:80;12477:25;16353:177;:::o;30265:218:0:-;;30344:21;;30340:47;;653:39313;30444:32;653:39313;;30363:1;653:39313;30397:13;653:39313;;30397:32;653:39313;;30363:1;653:39313;;;;;;;;;;;;;;;;30489:157;653:39313;30605:34;30489:157;653:39313;;;;30558:32;653:39313;;;;;;30558:32;653:39313;;;;;;30605:34;30489:157::o;29241:802::-;898:2;29478:38;;:80;;;;;29241:802;29474:139;;;8955:6:1;-1:-1:-1;29622:77:0;;8955:6:1;-1:-1:-1;29709:78:0;;653:39313;;898:2;29801:36;;:76;;;;;29241:802;29797:135;;;653:39313;;29964:1;29945:20;;:61;;;;;29241:802;29941:95;;;29241:802::o;29945:61::-;1259:4;29969:37;;;29945:61;;;29801:76;1205:4;29841:36;;;29801:76;;;29478:80;950:4;29520:38;;;29478:80;;;653:39313;-1:-1:-1;;;;;653:39313:0;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;:::i;:::-;;;;;:::o;:::-;;;;;;;;;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;:::i;:::-;;;;;;:::o;:::-;;;;;;;;;;;;;;:::i;:::-;;;;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;:::i;:::-;;;;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;:::i;36979:1063::-;;653:39313;;;;;;;;-1:-1:-1;;;;;653:39313:0;;;;;;;-1:-1:-1;653:39313:0;;-1:-1:-1;653:39313:0;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;653:39313:0;;;;-1:-1:-1;653:39313:0;;;;-1:-1:-1;653:39313:0;;;;-1:-1:-1;653:39313:0;;;;;;;;;37145:21;37205:1;37186:20;;37182:56;;37383:13;;;;;:::i;:::-;653:39313;37274:75;-1:-1:-1;;;;;;653:39313:0;-1:-1:-1;;;37410:50:0;;:111;;;;36979:1063;37406:350;;-1:-1:-1;;;37769:60:0;37765:230;;37215:23;;;653:39313;38012:23;37205:1;653:39313;38012:23;37765:230;37858:87;;;;;;:::i;:::-;37959:25;;;;;653:39313;37959:25;:::o;37406:350::-;37617:66;;;;;;;:::i;:::-;37705:14;;;;37721:23;;;;653:39313;37705:14;;;-1:-1:-1;;;;;653:39313:0;;:::o;37410:111::-;-1:-1:-1;;;;37464:57:0;;37410:111;;37182:56;37215:23;;;653:39313;37215:23;37205:1;653:39313;37215:23;14919:144:1;14993:32;;;:::i;:::-;14992:33;14988:68;;14919:144;:::o;14988:68::-;-1:-1:-1;;;;15034:22:1;;;-1:-1:-1;;;;;653:39313:0;;;;15034:22:1;653:39313:0;;;15034:22:1;16536:794;15146:20;653:39313:0;16536:794:1;;;;;653:39313:0;;15146:64:1;;;15169:18;653:39313:0;15146:64:1;;1082:6:0;16768:27:1;;;;16764:61;;16863:49;16963:97;16863:49;;;:::i;:::-;16979:41;17022:26;16979:41;;;;:::i;:::-;17022:26;;;:::i;:::-;16963:97;;:::i;:::-;17074:37;;;17070:155;;17306:16;;;;;;:::i;17070:155::-;653:39313:0;;-1:-1:-1;;;17134:80:1;;-1:-1:-1;;;;;653:39313:0;;;17134:80:1;;;653:39313:0;;;;;;;;;;;;;;;;;;;;;;17134:80:1;;;;15146:64;15190:14;653:39313:0;15207:3:1;1082:6:0;;;;;;15207:3:1;1082:6:0;;;;;;;15146:64:1;;;18318:835;;;;653:39313:0;18507:25:1;653:39313:0;;18506:26:1;18502:39;;18655:49;18577:41;;;;:::i;:::-;18655:49;;:::i;:::-;18718:35;;;;18714:48;;12221:42;;;;;;;18862:20;;:::i;:::-;18896:11;;;18892:57;;18978:21;;:::i;:::-;653:39313:0;;;;;;;;19013:37:1;-1:-1:-1;19009:138:1;;18318:835;;;:::o;19009:138::-;-1:-1:-1;;;;19073:63:1;;653:39313:0;;;;;;-1:-1:-1;1366:40:20;18892:57:1;18916:33;;;-1:-1:-1;18916:33:1;;-1:-1:-1;18916:33:1;18502:39;18534:7;;;;:::o;20651:205::-;-1:-1:-1;;;;;653:39313:0;12221:42:1;20737:27;;20733:61;;653:39313:0;20811:38:1;653:39313:0;;;;;;;;;;20811:38:1;;20843:4;20811:38;;;653:39313:0;20811:38:1;;;;;;;653:39313:0;20811:38:1;;;20804:45;20651:205;:::o;20811:38::-;;;653:39313:0;20811:38:1;;653:39313:0;20811:38:1;;;;;;653:39313:0;20811:38:1;;;:::i;:::-;;;653:39313:0;;;;;20651:205:1;:::o;20811:38::-;;;-1:-1:-1;20811:38:1;;20733:61;20773:21;;20766:28;:::o;653:39313:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;653:39313:0;;;;:::o;22969:810::-;23103:11;653:39313;-1:-1:-1;;;;;653:39313:0;;22969:810;;;;653:39313;;23128:21;;23124:49;;23187:18;;:32;;;22969:810;23183:57;;23147:1;23271:17;;;;;;653:39313;23147:1;653:39313;;;;;;;;;:::i;:::-;23426:37;;;;;;;;;:::i;:::-;23479:13;23147:1;23494:17;;;;;;23605:3;;;;;23601:112;;653:39313;;23728:44;;653:39313;;;;23728:44;;;;;:::i;:::-;;;;22969:810::o;23513:3::-;23539:9;23532:48;23539:9;23532:23;23539:15;:9;653:39313;23539:9;;;;:::i;23532:23::-;:48;:::i;:::-;653:39313;23479:13;;23290:3;23316:9;23355:16;23309:23;23316:15;:9;653:39313;23316:9;;;;:::i;23309:23::-;23355:9;:16;:9;;;;;:::i;:::-;:16;653:39313;23355:16;;:::i;:::-;653:39313;23256:13;;23187:32;23209:10;;;23187:32;;23124:49;23158:15;;;23147:1;23158:15;;23147:1;23158:15;17336:357:1;;;17633:43;;17336:357;17633:43;;:::i;:::-;;;:::i;19159:1486::-;;;;19336:26;653:39313:0;19337:25:1;653:39313:0;;;;;19336:26:1;19332:39;;19485:43;19407:41;;;;:::i;19485:43::-;19542:35;;;;19538:48;;19621:34;;;:::i;:::-;19682:20;;:::i;:::-;19716:11;;;19712:57;;19798:21;;:::i;:::-;19833:24;;;;;;:::i;:::-;:33;19829:130;;20009:7;19991:15;1009:6:0;20048:40:1;12659:2;653:39313:0;;20102:30:1;-1:-1:-1;;;;;20102:30:1;;20098:59;;20605:24;653:39313:0;20549:89:1;653:39313:0;20478:56:1;:38;20549:89;653:39313:0;-1:-1:-1;;;;;653:39313:0;;20281:36:1;-1:-1:-1;;;;;653:39313:0;20281:36:1;;;:::i;:::-;653:39313:0;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;20281:53:1;20277:192;;19159:1486;20478:38;;:::i;:::-;:56;653:39313:0;;;;;;;;;;;;20478:56:1;:::i;:::-;12659:2;;-1:-1:-1;;12659:2:1;;;;;;;;;;;;;;;;20605:24;653:39313:0;;20549:89:1;;;;653:39313:0;;;;;;;;;;;;;;;;;;;;;;;20277:192:1;20350:52;:36;;;;:::i;:::-;:52;12659:2;;-1:-1:-1;;;;;12659:2:1;;;;;;653:39313:0;;12659:2:1;;;;;;;;;;20350:52;20416:42;:38;;;:::i;:::-;12659:2;;;;;;;;;;;;;;20416:42;20277:192;;;20098:59;20141:16;;;19726:1;20141:16;;19726:1;20141:16;19829:130;-1:-1:-1;;;19726:1:1;19889:59;19073:63;653:39313:0;;;;;;;;;-1:-1:-1;1366:40:20;2976:222:5;-1:-1:-1;;;;;;;;;;;653:39313:0;;-1:-1:-1;;;;;;653:39313:0;;;;;;-1:-1:-1;;;;;;;;;;;653:39313:0;;;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;;3996:40:6;-1:-1:-1;;3996:40:6;2976:222:5:o;30049:210:0:-;-1:-1:-1;;;;;653:39313:0;;30127:19;;30123:42;;653:39313;30221:31;653:39313;;30144:1;653:39313;30175:14;653:39313;;30175:31;653:39313;;30144:1;653:39313;;;;;;;;;;;;;;;;36747:226;;36857:1;-1:-1:-1;36839:48:0;;36897:70;36747:226;:::o;14473:187:1:-;14582:1;14565:13;:18;14561:70;;14641:12;653:39313:0;14473:187:1;:::o;14561:70::-;653:39313:0;;;;;;13041:42:1;14769:22;;:48;;;;;14561:70;14769:73;;;;14561:70;14769:99;;;;14561:70;14769:137;;;;14585:46;;:::o;14769:137::-;13400:42;14884:22;;;14585:46;:::o;14769:99::-;13310:42;14846:22;;;-1:-1:-1;14769:99:1;;:73;13220:42;14821:21;;;-1:-1:-1;14769:73:1;;:48;13131:42;14795:22;;;-1:-1:-1;14769:48:1;;29103:132:0;29187:12;;;:41;29198:1;29103:132;:::o;29187:41::-;29218:2;653:39313;;;;;;;29224:3;1009:6;;29103:132;:::o;12059:1252:20:-;;;12233:1072;;12199:23;;;;5226:5;12233:1072;653:39313:0;;;;;12233:1072:20;;;;;;5226:5;12233:1072;;;;;;;;5226:5;12233:1072;;;;;;;12059:1252;12233:1072;;;12059:1252::o;12233:1072::-;;;;;;;;;;;;5226:5;12233:1072;;12059:1252;12233:1072;;-1:-1:-1;;;5226:5:20;12233:1072;;;-1:-1:-1;;;;;12233:1072:20;;;;;;;;;12059:1252;;;12233:1072;;;5226:5;;12059:1252;12233:1072;;;5285:4;5226:5;12233:1072;;;;;;;;;;12059:1252::o;12233:1072::-;5285:4;12233:1072;;;;;;;;;;;;;;;;;;;;;5226:5;12233:1072;;;;;12059:1252;;;12233:1072;;12199:23;;;;12233:1072;;653:39313:0;;;;;12233:1072:20;;;;;;;;;;;;;;5285:4;12233:1072;;;;;;;;;;;12059:1252::o;31191:158:0:-;;31297:6;31335;31191:158;31297:6;:::i;31546:142::-;653:39313;31626:55;;31546:142::o;31626:55::-;31659:22;;;31649:1;31659:22;;31649:1;31659:22;653:39313;;;;;;;:::i;:::-;-1:-1:-1;653:39313:0;;;;;;;;;;;;;;;;;;;;;;:::o;31694:596::-;;;;;653:39313;;:::i;:::-;-1:-1:-1;;;;;;653:39313:0;;31896:20;;:44;;;;31694:596;31892:67;;-1:-1:-1;;;;;653:39313:0;;-1:-1:-1;31973:16:0;31969:39;;32022:30;32023:29;;;:::i;32022:30::-;32018:63;;32097:186;;653:39313;32097:186;;653:39313;32097:186;653:39313;;:::i;:::-;-1:-1:-1;;;;;653:39313:0;;;;;;32097:186;-1:-1:-1;;;;;653:39313:0;32097:186;;;653:39313;;32097:186;653:39313;;32097:186;;;653:39313;;32097:186;653:39313;;32097:186;;;653:39313;;32097:186;-1:-1:-1;;;;;653:39313:0;32097:186;;;653:39313;;31969:39;31998:10;;;31914:1;31998:10;;31914:1;31998:10;31896:44;-1:-1:-1;;;;;;653:39313:0;;31920:20;31896:44;;33226:312;;33510:20;33226:312;653:39313;;33399:15;;;653:39313;;;;;;;;;;;;;;;;33399:15;653:39313;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33399:15;;;;;;:::i;:::-;653:39313;33389:26;;33453:6;;;;:::i;:::-;33510:20;:::i;653:39313::-;;;;;;:::i;:::-;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;653:39313:0;;;;;;;;:::i;:::-;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;;;;;;;;;:::o;36380:361::-;;36606:69;;36380:361;653:39313;;:::i;:::-;-1:-1:-1;36560:17:0;653:39313;-1:-1:-1;;;;;653:39313:0;36579:7;;653:39313;36579:7;:::i;:::-;653:39313;;-1:-1:-1;;;36606:69:0;;36560:17;36606:69;;653:39313;;;;;;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;;36606:69;;;;;;;;;;-1:-1:-1;36606:69:0;;;36380:361;-1:-1:-1;653:39313:0;;36720:13;;36597:78;;653:39313;;36720:13;;-1:-1:-1;;;;;653:39313:0;;;36606:69;;;;;;;;;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;;;32859:270;;33024:28;32859:270;;33024:28;:::i;:::-;653:39313;33090:31;-1:-1:-1;;;;;653:39313:0;;33090:31;:::i;653:39313::-;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;:::i;35738:636::-;653:39313;;-1:-1:-1;;;35867:28:0;;653:39313;;;;;35867:28;;653:39313;;-1:-1:-1;;;;;653:39313:0;35867:28;;;;;;35924:147;35867:28;-1:-1:-1;35867:28:0;;;35738:636;35975:36;;;;:::i;:::-;36025;;;:::i;:::-;35924:147;;:::i;:::-;36103:31;;:::i;:::-;36166;;:::i;:::-;36211:22;;;;:48;;;;35738:636;36207:161;;35738:636;;;;;:::o;36207:161::-;653:39313;;-1:-1:-1;;;36282:75:0;;-1:-1:-1;;;;;653:39313:0;;;35867:28;36282:75;;653:39313;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17134:80:1;36211:48:0;36237:22;;;;36211:48;;35867:28;;;;653:39313;35867:28;653:39313;35867:28;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;;;;;;;653:39313;;;;;;:::i;35151:347::-;653:39313;;-1:-1:-1;;;;;653:39313:0;;35394:52;;35342:7;;653:39313;35342:7;:::i;:::-;35394:52;653:39313;;;;;;;;;35394:52;;;;;653:39313;35394:52;;;;;;;-1:-1:-1;;;;;35394:52:0;;;35151:347;35360:86;;35484:6;35360:86;;35484:6;:::i;35394:52::-;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;653:39313;;;;;;-1:-1:-1;;;;;653:39313:0;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;:::i;:::-;-1:-1:-1;653:39313:0;;;;;:::i;:::-;;;;:::i;:::-;35394:52;;;;;;;;;-1:-1:-1;35394:52:0;;7082:141:17;653:39313:0;-1:-1:-1;;;;;;;;;;;653:39313:0;;;;7148:18:17;7144:73;;7082:141::o;7144:73::-;7189:17;;;-1:-1:-1;7189:17:17;;-1:-1:-1;7189:17:17;653:39313:0;;;;;;;;;;;:::o;:::-;;;;;;;;;:::o;15898:266:1:-;16021:35;653:39313:0;15898:266:1;16021:35;:::i;:::-;653:39313:0;16083:2:1;16070:15;;16066:34;;16083:2;653:39313:0;;;;;;;16127:29:1;653:39313:0;;16127:29:1;:::i;:::-;16117:40;1082:6:0;;;;;;;;;;;;;;15898:266:1;:::o;16066:34::-;16087:13;;:::o;17699:508::-;;17950:41;17934:102;17699:508;;;;17950:41;;:::i;:::-;17993:31;;:::i;:::-;17934:102;;:::i;:::-;18050:38;;;;18046:155;;17699:508;;;;:::o;18046:155::-;653:39313:0;;-1:-1:-1;;;18111:79:1;;-1:-1:-1;;;;;653:39313:0;;;18111:79:1;;;653:39313:0;;;;;;;;;;;;;;;;;;;;;;17134:80:1;11292:219;-1:-1:-1;;;;;653:39313:0;;11382:19:1;;11378:36;;653:39313:0;;11431:15:1;653:39313:0;;;;;;;;11431:73:1;;;;11424:80;11292:219;:::o;11431:73::-;11279:6;11458:40;;;11457:47;11292:219;:::o;11378:36::-;11403:11;;11410:4;11403:11;:::o;32605:151:0:-;32688:29;;;:::i;:::-;32687:30;32683:66;;32605:151;:::o;32683:66::-;32726:23;;;-1:-1:-1;32726:23:0;;653:39313;;-1:-1:-1;32726:23:0;653:39313;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;:::i;33544:900::-;;-1:-1:-1;;;;;653:39313:0;33723:25;33719:60;;33793:11;653:39313;-1:-1:-1;;;;;653:39313:0;33793:25;;33789:48;;33867:42;;;;:34;;-1:-1:-1;;;;;653:39313:0;33867:25;653:39313;33867:34;653:39313;;;;;;;;;;33867:42;;;;;653:39313;;;;;;;;33867:42;;;;;;;;;;33747:1;33867:42;;;33544:900;-1:-1:-1;653:39313:0;;34080:47;;33937:43;;-1:-1:-1;;;;;653:39313:0;33937:43;:::i;:::-;34037:13;;;653:39313;;34037:13;;;;34008:43;;-1:-1:-1;;;;;653:39313:0;33937:43;:::i;34080:47::-;34159:31;;;:::i;:::-;34222;;:::i;:::-;34267:22;;;;:48;;;;33544:900;34263:175;;33544:900;;;;;:::o;34263:175::-;653:39313;34338:89;;653:39313;;;;-1:-1:-1;;;;;653:39313:0;;;-1:-1:-1;;;;;653:39313:0;;;;;;-1:-1:-1;;;34338:89:0;;-1:-1:-1;;;;;653:39313:0;;;33867:42;34338:89;;653:39313;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34267:48;34293:22;;;;34267:48;;33867:42;;;;;;;;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;;;;33789:48;33827:10;;;33747:1;33827:10;;33747:1;33827:10;33719:60;33757:22;;;33747:1;33757:22;;33747:1;33757:22;34908:237;653:39313;;-1:-1:-1;;;35015:29:0;;;;;653:39313;;;;34908:237;653:39313;;35015:29;653:39313;-1:-1:-1;;;;;653:39313:0;;35015:29;;;;;;;-1:-1:-1;35015:29:0;;;34908:237;-1:-1:-1;35081:4:0;-1:-1:-1;;;;;653:39313:0;;35058:28;35054:84;;34908:237;;;:::o;35054:84::-;-1:-1:-1;;;;35095:43:0;;;-1:-1:-1;;;;;653:39313:0;;;35015:29;653:39313;;;;;;;;;;;;;;35095:43;35015:29;;;;;653:39313;35015:29;653:39313;35015:29;;;;;;;:::i;:::-;;;;;15556:336:1;-1:-1:-1;;;;;653:39313:0;;;;;;15668:19:1;653:39313:0;;;;;;;;15556:336:1;;653:39313:0;;;15704:38:1;;15766:32;;;;:::i;:::-;653:39313:0;;;15808:28:1;;15853:32;;;;653:39313:0;15853:32:1;;653:39313:0;;;15853:32:1;15808:28;15824:12;-1:-1:-1;15824:12:1:o;15704:38::-;15725:17;-1:-1:-1;;15725:17:1:o;34450:452:0:-;653:39313;34733:24;34450:452;34627:79;34784:24;34450:452;653:39313;;;;;;34627:79;;:::i;:::-;653:39313;;34733:24;:::i;:::-;653:39313;;34784:24;:::i;:::-;1082:6;;34854:4;1082:6;;34854:4;1082:6;;;;;-1:-1:-1;;;;;1082:6:0;;;;;;34825:70;1082:6;;;34825:70;;:::i;2264:344:15:-;;1748:29;;:34;1744:119;;-1:-1:-1;;;;;;;;;;;653:39313:0;;-1:-1:-1;;;;;;653:39313:0;-1:-1:-1;;;;;653:39313:0;;;;;;;;2407:36:15;-1:-1:-1;;2407:36:15;653:39313:0;;2458:15:15;:11;;2489:53;;;:::i;2454:148::-;6185:9;;;6181:70;;2264:344::o;6181:70::-;6221:19;;;1781:1;6221:19;;1781:1;6221:19;1744:119;-1:-1:-1;;;;1781:1:15;1805:47;;;-1:-1:-1;;;;;653:39313:0;;;;1805:47:15;653:39313:0;;;1805:47:15;11517:171:1;653:39313:0;11608:21:1;653:39313:0;;11607:22:1;11603:39;;653:39313:0;;11659:13:1;653:39313:0;;;;;;;;11517:171:1;:::o;11603:39::-;11631:11;11638:4;11631:11;:::o;15223:327::-;15334:1;15317:13;:18;15313:213;;15535:8;653:39313:0;15223:327:1;:::o;15313:213::-;-1:-1:-1;;;;;653:39313:0;13041:42:1;15355:22;;:48;;;;15313:213;15355:74;;;;15313:213;15351:88;;13220:42;15457:21;;:47;;;;;15313:213;15453:62;;;653:39313:0;15223:327:1;:::o;15453:62::-;15513:2;15506:9;:::o;15457:47::-;13310:42;15482:22;;;15457:47;;;15351:88;15431:8;15438:1;15431:8;:::o;15355:74::-;15407:22;13400:42;15407:22;;15355:74;;:48;15381:22;13131:42;15381:22;;15355:48;;4691:549:23;;-1:-1:-1;4691:549:23;;3526:129:25;;;;;;;;;;4874:72:23;;4691:549;4870:364;;;4969:25;;;;:::i;4870:364::-;5011:223;;;-1:-1:-1;;;;5045:24:23;;;-1:-1:-1;;;;;653:39313:0;;;;5045:24:23;653:39313:0;;;5045:24:23;5011:223;4578:73:25;5090:33:23;;5086:148;4578:73:25;5139:12:23;4578:73:25;5204:19:23;;;-1:-1:-1;5204:19:23;;-1:-1:-1;5204:19:23;4874:72;-1:-1:-1;4578:73:25;4886:33:23;;;4874:72;4886:59;4923:18;;;:22;;4874:72;;4740:334:25;4816:252;;;;;;;;;;;;;;;;;;;4740:334::o","linkReferences":{},"immutableReferences":{"7099":[{"start":5745,"length":32},{"start":15452,"length":32}]}}}}}}},"signatures":{"function":[{"signature":"acceptOwnership()","signatureHash4":"0x79ba5097","signatureHash32":"0x79ba5097e5519a381a52113cdcc59540d13f73fd9d26abc0453484a096cc96f2"},{"signature":"baseToken()","signatureHash4":"0xc55dae63","signatureHash32":"0xc55dae638bf15a7f1a6c10d9b393a8363c8056720808bb4c2472c9e8a6226204"},{"signature":"BPS()","signatureHash4":"0x249d39e9","signatureHash32":"0x249d39e95dcf38deb6c884103e990949e9d7e5d370eee3d20091aba0a46aa824"},{"signature":"contractBuildSalt()","signatureHash4":"0x2565c884","signatureHash32":"0x2565c884ac9cdc34f756608aab4a5fb448bc51cccc016abf6654e14d79064f0c"},{"signature":"defaultDeadlineSec()","signatureHash4":"0x1f2d5966","signatureHash32":"0x1f2d5966f0b4d2184da7ab43dac1400aaa6cbb64041bc23bb1903a11652d1d40"},{"signature":"execSwap(bytes)","signatureHash4":"0xa0909db2","signatureHash32":"0xa0909db2085987abfec04f163c3adc996400e3a7480b17a345fdabdfc1278784"},{"signature":"executorLossBudgetEnabled()","signatureHash4":"0xbec31889","signatureHash32":"0xbec318894e9f977d3d8f2525af04e055f82cc32de4e200ce7c8368bf096b062a"},{"signature":"executorLossBudgetState()","signatureHash4":"0xdc419d59","signatureHash32":"0xdc419d595e41efc431d79c60dfc8f620c64faa214c7911994a41878bac7b455c"},{"signature":"executorLossCap24h()","signatureHash4":"0x24bf6e91","signatureHash32":"0x24bf6e91ec29371213f3d367a486a69a1e218cce74216e0d2cf94be790a1adee"},{"signature":"executorLossCapBpsX100()","signatureHash4":"0xd3047d56","signatureHash32":"0xd3047d560f72938ae80cb29676377a946f34dbb184c15f1595b8d7cf7b1cfdab"},{"signature":"executorLossUsed24h()","signatureHash4":"0x91c0cd1e","signatureHash32":"0x91c0cd1e146511bb6229e595c6de25aec6258f11e543ce29393100e54ce2f94e"},{"signature":"executorRiskCapitalNormalized()","signatureHash4":"0x1de93b48","signatureHash32":"0x1de93b4879849268b849ce831774bdd32455469b4cca4673755cba8c0633c089"},{"signature":"execV3(bytes)","signatureHash4":"0x236e5f14","signatureHash32":"0x236e5f14c7d18d525fa2dcedb8d03bee5ee0dff378f29397c085e1284881029b"},{"signature":"execV4(bytes)","signatureHash4":"0x0d734324","signatureHash32":"0x0d734324f28d73d03f31ffd00dc620302397b74dac307704ec13626d7ac02c61"},{"signature":"fineBpsParamsEnabled()","signatureHash4":"0x660bd0c0","signatureHash32":"0x660bd0c024689f5eae383bd97bcc43b477084a725ea7e7b894aa4b2475ddf725"},{"signature":"flyRouter()","signatureHash4":"0x7fb051ba","signatureHash32":"0x7fb051babcac23f7236809797613e2dbb6e01e5a11497c468b1863cf1add4174"},{"signature":"freezeUpgrades()","signatureHash4":"0x152d0731","signatureHash32":"0x152d0731060aece96fddcf4e8b11a6351727f6a0300860cd8dee9c4beb128d43"},{"signature":"getPool(address,address,uint24)","signatureHash4":"0x1698ee82","signatureHash32":"0x1698ee82c8513ee888daf6386fec230b06df72eb256399803b775b1e9b6933f2"},{"signature":"implementation()","signatureHash4":"0x5c60da1b","signatureHash32":"0x5c60da1b04210c25e1974b6edfcf5bb7c7365b6a88c42319fcbd024464075cc2"},{"signature":"initialize(address,(address,address,address,address,address,address,address,address,uint256,uint256,uint256,uint256,uint256,uint32,int24),(address,address),(address))","signatureHash4":"0x3bafd1b3","signatureHash32":"0x3bafd1b3a9821799120cfc156fad40799da7890826b8e9623b4f01b0c30c3add"},{"signature":"isExecutor(address)","signatureHash4":"0xdebfda30","signatureHash32":"0xdebfda30669ba2a9e770e2931f5a6e1cae3f861ddd995e2f84e6e77c2b34f22e"},{"signature":"isPoolAllowed(bytes32)","signatureHash4":"0x4bb3ae3e","signatureHash32":"0x4bb3ae3e7bd8b83a8c225606b23d673db17022903e7adc74aa31651307729a7e"},{"signature":"isTokenAllowed(address)","signatureHash4":"0xf9eaee0d","signatureHash32":"0xf9eaee0d45fac1054500dc571c4bdb8995c39a4f6aa46db26d3246679bc74f68"},{"signature":"isTokenAllowedForExecutor(address)","signatureHash4":"0xc475551a","signatureHash32":"0xc475551a630f514fa2c2c67c5eda97ed24704110e6893fe107e46ea768a3e921"},{"signature":"isTokenBlocked(address)","signatureHash4":"0xcc47abf6","signatureHash32":"0xcc47abf6233cb721054f0aad2a3612b43c0bf2eb7af3b9b82acb61ca9b49b0fd"},{"signature":"isV4HookAllowed(address)","signatureHash4":"0x0a147277","signatureHash32":"0x0a14727744eed9bd81ee286b46679f1c3fb43b6fd48de96f774e31f280b98ce5"},{"signature":"kyberRouter()","signatureHash4":"0xf63ca6e4","signatureHash32":"0xf63ca6e4dab221226ec1582fb2b8bb650e8fb4cdc64fcd231f629351a227cf06"},{"signature":"nfpm()","signatureHash4":"0x7303e913","signatureHash32":"0x7303e913ee3eeea1efbfc4ac71ea2ab70355094ab89f79fcea730dec40585e95"},{"signature":"onERC721Received(address,address,uint256,bytes)","signatureHash4":"0x150b7a02","signatureHash32":"0x150b7a023d4804d13e8c85fb27262cb750cf6ba9f9dd3bb30d90f482ceeb4b1f"},{"signature":"owner()","signatureHash4":"0x8da5cb5b","signatureHash32":"0x8da5cb5b36e7f68c1d2e56001220cdbdd3ba2616072f718acfda4a06441a807d"},{"signature":"pause()","signatureHash4":"0x8456cb59","signatureHash32":"0x8456cb591a934d53f6ccc6332123a165a1f3562907bf11330d847a29ca49eb89"},{"signature":"paused()","signatureHash4":"0x5c975abb","signatureHash32":"0x5c975abbf8c4d6efa68fc896e233763eb503f2318260b7bf59b19412913788b2"},{"signature":"pendingOwner()","signatureHash4":"0xe30c3978","signatureHash32":"0xe30c3978ddd82956a01b5cb08d17f1a2d73e636aeefb7b36f896e41d4c2aab90"},{"signature":"permit2()","signatureHash4":"0x12261ee7","signatureHash32":"0x12261ee76a5bb07fbe973e2b852670881866842c39ea966156148e7b2b39443d"},{"signature":"poolAllowlistEnforced()","signatureHash4":"0x476526a3","signatureHash32":"0x476526a3f589102dfbb41af6abf8a91950e95f026fb09135382b392994e1a528"},{"signature":"proxiableUUID()","signatureHash4":"0x52d1902d","signatureHash32":"0x52d1902ddf94a87b87c42e6ab3aff7da3c30beb57dc65dd86cb2543522a55a4c"},{"signature":"quoterV2()","signatureHash4":"0xe20dccb2","signatureHash32":"0xe20dccb2b7c9a8cb07baf7ed94bcebc9a07d02926354e55ca6ec8c7fb4497a11"},{"signature":"renounceOwnership()","signatureHash4":"0x715018a6","signatureHash32":"0x715018a616b5f2044428f6fadb7deef4ce9ca76ef60ea57978964ad137bbe7ae"},{"signature":"resetExecutorLossBudgetBuckets()","signatureHash4":"0x55feedc1","signatureHash32":"0x55feedc1a317eb43db6229a795ef166878e0b64f3949bb67f95ceecadfcf84c7"},{"signature":"revokePermit2ForV4(address[])","signatureHash4":"0x0d3eeec1","signatureHash32":"0x0d3eeec15b286cbd8765c601ce1eb277165c04717acade2fdb7104e859d69954"},{"signature":"router()","signatureHash4":"0xf887ea40","signatureHash32":"0xf887ea40b0ec521bf9b9fd5dde9be0e9c958a97ca6282a11731f3c99d108c1d4"},{"signature":"setAddresses(address,address,address,address,address,address)","signatureHash4":"0x6cfb6bf9","signatureHash32":"0x6cfb6bf9b1d0027cc3f43976e7ba5886c638e3ed02014281d89c02b4737d5b79"},{"signature":"setAllowedToken(address,bool)","signatureHash4":"0x8aaa2284","signatureHash32":"0x8aaa2284e2e9023393d368b9d2c03ce0e70e49c89848a9ba30395b374c029ab6"},{"signature":"setAllowedTokens(address[],bool)","signatureHash4":"0xff1f9c7a","signatureHash32":"0xff1f9c7aaa87a0dd84f5801364811d2e70aeb6cefbe8ad7a527c63bcbd702310"},{"signature":"setBlockedToken(address,bool)","signatureHash4":"0xd588f04b","signatureHash32":"0xd588f04b2dec7b95d6ee7a8c5fc62e3a51a4590d2710cfddc5e07cfd1e7bf3e8"},{"signature":"setBlockedTokens(address[],bool)","signatureHash4":"0x32313470","signatureHash32":"0x3231347004c7fb5b9beae1ef11b4c1d73dd46644c2e08007790a4e4a1993e788"},{"signature":"setExecutor(address,bool)","signatureHash4":"0x1e1bff3f","signatureHash32":"0x1e1bff3f1b94435fa4c8250ea47e392cd2a5c7fa78c0799ab53c929b4eb0db9a"},{"signature":"setExecutorLossBudget(bool,uint256,uint256)","signatureHash4":"0xc8a85be1","signatureHash32":"0xc8a85be1ed61863f12660f9d0880af3ecc660481588736702035ebc3fa059c6c"},{"signature":"setFlyRouter(address)","signatureHash4":"0x60996f0d","signatureHash32":"0x60996f0d524ebb98944e7835a2426c61b09270f0cd10603c362ea9ecd3245d51"},{"signature":"setKyberRouter(address)","signatureHash4":"0x8b33203c","signatureHash32":"0x8b33203c4f9167eb9b895fa19dc3bc5e8f566aa23551034c3333a4d055ea95ea"},{"signature":"setModules(address,address)","signatureHash4":"0xd74a5d00","signatureHash32":"0xd74a5d00f714cdf990a13bf58060174fd23929e69bcaabc2035dabdcfb2f3587"},{"signature":"setParamsBpsX100(uint256,uint256,uint256,uint32,int24)","signatureHash4":"0xcf753d12","signatureHash32":"0xcf753d122f71e6bceed60be93f5fc5a1c56f7d00f6cc11d3aa4c0c0a5c4b0864"},{"signature":"setParams(uint256,uint256,uint256,uint32,int24)","signatureHash4":"0x702e1bf4","signatureHash32":"0x702e1bf428a7091ddac552bdfb5cdc0ba6b1c2e40a805cf71ef18a3205a9fc3d"},{"signature":"setPermit2(address)","signatureHash4":"0x101ec30a","signatureHash32":"0x101ec30a691c1ee395205f24e8983c2a4e90f9b898763a836f612bf785444c9d"},{"signature":"setPoolAllowed(bytes32,bool)","signatureHash4":"0x941158b0","signatureHash32":"0x941158b0c2cb0c96b9ff3b831d4c1f9de4a08eb9f3f1e5044fe3e72f216830bc"},{"signature":"setPoolAllowlist(bytes32[],bool)","signatureHash4":"0x57dccc04","signatureHash32":"0x57dccc042f8107219905dede02939a7a8a844237180f89db09e8d264d855ddd5"},{"signature":"setPoolAllowlistEnforced(bool)","signatureHash4":"0x605edf1a","signatureHash32":"0x605edf1a2c4a72ae14970dec27eea22e4ad9ba3646e931184d7129362274ed00"},{"signature":"setPoolsAllowed(bytes32[],bool)","signatureHash4":"0x837e864b","signatureHash32":"0x837e864bdbe0d423e1f49aef0698846d5a3a3e8952ad361c675b29b8583161fb"},{"signature":"setStableTokenDecimals(address,uint8)","signatureHash4":"0xf702d94f","signatureHash32":"0xf702d94fee4f2ff725ef797662984ccc652b370e710e02434b4752f9fa2f50a1"},{"signature":"setStableTokenDecimalsBatch(address[],uint8[])","signatureHash4":"0x3f1aa6a2","signatureHash32":"0x3f1aa6a26012814a6d59c8b40e23468ab9229997598021cb5250bb17c5ec09da"},{"signature":"setSwapModule(address)","signatureHash4":"0x12f62498","signatureHash32":"0x12f62498f20669ea77a1538ac7aa6abc0786046f2a9061788b927ea69930d02c"},{"signature":"setV4HookAllowed(address,bool)","signatureHash4":"0x96bd0952","signatureHash32":"0x96bd09520fe6499e1350675f64596bf5f167f8da32eb297fbc9b8d3f540b731f"},{"signature":"setV4StablePriceBounds(uint256,uint256)","signatureHash4":"0x9039cce6","signatureHash32":"0x9039cce62ceead21ba12d8e074888810fce67309326920c2fd594fdc5c3690d0"},{"signature":"setV4StateView(address)","signatureHash4":"0x2240e612","signatureHash32":"0x2240e612563451b641af9cebf6d1d18a9b0ac43188157c9c5fecd9123352f9d0"},{"signature":"setVeloraRouter(address)","signatureHash4":"0x8ebf8289","signatureHash32":"0x8ebf82896abae44994620c120b191b265386078ff6286f21d7846b42488ba9f4"},{"signature":"slippageBpsMax()","signatureHash4":"0x9c50a4d9","signatureHash32":"0x9c50a4d9ada313b005c7302c1982213458bbdebdc667bb85532e27d676b0e4e7"},{"signature":"slippageBpsMaxX100()","signatureHash4":"0xcc19de2a","signatureHash32":"0xcc19de2a44c853fa2fccd2dc84ee789b303412e455b7a17f1ab38329bf457cf0"},{"signature":"stableTokenDecimals(address)","signatureHash4":"0x76ea0c55","signatureHash32":"0x76ea0c55bd8c4128ae8d0cff7b29255d9e14d16c14f4e99e3595f4e1c3196b53"},{"signature":"swapLossBpsMax()","signatureHash4":"0x08565bc1","signatureHash32":"0x08565bc16631a4c4d2e28f476b6d6728a7ed4ff8964b7dee9c658afc5d3d43b3"},{"signature":"swapLossBpsMaxX100()","signatureHash4":"0xbae7a8ad","signatureHash32":"0xbae7a8ad14c6610e7c0e417a3a2c8f5a53d342f8c06fa87c2078c99652a26eef"},{"signature":"swapModule()","signatureHash4":"0xfa716b3f","signatureHash32":"0xfa716b3f9442a409233881ca52a31daf6b120d8c8534fda7d8b92e08bc415b53"},{"signature":"swapViaKyberGuarded(bytes,(address,uint256)[],uint256,address,uint256)","signatureHash4":"0x785e8275","signatureHash32":"0x785e82758a53f98d5c6c9e057243f11d721a4ba2971f494825165da7ba36a003"},{"signature":"transferOwnership(address)","signatureHash4":"0xf2fde38b","signatureHash32":"0xf2fde38b092330466c661fc723d5289b90272a3e580e3187d1d7ef788506c557"},{"signature":"twapMaxTickDiff()","signatureHash4":"0x3c5f7214","signatureHash32":"0x3c5f7214929cd86c55c5a3807cccd2a97d36ff94b85054e3d4fcac6e2b74e9dc"},{"signature":"twapWindowSec()","signatureHash4":"0x6cf9219f","signatureHash32":"0x6cf9219fedde59b156b4d5d6b40861782bf2b7173b24a7aabd0efaf054829e87"},{"signature":"unpause()","signatureHash4":"0x3f4ba83a","signatureHash32":"0x3f4ba83af89dc9793996d9e56b8abe6dc88cd97c9c2bb23027806e9c1ffd54dc"},{"signature":"upgradeabilityFrozen()","signatureHash4":"0xd24b3797","signatureHash32":"0xd24b37976a838acaf545b1578cce8084b76e00e8e552a159fd8ac21fe9274791"},{"signature":"UPGRADE_INTERFACE_VERSION()","signatureHash4":"0xad3cb1cc","signatureHash32":"0xad3cb1cc5c2df3b903ea43f30f77a80ecfeefbed7932a4a8e68c92af99e41dfd"},{"signature":"upgradeTo(address)","signatureHash4":"0x3659cfe6","signatureHash32":"0x3659cfe672549963da205df855ebfb8672cda4801e0255183bd6a6f536855df7"},{"signature":"upgradeToAndCall(address,bytes)","signatureHash4":"0x4f1ef286","signatureHash32":"0x4f1ef2866b98625bdfefae89411f7a82754ac4089eff8e78c8832329a538337f"},{"signature":"v3Factory()","signatureHash4":"0x7c887c59","signatureHash32":"0x7c887c59b79776e9d3ae8714b1202f6a2b362e514b00a4a58052c2648a11fb95"},{"signature":"v3Module()","signatureHash4":"0xb9c22f79","signatureHash32":"0xb9c22f792f8698850d5accb86b210c889a1a4cd571095d7cffa2119f60fde2f3"},{"signature":"v4Module()","signatureHash4":"0xc99f1e54","signatureHash32":"0xc99f1e545aa201319873a5cfd578156b9a8739aee3170cd5bee2368c506d3a35"},{"signature":"v4PositionManager()","signatureHash4":"0xe2f4dd43","signatureHash32":"0xe2f4dd43428a761f71efc48b52b0f3f13baa396d2c7425e099f8bb845319c2a1"},{"signature":"v4StablePriceBounds()","signatureHash4":"0x433ca2ec","signatureHash32":"0x433ca2ecbdd4d6b6bc9a0a34b2ec848e01acd9fe2828c491afe38e57775d8680"},{"signature":"v4StablePriceMaxX18()","signatureHash4":"0x141b73c4","signatureHash32":"0x141b73c41571b8d9296f41475f1dca722e53d78f213b389b822dd2ff0d79e467"},{"signature":"v4StablePriceMinX18()","signatureHash4":"0xadf30361","signatureHash32":"0xadf303618b64f9fed1aa1c641abc51d74bb3053f510561ec34f87b9352de6138"},{"signature":"v4StateView()","signatureHash4":"0x297e3969","signatureHash32":"0x297e39695787b07b48fca31b4c8241a36649327068382ebfcd6d9c94f77ecb43"},{"signature":"veloraRouter()","signatureHash4":"0x271d6ffe","signatureHash32":"0x271d6ffe2531424d8488e12e85c809d0467f87dd32e8c238b4b0125dabf4e6f2"},{"signature":"withdrawNative(uint256)","signatureHash4":"0x84276d81","signatureHash32":"0x84276d81e55c6d9085efb314bd7f27d241a90d76c085ed114b417915e5c8c2f4"},{"signature":"withdrawNFT(address,uint256)","signatureHash4":"0x6088e93a","signatureHash32":"0x6088e93a748c0084ba0db8a24961052aaaef91e040a4c4a9ea810edfa551a470"},{"signature":"withdrawTokens(address,uint256)","signatureHash4":"0x06b091f9","signatureHash32":"0x06b091f9dc3e1ab79a8ff1093f44854b184b5299377cadf1b40d845b75ad31be"}],"event":[{"signature":"ExecutorLossBudgetConsumed(uint256,uint256,uint256,uint256)","signatureHash4":"0x621d1f8a","signatureHash32":"0x621d1f8a268d20c5d876ea840dc388aa1ae082a4a6b1a64322be37e94911efec"},{"signature":"ExecutorLossBudgetSet(bool,uint256,uint256)","signatureHash4":"0xf1c24071","signatureHash32":"0xf1c2407154dd06d7e072d9b67f946729b9da4b7f9efba2661f88e12fca4bdb43"},{"signature":"ExecutorSet(address,bool)","signatureHash4":"0x278b0962","signatureHash32":"0x278b09622564dd3991fe7744514513d64ea2c8ed2b2b9ec1150ad964fde80a99"},{"signature":"FlyRouterSet(address)","signatureHash4":"0xdb21ee24","signatureHash32":"0xdb21ee24b749ce266d7e9bb769cc693d234aee3572e069ca1d70fa69b051f5b6"},{"signature":"Initialized(uint64)","signatureHash4":"0xc7f505b2","signatureHash32":"0xc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2"},{"signature":"KyberRouterSet(address)","signatureHash4":"0x582a9190","signatureHash32":"0x582a9190e9698f4ae4033df26d63cee4674df3b1b6bc85f15c7b6f6e5b915b58"},{"signature":"KyberSwapExecuted(address,uint256,bytes)","signatureHash4":"0x1c2e5a10","signatureHash32":"0x1c2e5a1031d3c1c47ea8f476f148cd18347010473bfddd5967d034cefbe63220"},{"signature":"ModulesSet(address,address)","signatureHash4":"0xe7836f4c","signatureHash32":"0xe7836f4c1585572e73ac1ebd237c17348e5b453da767958b34b22bd170f6e52f"},{"signature":"OwnershipTransferred(address,address)","signatureHash4":"0x8be0079c","signatureHash32":"0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0"},{"signature":"OwnershipTransferStarted(address,address)","signatureHash4":"0x38d16b8c","signatureHash32":"0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700"},{"signature":"Paused(address)","signatureHash4":"0x62e78cea","signatureHash32":"0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258"},{"signature":"Permit2ApprovalRevoked(address,address)","signatureHash4":"0x8e6082f8","signatureHash32":"0x8e6082f82d88ebb7595b02d55ede8094ce17e40029d61292354afbb04ffaae85"},{"signature":"PoolAllowedSet(bytes32,bool)","signatureHash4":"0xf565a912","signatureHash32":"0xf565a91252cfbf3ef576a7de924ab11175ba29b316695baeaa0762c25684fcdf"},{"signature":"PoolAllowlistEnforcedSet(bool)","signatureHash4":"0x8e9de2ad","signatureHash32":"0x8e9de2ad3a40d17f313c20330499cca08ea2af3f45dc68f8f03e27caab0bced3"},{"signature":"StableTokenDecimalsSet(address,uint8)","signatureHash4":"0x31dfb0b9","signatureHash32":"0x31dfb0b93d14a11354bdf350f127e8377a7bd3cbbd5d0f0bfad2d98eb6776630"},{"signature":"SwapModuleSet(address)","signatureHash4":"0x5371b538","signatureHash32":"0x5371b5384a8ca13185168caea3d68cdae7cdd42fa4b99deede7ed3a345f7d173"},{"signature":"TokenAllowedSet(address,bool)","signatureHash4":"0xdc86ea80","signatureHash32":"0xdc86ea80c17dba36e8aac1a8a9461dcc3967506848bd50e2e48b90507867abb9"},{"signature":"TokenBlockedSet(address,bool)","signatureHash4":"0x45937452","signatureHash32":"0x459374521a737ddab6c308cce84921454dc67504bab079c570f6b10783a99833"},{"signature":"Unpaused(address)","signatureHash4":"0x5db9ee0a","signatureHash32":"0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa"},{"signature":"Upgraded(address)","signatureHash4":"0xbc7cd75a","signatureHash32":"0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b"},{"signature":"UpgradesFrozen()","signatureHash4":"0xbbbfc8f8","signatureHash32":"0xbbbfc8f80672f98366c78f334ec935871991b2825f67cbe69bae201705e81a0c"},{"signature":"V4HookAllowedSet(address,bool)","signatureHash4":"0x863bee5d","signatureHash32":"0x863bee5db55c02da8b80774d486b56883894e4ea55bbab0ca9d66352ee99a116"},{"signature":"V4StablePriceBoundsSet(uint256,uint256)","signatureHash4":"0x5976992f","signatureHash32":"0x5976992fe6bc159e825b489f5e427d6c113900ec0f428e3c0ba04fd70859d225"},{"signature":"VeloraRouterSet(address)","signatureHash4":"0x957fea80","signatureHash32":"0x957fea8002b35abe6fca992352a8d268b9417ee787639a8da3fc71d9528feaef"},{"signature":"Withdraw(address,uint256)","signatureHash4":"0x884edad9","signatureHash32":"0x884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364"},{"signature":"WithdrawNative(uint256)","signatureHash4":"0x7da8b376","signatureHash32":"0x7da8b376ba93770d27c25cf7bbac4d89f12ba25b3fe6e20fa9ed9e60e6d00f60"},{"signature":"WithdrawNFT(address,uint256)","signatureHash4":"0x3a1474f7","signatureHash32":"0x3a1474f7e987c73586ba37f580025eac82a1456e87b9eace40768b8518a4b375"}],"error":[{"signature":"AddressEmptyCode(address)","signatureHash4":"0x9996b315","signatureHash32":"0x9996b315c842ff135b8fc4a08ad5df1c344efbc03d2687aecc0678050d2aac89"},{"signature":"AmountTooLarge()","signatureHash4":"0x06250401","signatureHash32":"0x06250401c072295744520da9e60a3a29ab28ceb9fda5d792222d5242d22e8a44"},{"signature":"AmountZero()","signatureHash4":"0xcbca5aa2","signatureHash32":"0xcbca5aa2ad16a85304d7d97575ce258a35c5a7d8db613ec1cb75ff3d0071488f"},{"signature":"EnforcedPause()","signatureHash4":"0xd93c0665","signatureHash32":"0xd93c0665d6c96d04a8f174024fc4ddd66c250604aff22bbec808de86dd3637e3"},{"signature":"ERC1967InvalidImplementation(address)","signatureHash4":"0x4c9c8ce3","signatureHash32":"0x4c9c8ce3ceb3130f17f7cdba48d89b5b0129f266a8bac114e6e315a41879b617"},{"signature":"ERC1967NonPayable()","signatureHash4":"0xb398979f","signatureHash32":"0xb398979fa84f543c8e222f17890372c487baf85e062276c127fef521eea7224b"},{"signature":"ExecutorLossBudgetExceeded(uint256,uint256,uint256)","signatureHash4":"0xe93203bf","signatureHash32":"0xe93203bf5a89ec2da2c7993394f6e683beaac369e1767af20232e2f69e1110f8"},{"signature":"ExecutorLossBudgetNotConfigured()","signatureHash4":"0x22cfeb77","signatureHash32":"0x22cfeb777032011d913f40deef3b24dae0019237724ab8a2d463b62854367b8f"},{"signature":"ExecutorSelectorNotAllowed(bytes4)","signatureHash4":"0x8959bb4d","signatureHash32":"0x8959bb4d8889644861a9fc2988ba239123bc15f3c7c1166c295c148163376159"},{"signature":"ExpectedPause()","signatureHash4":"0x8dfc202b","signatureHash32":"0x8dfc202bcfe9a735b559bee70674422512bc5c30f687046ae8778315fb81da44"},{"signature":"ExternalCallFailed()","signatureHash4":"0x350c20f1","signatureHash32":"0x350c20f170b7d027ee4046332bf9d6a4eeedfac4e4db3a92338c55e9a0c4b0a7"},{"signature":"FailedCall()","signatureHash4":"0xd6bda275","signatureHash32":"0xd6bda27508c0fb6d8a39b4b122878dab26f731a7d4e4abe711dd3731899052a4"},{"signature":"InvalidInitialization()","signatureHash4":"0xf92ee8a9","signatureHash32":"0xf92ee8a957075833165f68c320933b1a1294aafc84ee6e0dd3fb178008f9aaf5"},{"signature":"KyberAmountMismatch()","signatureHash4":"0x2f601d14","signatureHash32":"0x2f601d1426a42d93d174f07c5fb76188bbc731e3adf4939fd471bad46b26671d"},{"signature":"KyberApproveTargetMismatch()","signatureHash4":"0xa18d01bf","signatureHash32":"0xa18d01bf689e5547dab2394de5a86510b8e6996630e2c16707deeecef04cb726"},{"signature":"KyberMinOutNotMet()","signatureHash4":"0x62e70739","signatureHash32":"0x62e707393b718428bc5776d5e74a25e31505e40c9a1525dc981cee0c25354c21"},{"signature":"KyberRecipientMismatch()","signatureHash4":"0xe294034b","signatureHash32":"0xe294034b600b162f0be699779f11193b6987afd00c3bd48e189959723311bdf6"},{"signature":"KyberRouterNA()","signatureHash4":"0xcfa9e312","signatureHash32":"0xcfa9e312615bf6fe0f3f7582457cbe1e961fdce70ce75dde7c0a63b249b43ac4"},{"signature":"KyberStableMinOutTooLow(address,address,uint256,uint256)","signatureHash4":"0x3ec3d853","signatureHash32":"0x3ec3d85321b30d2f56f436903069b9ae79d9c4380db3f80ed6121f379dad01eb"},{"signature":"KyberStableOutTooHigh(address,address,uint256,uint256)","signatureHash4":"0xb971b929","signatureHash32":"0xb971b92963b24f878d9a6f9da1121f86c7152423555bfdc836f5b1e5161f7455"},{"signature":"KyberTokenMismatch()","signatureHash4":"0xb792bc68","signatureHash32":"0xb792bc6858985c9143d6245cafe4baceb68bef0f1c081ed6a615403a190cb4d6"},{"signature":"KyberUnsupportedRoute()","signatureHash4":"0x7c0841ee","signatureHash32":"0x7c0841eef18e5d0aa6c20d81fd6cfeb4be9efc318084fb8f75ed13e6b83f051b"},{"signature":"LengthMismatch()","signatureHash4":"0xff633a38","signatureHash32":"0xff633a3803c58b9bc21e58efecee59f27e033cc0b1883fccb4969c76146fe60f"},{"signature":"NativeSendFailErr()","signatureHash4":"0xb1b5a6af","signatureHash32":"0xb1b5a6af9b86968254a3783e83cd2ab2b08fe5cf55e1afc71e4632e068c300bb"},{"signature":"NotExecutorOrOwner()","signatureHash4":"0x25c4bab2","signatureHash32":"0x25c4bab2b94a308912a549a679dfaa80dd3ff37f02f4c6fd13b74dedbbeeb166"},{"signature":"NotInitializing()","signatureHash4":"0xd7e6bcf8","signatureHash32":"0xd7e6bcf8597daa127dc9f0048d2f08d5ef140a2cb659feabd700beff1f7a8302"},{"signature":"OrderErr()","signatureHash4":"0x2e6c4323","signatureHash32":"0x2e6c4323b00784ca0e637bfba6e25549acd2845640bad3587901af0b24a1844a"},{"signature":"OwnableInvalidOwner(address)","signatureHash4":"0x1e4fbdf7","signatureHash32":"0x1e4fbdf7f3ef8bcaa855599e3abf48b232380f183f08f6f813d9ffa5bd585188"},{"signature":"OwnableUnauthorizedAccount(address)","signatureHash4":"0x118cdaa7","signatureHash32":"0x118cdaa7a341953d1887a2245fd6665d741c67c8c50581daa59e1d03373fa188"},{"signature":"Permit2NA()","signatureHash4":"0x876dafaf","signatureHash32":"0x876dafafba422cd219c625e98d0073bdf5be81d73e7227087910cfa52cc20c51"},{"signature":"PoolNA()","signatureHash4":"0xc8e5b88d","signatureHash32":"0xc8e5b88daf1feff34cfd186466e02afb2742d80e607f07b16004305f2a496952"},{"signature":"PoolNotAllowed(bytes32)","signatureHash4":"0x325234a8","signatureHash32":"0x325234a8d2aa35559d3adddc0a3a9596267dce17794294e4e0e1cd05e67fe37f"},{"signature":"PositionNotOwned(address,uint256,address)","signatureHash4":"0xe34ebdf0","signatureHash32":"0xe34ebdf0d28d171717d7f78ddfba0b2b18aed804d21919d6f79d318d0729c70d"},{"signature":"ReentrancyGuardReentrantCall()","signatureHash4":"0x3ee5aeb5","signatureHash32":"0x3ee5aeb571de7fc460830b4d0017439a1ca56fb0bc39062227ade4fe4a24c1ca"},{"signature":"RenounceOwnershipDisabled()","signatureHash4":"0xffc0fd93","signatureHash32":"0xffc0fd9327ceec71a819020aff5a151b73272fa985d1c880da9e4753688140f8"},{"signature":"RiskParamOutOfRange()","signatureHash4":"0x7bdbf33d","signatureHash32":"0x7bdbf33dc41c8e7fc728045323373826f094ffef275fe6cda474479014d5084c"},{"signature":"SafeERC20FailedOperation(address)","signatureHash4":"0x5274afe7","signatureHash32":"0x5274afe73c98b4749fc91ffae6b7b574e7842cb2144a159e9377a5f20b32edf9"},{"signature":"StableTokenDecimalsInvalid(address,uint8)","signatureHash4":"0xd1dedcb4","signatureHash32":"0xd1dedcb45dc9eef23d6d6ad4c73e21440d2fdbad1011bbeb2a1967fc781f034e"},{"signature":"StableTokenDecimalsNotSet(address)","signatureHash4":"0x2f5da300","signatureHash32":"0x2f5da300c0d761767b247c4c296f7f364601d3d94aca2dd6ceace63f264a32b8"},{"signature":"SwapModuleNA()","signatureHash4":"0x4583002a","signatureHash32":"0x4583002a7243e169e393af88510f6094682a82daecbbd445ef52211ac2ebb4b3"},{"signature":"TokenNotAllowed(address)","signatureHash4":"0x94403b70","signatureHash32":"0x94403b7099477045d56a4ad621224a9a16fcb7e4b0d02e508215a9bf747a12d4"},{"signature":"UpgradesFrozenErr()","signatureHash4":"0xd74c95cb","signatureHash32":"0xd74c95cb0d8d21ff1697ebed32b718691643a5e18e9493f3daea9cb7e4feba18"},{"signature":"UUPSUnauthorizedCallContext()","signatureHash4":"0xe07c8dba","signatureHash32":"0xe07c8dba242a06571ac65fe4bbe20522c9fb111cb33599b799ff8039c1ed18f4"},{"signature":"UUPSUnsupportedProxiableUUID(bytes32)","signatureHash4":"0xaa1d49a4","signatureHash32":"0xaa1d49a4c084bfa9aeeee2a0be65267a7f19ba7e1476b114dac513d2c14cb563"},{"signature":"V3StablePriceOutOfRange(address,address,uint256,uint256,uint256)","signatureHash4":"0x269c8e12","signatureHash32":"0x269c8e12e164a80dab215197f186d50aeea22856f97064bc3f82300e58a475bc"},{"signature":"V4HookDataNotAllowed()","signatureHash4":"0x4ba0a8f3","signatureHash32":"0x4ba0a8f3a6cedf22aa1af148ee1e471399eaa6fda7d8dc09de0278d00b7105bc"},{"signature":"V4HooksUnsupported()","signatureHash4":"0xe0cbd564","signatureHash32":"0xe0cbd564af5813d5e0b21d3cd092e97cafdd993c19e3d8f03b763dda0a853511"},{"signature":"V4PriceGuardRequired()","signatureHash4":"0xef5e3330","signatureHash32":"0xef5e3330a93feb9ffb0d3b77bf36c7f8ce69ec2c2afac6c389aecd509492fc21"},{"signature":"V4StablePriceOutOfRange(address,address,uint256,uint256,uint256)","signatureHash4":"0xe97f7d1d","signatureHash32":"0xe97f7d1d22a14447ca7cfe3772b2695de9112b7270fbeb5c7dfa3c1de3631d50"},{"signature":"V4ViewNA()","signatureHash4":"0xef019f40","signatureHash32":"0xef019f4062f47893c77dd10c8b0d4be8f8603b66874e77be05492f790db24ce6"},{"signature":"ZeroAddr()","signatureHash4":"0xae9954c3","signatureHash32":"0xae9954c3a231279e989c032d6201bd4f94c6930212187b9a28ae559644a3ae16"},{"signature":"ZeroPoolKey()","signatureHash4":"0xc8d1644c","signatureHash32":"0xc8d1644cfe7ab523bfc8ce63e080031d210c3b50920b8042fa09c3573ad2f115"}]},"proxyResolution":{"isProxy":false,"proxyType":null,"implementations":[]},"match":"match","chainId":"1","address":"0x4A6BE3014231a6C687727F8cB16EDEd8d163D0D1"}