From 4e1289f0261618f37e47769872b5e4cf080674aa Mon Sep 17 00:00:00 2001 From: Koshik Raj Date: Sun, 4 Feb 2024 14:12:11 +0530 Subject: [PATCH] Updates --- asset-manifest.json | 6 +++--- index.html | 2 +- static/js/main.6dc8348a.js | 3 +++ ...71d5244d.js.LICENSE.txt => main.6dc8348a.js.LICENSE.txt} | 0 static/js/{main.71d5244d.js.map => main.6dc8348a.js.map} | 2 +- static/js/main.71d5244d.js | 3 --- 6 files changed, 8 insertions(+), 8 deletions(-) create mode 100644 static/js/main.6dc8348a.js rename static/js/{main.71d5244d.js.LICENSE.txt => main.6dc8348a.js.LICENSE.txt} (100%) rename static/js/{main.71d5244d.js.map => main.6dc8348a.js.map} (53%) delete mode 100644 static/js/main.71d5244d.js diff --git a/asset-manifest.json b/asset-manifest.json index 43fdc5e..ab442a6 100644 --- a/asset-manifest.json +++ b/asset-manifest.json @@ -1,7 +1,7 @@ { "files": { "main.css": "./static/css/main.136dfba3.css", - "main.js": "./static/js/main.71d5244d.js", + "main.js": "./static/js/main.6dc8348a.js", "static/js/180.5b5cd423.chunk.js": "./static/js/180.5b5cd423.chunk.js", "static/js/12.5e12c781.chunk.js": "./static/js/12.5e12c781.chunk.js", "static/js/787.27dca9c2.chunk.js": "./static/js/787.27dca9c2.chunk.js", @@ -20,13 +20,13 @@ "static/media/gno.svg": "./static/media/gno.f98f395fd6ce9e9433c458af1ba31a78.svg", "index.html": "./index.html", "main.136dfba3.css.map": "./static/css/main.136dfba3.css.map", - "main.71d5244d.js.map": "./static/js/main.71d5244d.js.map", + "main.6dc8348a.js.map": "./static/js/main.6dc8348a.js.map", "180.5b5cd423.chunk.js.map": "./static/js/180.5b5cd423.chunk.js.map", "12.5e12c781.chunk.js.map": "./static/js/12.5e12c781.chunk.js.map", "787.27dca9c2.chunk.js.map": "./static/js/787.27dca9c2.chunk.js.map" }, "entrypoints": [ "static/css/main.136dfba3.css", - "static/js/main.71d5244d.js" + "static/js/main.6dc8348a.js" ] } \ No newline at end of file diff --git a/index.html b/index.html index 647f4f8..f87afc7 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -ZenGuard - Smart Account Module Marketplace
\ No newline at end of file +ZenGuard - Smart Account Module Marketplace
\ No newline at end of file diff --git a/static/js/main.6dc8348a.js b/static/js/main.6dc8348a.js new file mode 100644 index 0000000..5190323 --- /dev/null +++ b/static/js/main.6dc8348a.js @@ -0,0 +1,3 @@ +/*! For license information please see main.6dc8348a.js.LICENSE.txt */ +(()=>{var e={10973:(e,t,n)=>{"use strict";var r=n(38416).default;Object.defineProperty(t,"__esModule",{value:!0}),t.Ownable__factory=void 0;const a=n(79332),i=[{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"previousOwner",type:"address"},{indexed:!0,internalType:"address",name:"newOwner",type:"address"}],name:"OwnershipTransferred",type:"event"},{inputs:[],name:"owner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"renounceOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"newOwner",type:"address"}],name:"transferOwnership",outputs:[],stateMutability:"nonpayable",type:"function"}];class o{static createInterface(){return new a.Interface(i)}static connect(e,t){return new a.Contract(e,i,t)}}r(o,"abi",i),t.Ownable__factory=o},97712:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Ownable__factory=void 0;var r=n(10973);Object.defineProperty(t,"Ownable__factory",{enumerable:!0,get:function(){return r.Ownable__factory}})},32511:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.utils=t.token=t.interfaces=t.access=void 0,t.access=i(n(97712)),t.interfaces=i(n(27955)),t.token=i(n(44680)),t.utils=i(n(77150))},1557:(e,t,n)=>{"use strict";var r=n(38416).default;Object.defineProperty(t,"__esModule",{value:!0}),t.IERC1271__factory=void 0;const a=n(79332),i=[{inputs:[{internalType:"bytes32",name:"hash",type:"bytes32"},{internalType:"bytes",name:"signature",type:"bytes"}],name:"isValidSignature",outputs:[{internalType:"bytes4",name:"magicValue",type:"bytes4"}],stateMutability:"view",type:"function"}];class o{static createInterface(){return new a.Interface(i)}static connect(e,t){return new a.Contract(e,i,t)}}r(o,"abi",i),t.IERC1271__factory=o},95692:(e,t,n)=>{"use strict";var r=n(38416).default;Object.defineProperty(t,"__esModule",{value:!0}),t.IERC5267__factory=void 0;const a=n(79332),i=[{anonymous:!1,inputs:[],name:"EIP712DomainChanged",type:"event"},{inputs:[],name:"eip712Domain",outputs:[{internalType:"bytes1",name:"fields",type:"bytes1"},{internalType:"string",name:"name",type:"string"},{internalType:"string",name:"version",type:"string"},{internalType:"uint256",name:"chainId",type:"uint256"},{internalType:"address",name:"verifyingContract",type:"address"},{internalType:"bytes32",name:"salt",type:"bytes32"},{internalType:"uint256[]",name:"extensions",type:"uint256[]"}],stateMutability:"view",type:"function"}];class o{static createInterface(){return new a.Interface(i)}static connect(e,t){return new a.Contract(e,i,t)}}r(o,"abi",i),t.IERC5267__factory=o},27955:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IERC5267__factory=t.IERC1271__factory=void 0;var r=n(1557);Object.defineProperty(t,"IERC1271__factory",{enumerable:!0,get:function(){return r.IERC1271__factory}});var a=n(95692);Object.defineProperty(t,"IERC5267__factory",{enumerable:!0,get:function(){return a.IERC5267__factory}})},95123:(e,t,n)=>{"use strict";var r=n(38416).default;Object.defineProperty(t,"__esModule",{value:!0}),t.ERC20__factory=void 0;const a=n(79332),i=[{inputs:[{internalType:"string",name:"name_",type:"string"},{internalType:"string",name:"symbol_",type:"string"}],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"owner",type:"address"},{indexed:!0,internalType:"address",name:"spender",type:"address"},{indexed:!1,internalType:"uint256",name:"value",type:"uint256"}],name:"Approval",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"from",type:"address"},{indexed:!0,internalType:"address",name:"to",type:"address"},{indexed:!1,internalType:"uint256",name:"value",type:"uint256"}],name:"Transfer",type:"event"},{inputs:[{internalType:"address",name:"owner",type:"address"},{internalType:"address",name:"spender",type:"address"}],name:"allowance",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"spender",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],name:"approve",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"account",type:"address"}],name:"balanceOf",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"decimals",outputs:[{internalType:"uint8",name:"",type:"uint8"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"spender",type:"address"},{internalType:"uint256",name:"subtractedValue",type:"uint256"}],name:"decreaseAllowance",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"spender",type:"address"},{internalType:"uint256",name:"addedValue",type:"uint256"}],name:"increaseAllowance",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"name",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{inputs:[],name:"symbol",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{inputs:[],name:"totalSupply",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"to",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],name:"transfer",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"from",type:"address"},{internalType:"address",name:"to",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],name:"transferFrom",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"}],o="0x60806040523480156200001157600080fd5b5060405162000de638038062000de683398101604081905262000034916200011f565b600362000042838262000218565b50600462000051828262000218565b505050620002e4565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200008257600080fd5b81516001600160401b03808211156200009f576200009f6200005a565b604051601f8301601f19908116603f01168101908282118183101715620000ca57620000ca6200005a565b81604052838152602092508683858801011115620000e757600080fd5b600091505b838210156200010b5785820183015181830184015290820190620000ec565b600093810190920192909252949350505050565b600080604083850312156200013357600080fd5b82516001600160401b03808211156200014b57600080fd5b620001598683870162000070565b935060208501519150808211156200017057600080fd5b506200017f8582860162000070565b9150509250929050565b600181811c908216806200019e57607f821691505b602082108103620001bf57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200021357600081815260208120601f850160051c81016020861015620001ee5750805b601f850160051c820191505b818110156200020f57828155600101620001fa565b5050505b505050565b81516001600160401b038111156200023457620002346200005a565b6200024c8162000245845462000189565b84620001c5565b602080601f8311600181146200028457600084156200026b5750858301515b600019600386901b1c1916600185901b1785556200020f565b600085815260208120601f198616915b82811015620002b55788860151825594840194600190910190840162000294565b5085821015620002d45787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b610af280620002f46000396000f3fe608060405234801561001057600080fd5b50600436106100c95760003560e01c80633950935111610081578063a457c2d71161005b578063a457c2d714610194578063a9059cbb146101a7578063dd62ed3e146101ba57600080fd5b8063395093511461014357806370a082311461015657806395d89b411461018c57600080fd5b806318160ddd116100b257806318160ddd1461010f57806323b872dd14610121578063313ce5671461013457600080fd5b806306fdde03146100ce578063095ea7b3146100ec575b600080fd5b6100d6610200565b6040516100e39190610908565b60405180910390f35b6100ff6100fa36600461099d565b610292565b60405190151581526020016100e3565b6002545b6040519081526020016100e3565b6100ff61012f3660046109c7565b6102ac565b604051601281526020016100e3565b6100ff61015136600461099d565b6102d0565b610113610164366004610a03565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b6100d661031c565b6100ff6101a236600461099d565b61032b565b6100ff6101b536600461099d565b610401565b6101136101c8366004610a25565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b60606003805461020f90610a58565b80601f016020809104026020016040519081016040528092919081815260200182805461023b90610a58565b80156102885780601f1061025d57610100808354040283529160200191610288565b820191906000526020600020905b81548152906001019060200180831161026b57829003601f168201915b5050505050905090565b6000336102a081858561040f565b60019150505b92915050565b6000336102ba8582856105c2565b6102c5858585610699565b506001949350505050565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091906102a09082908690610317908790610aab565b61040f565b60606004805461020f90610a58565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168452909152812054909190838110156103f4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6102c5828686840361040f565b6000336102a0818585610699565b73ffffffffffffffffffffffffffffffffffffffff83166104b1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016103eb565b73ffffffffffffffffffffffffffffffffffffffff8216610554576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016103eb565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff8381166000908152600160209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146106935781811015610686576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016103eb565b610693848484840361040f565b50505050565b73ffffffffffffffffffffffffffffffffffffffff831661073c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016103eb565b73ffffffffffffffffffffffffffffffffffffffff82166107df576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016103eb565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205481811015610895576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016103eb565b73ffffffffffffffffffffffffffffffffffffffff848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610693565b600060208083528351808285015260005b8181101561093557858101830151858201604001528201610919565b5060006040828601015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8301168501019250505092915050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461099857600080fd5b919050565b600080604083850312156109b057600080fd5b6109b983610974565b946020939093013593505050565b6000806000606084860312156109dc57600080fd5b6109e584610974565b92506109f360208501610974565b9150604084013590509250925092565b600060208284031215610a1557600080fd5b610a1e82610974565b9392505050565b60008060408385031215610a3857600080fd5b610a4183610974565b9150610a4f60208401610974565b90509250929050565b600181811c90821680610a6c57607f821691505b602082108103610aa5577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b808201808211156102a6577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fdfea164736f6c6343000813000a";class s extends a.ContractFactory{constructor(){for(var e=arguments.length,t=new Array(e),n=0;n1?super(...t):super(i,o,t[0])}getDeployTransaction(e,t,n){return super.getDeployTransaction(e,t,n||{})}deploy(e,t,n){return super.deploy(e,t,n||{})}connect(e){return super.connect(e)}static createInterface(){return new a.Interface(i)}static connect(e,t){return new a.Contract(e,i,t)}}r(s,"bytecode",o),r(s,"abi",i),t.ERC20__factory=s},90518:(e,t,n)=>{"use strict";var r=n(38416).default;Object.defineProperty(t,"__esModule",{value:!0}),t.IERC20__factory=void 0;const a=n(79332),i=[{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"owner",type:"address"},{indexed:!0,internalType:"address",name:"spender",type:"address"},{indexed:!1,internalType:"uint256",name:"value",type:"uint256"}],name:"Approval",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"from",type:"address"},{indexed:!0,internalType:"address",name:"to",type:"address"},{indexed:!1,internalType:"uint256",name:"value",type:"uint256"}],name:"Transfer",type:"event"},{inputs:[{internalType:"address",name:"owner",type:"address"},{internalType:"address",name:"spender",type:"address"}],name:"allowance",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"spender",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],name:"approve",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"account",type:"address"}],name:"balanceOf",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"totalSupply",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"to",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],name:"transfer",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"from",type:"address"},{internalType:"address",name:"to",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],name:"transferFrom",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"}];class o{static createInterface(){return new a.Interface(i)}static connect(e,t){return new a.Contract(e,i,t)}}r(o,"abi",i),t.IERC20__factory=o},32031:(e,t,n)=>{"use strict";var r=n(38416).default;Object.defineProperty(t,"__esModule",{value:!0}),t.IERC20Metadata__factory=void 0;const a=n(79332),i=[{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"owner",type:"address"},{indexed:!0,internalType:"address",name:"spender",type:"address"},{indexed:!1,internalType:"uint256",name:"value",type:"uint256"}],name:"Approval",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"from",type:"address"},{indexed:!0,internalType:"address",name:"to",type:"address"},{indexed:!1,internalType:"uint256",name:"value",type:"uint256"}],name:"Transfer",type:"event"},{inputs:[{internalType:"address",name:"owner",type:"address"},{internalType:"address",name:"spender",type:"address"}],name:"allowance",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"spender",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],name:"approve",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"account",type:"address"}],name:"balanceOf",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"decimals",outputs:[{internalType:"uint8",name:"",type:"uint8"}],stateMutability:"view",type:"function"},{inputs:[],name:"name",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{inputs:[],name:"symbol",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{inputs:[],name:"totalSupply",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"to",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],name:"transfer",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"from",type:"address"},{internalType:"address",name:"to",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],name:"transferFrom",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"}];class o{static createInterface(){return new a.Interface(i)}static connect(e,t){return new a.Contract(e,i,t)}}r(o,"abi",i),t.IERC20Metadata__factory=o},32744:(e,t,n)=>{"use strict";var r=n(38416).default;Object.defineProperty(t,"__esModule",{value:!0}),t.IERC20Permit__factory=void 0;const a=n(79332),i=[{inputs:[],name:"DOMAIN_SEPARATOR",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"owner",type:"address"}],name:"nonces",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"owner",type:"address"},{internalType:"address",name:"spender",type:"address"},{internalType:"uint256",name:"value",type:"uint256"},{internalType:"uint256",name:"deadline",type:"uint256"},{internalType:"uint8",name:"v",type:"uint8"},{internalType:"bytes32",name:"r",type:"bytes32"},{internalType:"bytes32",name:"s",type:"bytes32"}],name:"permit",outputs:[],stateMutability:"nonpayable",type:"function"}];class o{static createInterface(){return new a.Interface(i)}static connect(e,t){return new a.Contract(e,i,t)}}r(o,"abi",i),t.IERC20Permit__factory=o},96037:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IERC20Permit__factory=t.IERC20Metadata__factory=void 0;var r=n(32031);Object.defineProperty(t,"IERC20Metadata__factory",{enumerable:!0,get:function(){return r.IERC20Metadata__factory}});var a=n(32744);Object.defineProperty(t,"IERC20Permit__factory",{enumerable:!0,get:function(){return a.IERC20Permit__factory}})},41122:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.IERC20__factory=t.ERC20__factory=t.extensions=void 0,t.extensions=i(n(96037));var o=n(95123);Object.defineProperty(t,"ERC20__factory",{enumerable:!0,get:function(){return o.ERC20__factory}});var s=n(90518);Object.defineProperty(t,"IERC20__factory",{enumerable:!0,get:function(){return s.IERC20__factory}})},44680:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.erc20=void 0,t.erc20=i(n(41122))},43262:(e,t,n)=>{"use strict";var r=n(38416).default;Object.defineProperty(t,"__esModule",{value:!0}),t.ShortStrings__factory=void 0;const a=n(79332),i=[{inputs:[],name:"InvalidShortString",type:"error"},{inputs:[{internalType:"string",name:"str",type:"string"}],name:"StringTooLong",type:"error"}],o="0x602d6037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea164736f6c6343000813000a";class s extends a.ContractFactory{constructor(){for(var e=arguments.length,t=new Array(e),n=0;n1?super(...t):super(i,o,t[0])}getDeployTransaction(e){return super.getDeployTransaction(e||{})}deploy(e){return super.deploy(e||{})}connect(e){return super.connect(e)}static createInterface(){return new a.Interface(i)}static connect(e,t){return new a.Contract(e,i,t)}}r(s,"bytecode",o),r(s,"abi",i),t.ShortStrings__factory=s},83060:(e,t,n)=>{"use strict";var r=n(38416).default;Object.defineProperty(t,"__esModule",{value:!0}),t.EIP712__factory=void 0;const a=n(79332),i=[{inputs:[],name:"InvalidShortString",type:"error"},{inputs:[{internalType:"string",name:"str",type:"string"}],name:"StringTooLong",type:"error"},{anonymous:!1,inputs:[],name:"EIP712DomainChanged",type:"event"},{inputs:[],name:"eip712Domain",outputs:[{internalType:"bytes1",name:"fields",type:"bytes1"},{internalType:"string",name:"name",type:"string"},{internalType:"string",name:"version",type:"string"},{internalType:"uint256",name:"chainId",type:"uint256"},{internalType:"address",name:"verifyingContract",type:"address"},{internalType:"bytes32",name:"salt",type:"bytes32"},{internalType:"uint256[]",name:"extensions",type:"uint256[]"}],stateMutability:"view",type:"function"}];class o{static createInterface(){return new a.Interface(i)}static connect(e,t){return new a.Contract(e,i,t)}}r(o,"abi",i),t.EIP712__factory=o},34555:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EIP712__factory=void 0;var r=n(83060);Object.defineProperty(t,"EIP712__factory",{enumerable:!0,get:function(){return r.EIP712__factory}})},77150:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.ShortStrings__factory=t.cryptography=void 0,t.cryptography=i(n(34555));var o=n(43262);Object.defineProperty(t,"ShortStrings__factory",{enumerable:!0,get:function(){return o.ShortStrings__factory}})},98656:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.contracts=void 0,t.contracts=i(n(32511))},67056:(e,t,n)=>{"use strict";var r=n(38416).default;Object.defineProperty(t,"__esModule",{value:!0}),t.EAS__factory=void 0;const a=n(79332),i=[{inputs:[{internalType:"contract ISchemaRegistry",name:"registry",type:"address"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[],name:"AccessDenied",type:"error"},{inputs:[],name:"AlreadyRevoked",type:"error"},{inputs:[],name:"AlreadyRevokedOffchain",type:"error"},{inputs:[],name:"AlreadyTimestamped",type:"error"},{inputs:[],name:"DeadlineExpired",type:"error"},{inputs:[],name:"InsufficientValue",type:"error"},{inputs:[],name:"InvalidAttestation",type:"error"},{inputs:[],name:"InvalidAttestations",type:"error"},{inputs:[],name:"InvalidExpirationTime",type:"error"},{inputs:[],name:"InvalidLength",type:"error"},{inputs:[],name:"InvalidNonce",type:"error"},{inputs:[],name:"InvalidOffset",type:"error"},{inputs:[],name:"InvalidRegistry",type:"error"},{inputs:[],name:"InvalidRevocation",type:"error"},{inputs:[],name:"InvalidRevocations",type:"error"},{inputs:[],name:"InvalidSchema",type:"error"},{inputs:[],name:"InvalidShortString",type:"error"},{inputs:[],name:"InvalidSignature",type:"error"},{inputs:[],name:"InvalidVerifier",type:"error"},{inputs:[],name:"Irrevocable",type:"error"},{inputs:[],name:"NotFound",type:"error"},{inputs:[],name:"NotPayable",type:"error"},{inputs:[{internalType:"string",name:"str",type:"string"}],name:"StringTooLong",type:"error"},{inputs:[],name:"WrongSchema",type:"error"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"recipient",type:"address"},{indexed:!0,internalType:"address",name:"attester",type:"address"},{indexed:!1,internalType:"bytes32",name:"uid",type:"bytes32"},{indexed:!0,internalType:"bytes32",name:"schemaUID",type:"bytes32"}],name:"Attested",type:"event"},{anonymous:!1,inputs:[],name:"EIP712DomainChanged",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"oldNonce",type:"uint256"},{indexed:!1,internalType:"uint256",name:"newNonce",type:"uint256"}],name:"NonceIncreased",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"recipient",type:"address"},{indexed:!0,internalType:"address",name:"attester",type:"address"},{indexed:!1,internalType:"bytes32",name:"uid",type:"bytes32"},{indexed:!0,internalType:"bytes32",name:"schemaUID",type:"bytes32"}],name:"Revoked",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"revoker",type:"address"},{indexed:!0,internalType:"bytes32",name:"data",type:"bytes32"},{indexed:!0,internalType:"uint64",name:"timestamp",type:"uint64"}],name:"RevokedOffchain",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"data",type:"bytes32"},{indexed:!0,internalType:"uint64",name:"timestamp",type:"uint64"}],name:"Timestamped",type:"event"},{inputs:[{components:[{internalType:"bytes32",name:"schema",type:"bytes32"},{components:[{internalType:"address",name:"recipient",type:"address"},{internalType:"uint64",name:"expirationTime",type:"uint64"},{internalType:"bool",name:"revocable",type:"bool"},{internalType:"bytes32",name:"refUID",type:"bytes32"},{internalType:"bytes",name:"data",type:"bytes"},{internalType:"uint256",name:"value",type:"uint256"}],internalType:"struct AttestationRequestData",name:"data",type:"tuple"}],internalType:"struct AttestationRequest",name:"request",type:"tuple"}],name:"attest",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"payable",type:"function"},{inputs:[{components:[{internalType:"bytes32",name:"schema",type:"bytes32"},{components:[{internalType:"address",name:"recipient",type:"address"},{internalType:"uint64",name:"expirationTime",type:"uint64"},{internalType:"bool",name:"revocable",type:"bool"},{internalType:"bytes32",name:"refUID",type:"bytes32"},{internalType:"bytes",name:"data",type:"bytes"},{internalType:"uint256",name:"value",type:"uint256"}],internalType:"struct AttestationRequestData",name:"data",type:"tuple"},{components:[{internalType:"uint8",name:"v",type:"uint8"},{internalType:"bytes32",name:"r",type:"bytes32"},{internalType:"bytes32",name:"s",type:"bytes32"}],internalType:"struct Signature",name:"signature",type:"tuple"},{internalType:"address",name:"attester",type:"address"},{internalType:"uint64",name:"deadline",type:"uint64"}],internalType:"struct DelegatedAttestationRequest",name:"delegatedRequest",type:"tuple"}],name:"attestByDelegation",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"payable",type:"function"},{inputs:[],name:"eip712Domain",outputs:[{internalType:"bytes1",name:"fields",type:"bytes1"},{internalType:"string",name:"name",type:"string"},{internalType:"string",name:"version",type:"string"},{internalType:"uint256",name:"chainId",type:"uint256"},{internalType:"address",name:"verifyingContract",type:"address"},{internalType:"bytes32",name:"salt",type:"bytes32"},{internalType:"uint256[]",name:"extensions",type:"uint256[]"}],stateMutability:"view",type:"function"},{inputs:[],name:"getAttestTypeHash",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"pure",type:"function"},{inputs:[{internalType:"bytes32",name:"uid",type:"bytes32"}],name:"getAttestation",outputs:[{components:[{internalType:"bytes32",name:"uid",type:"bytes32"},{internalType:"bytes32",name:"schema",type:"bytes32"},{internalType:"uint64",name:"time",type:"uint64"},{internalType:"uint64",name:"expirationTime",type:"uint64"},{internalType:"uint64",name:"revocationTime",type:"uint64"},{internalType:"bytes32",name:"refUID",type:"bytes32"},{internalType:"address",name:"recipient",type:"address"},{internalType:"address",name:"attester",type:"address"},{internalType:"bool",name:"revocable",type:"bool"},{internalType:"bytes",name:"data",type:"bytes"}],internalType:"struct Attestation",name:"",type:"tuple"}],stateMutability:"view",type:"function"},{inputs:[],name:"getDomainSeparator",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"getName",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"account",type:"address"}],name:"getNonce",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"revoker",type:"address"},{internalType:"bytes32",name:"data",type:"bytes32"}],name:"getRevokeOffchain",outputs:[{internalType:"uint64",name:"",type:"uint64"}],stateMutability:"view",type:"function"},{inputs:[],name:"getRevokeTypeHash",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"pure",type:"function"},{inputs:[],name:"getSchemaRegistry",outputs:[{internalType:"contract ISchemaRegistry",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32",name:"data",type:"bytes32"}],name:"getTimestamp",outputs:[{internalType:"uint64",name:"",type:"uint64"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"newNonce",type:"uint256"}],name:"increaseNonce",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"uid",type:"bytes32"}],name:"isAttestationValid",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{components:[{internalType:"bytes32",name:"schema",type:"bytes32"},{components:[{internalType:"address",name:"recipient",type:"address"},{internalType:"uint64",name:"expirationTime",type:"uint64"},{internalType:"bool",name:"revocable",type:"bool"},{internalType:"bytes32",name:"refUID",type:"bytes32"},{internalType:"bytes",name:"data",type:"bytes"},{internalType:"uint256",name:"value",type:"uint256"}],internalType:"struct AttestationRequestData[]",name:"data",type:"tuple[]"}],internalType:"struct MultiAttestationRequest[]",name:"multiRequests",type:"tuple[]"}],name:"multiAttest",outputs:[{internalType:"bytes32[]",name:"",type:"bytes32[]"}],stateMutability:"payable",type:"function"},{inputs:[{components:[{internalType:"bytes32",name:"schema",type:"bytes32"},{components:[{internalType:"address",name:"recipient",type:"address"},{internalType:"uint64",name:"expirationTime",type:"uint64"},{internalType:"bool",name:"revocable",type:"bool"},{internalType:"bytes32",name:"refUID",type:"bytes32"},{internalType:"bytes",name:"data",type:"bytes"},{internalType:"uint256",name:"value",type:"uint256"}],internalType:"struct AttestationRequestData[]",name:"data",type:"tuple[]"},{components:[{internalType:"uint8",name:"v",type:"uint8"},{internalType:"bytes32",name:"r",type:"bytes32"},{internalType:"bytes32",name:"s",type:"bytes32"}],internalType:"struct Signature[]",name:"signatures",type:"tuple[]"},{internalType:"address",name:"attester",type:"address"},{internalType:"uint64",name:"deadline",type:"uint64"}],internalType:"struct MultiDelegatedAttestationRequest[]",name:"multiDelegatedRequests",type:"tuple[]"}],name:"multiAttestByDelegation",outputs:[{internalType:"bytes32[]",name:"",type:"bytes32[]"}],stateMutability:"payable",type:"function"},{inputs:[{components:[{internalType:"bytes32",name:"schema",type:"bytes32"},{components:[{internalType:"bytes32",name:"uid",type:"bytes32"},{internalType:"uint256",name:"value",type:"uint256"}],internalType:"struct RevocationRequestData[]",name:"data",type:"tuple[]"}],internalType:"struct MultiRevocationRequest[]",name:"multiRequests",type:"tuple[]"}],name:"multiRevoke",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{components:[{internalType:"bytes32",name:"schema",type:"bytes32"},{components:[{internalType:"bytes32",name:"uid",type:"bytes32"},{internalType:"uint256",name:"value",type:"uint256"}],internalType:"struct RevocationRequestData[]",name:"data",type:"tuple[]"},{components:[{internalType:"uint8",name:"v",type:"uint8"},{internalType:"bytes32",name:"r",type:"bytes32"},{internalType:"bytes32",name:"s",type:"bytes32"}],internalType:"struct Signature[]",name:"signatures",type:"tuple[]"},{internalType:"address",name:"revoker",type:"address"},{internalType:"uint64",name:"deadline",type:"uint64"}],internalType:"struct MultiDelegatedRevocationRequest[]",name:"multiDelegatedRequests",type:"tuple[]"}],name:"multiRevokeByDelegation",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"bytes32[]",name:"data",type:"bytes32[]"}],name:"multiRevokeOffchain",outputs:[{internalType:"uint64",name:"",type:"uint64"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32[]",name:"data",type:"bytes32[]"}],name:"multiTimestamp",outputs:[{internalType:"uint64",name:"",type:"uint64"}],stateMutability:"nonpayable",type:"function"},{inputs:[{components:[{internalType:"bytes32",name:"schema",type:"bytes32"},{components:[{internalType:"bytes32",name:"uid",type:"bytes32"},{internalType:"uint256",name:"value",type:"uint256"}],internalType:"struct RevocationRequestData",name:"data",type:"tuple"}],internalType:"struct RevocationRequest",name:"request",type:"tuple"}],name:"revoke",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{components:[{internalType:"bytes32",name:"schema",type:"bytes32"},{components:[{internalType:"bytes32",name:"uid",type:"bytes32"},{internalType:"uint256",name:"value",type:"uint256"}],internalType:"struct RevocationRequestData",name:"data",type:"tuple"},{components:[{internalType:"uint8",name:"v",type:"uint8"},{internalType:"bytes32",name:"r",type:"bytes32"},{internalType:"bytes32",name:"s",type:"bytes32"}],internalType:"struct Signature",name:"signature",type:"tuple"},{internalType:"address",name:"revoker",type:"address"},{internalType:"uint64",name:"deadline",type:"uint64"}],internalType:"struct DelegatedRevocationRequest",name:"delegatedRequest",type:"tuple"}],name:"revokeByDelegation",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"bytes32",name:"data",type:"bytes32"}],name:"revokeOffchain",outputs:[{internalType:"uint64",name:"",type:"uint64"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"data",type:"bytes32"}],name:"timestamp",outputs:[{internalType:"uint64",name:"",type:"uint64"}],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"version",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"}],o="0x6101e06040523480156200001257600080fd5b5060405162004e4a38038062004e4a83398101604081905262000035916200020d565b604080518082018252600381526245415360e81b602080830191909152825180840190935260058352640312e322e360dc1b908301526001608052600260a052600060c0819052909190829082906200009090839062000188565b61018052620000a181600162000188565b6101a052815160208084019190912061014052815190820120610160524661010052620001326101405161016051604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201529081019290925260608201524660808201523060a082015260009060c00160405160208183030381529060405280519060200120905090565b60e0525050306101205260026200014a8382620002e4565b5050506001600160a01b03811662000175576040516311a1e69760e01b815260040160405180910390fd5b6001600160a01b03166101c05262000425565b6000602083511015620001a857620001a083620001c1565b9050620001bb565b81620001b58482620002e4565b5060ff90505b92915050565b600080829050601f81511115620001f8578260405163305a27a960e01b8152600401620001ef9190620003b0565b60405180910390fd5b8051620002058262000400565b179392505050565b6000602082840312156200022057600080fd5b81516001600160a01b03811681146200023857600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200026a57607f821691505b6020821081036200028b57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620002df57600081815260208120601f850160051c81016020861015620002ba5750805b601f850160051c820191505b81811015620002db57828155600101620002c6565b5050505b505050565b81516001600160401b038111156200030057620003006200023f565b620003188162000311845462000255565b8462000291565b602080601f831160018114620003505760008415620003375750858301515b600019600386901b1c1916600185901b178555620002db565b600085815260208120601f198616915b82811015620003815788860151825594840194600190910190840162000360565b5085821015620003a05787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208083528351808285015260005b81811015620003df57858101830151858201604001528201620003c1565b506000604082860101526040601f19601f8301168501019250505092915050565b805160208083015191908110156200028b5760001960209190910360031b1b16919050565b60805160a05160c05160e05161010051610120516101405161016051610180516101a0516101c051614990620004ba60003960008181610538015281816115df0152611f0a01526000610d4f01526000610d25015260006129930152600061296b015260006128c6015260006128f00152600061291a01526000610c3401526000610c0b01526000610be201526149906000f3fe6080604052600436106101965760003560e01c806384b0196e116100e1578063cf190f341161008a578063e71ff36511610064578063e71ff365146104dc578063ed24911d146104fc578063f10b5cc814610511578063f17325e71461056257600080fd5b8063cf190f3414610446578063d45c443514610466578063e30bb5631461049d57600080fd5b8063a6d4dbc7116100bb578063a6d4dbc7146103a6578063b469318d146103b9578063b83010d31461041357600080fd5b806384b0196e1461033e5780639541152514610366578063a3112a641461037957600080fd5b806344adc90e116101435780634d0030701161011d5780634d003070146102e957806354fd4d501461030957806379f7573a1461031e57600080fd5b806344adc90e146102a357806346926267146102c35780634cb7e9e5146102d657600080fd5b806317d7de7c1161017457806317d7de7c1461022b5780632d0335ab1461024d5780633c0427151461029057600080fd5b80630eabf6601461019b57806312b11a17146101b057806313893f61146101f2575b600080fd5b6101ae6101a93660046137be565b610575565b005b3480156101bc57600080fd5b507ff83bb2b0ede93a840239f7e701a54d9bc35f03701f51ae153d601c6947ff3d3f5b6040519081526020015b60405180910390f35b3480156101fe57600080fd5b5061021261020d3660046137be565b61070c565b60405167ffffffffffffffff90911681526020016101e9565b34801561023757600080fd5b50610240610751565b6040516101e9919061386e565b34801561025957600080fd5b506101df6102683660046138ba565b73ffffffffffffffffffffffffffffffffffffffff1660009081526003602052604090205490565b6101df61029e3660046138d7565b6107e3565b6102b66102b13660046137be565b6108e6565b6040516101e99190613912565b6101ae6102d1366004613956565b610a67565b6101ae6102e43660046137be565b610aeb565b3480156102f557600080fd5b5061021261030436600461396e565b610bce565b34801561031557600080fd5b50610240610bdb565b34801561032a57600080fd5b506101ae61033936600461396e565b610c7e565b34801561034a57600080fd5b50610353610d17565b6040516101e997969594939291906139c2565b6102b66103743660046137be565b610dbb565b34801561038557600080fd5b5061039961039436600461396e565b61102e565b6040516101e99190613b32565b6101ae6103b4366004613b45565b6111f0565b3480156103c557600080fd5b506102126103d4366004613b58565b73ffffffffffffffffffffffffffffffffffffffff919091166000908152600660209081526040808320938352929052205467ffffffffffffffff1690565b34801561041f57600080fd5b507f2d4116d8c9824e4c316453e5c2843a1885580374159ce8768603c49085ef424c6101df565b34801561045257600080fd5b5061021261046136600461396e565b611295565b34801561047257600080fd5b5061021261048136600461396e565b60009081526005602052604090205467ffffffffffffffff1690565b3480156104a957600080fd5b506104cc6104b836600461396e565b600090815260046020526040902054151590565b60405190151581526020016101e9565b3480156104e857600080fd5b506102126104f73660046137be565b6112a3565b34801561050857600080fd5b506101df6112db565b34801561051d57600080fd5b5060405173ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001681526020016101e9565b6101df610570366004613b84565b6112ea565b348160005b81811015610705577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8201811460008686848181106105bb576105bb613bbf565b90506020028101906105cd9190613bee565b6105d690613e84565b60208101518051919250908015806105f357508260400151518114155b1561062a576040517f947d5a8400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b818110156106ce576106c66040518060a001604052808660000151815260200185848151811061065f5761065f613bbf565b602002602001015181526020018660400151848151811061068257610682613bbf565b60200260200101518152602001866060015173ffffffffffffffffffffffffffffffffffffffff168152602001866080015167ffffffffffffffff168152506113a8565b60010161062d565b506106e483600001518385606001518a88611596565b6106ee9088613fae565b9650505050506106fe8160010190565b905061057a565b5050505050565b60004282825b818110156107455761073d3387878481811061073057610730613bbf565b9050602002013585611be7565b600101610712565b50909150505b92915050565b60606002805461076090613fc1565b80601f016020809104026020016040519081016040528092919081815260200182805461078c90613fc1565b80156107d95780601f106107ae576101008083540402835291602001916107d9565b820191906000526020600020905b8154815290600101906020018083116107bc57829003601f168201915b5050505050905090565b60006107f66107f183614130565b611ce6565b604080516001808252818301909252600091816020015b6040805160c081018252600080825260208083018290529282018190526060808301829052608083015260a082015282527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90920191018161080d57905050905061087b60208401846141ab565b610884906141df565b8160008151811061089757610897613bbf565b60209081029190910101526108c08335826108b860c0870160a088016138ba565b346001611e64565b602001516000815181106108d6576108d6613bbf565b6020026020010151915050919050565b60608160008167ffffffffffffffff81111561090457610904613c2c565b60405190808252806020026020018201604052801561093757816020015b60608152602001906001900390816109225790505b509050600034815b84811015610a51577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff850181143689898481811061097f5761097f613bbf565b905060200281019061099191906141eb565b90506109a0602082018261421f565b90506000036109db576040517f947d5a8400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000610a0082356109ef602085018561421f565b6109f891614287565b338887611e64565b8051909150610a0f9086613fae565b94508060200151878581518110610a2857610a28613bbf565b602002602001018190525080602001515186019550505050610a4a8160010190565b905061093f565b50610a5c8383612597565b979650505050505050565b604080516001808252818301909252600091816020015b6040805180820190915260008082526020820152815260200190600190039081610a7e579050509050610ab9368390038301602084016142fb565b81600081518110610acc57610acc613bbf565b6020908102919091010152610ae682358233346001611596565b505050565b348160005b81811015610705577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8201811436868684818110610b3057610b30613bbf565b9050602002810190610b4291906141eb565b9050610baf8135610b566020840184614317565b808060200260200160405190810160405280939291908181526020016000905b82821015610ba257610b93604083028601368190038101906142fb565b81526020019060010190610b76565b5050505050338886611596565b610bb99086613fae565b94505050610bc78160010190565b9050610af0565b60004261074b8382612681565b6060610c067f0000000000000000000000000000000000000000000000000000000000000000612743565b610c2f7f0000000000000000000000000000000000000000000000000000000000000000612743565b610c587f0000000000000000000000000000000000000000000000000000000000000000612743565b604051602001610c6a9392919061437f565b604051602081830303815290604052905090565b33600090815260036020526040902054808211610cc7576040517f756688fe00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3360009081526003602090815260409182902084905581518381529081018490527f57b09af877df9068fd60a69d7b21f5576b8b38955812d6ae4ac52942f1e38fb7910160405180910390a15050565b600060608082808083610d4a7f000000000000000000000000000000000000000000000000000000000000000083612801565b610d757f00000000000000000000000000000000000000000000000000000000000000006001612801565b604080516000808252602082019092527f0f000000000000000000000000000000000000000000000000000000000000009b939a50919850469750309650945092509050565b60608160008167ffffffffffffffff811115610dd957610dd9613c2c565b604051908082528060200260200182016040528015610e0c57816020015b6060815260200190600190039081610df75790505b509050600034815b84811015610a51577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8501811436898984818110610e5457610e54613bbf565b9050602002810190610e669190613bee565b9050366000610e78602084018461421f565b909250905080801580610e995750610e9360408501856143f5565b90508114155b15610ed0576040517f947d5a8400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b81811015610fb157610fa96040518060a0016040528087600001358152602001868685818110610f0557610f05613bbf565b9050602002810190610f1791906141ab565b610f20906141df565b8152602001610f3260408901896143f5565b85818110610f4257610f42613bbf565b905060600201803603810190610f58919061445c565b8152602001610f6d6080890160608a016138ba565b73ffffffffffffffffffffffffffffffffffffffff168152602001610f9860a0890160808a01614478565b67ffffffffffffffff169052611ce6565b600101610ed3565b506000610fda8535610fc38587614287565b610fd36080890160608a016138ba565b8b8a611e64565b8051909150610fe99089613fae565b975080602001518a888151811061100257611002613bbf565b6020026020010181905250806020015151890198505050505050506110278160010190565b9050610e14565b604080516101408101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082019290925261012081019190915260008281526004602081815260409283902083516101408101855281548152600182015492810192909252600281015467ffffffffffffffff808216958401959095526801000000000000000081048516606084015270010000000000000000000000000000000090049093166080820152600383015460a08201529082015473ffffffffffffffffffffffffffffffffffffffff90811660c0830152600583015490811660e083015274010000000000000000000000000000000000000000900460ff1615156101008201526006820180549192916101208401919061116790613fc1565b80601f016020809104026020016040519081016040528092919081815260200182805461119390613fc1565b80156111e05780601f106111b5576101008083540402835291602001916111e0565b820191906000526020600020905b8154815290600101906020018083116111c357829003601f168201915b5050505050815250509050919050565b61120761120236839003830183614493565b6113a8565b604080516001808252818301909252600091816020015b604080518082019091526000808252602082015281526020019060019003908161121e579050509050611259368390038301602084016142fb565b8160008151811061126c5761126c613bbf565b6020908102919091010152610ae682358261128d60e0860160c087016138ba565b346001611596565b60004261074b338483611be7565b60004282825b81811015610745576112d38686838181106112c6576112c6613bbf565b9050602002013584612681565b6001016112a9565b60006112e56128ac565b905090565b604080516001808252818301909252600091829190816020015b6040805160c081018252600080825260208083018290529282018190526060808301829052608083015260a082015282527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90920191018161130457905050905061137260208401846141ab565b61137b906141df565b8160008151811061138e5761138e613bbf565b60209081029190910101526108c083358233346001611e64565b608081015167ffffffffffffffff16158015906113dc57504267ffffffffffffffff16816080015167ffffffffffffffff16105b15611413576040517f1ab7da6b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6020808201516040808401518451835184860151606088015173ffffffffffffffffffffffffffffffffffffffff166000908152600390975293862080549596939593946114e4947f2d4116d8c9824e4c316453e5c2843a1885580374159ce8768603c49085ef424c9493928761148983614501565b909155506080808b015160408051602081019890985287019590955260608601939093529184015260a083015267ffffffffffffffff1660c082015260e0015b604051602081830303815290604052805190602001206129e4565b905061155a84606001518284602001518560400151866000015160405160200161154693929190928352602083019190915260f81b7fff0000000000000000000000000000000000000000000000000000000000000016604082015260410190565b604051602081830303815290604052612a2c565b611590576040517f8baa579f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b6040517fa2ea7c6e00000000000000000000000000000000000000000000000000000000815260048101869052600090819073ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000169063a2ea7c6e90602401600060405180830381865afa158015611626573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820160405261166c9190810190614539565b80519091506116a7576040517fbf37b20e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b855160008167ffffffffffffffff8111156116c4576116c4613c2c565b60405190808252806020026020018201604052801561176357816020015b60408051610140810182526000808252602080830182905292820181905260608083018290526080830182905260a0830182905260c0830182905260e0830182905261010083019190915261012082015282527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9092019101816116e25790505b50905060008267ffffffffffffffff81111561178157611781613c2c565b6040519080825280602002602001820160405280156117aa578160200160208202803683370190505b50905060005b83811015611bc95760008a82815181106117cc576117cc613bbf565b6020908102919091018101518051600090815260049092526040909120805491925090611825576040517fc5723b5100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8c816001015414611862576040517fbf37b20e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600581015473ffffffffffffffffffffffffffffffffffffffff8c81169116146118b8576040517f4ca8886700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600581015474010000000000000000000000000000000000000000900460ff1661190e576040517f157bd4c300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6002810154700100000000000000000000000000000000900467ffffffffffffffff1615611968576040517f905e710700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b426002820180547fffffffffffffffff0000000000000000ffffffffffffffffffffffffffffffff811670010000000000000000000000000000000067ffffffffffffffff948516810291821793849055604080516101408101825287548152600188015460208201529386169286169290921791830191909152680100000000000000008304841660608301529091049091166080820152600382015460a0820152600482015473ffffffffffffffffffffffffffffffffffffffff90811660c0830152600583015490811660e083015274010000000000000000000000000000000000000000900460ff1615156101008201526006820180548391610120840191611a7490613fc1565b80601f0160208091040260200160405190810160405280929190818152602001828054611aa090613fc1565b8015611aed5780601f10611ac257610100808354040283529160200191611aed565b820191906000526020600020905b815481529060010190602001808311611ad057829003601f168201915b505050505081525050858481518110611b0857611b08613bbf565b60200260200101819052508160200151848481518110611b2a57611b2a613bbf565b6020026020010181815250508c8b73ffffffffffffffffffffffffffffffffffffffff16868581518110611b6057611b60613bbf565b602002602001015160c0015173ffffffffffffffffffffffffffffffffffffffff167ff930a6e2523c9cc298691873087a740550b8fc85a0680830414c148ed927f6158560000151604051611bb791815260200190565b60405180910390a450506001016117b0565b50611bd984838360018b8b612aa7565b9a9950505050505050505050565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600660209081526040808320858452918290529091205467ffffffffffffffff1615611c5b576040517fec9d6eeb00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008381526020829052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffff00000000000000001667ffffffffffffffff861690811790915590519091859173ffffffffffffffffffffffffffffffffffffffff8816917f92a1f7a41a7c585a8b09e25b195e225b1d43248daca46b0faf9e0792777a222991a450505050565b608081015167ffffffffffffffff1615801590611d1a57504267ffffffffffffffff16816080015167ffffffffffffffff16105b15611d51576040517f1ab7da6b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60208082015160408084015184518351848601518486015160608088015160808901518051908b012060a08a0151928c015173ffffffffffffffffffffffffffffffffffffffff1660009081526003909b52978a208054999a979997986114e4987ff83bb2b0ede93a840239f7e701a54d9bc35f03701f51ae153d601c6947ff3d3f989796959491928b611de483614501565b909155506080808f015160408051602081019c909c528b019990995273ffffffffffffffffffffffffffffffffffffffff90971660608a015267ffffffffffffffff9586169689019690965292151560a088015260c087019190915260e086015261010085015261012084019190915216610140820152610160016114c9565b60408051808201909152600081526060602082015284516040805180820190915260008152606060208201528167ffffffffffffffff811115611ea957611ea9613c2c565b604051908082528060200260200182016040528015611ed2578160200160208202803683370190505b5060208201526040517fa2ea7c6e000000000000000000000000000000000000000000000000000000008152600481018990526000907f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff169063a2ea7c6e90602401600060405180830381865afa158015611f66573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201604052611fac9190810190614539565b8051909150611fe7576040517fbf37b20e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008367ffffffffffffffff81111561200257612002613c2c565b6040519080825280602002602001820160405280156120a157816020015b60408051610140810182526000808252602080830182905292820181905260608083018290526080830182905260a0830182905260c0830182905260e0830182905261010083019190915261012082015282527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9092019101816120205790505b50905060008467ffffffffffffffff8111156120bf576120bf613c2c565b6040519080825280602002602001820160405280156120e8578160200160208202803683370190505b50905060005b858110156125765760008b828151811061210a5761210a613bbf565b60200260200101519050600067ffffffffffffffff16816020015167ffffffffffffffff161415801561215557504267ffffffffffffffff16816020015167ffffffffffffffff1611155b1561218c576040517f08e8b93700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b846040015115801561219f575080604001515b156121d6576040517f157bd4c300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006040518061014001604052806000801b81526020018f81526020016121fa4290565b67ffffffffffffffff168152602001836020015167ffffffffffffffff168152602001600067ffffffffffffffff16815260200183606001518152602001836000015173ffffffffffffffffffffffffffffffffffffffff1681526020018d73ffffffffffffffffffffffffffffffffffffffff16815260200183604001511515815260200183608001518152509050600080600090505b61229c8382612e96565b600081815260046020526040902054909250156122bb57600101612292565b81835260008281526004602081815260409283902086518155908601516001820155918501516002830180546060880151608089015167ffffffffffffffff908116700100000000000000000000000000000000027fffffffffffffffff0000000000000000ffffffffffffffffffffffffffffffff92821668010000000000000000027fffffffffffffffffffffffffffffffff000000000000000000000000000000009094169190951617919091171691909117905560a0850151600383015560c0850151908201805473ffffffffffffffffffffffffffffffffffffffff9283167fffffffffffffffffffffffff000000000000000000000000000000000000000090911617905560e0850151600583018054610100880151151574010000000000000000000000000000000000000000027fffffffffffffffffffffff0000000000000000000000000000000000000000009091169290931691909117919091179055610120840151849190600682019061243a908261465f565b505050606084015115612491576060840151600090815260046020526040902054612491576040517fc5723b5100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b828786815181106124a4576124a4613bbf565b60200260200101819052508360a001518686815181106124c6576124c6613bbf565b60200260200101818152505081896020015186815181106124e9576124e9613bbf565b6020026020010181815250508f8e73ffffffffffffffffffffffffffffffffffffffff16856000015173ffffffffffffffffffffffffffffffffffffffff167f8bf46bf4cfd674fa735a3d63ec1c9ad4153f033c290341f3a588b75685141b358560405161255991815260200190565b60405180910390a45050505061256f8160010190565b90506120ee565b5061258683838360008c8c612aa7565b845250919998505050505050505050565b606060008267ffffffffffffffff8111156125b4576125b4613c2c565b6040519080825280602002602001820160405280156125dd578160200160208202803683370190505b508451909150600090815b8181101561267657600087828151811061260457612604613bbf565b6020026020010151905060008151905060005b818110156126625782818151811061263157612631613bbf565b602002602001015187878151811061264b5761264b613bbf565b602090810291909101015260019586019501612617565b50505061266f8160010190565b90506125e8565b509195945050505050565b60008281526005602052604090205467ffffffffffffffff16156126d1576040517f2e26794600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008281526005602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffff00000000000000001667ffffffffffffffff85169081179091559051909184917f5aafceeb1c7ad58e4a84898bdee37c02c0fc46e7d24e6b60e8209449f183459f9190a35050565b6060600061275083612ef5565b600101905060008167ffffffffffffffff81111561277057612770613c2c565b6040519080825280601f01601f19166020018201604052801561279a576020820181803683370190505b5090508181016020015b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff017f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a85049450846127a457509392505050565b606060ff831461281b5761281483612fd7565b905061074b565b81805461282790613fc1565b80601f016020809104026020016040519081016040528092919081815260200182805461285390613fc1565b80156128a05780601f10612875576101008083540402835291602001916128a0565b820191906000526020600020905b81548152906001019060200180831161288357829003601f168201915b5050505050905061074b565b60003073ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614801561291257507f000000000000000000000000000000000000000000000000000000000000000046145b1561293c57507f000000000000000000000000000000000000000000000000000000000000000090565b6112e5604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201527f0000000000000000000000000000000000000000000000000000000000000000918101919091527f000000000000000000000000000000000000000000000000000000000000000060608201524660808201523060a082015260009060c00160405160208183030381529060405280519060200120905090565b600061074b6129f16128ac565b836040517f19010000000000000000000000000000000000000000000000000000000000008152600281019290925260228201526042902090565b6000806000612a3b8585613016565b90925090506000816004811115612a5457612a54614779565b148015612a8c57508573ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b80612a9d5750612a9d86868661305b565b9695505050505050565b84516000906001819003612aff57612af78888600081518110612acc57612acc613bbf565b602002602001015188600081518110612ae757612ae7613bbf565b60200260200101518888886131b8565b915050612a9d565b602088015173ffffffffffffffffffffffffffffffffffffffff8116612ba05760005b82811015612b8557878181518110612b3c57612b3c613bbf565b6020026020010151600014612b7d576040517f1574f9f300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600101612b22565b508315612b9557612b95856134d7565b600092505050612a9d565b6000808273ffffffffffffffffffffffffffffffffffffffff1663ce46e0466040518163ffffffff1660e01b8152600401602060405180830381865afa158015612bee573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c1291906147a8565b905060005b84811015612ccf5760008a8281518110612c3357612c33613bbf565b6020026020010151905080600003612c4b5750612cc7565b82612c82576040517f1574f9f300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b88811115612cbc576040517f1101129400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b978890039792909201915b600101612c17565b508715612daa576040517f88e5b2d900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8416906388e5b2d9908490612d2c908e908e906004016147c5565b60206040518083038185885af1158015612d4a573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190612d6f91906147a8565b612da5576040517fbf2f3a8b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612e79565b6040517f91db0b7e00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8416906391db0b7e908490612e00908e908e906004016147c5565b60206040518083038185885af1158015612e1e573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190612e4391906147a8565b612e79576040517fe8bee83900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8515612e8857612e88876134d7565b509998505050505050505050565b60208083015160c084015160e0850151604080870151606088015161010089015160a08a01516101208b01519451600099612ed799989796918c9101614859565b60405160208183030381529060405280519060200120905092915050565b6000807a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310612f3e577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000830492506040015b6d04ee2d6d415b85acef81000000008310612f6a576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310612f8857662386f26fc10000830492506010015b6305f5e1008310612fa0576305f5e100830492506008015b6127108310612fb457612710830492506004015b60648310612fc6576064830492506002015b600a831061074b5760010192915050565b60606000612fe4836134ea565b604080516020808252818301909252919250600091906020820181803683375050509182525060208101929092525090565b600080825160410361304c5760208301516040840151606085015160001a6130408782858561352b565b94509450505050613054565b506000905060025b9250929050565b60008060008573ffffffffffffffffffffffffffffffffffffffff16631626ba7e60e01b8686604051602401613092929190614937565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090941693909317909252905161311b9190614958565b600060405180830381855afa9150503d8060008114613156576040519150601f19603f3d011682016040523d82523d6000602084013e61315b565b606091505b509150915081801561316f57506020815110155b8015612a9d575080517f1626ba7e00000000000000000000000000000000000000000000000000000000906131ad908301602090810190840161496a565b149695505050505050565b602086015160009073ffffffffffffffffffffffffffffffffffffffff811661322c578515613213576040517f1574f9f300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b821561322257613222846134d7565b6000915050612a9d565b8515613317578073ffffffffffffffffffffffffffffffffffffffff1663ce46e0466040518163ffffffff1660e01b8152600401602060405180830381865afa15801561327d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132a191906147a8565b6132d7576040517f1574f9f300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b83861115613311576040517f1101129400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b85840393505b84156133ef576040517fe49617e100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff82169063e49617e1908890613371908b90600401613b32565b60206040518083038185885af115801561338f573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906133b491906147a8565b6133ea576040517fccf3bb2700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6134bc565b6040517fe60c350500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff82169063e60c3505908890613443908b90600401613b32565b60206040518083038185885af1158015613461573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061348691906147a8565b6134bc576040517fbd8ba84d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b82156134cb576134cb846134d7565b50939695505050505050565b80156134e7576134e7338261361a565b50565b600060ff8216601f81111561074b576040517fb3512b0c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156135625750600090506003613611565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa1580156135b6573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff811661360a57600060019250925050613611565b9150600090505b94509492505050565b80471015613689576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e636500000060448201526064015b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff168260405160006040518083038185875af1925050503d80600081146136e3576040519150601f19603f3d011682016040523d82523d6000602084013e6136e8565b606091505b5050905080610ae6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401613680565b60008083601f84011261378b57600080fd5b50813567ffffffffffffffff8111156137a357600080fd5b6020830191508360208260051b850101111561305457600080fd5b600080602083850312156137d157600080fd5b823567ffffffffffffffff8111156137e857600080fd5b6137f485828601613779565b90969095509350505050565b60005b8381101561381b578181015183820152602001613803565b50506000910152565b6000815180845261383c816020860160208601613800565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006138816020830184613824565b9392505050565b73ffffffffffffffffffffffffffffffffffffffff811681146134e757600080fd5b80356138b581613888565b919050565b6000602082840312156138cc57600080fd5b813561388181613888565b6000602082840312156138e957600080fd5b813567ffffffffffffffff81111561390057600080fd5b820160e0818503121561388157600080fd5b6020808252825182820181905260009190848201906040850190845b8181101561394a5783518352928401929184019160010161392e565b50909695505050505050565b60006060828403121561396857600080fd5b50919050565b60006020828403121561398057600080fd5b5035919050565b600081518084526020808501945080840160005b838110156139b75781518752958201959082019060010161399b565b509495945050505050565b7fff000000000000000000000000000000000000000000000000000000000000008816815260e0602082015260006139fd60e0830189613824565b8281036040840152613a0f8189613824565b905086606084015273ffffffffffffffffffffffffffffffffffffffff861660808401528460a084015282810360c0840152611bd98185613987565b600061014082518452602083015160208501526040830151613a79604086018267ffffffffffffffff169052565b506060830151613a95606086018267ffffffffffffffff169052565b506080830151613ab1608086018267ffffffffffffffff169052565b5060a083015160a085015260c0830151613ae360c086018273ffffffffffffffffffffffffffffffffffffffff169052565b5060e0830151613b0b60e086018273ffffffffffffffffffffffffffffffffffffffff169052565b506101008381015115159085015261012080840151818601839052612a9d83870182613824565b6020815260006138816020830184613a4b565b6000610100828403121561396857600080fd5b60008060408385031215613b6b57600080fd5b8235613b7681613888565b946020939093013593505050565b600060208284031215613b9657600080fd5b813567ffffffffffffffff811115613bad57600080fd5b82016040818503121561388157600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600082357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff61833603018112613c2257600080fd5b9190910192915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405160a0810167ffffffffffffffff81118282101715613c7e57613c7e613c2c565b60405290565b60405160c0810167ffffffffffffffff81118282101715613c7e57613c7e613c2c565b6040516080810167ffffffffffffffff81118282101715613c7e57613c7e613c2c565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff81118282101715613d1157613d11613c2c565b604052919050565b600067ffffffffffffffff821115613d3357613d33613c2c565b5060051b60200190565b600060408284031215613d4f57600080fd5b6040516040810181811067ffffffffffffffff82111715613d7257613d72613c2c565b604052823581526020928301359281019290925250919050565b600060608284031215613d9e57600080fd5b6040516060810181811067ffffffffffffffff82111715613dc157613dc1613c2c565b604052905080823560ff81168114613dd857600080fd5b8082525060208301356020820152604083013560408201525092915050565b600082601f830112613e0857600080fd5b81356020613e1d613e1883613d19565b613cca565b82815260609283028501820192828201919087851115613e3c57600080fd5b8387015b85811015613e5f57613e528982613d8c565b8452928401928101613e40565b5090979650505050505050565b803567ffffffffffffffff811681146138b557600080fd5b600060a08236031215613e9657600080fd5b613e9e613c5b565b8235815260208084013567ffffffffffffffff80821115613ebe57600080fd5b9085019036601f830112613ed157600080fd5b8135613edf613e1882613d19565b81815260069190911b83018401908481019036831115613efe57600080fd5b938501935b82851015613f2757613f153686613d3d565b82528582019150604085019450613f03565b80868801525050506040860135925080831115613f4357600080fd5b5050613f5136828601613df7565b604083015250613f63606084016138aa565b6060820152613f7460808401613e6c565b608082015292915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b8181038181111561074b5761074b613f7f565b600181811c90821680613fd557607f821691505b602082108103613968577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b80151581146134e757600080fd5b600067ffffffffffffffff82111561403657614036613c2c565b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01660200190565b600060c0828403121561407457600080fd5b61407c613c84565b9050813561408981613888565b81526020614098838201613e6c565b8183015260408301356140aa8161400e565b604083015260608381013590830152608083013567ffffffffffffffff8111156140d357600080fd5b8301601f810185136140e457600080fd5b80356140f2613e188261401c565b818152868483850101111561410657600080fd5b818484018583013760008483830101528060808601525050505060a082013560a082015292915050565b600060e0823603121561414257600080fd5b61414a613c5b565b82358152602083013567ffffffffffffffff81111561416857600080fd5b61417436828601614062565b6020830152506141873660408501613d8c565b604082015260a083013561419a81613888565b6060820152613f7460c08401613e6c565b600082357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff41833603018112613c2257600080fd5b600061074b3683614062565b600082357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc1833603018112613c2257600080fd5b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe184360301811261425457600080fd5b83018035915067ffffffffffffffff82111561426f57600080fd5b6020019150600581901b360382131561305457600080fd5b6000614295613e1884613d19565b80848252602080830192508560051b8501368111156142b357600080fd5b855b818110156142ef57803567ffffffffffffffff8111156142d55760008081fd5b6142e136828a01614062565b8652509382019382016142b5565b50919695505050505050565b60006040828403121561430d57600080fd5b6138818383613d3d565b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe184360301811261434c57600080fd5b83018035915067ffffffffffffffff82111561436757600080fd5b6020019150600681901b360382131561305457600080fd5b60008451614391818460208901613800565b80830190507f2e0000000000000000000000000000000000000000000000000000000000000080825285516143cd816001850160208a01613800565b600192019182015283516143e8816002840160208801613800565b0160020195945050505050565b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe184360301811261442a57600080fd5b83018035915067ffffffffffffffff82111561444557600080fd5b602001915060608102360382131561305457600080fd5b60006060828403121561446e57600080fd5b6138818383613d8c565b60006020828403121561448a57600080fd5b61388182613e6c565b600061010082840312156144a657600080fd5b6144ae613c5b565b823581526144bf8460208501613d3d565b60208201526144d18460608501613d8c565b604082015260c08301356144e481613888565b60608201526144f560e08401613e6c565b60808201529392505050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361453257614532613f7f565b5060010190565b6000602080838503121561454c57600080fd5b825167ffffffffffffffff8082111561456457600080fd5b908401906080828703121561457857600080fd5b614580613ca7565b825181528383015161459181613888565b8185015260408301516145a38161400e565b60408201526060830151828111156145ba57600080fd5b80840193505086601f8401126145cf57600080fd5b825191506145df613e188361401c565b82815287858486010111156145f357600080fd5b61460283868301878701613800565b60608201529695505050505050565b601f821115610ae657600081815260208120601f850160051c810160208610156146385750805b601f850160051c820191505b8181101561465757828155600101614644565b505050505050565b815167ffffffffffffffff81111561467957614679613c2c565b61468d816146878454613fc1565b84614611565b602080601f8311600181146146e057600084156146aa5750858301515b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600386901b1c1916600185901b178555614657565b6000858152602081207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08616915b8281101561472d5788860151825594840194600190910190840161470e565b508582101561476957878501517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600388901b60f8161c191681555b5050505050600190811b01905550565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6000602082840312156147ba57600080fd5b81516138818161400e565b6000604082016040835280855180835260608501915060608160051b8601019250602080880160005b8381101561483a577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa0888703018552614828868351613a4b565b955093820193908201906001016147ee565b5050858403818701525050506148508185613987565b95945050505050565b89815260007fffffffffffffffffffffffffffffffffffffffff000000000000000000000000808b60601b166020840152808a60601b166034840152507fffffffffffffffff000000000000000000000000000000000000000000000000808960c01b166048840152808860c01b1660508401525085151560f81b605883015284605983015283516148f2816079850160208801613800565b80830190507fffffffff000000000000000000000000000000000000000000000000000000008460e01b166079820152607d81019150509a9950505050505050505050565b8281526040602082015260006149506040830184613824565b949350505050565b60008251613c22818460208701613800565b60006020828403121561497c57600080fd5b505191905056fea164736f6c6343000813000a";class s extends a.ContractFactory{constructor(){for(var e=arguments.length,t=new Array(e),n=0;n1?super(...t):super(i,o,t[0])}getDeployTransaction(e,t){return super.getDeployTransaction(e,t||{})}deploy(e,t){return super.deploy(e,t||{})}connect(e){return super.connect(e)}static createInterface(){return new a.Interface(i)}static connect(e,t){return new a.Contract(e,i,t)}}r(s,"bytecode",o),r(s,"abi",i),t.EAS__factory=s},23060:(e,t,n)=>{"use strict";var r=n(38416).default;Object.defineProperty(t,"__esModule",{value:!0}),t.IEAS__factory=void 0;const a=n(79332),i=[{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"recipient",type:"address"},{indexed:!0,internalType:"address",name:"attester",type:"address"},{indexed:!1,internalType:"bytes32",name:"uid",type:"bytes32"},{indexed:!0,internalType:"bytes32",name:"schemaUID",type:"bytes32"}],name:"Attested",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"recipient",type:"address"},{indexed:!0,internalType:"address",name:"attester",type:"address"},{indexed:!1,internalType:"bytes32",name:"uid",type:"bytes32"},{indexed:!0,internalType:"bytes32",name:"schemaUID",type:"bytes32"}],name:"Revoked",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"revoker",type:"address"},{indexed:!0,internalType:"bytes32",name:"data",type:"bytes32"},{indexed:!0,internalType:"uint64",name:"timestamp",type:"uint64"}],name:"RevokedOffchain",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"data",type:"bytes32"},{indexed:!0,internalType:"uint64",name:"timestamp",type:"uint64"}],name:"Timestamped",type:"event"},{inputs:[{components:[{internalType:"bytes32",name:"schema",type:"bytes32"},{components:[{internalType:"address",name:"recipient",type:"address"},{internalType:"uint64",name:"expirationTime",type:"uint64"},{internalType:"bool",name:"revocable",type:"bool"},{internalType:"bytes32",name:"refUID",type:"bytes32"},{internalType:"bytes",name:"data",type:"bytes"},{internalType:"uint256",name:"value",type:"uint256"}],internalType:"struct AttestationRequestData",name:"data",type:"tuple"}],internalType:"struct AttestationRequest",name:"request",type:"tuple"}],name:"attest",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"payable",type:"function"},{inputs:[{components:[{internalType:"bytes32",name:"schema",type:"bytes32"},{components:[{internalType:"address",name:"recipient",type:"address"},{internalType:"uint64",name:"expirationTime",type:"uint64"},{internalType:"bool",name:"revocable",type:"bool"},{internalType:"bytes32",name:"refUID",type:"bytes32"},{internalType:"bytes",name:"data",type:"bytes"},{internalType:"uint256",name:"value",type:"uint256"}],internalType:"struct AttestationRequestData",name:"data",type:"tuple"},{components:[{internalType:"uint8",name:"v",type:"uint8"},{internalType:"bytes32",name:"r",type:"bytes32"},{internalType:"bytes32",name:"s",type:"bytes32"}],internalType:"struct Signature",name:"signature",type:"tuple"},{internalType:"address",name:"attester",type:"address"},{internalType:"uint64",name:"deadline",type:"uint64"}],internalType:"struct DelegatedAttestationRequest",name:"delegatedRequest",type:"tuple"}],name:"attestByDelegation",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"payable",type:"function"},{inputs:[{internalType:"bytes32",name:"uid",type:"bytes32"}],name:"getAttestation",outputs:[{components:[{internalType:"bytes32",name:"uid",type:"bytes32"},{internalType:"bytes32",name:"schema",type:"bytes32"},{internalType:"uint64",name:"time",type:"uint64"},{internalType:"uint64",name:"expirationTime",type:"uint64"},{internalType:"uint64",name:"revocationTime",type:"uint64"},{internalType:"bytes32",name:"refUID",type:"bytes32"},{internalType:"address",name:"recipient",type:"address"},{internalType:"address",name:"attester",type:"address"},{internalType:"bool",name:"revocable",type:"bool"},{internalType:"bytes",name:"data",type:"bytes"}],internalType:"struct Attestation",name:"",type:"tuple"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"revoker",type:"address"},{internalType:"bytes32",name:"data",type:"bytes32"}],name:"getRevokeOffchain",outputs:[{internalType:"uint64",name:"",type:"uint64"}],stateMutability:"view",type:"function"},{inputs:[],name:"getSchemaRegistry",outputs:[{internalType:"contract ISchemaRegistry",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32",name:"data",type:"bytes32"}],name:"getTimestamp",outputs:[{internalType:"uint64",name:"",type:"uint64"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32",name:"uid",type:"bytes32"}],name:"isAttestationValid",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{components:[{internalType:"bytes32",name:"schema",type:"bytes32"},{components:[{internalType:"address",name:"recipient",type:"address"},{internalType:"uint64",name:"expirationTime",type:"uint64"},{internalType:"bool",name:"revocable",type:"bool"},{internalType:"bytes32",name:"refUID",type:"bytes32"},{internalType:"bytes",name:"data",type:"bytes"},{internalType:"uint256",name:"value",type:"uint256"}],internalType:"struct AttestationRequestData[]",name:"data",type:"tuple[]"}],internalType:"struct MultiAttestationRequest[]",name:"multiRequests",type:"tuple[]"}],name:"multiAttest",outputs:[{internalType:"bytes32[]",name:"",type:"bytes32[]"}],stateMutability:"payable",type:"function"},{inputs:[{components:[{internalType:"bytes32",name:"schema",type:"bytes32"},{components:[{internalType:"address",name:"recipient",type:"address"},{internalType:"uint64",name:"expirationTime",type:"uint64"},{internalType:"bool",name:"revocable",type:"bool"},{internalType:"bytes32",name:"refUID",type:"bytes32"},{internalType:"bytes",name:"data",type:"bytes"},{internalType:"uint256",name:"value",type:"uint256"}],internalType:"struct AttestationRequestData[]",name:"data",type:"tuple[]"},{components:[{internalType:"uint8",name:"v",type:"uint8"},{internalType:"bytes32",name:"r",type:"bytes32"},{internalType:"bytes32",name:"s",type:"bytes32"}],internalType:"struct Signature[]",name:"signatures",type:"tuple[]"},{internalType:"address",name:"attester",type:"address"},{internalType:"uint64",name:"deadline",type:"uint64"}],internalType:"struct MultiDelegatedAttestationRequest[]",name:"multiDelegatedRequests",type:"tuple[]"}],name:"multiAttestByDelegation",outputs:[{internalType:"bytes32[]",name:"",type:"bytes32[]"}],stateMutability:"payable",type:"function"},{inputs:[{components:[{internalType:"bytes32",name:"schema",type:"bytes32"},{components:[{internalType:"bytes32",name:"uid",type:"bytes32"},{internalType:"uint256",name:"value",type:"uint256"}],internalType:"struct RevocationRequestData[]",name:"data",type:"tuple[]"}],internalType:"struct MultiRevocationRequest[]",name:"multiRequests",type:"tuple[]"}],name:"multiRevoke",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{components:[{internalType:"bytes32",name:"schema",type:"bytes32"},{components:[{internalType:"bytes32",name:"uid",type:"bytes32"},{internalType:"uint256",name:"value",type:"uint256"}],internalType:"struct RevocationRequestData[]",name:"data",type:"tuple[]"},{components:[{internalType:"uint8",name:"v",type:"uint8"},{internalType:"bytes32",name:"r",type:"bytes32"},{internalType:"bytes32",name:"s",type:"bytes32"}],internalType:"struct Signature[]",name:"signatures",type:"tuple[]"},{internalType:"address",name:"revoker",type:"address"},{internalType:"uint64",name:"deadline",type:"uint64"}],internalType:"struct MultiDelegatedRevocationRequest[]",name:"multiDelegatedRequests",type:"tuple[]"}],name:"multiRevokeByDelegation",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"bytes32[]",name:"data",type:"bytes32[]"}],name:"multiRevokeOffchain",outputs:[{internalType:"uint64",name:"",type:"uint64"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32[]",name:"data",type:"bytes32[]"}],name:"multiTimestamp",outputs:[{internalType:"uint64",name:"",type:"uint64"}],stateMutability:"nonpayable",type:"function"},{inputs:[{components:[{internalType:"bytes32",name:"schema",type:"bytes32"},{components:[{internalType:"bytes32",name:"uid",type:"bytes32"},{internalType:"uint256",name:"value",type:"uint256"}],internalType:"struct RevocationRequestData",name:"data",type:"tuple"}],internalType:"struct RevocationRequest",name:"request",type:"tuple"}],name:"revoke",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{components:[{internalType:"bytes32",name:"schema",type:"bytes32"},{components:[{internalType:"bytes32",name:"uid",type:"bytes32"},{internalType:"uint256",name:"value",type:"uint256"}],internalType:"struct RevocationRequestData",name:"data",type:"tuple"},{components:[{internalType:"uint8",name:"v",type:"uint8"},{internalType:"bytes32",name:"r",type:"bytes32"},{internalType:"bytes32",name:"s",type:"bytes32"}],internalType:"struct Signature",name:"signature",type:"tuple"},{internalType:"address",name:"revoker",type:"address"},{internalType:"uint64",name:"deadline",type:"uint64"}],internalType:"struct DelegatedRevocationRequest",name:"delegatedRequest",type:"tuple"}],name:"revokeByDelegation",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"bytes32",name:"data",type:"bytes32"}],name:"revokeOffchain",outputs:[{internalType:"uint64",name:"",type:"uint64"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"data",type:"bytes32"}],name:"timestamp",outputs:[{internalType:"uint64",name:"",type:"uint64"}],stateMutability:"nonpayable",type:"function"}];class o{static createInterface(){return new a.Interface(i)}static connect(e,t){return new a.Contract(e,i,t)}}r(o,"abi",i),t.IEAS__factory=o},86634:(e,t,n)=>{"use strict";var r=n(38416).default;Object.defineProperty(t,"__esModule",{value:!0}),t.ISchemaRegistry__factory=void 0;const a=n(79332),i=[{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"uid",type:"bytes32"},{indexed:!0,internalType:"address",name:"registerer",type:"address"},{components:[{internalType:"bytes32",name:"uid",type:"bytes32"},{internalType:"contract ISchemaResolver",name:"resolver",type:"address"},{internalType:"bool",name:"revocable",type:"bool"},{internalType:"string",name:"schema",type:"string"}],indexed:!1,internalType:"struct SchemaRecord",name:"schema",type:"tuple"}],name:"Registered",type:"event"},{inputs:[{internalType:"bytes32",name:"uid",type:"bytes32"}],name:"getSchema",outputs:[{components:[{internalType:"bytes32",name:"uid",type:"bytes32"},{internalType:"contract ISchemaResolver",name:"resolver",type:"address"},{internalType:"bool",name:"revocable",type:"bool"},{internalType:"string",name:"schema",type:"string"}],internalType:"struct SchemaRecord",name:"",type:"tuple"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"string",name:"schema",type:"string"},{internalType:"contract ISchemaResolver",name:"resolver",type:"address"},{internalType:"bool",name:"revocable",type:"bool"}],name:"register",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"nonpayable",type:"function"}];class o{static createInterface(){return new a.Interface(i)}static connect(e,t){return new a.Contract(e,i,t)}}r(o,"abi",i),t.ISchemaRegistry__factory=o},31270:(e,t,n)=>{"use strict";var r=n(38416).default;Object.defineProperty(t,"__esModule",{value:!0}),t.SchemaRegistry__factory=void 0;const a=n(79332),i=[{inputs:[],stateMutability:"nonpayable",type:"constructor"},{inputs:[],name:"AlreadyExists",type:"error"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"uid",type:"bytes32"},{indexed:!0,internalType:"address",name:"registerer",type:"address"},{components:[{internalType:"bytes32",name:"uid",type:"bytes32"},{internalType:"contract ISchemaResolver",name:"resolver",type:"address"},{internalType:"bool",name:"revocable",type:"bool"},{internalType:"string",name:"schema",type:"string"}],indexed:!1,internalType:"struct SchemaRecord",name:"schema",type:"tuple"}],name:"Registered",type:"event"},{inputs:[{internalType:"bytes32",name:"uid",type:"bytes32"}],name:"getSchema",outputs:[{components:[{internalType:"bytes32",name:"uid",type:"bytes32"},{internalType:"contract ISchemaResolver",name:"resolver",type:"address"},{internalType:"bool",name:"revocable",type:"bool"},{internalType:"string",name:"schema",type:"string"}],internalType:"struct SchemaRecord",name:"",type:"tuple"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"string",name:"schema",type:"string"},{internalType:"contract ISchemaResolver",name:"resolver",type:"address"},{internalType:"bool",name:"revocable",type:"bool"}],name:"register",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"version",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"}],o="0x60e060405234801561001057600080fd5b506001608052600260a052600060c05260805160a05160c051610a8461004c600039600060fe0152600060d50152600060ac0152610a846000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c806354fd4d501461004657806360d7a27814610064578063a2ea7c6e14610085575b600080fd5b61004e6100a5565b60405161005b9190610683565b60405180910390f35b61007761007236600461069d565b610148565b60405190815260200161005b565b61009861009336600461074f565b61030c565b60405161005b9190610768565b60606100d07f0000000000000000000000000000000000000000000000000000000000000000610434565b6100f97f0000000000000000000000000000000000000000000000000000000000000000610434565b6101227f0000000000000000000000000000000000000000000000000000000000000000610434565b604051602001610134939291906107c1565b604051602081830303815290604052905090565b60008060405180608001604052806000801b81526020018573ffffffffffffffffffffffffffffffffffffffff168152602001841515815260200187878080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920182905250939094525092935091506101ca9050826104f2565b60008181526020819052604090205490915015610213576040517f23369fa600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80825260008181526020818152604091829020845181559084015160018201805493860151151574010000000000000000000000000000000000000000027fffffffffffffffffffffff00000000000000000000000000000000000000000090941673ffffffffffffffffffffffffffffffffffffffff9092169190911792909217909155606083015183919060028201906102af9082610908565b509050503373ffffffffffffffffffffffffffffffffffffffff16817fd0b86852e21f9e5fa4bc3b0cff9757ffe243d50c4b43968a42202153d651ea5e846040516102fa9190610768565b60405180910390a39695505050505050565b604080516080810182526000808252602082018190529181019190915260608082015260008281526020818152604091829020825160808101845281548152600182015473ffffffffffffffffffffffffffffffffffffffff8116938201939093527401000000000000000000000000000000000000000090920460ff161515928201929092526002820180549192916060840191906103ab90610866565b80601f01602080910402602001604051908101604052809291908181526020018280546103d790610866565b80156104245780601f106103f957610100808354040283529160200191610424565b820191906000526020600020905b81548152906001019060200180831161040757829003601f168201915b5050505050815250509050919050565b6060600061044183610532565b600101905060008167ffffffffffffffff81111561046157610461610837565b6040519080825280601f01601f19166020018201604052801561048b576020820181803683370190505b5090508181016020015b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff017f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a850494508461049557509392505050565b600081606001518260200151836040015160405160200161051593929190610a22565b604051602081830303815290604052805190602001209050919050565b6000807a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000831061057b577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000830492506040015b6d04ee2d6d415b85acef810000000083106105a7576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106105c557662386f26fc10000830492506010015b6305f5e10083106105dd576305f5e100830492506008015b61271083106105f157612710830492506004015b60648310610603576064830492506002015b600a831061060f576001015b92915050565b60005b83811015610630578181015183820152602001610618565b50506000910152565b60008151808452610651816020860160208601610615565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006106966020830184610639565b9392505050565b600080600080606085870312156106b357600080fd5b843567ffffffffffffffff808211156106cb57600080fd5b818701915087601f8301126106df57600080fd5b8135818111156106ee57600080fd5b88602082850101111561070057600080fd5b6020928301965094505085013573ffffffffffffffffffffffffffffffffffffffff8116811461072f57600080fd5b91506040850135801515811461074457600080fd5b939692955090935050565b60006020828403121561076157600080fd5b5035919050565b602081528151602082015273ffffffffffffffffffffffffffffffffffffffff6020830151166040820152604082015115156060820152600060608301516080808401526107b960a0840182610639565b949350505050565b600084516107d3818460208901610615565b80830190507f2e00000000000000000000000000000000000000000000000000000000000000808252855161080f816001850160208a01610615565b6001920191820152835161082a816002840160208801610615565b0160020195945050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600181811c9082168061087a57607f821691505b6020821081036108b3577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b601f82111561090357600081815260208120601f850160051c810160208610156108e05750805b601f850160051c820191505b818110156108ff578281556001016108ec565b5050505b505050565b815167ffffffffffffffff81111561092257610922610837565b610936816109308454610866565b846108b9565b602080601f83116001811461098957600084156109535750858301515b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600386901b1c1916600185901b1785556108ff565b6000858152602081207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08616915b828110156109d6578886015182559484019460019091019084016109b7565b5085821015610a1257878501517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600388901b60f8161c191681555b5050505050600190811b01905550565b60008451610a34818460208901610615565b60609490941b7fffffffffffffffffffffffffffffffffffffffff000000000000000000000000169190930190815290151560f81b60148201526015019291505056fea164736f6c6343000813000a";class s extends a.ContractFactory{constructor(){for(var e=arguments.length,t=new Array(e),n=0;n1?super(...t):super(i,o,t[0])}getDeployTransaction(e){return super.getDeployTransaction(e||{})}deploy(e){return super.deploy(e||{})}connect(e){return super.connect(e)}static createInterface(){return new a.Interface(i)}static connect(e,t){return new a.Contract(e,i,t)}}r(s,"bytecode",o),r(s,"abi",i),t.SchemaRegistry__factory=s},47875:(e,t,n)=>{"use strict";var r=n(38416).default;Object.defineProperty(t,"__esModule",{value:!0}),t.Semver__factory=void 0;const a=n(79332),i=[{inputs:[{internalType:"uint256",name:"major",type:"uint256"},{internalType:"uint256",name:"minor",type:"uint256"},{internalType:"uint256",name:"patch",type:"uint256"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[],name:"version",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"}],o="0x60e060405234801561001057600080fd5b5060405161045338038061045383398101604081905261002f91610040565b60809290925260a05260c05261006e565b60008060006060848603121561005557600080fd5b8351925060208401519150604084015190509250925092565b60805160a05160c0516103b961009a600039600060a701526000607e01526000605501526103b96000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c806354fd4d5014610030575b600080fd5b61003861004e565b60405161004591906102b6565b60405180910390f35b60606100797f00000000000000000000000000000000000000000000000000000000000000006100f1565b6100a27f00000000000000000000000000000000000000000000000000000000000000006100f1565b6100cb7f00000000000000000000000000000000000000000000000000000000000000006100f1565b6040516020016100dd93929190610307565b604051602081830303815290604052905090565b606060006100fe836101af565b600101905060008167ffffffffffffffff81111561011e5761011e61037d565b6040519080825280601f01601f191660200182016040528015610148576020820181803683370190505b5090508181016020015b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff017f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a850494508461015257509392505050565b6000807a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083106101f8577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000830492506040015b6d04ee2d6d415b85acef81000000008310610224576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061024257662386f26fc10000830492506010015b6305f5e100831061025a576305f5e100830492506008015b612710831061026e57612710830492506004015b60648310610280576064830492506002015b600a831061028c576001015b92915050565b60005b838110156102ad578181015183820152602001610295565b50506000910152565b60208152600082518060208401526102d5816040850160208701610292565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160400192915050565b60008451610319818460208901610292565b80830190507f2e000000000000000000000000000000000000000000000000000000000000008082528551610355816001850160208a01610292565b60019201918201528351610370816002840160208801610292565b0160020195945050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fdfea164736f6c6343000813000a";class s extends a.ContractFactory{constructor(){for(var e=arguments.length,t=new Array(e),n=0;n1?super(...t):super(i,o,t[0])}getDeployTransaction(e,t,n,r){return super.getDeployTransaction(e,t,n,r||{})}deploy(e,t,n,r){return super.deploy(e,t,n,r||{})}connect(e){return super.connect(e)}static createInterface(){return new a.Interface(i)}static connect(e,t){return new a.Contract(e,i,t)}}r(s,"bytecode",o),r(s,"abi",i),t.Semver__factory=s},33579:(e,t,n)=>{"use strict";var r=n(38416).default;Object.defineProperty(t,"__esModule",{value:!0}),t.EIP1271Verifier__factory=void 0;const a=n(79332),i=[{inputs:[],name:"InvalidNonce",type:"error"},{inputs:[],name:"InvalidShortString",type:"error"},{inputs:[{internalType:"string",name:"str",type:"string"}],name:"StringTooLong",type:"error"},{anonymous:!1,inputs:[],name:"EIP712DomainChanged",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"oldNonce",type:"uint256"},{indexed:!1,internalType:"uint256",name:"newNonce",type:"uint256"}],name:"NonceIncreased",type:"event"},{inputs:[],name:"eip712Domain",outputs:[{internalType:"bytes1",name:"fields",type:"bytes1"},{internalType:"string",name:"name",type:"string"},{internalType:"string",name:"version",type:"string"},{internalType:"uint256",name:"chainId",type:"uint256"},{internalType:"address",name:"verifyingContract",type:"address"},{internalType:"bytes32",name:"salt",type:"bytes32"},{internalType:"uint256[]",name:"extensions",type:"uint256[]"}],stateMutability:"view",type:"function"},{inputs:[],name:"getAttestTypeHash",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"pure",type:"function"},{inputs:[],name:"getDomainSeparator",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"getName",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"account",type:"address"}],name:"getNonce",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"getRevokeTypeHash",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"pure",type:"function"},{inputs:[{internalType:"uint256",name:"newNonce",type:"uint256"}],name:"increaseNonce",outputs:[],stateMutability:"nonpayable",type:"function"}];class o{static createInterface(){return new a.Interface(i)}static connect(e,t){return new a.Contract(e,i,t)}}r(o,"abi",i),t.EIP1271Verifier__factory=o},91905:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EIP1271Verifier__factory=void 0;var r=n(33579);Object.defineProperty(t,"EIP1271Verifier__factory",{enumerable:!0,get:function(){return r.EIP1271Verifier__factory}})},49939:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.proxy=void 0,t.proxy=i(n(27649))},21741:(e,t,n)=>{"use strict";var r=n(38416).default;Object.defineProperty(t,"__esModule",{value:!0}),t.EIP712Proxy__factory=void 0;const a=n(79332),i=[{inputs:[{internalType:"contract IEAS",name:"eas",type:"address"},{internalType:"string",name:"name",type:"string"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[],name:"AccessDenied",type:"error"},{inputs:[],name:"DeadlineExpired",type:"error"},{inputs:[],name:"InvalidEAS",type:"error"},{inputs:[],name:"InvalidLength",type:"error"},{inputs:[],name:"InvalidShortString",type:"error"},{inputs:[],name:"InvalidSignature",type:"error"},{inputs:[],name:"NotFound",type:"error"},{inputs:[{internalType:"string",name:"str",type:"string"}],name:"StringTooLong",type:"error"},{inputs:[],name:"UsedSignature",type:"error"},{anonymous:!1,inputs:[],name:"EIP712DomainChanged",type:"event"},{inputs:[{components:[{internalType:"bytes32",name:"schema",type:"bytes32"},{components:[{internalType:"address",name:"recipient",type:"address"},{internalType:"uint64",name:"expirationTime",type:"uint64"},{internalType:"bool",name:"revocable",type:"bool"},{internalType:"bytes32",name:"refUID",type:"bytes32"},{internalType:"bytes",name:"data",type:"bytes"},{internalType:"uint256",name:"value",type:"uint256"}],internalType:"struct AttestationRequestData",name:"data",type:"tuple"},{components:[{internalType:"uint8",name:"v",type:"uint8"},{internalType:"bytes32",name:"r",type:"bytes32"},{internalType:"bytes32",name:"s",type:"bytes32"}],internalType:"struct Signature",name:"signature",type:"tuple"},{internalType:"address",name:"attester",type:"address"},{internalType:"uint64",name:"deadline",type:"uint64"}],internalType:"struct DelegatedProxyAttestationRequest",name:"delegatedRequest",type:"tuple"}],name:"attestByDelegation",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"payable",type:"function"},{inputs:[],name:"eip712Domain",outputs:[{internalType:"bytes1",name:"fields",type:"bytes1"},{internalType:"string",name:"name",type:"string"},{internalType:"string",name:"version",type:"string"},{internalType:"uint256",name:"chainId",type:"uint256"},{internalType:"address",name:"verifyingContract",type:"address"},{internalType:"bytes32",name:"salt",type:"bytes32"},{internalType:"uint256[]",name:"extensions",type:"uint256[]"}],stateMutability:"view",type:"function"},{inputs:[],name:"getAttestTypeHash",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"pure",type:"function"},{inputs:[{internalType:"bytes32",name:"uid",type:"bytes32"}],name:"getAttester",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"getDomainSeparator",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"getEAS",outputs:[{internalType:"contract IEAS",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"getName",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{inputs:[],name:"getRevokeTypeHash",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"pure",type:"function"},{inputs:[{components:[{internalType:"bytes32",name:"schema",type:"bytes32"},{components:[{internalType:"address",name:"recipient",type:"address"},{internalType:"uint64",name:"expirationTime",type:"uint64"},{internalType:"bool",name:"revocable",type:"bool"},{internalType:"bytes32",name:"refUID",type:"bytes32"},{internalType:"bytes",name:"data",type:"bytes"},{internalType:"uint256",name:"value",type:"uint256"}],internalType:"struct AttestationRequestData[]",name:"data",type:"tuple[]"},{components:[{internalType:"uint8",name:"v",type:"uint8"},{internalType:"bytes32",name:"r",type:"bytes32"},{internalType:"bytes32",name:"s",type:"bytes32"}],internalType:"struct Signature[]",name:"signatures",type:"tuple[]"},{internalType:"address",name:"attester",type:"address"},{internalType:"uint64",name:"deadline",type:"uint64"}],internalType:"struct MultiDelegatedProxyAttestationRequest[]",name:"multiDelegatedRequests",type:"tuple[]"}],name:"multiAttestByDelegation",outputs:[{internalType:"bytes32[]",name:"",type:"bytes32[]"}],stateMutability:"payable",type:"function"},{inputs:[{components:[{internalType:"bytes32",name:"schema",type:"bytes32"},{components:[{internalType:"bytes32",name:"uid",type:"bytes32"},{internalType:"uint256",name:"value",type:"uint256"}],internalType:"struct RevocationRequestData[]",name:"data",type:"tuple[]"},{components:[{internalType:"uint8",name:"v",type:"uint8"},{internalType:"bytes32",name:"r",type:"bytes32"},{internalType:"bytes32",name:"s",type:"bytes32"}],internalType:"struct Signature[]",name:"signatures",type:"tuple[]"},{internalType:"address",name:"revoker",type:"address"},{internalType:"uint64",name:"deadline",type:"uint64"}],internalType:"struct MultiDelegatedProxyRevocationRequest[]",name:"multiDelegatedRequests",type:"tuple[]"}],name:"multiRevokeByDelegation",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{components:[{internalType:"bytes32",name:"schema",type:"bytes32"},{components:[{internalType:"bytes32",name:"uid",type:"bytes32"},{internalType:"uint256",name:"value",type:"uint256"}],internalType:"struct RevocationRequestData",name:"data",type:"tuple"},{components:[{internalType:"uint8",name:"v",type:"uint8"},{internalType:"bytes32",name:"r",type:"bytes32"},{internalType:"bytes32",name:"s",type:"bytes32"}],internalType:"struct Signature",name:"signature",type:"tuple"},{internalType:"address",name:"revoker",type:"address"},{internalType:"uint64",name:"deadline",type:"uint64"}],internalType:"struct DelegatedProxyRevocationRequest",name:"delegatedRequest",type:"tuple"}],name:"revokeByDelegation",outputs:[],stateMutability:"payable",type:"function"},{inputs:[],name:"version",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"}],o="0x6101e06040523480156200001257600080fd5b5060405162002d7638038062002d7683398101604081905262000035916200022c565b6040805180820190915260058152640312e322e360dc1b60208201526001608052600260a052600060c0819052829190620000729083906200016b565b61018052620000838160016200016b565b6101a052815160208084019190912061014052815190820120610160524661010052620001146101405161016051604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201529081019290925260608201524660808201523060a082015260009060c00160405160208183030381529060405280519060200120905090565b60e052505030610120526001600160a01b03821662000146576040516341bc07ff60e11b815260040160405180910390fd5b6001600160a01b0382166101c052600262000162828262000396565b505050620004bc565b60006020835110156200018b576200018383620001a4565b90506200019e565b8162000198848262000396565b5060ff90505b92915050565b600080829050601f81511115620001db578260405163305a27a960e01b8152600401620001d2919062000462565b60405180910390fd5b8051620001e88262000497565b179392505050565b634e487b7160e01b600052604160045260246000fd5b60005b838110156200022357818101518382015260200162000209565b50506000910152565b600080604083850312156200024057600080fd5b82516001600160a01b03811681146200025857600080fd5b60208401519092506001600160401b03808211156200027657600080fd5b818501915085601f8301126200028b57600080fd5b815181811115620002a057620002a0620001f0565b604051601f8201601f19908116603f01168101908382118183101715620002cb57620002cb620001f0565b81604052828152886020848701011115620002e557600080fd5b620002f883602083016020880162000206565b80955050505050509250929050565b600181811c908216806200031c57607f821691505b6020821081036200033d57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200039157600081815260208120601f850160051c810160208610156200036c5750805b601f850160051c820191505b818110156200038d5782815560010162000378565b5050505b505050565b81516001600160401b03811115620003b257620003b2620001f0565b620003ca81620003c3845462000307565b8462000343565b602080601f831160018114620004025760008415620003e95750858301515b600019600386901b1c1916600185901b1785556200038d565b600085815260208120601f198616915b82811015620004335788860151825594840194600190910190840162000412565b5085821015620004525787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60208152600082518060208401526200048381604085016020870162000206565b601f01601f19169190910160400192915050565b805160208083015191908110156200033d5760001960209190910360031b1b16919050565b60805160a05160c05160e05161010051610120516101405161016051610180516101a0516101c0516128176200055f600039600081816101e4015281816104d1015281816105e901528181610a9d0152610c7e015260006107f8015260006107ce015260006113d9015260006113b10152600061130c0152600061133601526000611360015260006107760152600061074d0152600061072401526128176000f3fe6080604052600436106100c75760003560e01c806365c40b9c11610074578063a6d4dbc71161004e578063a6d4dbc714610250578063b83010d314610263578063ed24911d1461029657600080fd5b806365c40b9c146101d557806384b0196e14610208578063954115251461023057600080fd5b806317d7de7c116100a557806317d7de7c1461018b5780633c042715146101ad57806354fd4d50146101c057600080fd5b80630eabf660146100cc57806310d736d5146100e157806312b11a171461014e575b600080fd5b6100df6100da366004611a00565b6102ab565b005b3480156100ed57600080fd5b506101246100fc366004611a42565b60009081526003602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b34801561015a57600080fd5b507f9d3e80e7032dc16815a5f67aa94e851240ae3b24eed13a7431bdac738f8145675b604051908152602001610145565b34801561019757600080fd5b506101a0610540565b6040516101459190611ac9565b61017d6101bb366004611ae3565b6105d2565b3480156101cc57600080fd5b506101a061071d565b3480156101e157600080fd5b507f0000000000000000000000000000000000000000000000000000000000000000610124565b34801561021457600080fd5b5061021d6107c0565b6040516101459796959493929190611b1e565b61024361023e366004611a00565b610864565b6040516101459190611bdd565b6100df61025e366004611c21565b610c65565b34801561026f57600080fd5b507fd4e76f924411647a916bb4ae4631b3cf45c44e2da56ed1c63edb18ebc97ba5e461017d565b3480156102a257600080fd5b5061017d610d65565b8060008167ffffffffffffffff8111156102c7576102c7611c3a565b60405190808252806020026020018201604052801561030d57816020015b6040805180820190915260008152606060208201528152602001906001900390816102e55790505b50905060005b8281101561049357600085858381811061032f5761032f611c69565b90506020028101906103419190611c98565b61034a90611f05565b602081015180519192509080158061036757508260400151518114155b1561039e576040517f947d5a8400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b818110156104485760008382815181106103bd576103bd611c69565b6020026020010151905061043f6040518060a0016040528087600001518152602001838152602001876040015185815181106103fb576103fb611c69565b60200260200101518152602001876060015173ffffffffffffffffffffffffffffffffffffffff168152602001876080015167ffffffffffffffff16815250610d74565b506001016103a1565b506040518060400160405280846000015181526020018381525085858151811061047457610474611c69565b602002602001018190525050505061048c8160010190565b9050610313565b506040517f4cb7e9e500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001690634cb7e9e5903490610508908590600401612000565b6000604051808303818588803b15801561052157600080fd5b505af1158015610535573d6000803e3d6000fd5b505050505050505050565b60606002805461054f906120cf565b80601f016020809104026020016040519081016040528092919081815260200182805461057b906120cf565b80156105c85780601f1061059d576101008083540402835291602001916105c8565b820191906000526020600020905b8154815290600101906020018083116105ab57829003601f168201915b5050505050905090565b60006105e56105e083612240565b610fb6565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663f17325e73460405180604001604052808760000135815260200187806020019061064991906122b9565b610652906122ed565b8152506040518363ffffffff1660e01b8152600401610671919061236c565b60206040518083038185885af115801561068f573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906106b49190612399565b90506106c660c0840160a085016123b2565b600082815260036020526040902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff9290921691909117905592915050565b60606107487f0000000000000000000000000000000000000000000000000000000000000000611189565b6107717f0000000000000000000000000000000000000000000000000000000000000000611189565b61079a7f0000000000000000000000000000000000000000000000000000000000000000611189565b6040516020016107ac939291906123cd565b604051602081830303815290604052905090565b6000606080828080836107f37f000000000000000000000000000000000000000000000000000000000000000083611247565b61081e7f00000000000000000000000000000000000000000000000000000000000000006001611247565b604080516000808252602082019092527f0f000000000000000000000000000000000000000000000000000000000000009b939a50919850469750309650945092509050565b60608160008167ffffffffffffffff81111561088257610882611c3a565b6040519080825280602002602001820160405280156108c857816020015b6040805180820190915260008152606060208201528152602001906001900390816108a05790505b50905060005b82811015610a9857368686838181106108e9576108e9611c69565b90506020028101906108fb9190611c98565b905036600061090d6020840184612443565b90925090508080158061092e575061092860408501856124ab565b90508114155b15610965576040517f947d5a8400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b81811015610a4657610a3e6040518060a001604052808760000135815260200186868581811061099a5761099a611c69565b90506020028101906109ac91906122b9565b6109b5906122ed565b81526020016109c760408901896124ab565b858181106109d7576109d7611c69565b9050606002018036038101906109ed9190612512565b8152602001610a026080890160608a016123b2565b73ffffffffffffffffffffffffffffffffffffffff168152602001610a2d60a0890160808a0161252e565b67ffffffffffffffff169052610fb6565b600101610968565b50604080518082019091528435815260208101610a638486612549565b815250868681518110610a7857610a78611c69565b602002602001018190525050505050610a918160010190565b90506108ce565b5060007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166344adc90e34846040518363ffffffff1660e01b8152600401610af591906125bd565b60006040518083038185885af1158015610b13573d6000803e3d6000fd5b50505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201604052610b5a91908101906126b0565b90506000805b84811015610c575736888883818110610b7b57610b7b611c69565b9050602002810190610b8d9190611c98565b9050366000610b9f6020840184612443565b90925090508060005b81811015610c4157610bc060808601606087016123b2565b600360008a8a81518110610bd657610bd6611c69565b6020026020010151815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550866001019650610c3a8160010190565b9050610ba8565b5050505050610c508160010190565b9050610b60565b509093505050505b92915050565b610c7c610c7736839003830183612741565b610d74565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663469262673460405180604001604052808560000135815260200185602001803603810190610ce291906127ad565b90526040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b16815281516004820152602091820151805160248301529091015160448201526064016000604051808303818588803b158015610d4957600080fd5b505af1158015610d5d573d6000803e3d6000fd5b505050505050565b6000610d6f6112f2565b905090565b608081015167ffffffffffffffff1615801590610da857504267ffffffffffffffff16816080015167ffffffffffffffff16105b15610ddf576040517f1ab7da6b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60208082015180516000908152600390925260409091205473ffffffffffffffffffffffffffffffffffffffff1680610e44576040517fc5723b5100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff81163314610e93576040517f4ca8886700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040830151610ea18161142a565b835183516020808601516080880151604051600095610f2d95610f12957fd4e76f924411647a916bb4ae4631b3cf45c44e2da56ed1c63edb18ebc97ba5e495929491930194855260208501939093526040840191909152606083015267ffffffffffffffff16608082015260a00190565b60405160208183030381529060405280519060200120611538565b9050846060015173ffffffffffffffffffffffffffffffffffffffff16610f6282846000015185602001518660400151611580565b73ffffffffffffffffffffffffffffffffffffffff1614610faf576040517f8baa579f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5050505050565b608081015167ffffffffffffffff1615801590610fea57504267ffffffffffffffff16816080015167ffffffffffffffff16105b15611021576040517f1ab7da6b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b602081015160408201516110348161142a565b60006111017f9d3e80e7032dc16815a5f67aa94e851240ae3b24eed13a7431bdac738f81456760001b856000015185600001518660200151876040015188606001518960800151805190602001208a60a001518c60800151604051602001610f1299989796959493929190988952602089019790975273ffffffffffffffffffffffffffffffffffffffff95909516604088015267ffffffffffffffff9384166060880152911515608087015260a086015260c085015260e0840191909152166101008201526101200190565b9050836060015173ffffffffffffffffffffffffffffffffffffffff1661113682846000015185602001518660400151611580565b73ffffffffffffffffffffffffffffffffffffffff1614611183576040517f8baa579f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b60606000611196836115a8565b600101905060008167ffffffffffffffff8111156111b6576111b6611c3a565b6040519080825280601f01601f1916602001820160405280156111e0576020820181803683370190505b5090508181016020015b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff017f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a85049450846111ea57509392505050565b606060ff83146112615761125a8361168a565b9050610c5f565b81805461126d906120cf565b80601f0160208091040260200160405190810160405280929190818152602001828054611299906120cf565b80156112e65780601f106112bb576101008083540402835291602001916112e6565b820191906000526020600020905b8154815290600101906020018083116112c957829003601f168201915b50505050509050610c5f565b60003073ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614801561135857507f000000000000000000000000000000000000000000000000000000000000000046145b1561138257507f000000000000000000000000000000000000000000000000000000000000000090565b610d6f604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201527f0000000000000000000000000000000000000000000000000000000000000000918101919091527f000000000000000000000000000000000000000000000000000000000000000060608201524660808201523060a082015260009060c00160405160208183030381529060405280519060200120905090565b8051602080830151604080850151905160f89490941b7fff00000000000000000000000000000000000000000000000000000000000000169284019290925260218301526041820152600090606101604051602081830303815290604052905060048160405161149a91906127c9565b9081526040519081900360200190205460ff16156114e4576040517fcce9a82400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60016004826040516114f691906127c9565b90815260405190819003602001902080549115157fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff009092169190911790555050565b6000610c5f6115456112f2565b836040517f19010000000000000000000000000000000000000000000000000000000000008152600281019290925260228201526042902090565b6000806000611591878787876116c9565b9150915061159e816117b8565b5095945050505050565b6000807a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083106115f1577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000830492506040015b6d04ee2d6d415b85acef8100000000831061161d576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061163b57662386f26fc10000830492506010015b6305f5e1008310611653576305f5e100830492506008015b612710831061166757612710830492506004015b60648310611679576064830492506002015b600a8310610c5f5760010192915050565b6060600061169783611973565b604080516020808252818301909252919250600091906020820181803683375050509182525060208101929092525090565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561170057506000905060036117af565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015611754573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff81166117a8576000600192509250506117af565b9150600090505b94509492505050565b60008160048111156117cc576117cc6127db565b036117d45750565b60018160048111156117e8576117e86127db565b03611854576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064015b60405180910390fd5b6002816004811115611868576118686127db565b036118cf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e67746800604482015260640161184b565b60038160048111156118e3576118e36127db565b03611970576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c60448201527f7565000000000000000000000000000000000000000000000000000000000000606482015260840161184b565b50565b600060ff8216601f811115610c5f576040517fb3512b0c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008083601f8401126119c657600080fd5b50813567ffffffffffffffff8111156119de57600080fd5b6020830191508360208260051b85010111156119f957600080fd5b9250929050565b60008060208385031215611a1357600080fd5b823567ffffffffffffffff811115611a2a57600080fd5b611a36858286016119b4565b90969095509350505050565b600060208284031215611a5457600080fd5b5035919050565b60005b83811015611a76578181015183820152602001611a5e565b50506000910152565b60008151808452611a97816020860160208601611a5b565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000611adc6020830184611a7f565b9392505050565b600060208284031215611af557600080fd5b813567ffffffffffffffff811115611b0c57600080fd5b820160e08185031215611adc57600080fd5b7fff00000000000000000000000000000000000000000000000000000000000000881681526000602060e081840152611b5a60e084018a611a7f565b8381036040850152611b6c818a611a7f565b6060850189905273ffffffffffffffffffffffffffffffffffffffff8816608086015260a0850187905284810360c0860152855180825283870192509083019060005b81811015611bcb57835183529284019291840191600101611baf565b50909c9b505050505050505050505050565b6020808252825182820181905260009190848201906040850190845b81811015611c1557835183529284019291840191600101611bf9565b50909695505050505050565b60006101008284031215611c3457600080fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600082357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff61833603018112611ccc57600080fd5b9190910192915050565b60405160a0810167ffffffffffffffff81118282101715611cf957611cf9611c3a565b60405290565b60405160c0810167ffffffffffffffff81118282101715611cf957611cf9611c3a565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff81118282101715611d6957611d69611c3a565b604052919050565b600067ffffffffffffffff821115611d8b57611d8b611c3a565b5060051b60200190565b600060408284031215611da757600080fd5b6040516040810181811067ffffffffffffffff82111715611dca57611dca611c3a565b604052823581526020928301359281019290925250919050565b600060608284031215611df657600080fd5b6040516060810181811067ffffffffffffffff82111715611e1957611e19611c3a565b604052905080823560ff81168114611e3057600080fd5b8082525060208301356020820152604083013560408201525092915050565b600082601f830112611e6057600080fd5b81356020611e75611e7083611d71565b611d22565b82815260609283028501820192828201919087851115611e9457600080fd5b8387015b85811015611eb757611eaa8982611de4565b8452928401928101611e98565b5090979650505050505050565b803573ffffffffffffffffffffffffffffffffffffffff81168114611ee857600080fd5b919050565b803567ffffffffffffffff81168114611ee857600080fd5b600060a08236031215611f1757600080fd5b611f1f611cd6565b8235815260208084013567ffffffffffffffff80821115611f3f57600080fd5b9085019036601f830112611f5257600080fd5b8135611f60611e7082611d71565b81815260069190911b83018401908481019036831115611f7f57600080fd5b938501935b82851015611fa857611f963686611d95565b82528582019150604085019450611f84565b80868801525050506040860135925080831115611fc457600080fd5b5050611fd236828601611e4f565b604083015250611fe460608401611ec4565b6060820152611ff560808401611eed565b608082015292915050565b60006020808301818452808551808352604092508286019150828160051b8701018488016000805b848110156120c0578984037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0018652825180518552880151888501889052805188860181905290890190839060608701905b808310156120ab5761209782855180518252602090810151910152565b928b019260019290920191908a019061207a565b50978a01979550505091870191600101612028565b50919998505050505050505050565b600181811c908216806120e357607f821691505b602082108103611c34577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600082601f83011261212d57600080fd5b813567ffffffffffffffff81111561214757612147611c3a565b61217860207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f84011601611d22565b81815284602083860101111561218d57600080fd5b816020850160208301376000918101602001919091529392505050565b600060c082840312156121bc57600080fd5b6121c4611cff565b90506121cf82611ec4565b81526121dd60208301611eed565b6020820152604082013580151581146121f557600080fd5b604082015260608281013590820152608082013567ffffffffffffffff81111561221e57600080fd5b61222a8482850161211c565b60808301525060a082013560a082015292915050565b600060e0823603121561225257600080fd5b61225a611cd6565b82358152602083013567ffffffffffffffff81111561227857600080fd5b612284368286016121aa565b6020830152506122973660408501611de4565b60408201526122a860a08401611ec4565b6060820152611ff560c08401611eed565b600082357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff41833603018112611ccc57600080fd5b6000610c5f36836121aa565b73ffffffffffffffffffffffffffffffffffffffff815116825267ffffffffffffffff6020820151166020830152604081015115156040830152606081015160608301526000608082015160c0608085015261235860c0850182611a7f565b60a093840151949093019390935250919050565b60208152815160208201526000602083015160408084015261239160608401826122f9565b949350505050565b6000602082840312156123ab57600080fd5b5051919050565b6000602082840312156123c457600080fd5b611adc82611ec4565b600084516123df818460208901611a5b565b80830190507f2e00000000000000000000000000000000000000000000000000000000000000808252855161241b816001850160208a01611a5b565b60019201918201528351612436816002840160208801611a5b565b0160020195945050505050565b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe184360301811261247857600080fd5b83018035915067ffffffffffffffff82111561249357600080fd5b6020019150600581901b36038213156119f957600080fd5b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe18436030181126124e057600080fd5b83018035915067ffffffffffffffff8211156124fb57600080fd5b60200191506060810236038213156119f957600080fd5b60006060828403121561252457600080fd5b611adc8383611de4565b60006020828403121561254057600080fd5b611adc82611eed565b6000612557611e7084611d71565b80848252602080830192508560051b85013681111561257557600080fd5b855b818110156125b157803567ffffffffffffffff8111156125975760008081fd5b6125a336828a016121aa565b865250938201938201612577565b50919695505050505050565b602080825282518282018190526000919060409081850190600581811b8701840188860187805b858110156126a0577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc08b85030187528251805185528901518985018990528051898601819052908a0190606081881b870181019190870190855b8181101561268a577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa08985030183526126788486516122f9565b948e01949350918d019160010161263e565b505050978a0197945050918801916001016125e4565b50919a9950505050505050505050565b600060208083850312156126c357600080fd5b825167ffffffffffffffff8111156126da57600080fd5b8301601f810185136126eb57600080fd5b80516126f9611e7082611d71565b81815260059190911b8201830190838101908783111561271857600080fd5b928401925b828410156127365783518252928401929084019061271d565b979650505050505050565b6000610100828403121561275457600080fd5b61275c611cd6565b8235815261276d8460208501611d95565b602082015261277f8460608501611de4565b604082015261279060c08401611ec4565b60608201526127a160e08401611eed565b60808201529392505050565b6000604082840312156127bf57600080fd5b611adc8383611d95565b60008251611ccc818460208701611a5b565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fdfea164736f6c6343000813000a";class s extends a.ContractFactory{constructor(){for(var e=arguments.length,t=new Array(e),n=0;n1?super(...t):super(i,o,t[0])}getDeployTransaction(e,t,n){return super.getDeployTransaction(e,t,n||{})}deploy(e,t,n){return super.deploy(e,t,n||{})}connect(e){return super.connect(e)}static createInterface(){return new a.Interface(i)}static connect(e,t){return new a.Contract(e,i,t)}}r(s,"bytecode",o),r(s,"abi",i),t.EIP712Proxy__factory=s},15189:(e,t,n)=>{"use strict";var r=n(38416).default;Object.defineProperty(t,"__esModule",{value:!0}),t.PermissionedEIP712Proxy__factory=void 0;const a=n(79332),i=[{inputs:[{internalType:"contract IEAS",name:"eas",type:"address"},{internalType:"string",name:"name",type:"string"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[],name:"AccessDenied",type:"error"},{inputs:[],name:"DeadlineExpired",type:"error"},{inputs:[],name:"InvalidEAS",type:"error"},{inputs:[],name:"InvalidLength",type:"error"},{inputs:[],name:"InvalidShortString",type:"error"},{inputs:[],name:"InvalidSignature",type:"error"},{inputs:[],name:"NotFound",type:"error"},{inputs:[{internalType:"string",name:"str",type:"string"}],name:"StringTooLong",type:"error"},{inputs:[],name:"UsedSignature",type:"error"},{anonymous:!1,inputs:[],name:"EIP712DomainChanged",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"previousOwner",type:"address"},{indexed:!0,internalType:"address",name:"newOwner",type:"address"}],name:"OwnershipTransferred",type:"event"},{inputs:[{components:[{internalType:"bytes32",name:"schema",type:"bytes32"},{components:[{internalType:"address",name:"recipient",type:"address"},{internalType:"uint64",name:"expirationTime",type:"uint64"},{internalType:"bool",name:"revocable",type:"bool"},{internalType:"bytes32",name:"refUID",type:"bytes32"},{internalType:"bytes",name:"data",type:"bytes"},{internalType:"uint256",name:"value",type:"uint256"}],internalType:"struct AttestationRequestData",name:"data",type:"tuple"},{components:[{internalType:"uint8",name:"v",type:"uint8"},{internalType:"bytes32",name:"r",type:"bytes32"},{internalType:"bytes32",name:"s",type:"bytes32"}],internalType:"struct Signature",name:"signature",type:"tuple"},{internalType:"address",name:"attester",type:"address"},{internalType:"uint64",name:"deadline",type:"uint64"}],internalType:"struct DelegatedProxyAttestationRequest",name:"delegatedRequest",type:"tuple"}],name:"attestByDelegation",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"payable",type:"function"},{inputs:[],name:"eip712Domain",outputs:[{internalType:"bytes1",name:"fields",type:"bytes1"},{internalType:"string",name:"name",type:"string"},{internalType:"string",name:"version",type:"string"},{internalType:"uint256",name:"chainId",type:"uint256"},{internalType:"address",name:"verifyingContract",type:"address"},{internalType:"bytes32",name:"salt",type:"bytes32"},{internalType:"uint256[]",name:"extensions",type:"uint256[]"}],stateMutability:"view",type:"function"},{inputs:[],name:"getAttestTypeHash",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"pure",type:"function"},{inputs:[{internalType:"bytes32",name:"uid",type:"bytes32"}],name:"getAttester",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"getDomainSeparator",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"getEAS",outputs:[{internalType:"contract IEAS",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"getName",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{inputs:[],name:"getRevokeTypeHash",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"pure",type:"function"},{inputs:[{components:[{internalType:"bytes32",name:"schema",type:"bytes32"},{components:[{internalType:"address",name:"recipient",type:"address"},{internalType:"uint64",name:"expirationTime",type:"uint64"},{internalType:"bool",name:"revocable",type:"bool"},{internalType:"bytes32",name:"refUID",type:"bytes32"},{internalType:"bytes",name:"data",type:"bytes"},{internalType:"uint256",name:"value",type:"uint256"}],internalType:"struct AttestationRequestData[]",name:"data",type:"tuple[]"},{components:[{internalType:"uint8",name:"v",type:"uint8"},{internalType:"bytes32",name:"r",type:"bytes32"},{internalType:"bytes32",name:"s",type:"bytes32"}],internalType:"struct Signature[]",name:"signatures",type:"tuple[]"},{internalType:"address",name:"attester",type:"address"},{internalType:"uint64",name:"deadline",type:"uint64"}],internalType:"struct MultiDelegatedProxyAttestationRequest[]",name:"multiDelegatedRequests",type:"tuple[]"}],name:"multiAttestByDelegation",outputs:[{internalType:"bytes32[]",name:"",type:"bytes32[]"}],stateMutability:"payable",type:"function"},{inputs:[{components:[{internalType:"bytes32",name:"schema",type:"bytes32"},{components:[{internalType:"bytes32",name:"uid",type:"bytes32"},{internalType:"uint256",name:"value",type:"uint256"}],internalType:"struct RevocationRequestData[]",name:"data",type:"tuple[]"},{components:[{internalType:"uint8",name:"v",type:"uint8"},{internalType:"bytes32",name:"r",type:"bytes32"},{internalType:"bytes32",name:"s",type:"bytes32"}],internalType:"struct Signature[]",name:"signatures",type:"tuple[]"},{internalType:"address",name:"revoker",type:"address"},{internalType:"uint64",name:"deadline",type:"uint64"}],internalType:"struct MultiDelegatedProxyRevocationRequest[]",name:"multiDelegatedRequests",type:"tuple[]"}],name:"multiRevokeByDelegation",outputs:[],stateMutability:"payable",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"renounceOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{components:[{internalType:"bytes32",name:"schema",type:"bytes32"},{components:[{internalType:"bytes32",name:"uid",type:"bytes32"},{internalType:"uint256",name:"value",type:"uint256"}],internalType:"struct RevocationRequestData",name:"data",type:"tuple"},{components:[{internalType:"uint8",name:"v",type:"uint8"},{internalType:"bytes32",name:"r",type:"bytes32"},{internalType:"bytes32",name:"s",type:"bytes32"}],internalType:"struct Signature",name:"signature",type:"tuple"},{internalType:"address",name:"revoker",type:"address"},{internalType:"uint64",name:"deadline",type:"uint64"}],internalType:"struct DelegatedProxyRevocationRequest",name:"delegatedRequest",type:"tuple"}],name:"revokeByDelegation",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"address",name:"newOwner",type:"address"}],name:"transferOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"version",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"}],o="0x6101e06040523480156200001257600080fd5b506040516200314a3803806200314a8339810160408190526200003591620002a2565b6040805180820190915260058152640312e322e360dc1b60208201526001608052600260a052600060c081905283918391829190620000769083906200018b565b61018052620000878160016200018b565b6101a052815160208084019190912061014052815190820120610160524661010052620001186101405161016051604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201529081019290925260608201524660808201523060a082015260009060c00160405160208183030381529060405280519060200120905090565b60e052505030610120526001600160a01b0382166200014a576040516341bc07ff60e11b815260040160405180910390fd5b6001600160a01b0382166101c05260026200016682826200040c565b505050620001836200017d620001c460201b60201c565b620001c8565b505062000532565b6000602083511015620001ab57620001a3836200021a565b9050620001be565b81620001b884826200040c565b5060ff90505b92915050565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600080829050601f8151111562000251578260405163305a27a960e01b8152600401620002489190620004d8565b60405180910390fd5b80516200025e826200050d565b179392505050565b634e487b7160e01b600052604160045260246000fd5b60005b83811015620002995781810151838201526020016200027f565b50506000910152565b60008060408385031215620002b657600080fd5b82516001600160a01b0381168114620002ce57600080fd5b60208401519092506001600160401b0380821115620002ec57600080fd5b818501915085601f8301126200030157600080fd5b81518181111562000316576200031662000266565b604051601f8201601f19908116603f0116810190838211818310171562000341576200034162000266565b816040528281528860208487010111156200035b57600080fd5b6200036e8360208301602088016200027c565b80955050505050509250929050565b600181811c908216806200039257607f821691505b602082108103620003b357634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200040757600081815260208120601f850160051c81016020861015620003e25750805b601f850160051c820191505b818110156200040357828155600101620003ee565b5050505b505050565b81516001600160401b0381111562000428576200042862000266565b62000440816200043984546200037d565b84620003b9565b602080601f8311600181146200047857600084156200045f5750858301515b600019600386901b1c1916600185901b17855562000403565b600085815260208120601f198616915b82811015620004a95788860151825594840194600190910190840162000488565b5085821015620004c85787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6020815260008251806020840152620004f98160408501602087016200027c565b601f01601f19169190910160400192915050565b80516020808301519190811015620003b35760001960209190910360031b1b16919050565b60805160a05160c05160e05161010051610120516101405161016051610180516101a0516101c051612b75620005d5600039600081816102050152818161093d015281816109c301528181610f91015261117001526000610532015260006105080152600061133e01526000611316015260006112710152600061129b015260006112c50152600061049c015260006104730152600061044a0152612b756000f3fe6080604052600436106100e85760003560e01c8063715018a61161008a578063a6d4dbc711610059578063a6d4dbc7146102b1578063b83010d3146102c4578063ed24911d146102f7578063f2fde38b1461030c57600080fd5b8063715018a61461022957806384b0196e1461023e5780638da5cb5b14610266578063954115251461029157600080fd5b806317d7de7c116100c657806317d7de7c146101ac5780633c042715146101ce57806354fd4d50146101e157806365c40b9c146101f657600080fd5b80630eabf660146100ed57806310d736d51461010257806312b11a171461016f575b600080fd5b6101006100fb366004611d72565b61032c565b005b34801561010e57600080fd5b5061014561011d366004611db4565b60009081526003602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b34801561017b57600080fd5b507f9d3e80e7032dc16815a5f67aa94e851240ae3b24eed13a7431bdac738f8145675b604051908152602001610166565b3480156101b857600080fd5b506101c161038d565b6040516101669190611e3b565b61019e6101dc366004611e55565b61041f565b3480156101ed57600080fd5b506101c1610443565b34801561020257600080fd5b507f0000000000000000000000000000000000000000000000000000000000000000610145565b34801561023557600080fd5b506101006104e6565b34801561024a57600080fd5b506102536104fa565b6040516101669796959493929190611e90565b34801561027257600080fd5b5060055473ffffffffffffffffffffffffffffffffffffffff16610145565b6102a461029f366004611d72565b61059e565b6040516101669190611f4f565b6101006102bf366004611f87565b6105dc565b3480156102d057600080fd5b507fd4e76f924411647a916bb4ae4631b3cf45c44e2da56ed1c63edb18ebc97ba5e461019e565b34801561030357600080fd5b5061019e6105fb565b34801561031857600080fd5b50610100610327366004611fc9565b61060a565b8060005b8181101561037d5761037584848381811061034d5761034d611fe4565b905060200281019061035f9190612013565b610370906080810190606001611fc9565b6106c3565b600101610330565b506103888383610717565b505050565b60606002805461039c90612051565b80601f01602080910402602001604051908101604052809291908181526020018280546103c890612051565b80156104155780601f106103ea57610100808354040283529160200191610415565b820191906000526020600020905b8154815290600101906020018083116103f857829003601f168201915b5050505050905090565b600061043461037060c0840160a08501611fc9565b61043d826109ac565b92915050565b606061046e7f0000000000000000000000000000000000000000000000000000000000000000610af7565b6104977f0000000000000000000000000000000000000000000000000000000000000000610af7565b6104c07f0000000000000000000000000000000000000000000000000000000000000000610af7565b6040516020016104d29392919061209e565b604051602081830303815290604052905090565b6104ee610bb5565b6104f86000610c36565b565b60006060808280808361052d7f000000000000000000000000000000000000000000000000000000000000000083610cad565b6105587f00000000000000000000000000000000000000000000000000000000000000006001610cad565b604080516000808252602082019092527f0f000000000000000000000000000000000000000000000000000000000000009b939a50919850469750309650945092509050565b60608160005b818110156105c9576105c185858381811061034d5761034d611fe4565b6001016105a4565b506105d48484610d58565b949350505050565b6105ef61037060e0830160c08401611fc9565b6105f881611157565b50565b6000610605611257565b905090565b610612610bb5565b73ffffffffffffffffffffffffffffffffffffffff81166106ba576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6105f881610c36565b60055473ffffffffffffffffffffffffffffffffffffffff8281169116146105f8576040517f4ca8886700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060008167ffffffffffffffff81111561073357610733612114565b60405190808252806020026020018201604052801561077957816020015b6040805180820190915260008152606060208201528152602001906001900390816107515790505b50905060005b828110156108ff57600085858381811061079b5761079b611fe4565b90506020028101906107ad9190612013565b6107b690612349565b60208101518051919250908015806107d357508260400151518114155b1561080a576040517f947d5a8400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b818110156108b457600083828151811061082957610829611fe4565b602002602001015190506108ab6040518060a00160405280876000015181526020018381526020018760400151858151811061086757610867611fe4565b60200260200101518152602001876060015173ffffffffffffffffffffffffffffffffffffffff168152602001876080015167ffffffffffffffff1681525061138f565b5060010161080d565b50604051806040016040528084600001518152602001838152508585815181106108e0576108e0611fe4565b60200260200101819052505050506108f88160010190565b905061077f565b506040517f4cb7e9e500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001690634cb7e9e5903490610974908590600401612444565b6000604051808303818588803b15801561098d57600080fd5b505af11580156109a1573d6000803e3d6000fd5b505050505050505050565b60006109bf6109ba83612637565b6115d1565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663f17325e734604051806040016040528087600001358152602001878060200190610a2391906126b0565b610a2c906126e4565b8152506040518363ffffffff1660e01b8152600401610a4b9190612763565b60206040518083038185885af1158015610a69573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610a8e9190612788565b9050610aa060c0840160a08501611fc9565b600082815260036020526040902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff9290921691909117905592915050565b60606000610b04836117a4565b600101905060008167ffffffffffffffff811115610b2457610b24612114565b6040519080825280601f01601f191660200182016040528015610b4e576020820181803683370190505b5090508181016020015b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff017f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8504945084610b5857509392505050565b60055473ffffffffffffffffffffffffffffffffffffffff1633146104f8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106b1565b6005805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b606060ff8314610cc757610cc083611886565b905061043d565b818054610cd390612051565b80601f0160208091040260200160405190810160405280929190818152602001828054610cff90612051565b8015610d4c5780601f10610d2157610100808354040283529160200191610d4c565b820191906000526020600020905b815481529060010190602001808311610d2f57829003601f168201915b5050505050905061043d565b60608160008167ffffffffffffffff811115610d7657610d76612114565b604051908082528060200260200182016040528015610dbc57816020015b604080518082019091526000815260606020820152815260200190600190039081610d945790505b50905060005b82811015610f8c5736868683818110610ddd57610ddd611fe4565b9050602002810190610def9190612013565b9050366000610e0160208401846127a1565b909250905080801580610e225750610e1c6040850185612809565b90508114155b15610e59576040517f947d5a8400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b81811015610f3a57610f326040518060a0016040528087600001358152602001868685818110610e8e57610e8e611fe4565b9050602002810190610ea091906126b0565b610ea9906126e4565b8152602001610ebb6040890189612809565b85818110610ecb57610ecb611fe4565b905060600201803603810190610ee19190612870565b8152602001610ef66080890160608a01611fc9565b73ffffffffffffffffffffffffffffffffffffffff168152602001610f2160a0890160808a0161288c565b67ffffffffffffffff1690526115d1565b600101610e5c565b50604080518082019091528435815260208101610f5784866128a7565b815250868681518110610f6c57610f6c611fe4565b602002602001018190525050505050610f858160010190565b9050610dc2565b5060007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166344adc90e34846040518363ffffffff1660e01b8152600401610fe9919061291b565b60006040518083038185885af1158015611007573d6000803e3d6000fd5b50505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820160405261104e9190810190612a0e565b90506000805b8481101561114b573688888381811061106f5761106f611fe4565b90506020028101906110819190612013565b905036600061109360208401846127a1565b90925090508060005b81811015611135576110b46080860160608701611fc9565b600360008a8a815181106110ca576110ca611fe4565b6020026020010151815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555086600101965061112e8160010190565b905061109c565b50505050506111448160010190565b9050611054565b50909695505050505050565b61116e61116936839003830183612a9f565b61138f565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16634692626734604051806040016040528085600001358152602001856020018036038101906111d49190612b0b565b90526040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b16815281516004820152602091820151805160248301529091015160448201526064016000604051808303818588803b15801561123b57600080fd5b505af115801561124f573d6000803e3d6000fd5b505050505050565b60003073ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000161480156112bd57507f000000000000000000000000000000000000000000000000000000000000000046145b156112e757507f000000000000000000000000000000000000000000000000000000000000000090565b610605604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201527f0000000000000000000000000000000000000000000000000000000000000000918101919091527f000000000000000000000000000000000000000000000000000000000000000060608201524660808201523060a082015260009060c00160405160208183030381529060405280519060200120905090565b608081015167ffffffffffffffff16158015906113c357504267ffffffffffffffff16816080015167ffffffffffffffff16105b156113fa576040517f1ab7da6b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60208082015180516000908152600390925260409091205473ffffffffffffffffffffffffffffffffffffffff168061145f576040517fc5723b5100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff811633146114ae576040517f4ca8886700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60408301516114bc816118c5565b8351835160208086015160808801516040516000956115489561152d957fd4e76f924411647a916bb4ae4631b3cf45c44e2da56ed1c63edb18ebc97ba5e495929491930194855260208501939093526040840191909152606083015267ffffffffffffffff16608082015260a00190565b604051602081830303815290604052805190602001206119d3565b9050846060015173ffffffffffffffffffffffffffffffffffffffff1661157d82846000015185602001518660400151611a1b565b73ffffffffffffffffffffffffffffffffffffffff16146115ca576040517f8baa579f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5050505050565b608081015167ffffffffffffffff161580159061160557504267ffffffffffffffff16816080015167ffffffffffffffff16105b1561163c576040517f1ab7da6b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6020810151604082015161164f816118c5565b600061171c7f9d3e80e7032dc16815a5f67aa94e851240ae3b24eed13a7431bdac738f81456760001b856000015185600001518660200151876040015188606001518960800151805190602001208a60a001518c6080015160405160200161152d99989796959493929190988952602089019790975273ffffffffffffffffffffffffffffffffffffffff95909516604088015267ffffffffffffffff9384166060880152911515608087015260a086015260c085015260e0840191909152166101008201526101200190565b9050836060015173ffffffffffffffffffffffffffffffffffffffff1661175182846000015185602001518660400151611a1b565b73ffffffffffffffffffffffffffffffffffffffff161461179e576040517f8baa579f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b6000807a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083106117ed577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000830492506040015b6d04ee2d6d415b85acef81000000008310611819576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061183757662386f26fc10000830492506010015b6305f5e100831061184f576305f5e100830492506008015b612710831061186357612710830492506004015b60648310611875576064830492506002015b600a831061043d5760010192915050565b6060600061189383611a43565b604080516020808252818301909252919250600091906020820181803683375050509182525060208101929092525090565b8051602080830151604080850151905160f89490941b7fff0000000000000000000000000000000000000000000000000000000000000016928401929092526021830152604182015260009060610160405160208183030381529060405290506004816040516119359190612b27565b9081526040519081900360200190205460ff161561197f576040517fcce9a82400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60016004826040516119919190612b27565b90815260405190819003602001902080549115157fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff009092169190911790555050565b600061043d6119e0611257565b836040517f19010000000000000000000000000000000000000000000000000000000000008152600281019290925260228201526042902090565b6000806000611a2c87878787611a84565b91509150611a3981611b73565b5095945050505050565b600060ff8216601f81111561043d576040517fb3512b0c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115611abb5750600090506003611b6a565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015611b0f573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff8116611b6357600060019250925050611b6a565b9150600090505b94509492505050565b6000816004811115611b8757611b87612b39565b03611b8f5750565b6001816004811115611ba357611ba3612b39565b03611c0a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016106b1565b6002816004811115611c1e57611c1e612b39565b03611c85576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016106b1565b6003816004811115611c9957611c99612b39565b036105f8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c60448201527f756500000000000000000000000000000000000000000000000000000000000060648201526084016106b1565b60008083601f840112611d3857600080fd5b50813567ffffffffffffffff811115611d5057600080fd5b6020830191508360208260051b8501011115611d6b57600080fd5b9250929050565b60008060208385031215611d8557600080fd5b823567ffffffffffffffff811115611d9c57600080fd5b611da885828601611d26565b90969095509350505050565b600060208284031215611dc657600080fd5b5035919050565b60005b83811015611de8578181015183820152602001611dd0565b50506000910152565b60008151808452611e09816020860160208601611dcd565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000611e4e6020830184611df1565b9392505050565b600060208284031215611e6757600080fd5b813567ffffffffffffffff811115611e7e57600080fd5b820160e08185031215611e4e57600080fd5b7fff00000000000000000000000000000000000000000000000000000000000000881681526000602060e081840152611ecc60e084018a611df1565b8381036040850152611ede818a611df1565b6060850189905273ffffffffffffffffffffffffffffffffffffffff8816608086015260a0850187905284810360c0860152855180825283870192509083019060005b81811015611f3d57835183529284019291840191600101611f21565b50909c9b505050505050505050505050565b6020808252825182820181905260009190848201906040850190845b8181101561114b57835183529284019291840191600101611f6b565b60006101008284031215611f9a57600080fd5b50919050565b803573ffffffffffffffffffffffffffffffffffffffff81168114611fc457600080fd5b919050565b600060208284031215611fdb57600080fd5b611e4e82611fa0565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600082357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6183360301811261204757600080fd5b9190910192915050565b600181811c9082168061206557607f821691505b602082108103611f9a577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600084516120b0818460208901611dcd565b80830190507f2e0000000000000000000000000000000000000000000000000000000000000080825285516120ec816001850160208a01611dcd565b60019201918201528351612107816002840160208801611dcd565b0160020195945050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405160a0810167ffffffffffffffff8111828210171561216657612166612114565b60405290565b60405160c0810167ffffffffffffffff8111828210171561216657612166612114565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff811182821017156121d6576121d6612114565b604052919050565b600067ffffffffffffffff8211156121f8576121f8612114565b5060051b60200190565b60006040828403121561221457600080fd5b6040516040810181811067ffffffffffffffff8211171561223757612237612114565b604052823581526020928301359281019290925250919050565b60006060828403121561226357600080fd5b6040516060810181811067ffffffffffffffff8211171561228657612286612114565b604052905080823560ff8116811461229d57600080fd5b8082525060208301356020820152604083013560408201525092915050565b600082601f8301126122cd57600080fd5b813560206122e26122dd836121de565b61218f565b8281526060928302850182019282820191908785111561230157600080fd5b8387015b85811015612324576123178982612251565b8452928401928101612305565b5090979650505050505050565b803567ffffffffffffffff81168114611fc457600080fd5b600060a0823603121561235b57600080fd5b612363612143565b8235815260208084013567ffffffffffffffff8082111561238357600080fd5b9085019036601f83011261239657600080fd5b81356123a46122dd826121de565b81815260069190911b830184019084810190368311156123c357600080fd5b938501935b828510156123ec576123da3686612202565b825285820191506040850194506123c8565b8086880152505050604086013592508083111561240857600080fd5b5050612416368286016122bc565b60408301525061242860608401611fa0565b606082015261243960808401612331565b608082015292915050565b60006020808301818452808551808352604092508286019150828160051b8701018488016000805b84811015612504578984037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0018652825180518552880151888501889052805188860181905290890190839060608701905b808310156124ef576124db82855180518252602090810151910152565b928b019260019290920191908a01906124be565b50978a0197955050509187019160010161246c565b50919998505050505050505050565b600082601f83011261252457600080fd5b813567ffffffffffffffff81111561253e5761253e612114565b61256f60207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8401160161218f565b81815284602083860101111561258457600080fd5b816020850160208301376000918101602001919091529392505050565b600060c082840312156125b357600080fd5b6125bb61216c565b90506125c682611fa0565b81526125d460208301612331565b6020820152604082013580151581146125ec57600080fd5b604082015260608281013590820152608082013567ffffffffffffffff81111561261557600080fd5b61262184828501612513565b60808301525060a082013560a082015292915050565b600060e0823603121561264957600080fd5b612651612143565b82358152602083013567ffffffffffffffff81111561266f57600080fd5b61267b368286016125a1565b60208301525061268e3660408501612251565b604082015261269f60a08401611fa0565b606082015261243960c08401612331565b600082357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff4183360301811261204757600080fd5b600061043d36836125a1565b73ffffffffffffffffffffffffffffffffffffffff815116825267ffffffffffffffff6020820151166020830152604081015115156040830152606081015160608301526000608082015160c0608085015261274f60c0850182611df1565b60a093840151949093019390935250919050565b6020815281516020820152600060208301516040808401526105d460608401826126f0565b60006020828403121561279a57600080fd5b5051919050565b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe18436030181126127d657600080fd5b83018035915067ffffffffffffffff8211156127f157600080fd5b6020019150600581901b3603821315611d6b57600080fd5b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe184360301811261283e57600080fd5b83018035915067ffffffffffffffff82111561285957600080fd5b6020019150606081023603821315611d6b57600080fd5b60006060828403121561288257600080fd5b611e4e8383612251565b60006020828403121561289e57600080fd5b611e4e82612331565b60006128b56122dd846121de565b80848252602080830192508560051b8501368111156128d357600080fd5b855b8181101561290f57803567ffffffffffffffff8111156128f55760008081fd5b61290136828a016125a1565b8652509382019382016128d5565b50919695505050505050565b602080825282518282018190526000919060409081850190600581811b8701840188860187805b858110156129fe577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc08b85030187528251805185528901518985018990528051898601819052908a0190606081881b870181019190870190855b818110156129e8577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa08985030183526129d68486516126f0565b948e01949350918d019160010161299c565b505050978a019794505091880191600101612942565b50919a9950505050505050505050565b60006020808385031215612a2157600080fd5b825167ffffffffffffffff811115612a3857600080fd5b8301601f81018513612a4957600080fd5b8051612a576122dd826121de565b81815260059190911b82018301908381019087831115612a7657600080fd5b928401925b82841015612a9457835182529284019290840190612a7b565b979650505050505050565b60006101008284031215612ab257600080fd5b612aba612143565b82358152612acb8460208501612202565b6020820152612add8460608501612251565b6040820152612aee60c08401611fa0565b6060820152612aff60e08401612331565b60808201529392505050565b600060408284031215612b1d57600080fd5b611e4e8383612202565b60008251612047818460208701611dcd565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fdfea164736f6c6343000813000a";class s extends a.ContractFactory{constructor(){for(var e=arguments.length,t=new Array(e),n=0;n1?super(...t):super(i,o,t[0])}getDeployTransaction(e,t,n){return super.getDeployTransaction(e,t,n||{})}deploy(e,t,n){return super.deploy(e,t,n||{})}connect(e){return super.connect(e)}static createInterface(){return new a.Interface(i)}static connect(e,t){return new a.Contract(e,i,t)}}r(s,"bytecode",o),r(s,"abi",i),t.PermissionedEIP712Proxy__factory=s},20286:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PermissionedEIP712Proxy__factory=void 0;var r=n(15189);Object.defineProperty(t,"PermissionedEIP712Proxy__factory",{enumerable:!0,get:function(){return r.PermissionedEIP712Proxy__factory}})},27649:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.EIP712Proxy__factory=t.examples=void 0,t.examples=i(n(20286));var o=n(21741);Object.defineProperty(t,"EIP712Proxy__factory",{enumerable:!0,get:function(){return o.EIP712Proxy__factory}})},67906:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.Semver__factory=t.SchemaRegistry__factory=t.ISchemaRegistry__factory=t.IEAS__factory=t.EAS__factory=t.resolver=t.eip712=t.eip1271=void 0,t.eip1271=i(n(91905)),t.eip712=i(n(49939)),t.resolver=i(n(38051));var o=n(67056);Object.defineProperty(t,"EAS__factory",{enumerable:!0,get:function(){return o.EAS__factory}});var s=n(23060);Object.defineProperty(t,"IEAS__factory",{enumerable:!0,get:function(){return s.IEAS__factory}});var c=n(86634);Object.defineProperty(t,"ISchemaRegistry__factory",{enumerable:!0,get:function(){return c.ISchemaRegistry__factory}});var l=n(31270);Object.defineProperty(t,"SchemaRegistry__factory",{enumerable:!0,get:function(){return l.SchemaRegistry__factory}});var f=n(47875);Object.defineProperty(t,"Semver__factory",{enumerable:!0,get:function(){return f.Semver__factory}})},98319:(e,t,n)=>{"use strict";var r=n(38416).default;Object.defineProperty(t,"__esModule",{value:!0}),t.ISchemaResolver__factory=void 0;const a=n(79332),i=[{inputs:[{components:[{internalType:"bytes32",name:"uid",type:"bytes32"},{internalType:"bytes32",name:"schema",type:"bytes32"},{internalType:"uint64",name:"time",type:"uint64"},{internalType:"uint64",name:"expirationTime",type:"uint64"},{internalType:"uint64",name:"revocationTime",type:"uint64"},{internalType:"bytes32",name:"refUID",type:"bytes32"},{internalType:"address",name:"recipient",type:"address"},{internalType:"address",name:"attester",type:"address"},{internalType:"bool",name:"revocable",type:"bool"},{internalType:"bytes",name:"data",type:"bytes"}],internalType:"struct Attestation",name:"attestation",type:"tuple"}],name:"attest",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"payable",type:"function"},{inputs:[],name:"isPayable",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"pure",type:"function"},{inputs:[{components:[{internalType:"bytes32",name:"uid",type:"bytes32"},{internalType:"bytes32",name:"schema",type:"bytes32"},{internalType:"uint64",name:"time",type:"uint64"},{internalType:"uint64",name:"expirationTime",type:"uint64"},{internalType:"uint64",name:"revocationTime",type:"uint64"},{internalType:"bytes32",name:"refUID",type:"bytes32"},{internalType:"address",name:"recipient",type:"address"},{internalType:"address",name:"attester",type:"address"},{internalType:"bool",name:"revocable",type:"bool"},{internalType:"bytes",name:"data",type:"bytes"}],internalType:"struct Attestation[]",name:"attestations",type:"tuple[]"},{internalType:"uint256[]",name:"values",type:"uint256[]"}],name:"multiAttest",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"payable",type:"function"},{inputs:[{components:[{internalType:"bytes32",name:"uid",type:"bytes32"},{internalType:"bytes32",name:"schema",type:"bytes32"},{internalType:"uint64",name:"time",type:"uint64"},{internalType:"uint64",name:"expirationTime",type:"uint64"},{internalType:"uint64",name:"revocationTime",type:"uint64"},{internalType:"bytes32",name:"refUID",type:"bytes32"},{internalType:"address",name:"recipient",type:"address"},{internalType:"address",name:"attester",type:"address"},{internalType:"bool",name:"revocable",type:"bool"},{internalType:"bytes",name:"data",type:"bytes"}],internalType:"struct Attestation[]",name:"attestations",type:"tuple[]"},{internalType:"uint256[]",name:"values",type:"uint256[]"}],name:"multiRevoke",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"payable",type:"function"},{inputs:[{components:[{internalType:"bytes32",name:"uid",type:"bytes32"},{internalType:"bytes32",name:"schema",type:"bytes32"},{internalType:"uint64",name:"time",type:"uint64"},{internalType:"uint64",name:"expirationTime",type:"uint64"},{internalType:"uint64",name:"revocationTime",type:"uint64"},{internalType:"bytes32",name:"refUID",type:"bytes32"},{internalType:"address",name:"recipient",type:"address"},{internalType:"address",name:"attester",type:"address"},{internalType:"bool",name:"revocable",type:"bool"},{internalType:"bytes",name:"data",type:"bytes"}],internalType:"struct Attestation",name:"attestation",type:"tuple"}],name:"revoke",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"payable",type:"function"}];class o{static createInterface(){return new a.Interface(i)}static connect(e,t){return new a.Contract(e,i,t)}}r(o,"abi",i),t.ISchemaResolver__factory=o},50986:(e,t,n)=>{"use strict";var r=n(38416).default;Object.defineProperty(t,"__esModule",{value:!0}),t.SchemaResolver__factory=void 0;const a=n(79332),i=[{inputs:[],name:"AccessDenied",type:"error"},{inputs:[],name:"InsufficientValue",type:"error"},{inputs:[],name:"InvalidEAS",type:"error"},{inputs:[],name:"InvalidLength",type:"error"},{inputs:[],name:"NotPayable",type:"error"},{inputs:[{components:[{internalType:"bytes32",name:"uid",type:"bytes32"},{internalType:"bytes32",name:"schema",type:"bytes32"},{internalType:"uint64",name:"time",type:"uint64"},{internalType:"uint64",name:"expirationTime",type:"uint64"},{internalType:"uint64",name:"revocationTime",type:"uint64"},{internalType:"bytes32",name:"refUID",type:"bytes32"},{internalType:"address",name:"recipient",type:"address"},{internalType:"address",name:"attester",type:"address"},{internalType:"bool",name:"revocable",type:"bool"},{internalType:"bytes",name:"data",type:"bytes"}],internalType:"struct Attestation",name:"attestation",type:"tuple"}],name:"attest",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"payable",type:"function"},{inputs:[],name:"isPayable",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"pure",type:"function"},{inputs:[{components:[{internalType:"bytes32",name:"uid",type:"bytes32"},{internalType:"bytes32",name:"schema",type:"bytes32"},{internalType:"uint64",name:"time",type:"uint64"},{internalType:"uint64",name:"expirationTime",type:"uint64"},{internalType:"uint64",name:"revocationTime",type:"uint64"},{internalType:"bytes32",name:"refUID",type:"bytes32"},{internalType:"address",name:"recipient",type:"address"},{internalType:"address",name:"attester",type:"address"},{internalType:"bool",name:"revocable",type:"bool"},{internalType:"bytes",name:"data",type:"bytes"}],internalType:"struct Attestation[]",name:"attestations",type:"tuple[]"},{internalType:"uint256[]",name:"values",type:"uint256[]"}],name:"multiAttest",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"payable",type:"function"},{inputs:[{components:[{internalType:"bytes32",name:"uid",type:"bytes32"},{internalType:"bytes32",name:"schema",type:"bytes32"},{internalType:"uint64",name:"time",type:"uint64"},{internalType:"uint64",name:"expirationTime",type:"uint64"},{internalType:"uint64",name:"revocationTime",type:"uint64"},{internalType:"bytes32",name:"refUID",type:"bytes32"},{internalType:"address",name:"recipient",type:"address"},{internalType:"address",name:"attester",type:"address"},{internalType:"bool",name:"revocable",type:"bool"},{internalType:"bytes",name:"data",type:"bytes"}],internalType:"struct Attestation[]",name:"attestations",type:"tuple[]"},{internalType:"uint256[]",name:"values",type:"uint256[]"}],name:"multiRevoke",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"payable",type:"function"},{inputs:[{components:[{internalType:"bytes32",name:"uid",type:"bytes32"},{internalType:"bytes32",name:"schema",type:"bytes32"},{internalType:"uint64",name:"time",type:"uint64"},{internalType:"uint64",name:"expirationTime",type:"uint64"},{internalType:"uint64",name:"revocationTime",type:"uint64"},{internalType:"bytes32",name:"refUID",type:"bytes32"},{internalType:"address",name:"recipient",type:"address"},{internalType:"address",name:"attester",type:"address"},{internalType:"bool",name:"revocable",type:"bool"},{internalType:"bytes",name:"data",type:"bytes"}],internalType:"struct Attestation",name:"attestation",type:"tuple"}],name:"revoke",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"payable",type:"function"},{inputs:[],name:"version",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{stateMutability:"payable",type:"receive"}];class o{static createInterface(){return new a.Interface(i)}static connect(e,t){return new a.Contract(e,i,t)}}r(o,"abi",i),t.SchemaResolver__factory=o},41184:(e,t,n)=>{"use strict";var r=n(38416).default;Object.defineProperty(t,"__esModule",{value:!0}),t.AttestationResolver__factory=void 0;const a=n(79332),i=[{inputs:[{internalType:"contract IEAS",name:"eas",type:"address"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[],name:"AccessDenied",type:"error"},{inputs:[],name:"InsufficientValue",type:"error"},{inputs:[],name:"InvalidEAS",type:"error"},{inputs:[],name:"InvalidLength",type:"error"},{inputs:[],name:"NotPayable",type:"error"},{inputs:[],name:"OutOfBounds",type:"error"},{inputs:[{components:[{internalType:"bytes32",name:"uid",type:"bytes32"},{internalType:"bytes32",name:"schema",type:"bytes32"},{internalType:"uint64",name:"time",type:"uint64"},{internalType:"uint64",name:"expirationTime",type:"uint64"},{internalType:"uint64",name:"revocationTime",type:"uint64"},{internalType:"bytes32",name:"refUID",type:"bytes32"},{internalType:"address",name:"recipient",type:"address"},{internalType:"address",name:"attester",type:"address"},{internalType:"bool",name:"revocable",type:"bool"},{internalType:"bytes",name:"data",type:"bytes"}],internalType:"struct Attestation",name:"attestation",type:"tuple"}],name:"attest",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"payable",type:"function"},{inputs:[],name:"isPayable",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"pure",type:"function"},{inputs:[{components:[{internalType:"bytes32",name:"uid",type:"bytes32"},{internalType:"bytes32",name:"schema",type:"bytes32"},{internalType:"uint64",name:"time",type:"uint64"},{internalType:"uint64",name:"expirationTime",type:"uint64"},{internalType:"uint64",name:"revocationTime",type:"uint64"},{internalType:"bytes32",name:"refUID",type:"bytes32"},{internalType:"address",name:"recipient",type:"address"},{internalType:"address",name:"attester",type:"address"},{internalType:"bool",name:"revocable",type:"bool"},{internalType:"bytes",name:"data",type:"bytes"}],internalType:"struct Attestation[]",name:"attestations",type:"tuple[]"},{internalType:"uint256[]",name:"values",type:"uint256[]"}],name:"multiAttest",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"payable",type:"function"},{inputs:[{components:[{internalType:"bytes32",name:"uid",type:"bytes32"},{internalType:"bytes32",name:"schema",type:"bytes32"},{internalType:"uint64",name:"time",type:"uint64"},{internalType:"uint64",name:"expirationTime",type:"uint64"},{internalType:"uint64",name:"revocationTime",type:"uint64"},{internalType:"bytes32",name:"refUID",type:"bytes32"},{internalType:"address",name:"recipient",type:"address"},{internalType:"address",name:"attester",type:"address"},{internalType:"bool",name:"revocable",type:"bool"},{internalType:"bytes",name:"data",type:"bytes"}],internalType:"struct Attestation[]",name:"attestations",type:"tuple[]"},{internalType:"uint256[]",name:"values",type:"uint256[]"}],name:"multiRevoke",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"payable",type:"function"},{inputs:[{components:[{internalType:"bytes32",name:"uid",type:"bytes32"},{internalType:"bytes32",name:"schema",type:"bytes32"},{internalType:"uint64",name:"time",type:"uint64"},{internalType:"uint64",name:"expirationTime",type:"uint64"},{internalType:"uint64",name:"revocationTime",type:"uint64"},{internalType:"bytes32",name:"refUID",type:"bytes32"},{internalType:"address",name:"recipient",type:"address"},{internalType:"address",name:"attester",type:"address"},{internalType:"bool",name:"revocable",type:"bool"},{internalType:"bytes",name:"data",type:"bytes"}],internalType:"struct Attestation",name:"attestation",type:"tuple"}],name:"revoke",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"payable",type:"function"},{inputs:[{internalType:"bytes",name:"data",type:"bytes"},{internalType:"uint256",name:"start",type:"uint256"}],name:"toBytes32",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"pure",type:"function"},{inputs:[],name:"version",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{stateMutability:"payable",type:"receive"}],o="0x61010060405234801561001157600080fd5b50604051610c55380380610c5583398101604081905261003091610079565b6001608052600260a052600060c052806001600160a01b038116610067576040516341bc07ff60e11b815260040160405180910390fd5b6001600160a01b031660e052506100a9565b60006020828403121561008b57600080fd5b81516001600160a01b03811681146100a257600080fd5b9392505050565b60805160a05160c05160e051610b6c6100e96000396000818161051e0152610590015260006101d2015260006101a9015260006101800152610b6c6000f3fe6080604052600436106100745760003560e01c806399dd9bd71161004e57806399dd9bd714610111578063ce46e0461461013f578063e49617e114610153578063e60c35051461016657600080fd5b806354fd4d50146100b057806388e5b2d9146100db57806391db0b7e146100fe57600080fd5b366100ab576040517f1574f9f300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080fd5b3480156100bc57600080fd5b506100c5610179565b6040516100d291906107ae565b60405180910390f35b6100ee6100e936600461084b565b61021c565b60405190151581526020016100d2565b6100ee61010c36600461084b565b61031d565b34801561011d57600080fd5b5061013161012c3660046108e6565b61040e565b6040519081526020016100d2565b34801561014b57600080fd5b5060006100ee565b6100ee6101613660046109b9565b610421565b6100ee6101743660046109b9565b610434565b60606101a47f0000000000000000000000000000000000000000000000000000000000000000610448565b6101cd7f0000000000000000000000000000000000000000000000000000000000000000610448565b6101f67f0000000000000000000000000000000000000000000000000000000000000000610448565b604051602001610208939291906109f5565b604051602081830303815290604052905090565b6000610226610506565b83828114610260576040517f947d5a8400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3460005b8281101561030d57600086868381811061028057610280610a6b565b905060200201359050828111156102c3576040517f1101129400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6102f08989848181106102d8576102d8610a6b565b90506020028101906102ea9190610a9a565b50600190565b610301576000945050505050610315565b90910390600101610264565b506001925050505b949350505050565b6000610327610506565b83828114610361576040517f947d5a8400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3460005b8281101561030d57600086868381811061038157610381610a6b565b905060200201359050828111156103c4576040517f1101129400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6103f18989848181106103d9576103d9610a6b565b90506020028101906103eb9190610a9a565b82610577565b610402576000945050505050610315565b90910390600101610365565b600061041a838361065f565b9392505050565b600061042b610506565b60015b92915050565b600061043e610506565b61042e8234610577565b60606000610455836106a8565b600101905060008167ffffffffffffffff811115610475576104756108b7565b6040519080825280601f01601f19166020018201604052801561049f576020820181803683370190505b5090508181016020015b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff017f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a85049450846104a957509392505050565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614610575576040517f4ca8886700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b565b600073ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001663e30bb5636106006105c6610120870187610ad8565b8080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920182905250925061065f915050565b6040518263ffffffff1660e01b815260040161061e91815260200190565b602060405180830381865afa15801561063b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061041a9190610b3d565b6000816020018351101561069f576040517fb4120f1400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50016020015190565b6000807a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083106106f1577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000830492506040015b6d04ee2d6d415b85acef8100000000831061071d576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061073b57662386f26fc10000830492506010015b6305f5e1008310610753576305f5e100830492506008015b612710831061076757612710830492506004015b60648310610779576064830492506002015b600a831061042e5760010192915050565b60005b838110156107a557818101518382015260200161078d565b50506000910152565b60208152600082518060208401526107cd81604085016020870161078a565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160400192915050565b60008083601f84011261081157600080fd5b50813567ffffffffffffffff81111561082957600080fd5b6020830191508360208260051b850101111561084457600080fd5b9250929050565b6000806000806040858703121561086157600080fd5b843567ffffffffffffffff8082111561087957600080fd5b610885888389016107ff565b9096509450602087013591508082111561089e57600080fd5b506108ab878288016107ff565b95989497509550505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080604083850312156108f957600080fd5b823567ffffffffffffffff8082111561091157600080fd5b818501915085601f83011261092557600080fd5b813581811115610937576109376108b7565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f0116810190838211818310171561097d5761097d6108b7565b8160405282815288602084870101111561099657600080fd5b826020860160208301376000602093820184015298969091013596505050505050565b6000602082840312156109cb57600080fd5b813567ffffffffffffffff8111156109e257600080fd5b8201610140818503121561041a57600080fd5b60008451610a0781846020890161078a565b80830190507f2e000000000000000000000000000000000000000000000000000000000000008082528551610a43816001850160208a0161078a565b60019201918201528351610a5e81600284016020880161078a565b0160020195945050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600082357ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffec1833603018112610ace57600080fd5b9190910192915050565b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe1843603018112610b0d57600080fd5b83018035915067ffffffffffffffff821115610b2857600080fd5b60200191503681900382131561084457600080fd5b600060208284031215610b4f57600080fd5b8151801515811461041a57600080fdfea164736f6c6343000813000a";class s extends a.ContractFactory{constructor(){for(var e=arguments.length,t=new Array(e),n=0;n1?super(...t):super(i,o,t[0])}getDeployTransaction(e,t){return super.getDeployTransaction(e,t||{})}deploy(e,t){return super.deploy(e,t||{})}connect(e){return super.connect(e)}static createInterface(){return new a.Interface(i)}static connect(e,t){return new a.Contract(e,i,t)}}r(s,"bytecode",o),r(s,"abi",i),t.AttestationResolver__factory=s},68142:(e,t,n)=>{"use strict";var r=n(38416).default;Object.defineProperty(t,"__esModule",{value:!0}),t.AttesterResolver__factory=void 0;const a=n(79332),i=[{inputs:[{internalType:"contract IEAS",name:"eas",type:"address"},{internalType:"address",name:"targetAttester",type:"address"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[],name:"AccessDenied",type:"error"},{inputs:[],name:"InsufficientValue",type:"error"},{inputs:[],name:"InvalidEAS",type:"error"},{inputs:[],name:"InvalidLength",type:"error"},{inputs:[],name:"NotPayable",type:"error"},{inputs:[{components:[{internalType:"bytes32",name:"uid",type:"bytes32"},{internalType:"bytes32",name:"schema",type:"bytes32"},{internalType:"uint64",name:"time",type:"uint64"},{internalType:"uint64",name:"expirationTime",type:"uint64"},{internalType:"uint64",name:"revocationTime",type:"uint64"},{internalType:"bytes32",name:"refUID",type:"bytes32"},{internalType:"address",name:"recipient",type:"address"},{internalType:"address",name:"attester",type:"address"},{internalType:"bool",name:"revocable",type:"bool"},{internalType:"bytes",name:"data",type:"bytes"}],internalType:"struct Attestation",name:"attestation",type:"tuple"}],name:"attest",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"payable",type:"function"},{inputs:[],name:"isPayable",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"pure",type:"function"},{inputs:[{components:[{internalType:"bytes32",name:"uid",type:"bytes32"},{internalType:"bytes32",name:"schema",type:"bytes32"},{internalType:"uint64",name:"time",type:"uint64"},{internalType:"uint64",name:"expirationTime",type:"uint64"},{internalType:"uint64",name:"revocationTime",type:"uint64"},{internalType:"bytes32",name:"refUID",type:"bytes32"},{internalType:"address",name:"recipient",type:"address"},{internalType:"address",name:"attester",type:"address"},{internalType:"bool",name:"revocable",type:"bool"},{internalType:"bytes",name:"data",type:"bytes"}],internalType:"struct Attestation[]",name:"attestations",type:"tuple[]"},{internalType:"uint256[]",name:"values",type:"uint256[]"}],name:"multiAttest",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"payable",type:"function"},{inputs:[{components:[{internalType:"bytes32",name:"uid",type:"bytes32"},{internalType:"bytes32",name:"schema",type:"bytes32"},{internalType:"uint64",name:"time",type:"uint64"},{internalType:"uint64",name:"expirationTime",type:"uint64"},{internalType:"uint64",name:"revocationTime",type:"uint64"},{internalType:"bytes32",name:"refUID",type:"bytes32"},{internalType:"address",name:"recipient",type:"address"},{internalType:"address",name:"attester",type:"address"},{internalType:"bool",name:"revocable",type:"bool"},{internalType:"bytes",name:"data",type:"bytes"}],internalType:"struct Attestation[]",name:"attestations",type:"tuple[]"},{internalType:"uint256[]",name:"values",type:"uint256[]"}],name:"multiRevoke",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"payable",type:"function"},{inputs:[{components:[{internalType:"bytes32",name:"uid",type:"bytes32"},{internalType:"bytes32",name:"schema",type:"bytes32"},{internalType:"uint64",name:"time",type:"uint64"},{internalType:"uint64",name:"expirationTime",type:"uint64"},{internalType:"uint64",name:"revocationTime",type:"uint64"},{internalType:"bytes32",name:"refUID",type:"bytes32"},{internalType:"address",name:"recipient",type:"address"},{internalType:"address",name:"attester",type:"address"},{internalType:"bool",name:"revocable",type:"bool"},{internalType:"bytes",name:"data",type:"bytes"}],internalType:"struct Attestation",name:"attestation",type:"tuple"}],name:"revoke",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"payable",type:"function"},{inputs:[],name:"version",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{stateMutability:"payable",type:"receive"}],o="0x61012060405234801561001157600080fd5b50604051610a50380380610a5083398101604081905261003091610098565b6001608052600260a052600060c052816001600160a01b038116610067576040516341bc07ff60e11b815260040160405180910390fd5b6001600160a01b0390811660e0521661010052506100d2565b6001600160a01b038116811461009557600080fd5b50565b600080604083850312156100ab57600080fd5b82516100b681610080565b60208401519092506100c781610080565b809150509250929050565b60805160a05160c05160e0516101005161093a6101166000396000610544015260006104d2015260006101990152600061017001526000610147015261093a6000f3fe6080604052600436106100695760003560e01c8063ce46e04611610043578063ce46e04614610106578063e49617e11461011a578063e60c35051461012d57600080fd5b806354fd4d50146100a557806388e5b2d9146100d057806391db0b7e146100f357600080fd5b366100a0576040517f1574f9f300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080fd5b3480156100b157600080fd5b506100ba610140565b6040516100c79190610699565b60405180910390f35b6100e36100de366004610736565b6101e3565b60405190151581526020016100c7565b6100e3610101366004610736565b6102e4565b34801561011257600080fd5b5060006100e3565b6100e36101283660046107a2565b6103d5565b6100e361013b3660046107a2565b6103e8565b606061016b7f00000000000000000000000000000000000000000000000000000000000000006103fc565b6101947f00000000000000000000000000000000000000000000000000000000000000006103fc565b6101bd7f00000000000000000000000000000000000000000000000000000000000000006103fc565b6040516020016101cf939291906107e5565b604051602081830303815290604052905090565b60006101ed6104ba565b83828114610227576040517f947d5a8400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3460005b828110156102d45760008686838181106102475761024761085b565b9050602002013590508281111561028a576040517f1101129400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6102b789898481811061029f5761029f61085b565b90506020028101906102b1919061088a565b50600190565b6102c85760009450505050506102dc565b9091039060010161022b565b506001925050505b949350505050565b60006102ee6104ba565b83828114610328576040517f947d5a8400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3460005b828110156102d45760008686838181106103485761034861085b565b9050602002013590508281111561038b576040517f1101129400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6103b88989848181106103a0576103a061085b565b90506020028101906103b2919061088a565b8261052b565b6103c95760009450505050506102dc565b9091039060010161032c565b60006103df6104ba565b60015b92915050565b60006103f26104ba565b6103e2823461052b565b6060600061040983610593565b600101905060008167ffffffffffffffff811115610429576104296108c8565b6040519080825280601f01601f191660200182016040528015610453576020820181803683370190505b5090508181016020015b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff017f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a850494508461045d57509392505050565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614610529576040517f4ca8886700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b565b600073ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016610575610100850160e086016108f7565b73ffffffffffffffffffffffffffffffffffffffff16149392505050565b6000807a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083106105dc577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000830492506040015b6d04ee2d6d415b85acef81000000008310610608576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061062657662386f26fc10000830492506010015b6305f5e100831061063e576305f5e100830492506008015b612710831061065257612710830492506004015b60648310610664576064830492506002015b600a83106103e25760010192915050565b60005b83811015610690578181015183820152602001610678565b50506000910152565b60208152600082518060208401526106b8816040850160208701610675565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160400192915050565b60008083601f8401126106fc57600080fd5b50813567ffffffffffffffff81111561071457600080fd5b6020830191508360208260051b850101111561072f57600080fd5b9250929050565b6000806000806040858703121561074c57600080fd5b843567ffffffffffffffff8082111561076457600080fd5b610770888389016106ea565b9096509450602087013591508082111561078957600080fd5b50610796878288016106ea565b95989497509550505050565b6000602082840312156107b457600080fd5b813567ffffffffffffffff8111156107cb57600080fd5b820161014081850312156107de57600080fd5b9392505050565b600084516107f7818460208901610675565b80830190507f2e000000000000000000000000000000000000000000000000000000000000008082528551610833816001850160208a01610675565b6001920191820152835161084e816002840160208801610675565b0160020195945050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600082357ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffec18336030181126108be57600080fd5b9190910192915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60006020828403121561090957600080fd5b813573ffffffffffffffffffffffffffffffffffffffff811681146107de57600080fdfea164736f6c6343000813000a";class s extends a.ContractFactory{constructor(){for(var e=arguments.length,t=new Array(e),n=0;n1?super(...t):super(i,o,t[0])}getDeployTransaction(e,t,n){return super.getDeployTransaction(e,t,n||{})}deploy(e,t,n){return super.deploy(e,t,n||{})}connect(e){return super.connect(e)}static createInterface(){return new a.Interface(i)}static connect(e,t){return new a.Contract(e,i,t)}}r(s,"bytecode",o),r(s,"abi",i),t.AttesterResolver__factory=s},5465:(e,t,n)=>{"use strict";var r=n(38416).default;Object.defineProperty(t,"__esModule",{value:!0}),t.DataResolver__factory=void 0;const a=n(79332),i=[{inputs:[{internalType:"contract IEAS",name:"eas",type:"address"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[],name:"AccessDenied",type:"error"},{inputs:[],name:"InsufficientValue",type:"error"},{inputs:[],name:"InvalidEAS",type:"error"},{inputs:[],name:"InvalidLength",type:"error"},{inputs:[],name:"NotPayable",type:"error"},{inputs:[{components:[{internalType:"bytes32",name:"uid",type:"bytes32"},{internalType:"bytes32",name:"schema",type:"bytes32"},{internalType:"uint64",name:"time",type:"uint64"},{internalType:"uint64",name:"expirationTime",type:"uint64"},{internalType:"uint64",name:"revocationTime",type:"uint64"},{internalType:"bytes32",name:"refUID",type:"bytes32"},{internalType:"address",name:"recipient",type:"address"},{internalType:"address",name:"attester",type:"address"},{internalType:"bool",name:"revocable",type:"bool"},{internalType:"bytes",name:"data",type:"bytes"}],internalType:"struct Attestation",name:"attestation",type:"tuple"}],name:"attest",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"payable",type:"function"},{inputs:[],name:"isPayable",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"pure",type:"function"},{inputs:[{components:[{internalType:"bytes32",name:"uid",type:"bytes32"},{internalType:"bytes32",name:"schema",type:"bytes32"},{internalType:"uint64",name:"time",type:"uint64"},{internalType:"uint64",name:"expirationTime",type:"uint64"},{internalType:"uint64",name:"revocationTime",type:"uint64"},{internalType:"bytes32",name:"refUID",type:"bytes32"},{internalType:"address",name:"recipient",type:"address"},{internalType:"address",name:"attester",type:"address"},{internalType:"bool",name:"revocable",type:"bool"},{internalType:"bytes",name:"data",type:"bytes"}],internalType:"struct Attestation[]",name:"attestations",type:"tuple[]"},{internalType:"uint256[]",name:"values",type:"uint256[]"}],name:"multiAttest",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"payable",type:"function"},{inputs:[{components:[{internalType:"bytes32",name:"uid",type:"bytes32"},{internalType:"bytes32",name:"schema",type:"bytes32"},{internalType:"uint64",name:"time",type:"uint64"},{internalType:"uint64",name:"expirationTime",type:"uint64"},{internalType:"uint64",name:"revocationTime",type:"uint64"},{internalType:"bytes32",name:"refUID",type:"bytes32"},{internalType:"address",name:"recipient",type:"address"},{internalType:"address",name:"attester",type:"address"},{internalType:"bool",name:"revocable",type:"bool"},{internalType:"bytes",name:"data",type:"bytes"}],internalType:"struct Attestation[]",name:"attestations",type:"tuple[]"},{internalType:"uint256[]",name:"values",type:"uint256[]"}],name:"multiRevoke",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"payable",type:"function"},{inputs:[{components:[{internalType:"bytes32",name:"uid",type:"bytes32"},{internalType:"bytes32",name:"schema",type:"bytes32"},{internalType:"uint64",name:"time",type:"uint64"},{internalType:"uint64",name:"expirationTime",type:"uint64"},{internalType:"uint64",name:"revocationTime",type:"uint64"},{internalType:"bytes32",name:"refUID",type:"bytes32"},{internalType:"address",name:"recipient",type:"address"},{internalType:"address",name:"attester",type:"address"},{internalType:"bool",name:"revocable",type:"bool"},{internalType:"bytes",name:"data",type:"bytes"}],internalType:"struct Attestation",name:"attestation",type:"tuple"}],name:"revoke",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"payable",type:"function"},{inputs:[],name:"version",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{stateMutability:"payable",type:"receive"}],o="0x61010060405234801561001157600080fd5b50604051610ac1380380610ac183398101604081905261003091610079565b6001608052600260a052600060c052806001600160a01b038116610067576040516341bc07ff60e11b815260040160405180910390fd5b6001600160a01b031660e052506100a9565b60006020828403121561008b57600080fd5b81516001600160a01b03811681146100a257600080fd5b9392505050565b60805160a05160c05160e0516109df6100e260003960006104d201526000610199015260006101700152600061014701526109df6000f3fe6080604052600436106100695760003560e01c8063ce46e04611610043578063ce46e04614610106578063e49617e11461011a578063e60c35051461012d57600080fd5b806354fd4d50146100a557806388e5b2d9146100d057806391db0b7e146100f357600080fd5b366100a0576040517f1574f9f300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080fd5b3480156100b157600080fd5b506100ba610140565b6040516100c79190610716565b60405180910390f35b6100e36100de3660046107b3565b6101e3565b60405190151581526020016100c7565b6100e36101013660046107b3565b6102e4565b34801561011257600080fd5b5060006100e3565b6100e361012836600461081f565b6103d5565b6100e361013b36600461081f565b6103e8565b606061016b7f00000000000000000000000000000000000000000000000000000000000000006103fc565b6101947f00000000000000000000000000000000000000000000000000000000000000006103fc565b6101bd7f00000000000000000000000000000000000000000000000000000000000000006103fc565b6040516020016101cf9392919061085b565b604051602081830303815290604052905090565b60006101ed6104ba565b83828114610227576040517f947d5a8400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3460005b828110156102d4576000868683818110610247576102476108d1565b9050602002013590508281111561028a576040517f1101129400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6102b789898481811061029f5761029f6108d1565b90506020028101906102b19190610900565b50600190565b6102c85760009450505050506102dc565b9091039060010161022b565b506001925050505b949350505050565b60006102ee6104ba565b83828114610328576040517f947d5a8400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3460005b828110156102d4576000868683818110610348576103486108d1565b9050602002013590508281111561038b576040517f1101129400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6103b88989848181106103a0576103a06108d1565b90506020028101906103b29190610900565b8261052b565b6103c95760009450505050506102dc565b9091039060010161032c565b60006103df6104ba565b60015b92915050565b60006103f26104ba565b6103e2823461052b565b6060600061040983610610565b600101905060008167ffffffffffffffff8111156104295761042961093e565b6040519080825280601f01601f191660200182016040528015610453576020820181803683370190505b5090508181016020015b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff017f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a850494508461045d57509392505050565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614610529576040517f4ca8886700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b565b600061053b61012084018461096d565b905060011480156106095750600061055761012085018561096d565b6000818110610568576105686108d1565b9050013560f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061060957507f01000000000000000000000000000000000000000000000000000000000000006105ca61012085018561096d565b60008181106105db576105db6108d1565b9050013560f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9392505050565b6000807a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310610659577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000830492506040015b6d04ee2d6d415b85acef81000000008310610685576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106106a357662386f26fc10000830492506010015b6305f5e10083106106bb576305f5e100830492506008015b61271083106106cf57612710830492506004015b606483106106e1576064830492506002015b600a83106103e25760010192915050565b60005b8381101561070d5781810151838201526020016106f5565b50506000910152565b60208152600082518060208401526107358160408501602087016106f2565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160400192915050565b60008083601f84011261077957600080fd5b50813567ffffffffffffffff81111561079157600080fd5b6020830191508360208260051b85010111156107ac57600080fd5b9250929050565b600080600080604085870312156107c957600080fd5b843567ffffffffffffffff808211156107e157600080fd5b6107ed88838901610767565b9096509450602087013591508082111561080657600080fd5b5061081387828801610767565b95989497509550505050565b60006020828403121561083157600080fd5b813567ffffffffffffffff81111561084857600080fd5b8201610140818503121561060957600080fd5b6000845161086d8184602089016106f2565b80830190507f2e0000000000000000000000000000000000000000000000000000000000000080825285516108a9816001850160208a016106f2565b600192019182015283516108c48160028401602088016106f2565b0160020195945050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600082357ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffec183360301811261093457600080fd5b9190910192915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe18436030181126109a257600080fd5b83018035915067ffffffffffffffff8211156109bd57600080fd5b6020019150368190038213156107ac57600080fdfea164736f6c6343000813000a";class s extends a.ContractFactory{constructor(){for(var e=arguments.length,t=new Array(e),n=0;n1?super(...t):super(i,o,t[0])}getDeployTransaction(e,t){return super.getDeployTransaction(e,t||{})}deploy(e,t){return super.deploy(e,t||{})}connect(e){return super.connect(e)}static createInterface(){return new a.Interface(i)}static connect(e,t){return new a.Contract(e,i,t)}}r(s,"bytecode",o),r(s,"abi",i),t.DataResolver__factory=s},51627:(e,t,n)=>{"use strict";var r=n(38416).default;Object.defineProperty(t,"__esModule",{value:!0}),t.ExpirationTimeResolver__factory=void 0;const a=n(79332),i=[{inputs:[{internalType:"contract IEAS",name:"eas",type:"address"},{internalType:"uint256",name:"validAfter",type:"uint256"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[],name:"AccessDenied",type:"error"},{inputs:[],name:"InsufficientValue",type:"error"},{inputs:[],name:"InvalidEAS",type:"error"},{inputs:[],name:"InvalidLength",type:"error"},{inputs:[],name:"NotPayable",type:"error"},{inputs:[{components:[{internalType:"bytes32",name:"uid",type:"bytes32"},{internalType:"bytes32",name:"schema",type:"bytes32"},{internalType:"uint64",name:"time",type:"uint64"},{internalType:"uint64",name:"expirationTime",type:"uint64"},{internalType:"uint64",name:"revocationTime",type:"uint64"},{internalType:"bytes32",name:"refUID",type:"bytes32"},{internalType:"address",name:"recipient",type:"address"},{internalType:"address",name:"attester",type:"address"},{internalType:"bool",name:"revocable",type:"bool"},{internalType:"bytes",name:"data",type:"bytes"}],internalType:"struct Attestation",name:"attestation",type:"tuple"}],name:"attest",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"payable",type:"function"},{inputs:[],name:"isPayable",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"pure",type:"function"},{inputs:[{components:[{internalType:"bytes32",name:"uid",type:"bytes32"},{internalType:"bytes32",name:"schema",type:"bytes32"},{internalType:"uint64",name:"time",type:"uint64"},{internalType:"uint64",name:"expirationTime",type:"uint64"},{internalType:"uint64",name:"revocationTime",type:"uint64"},{internalType:"bytes32",name:"refUID",type:"bytes32"},{internalType:"address",name:"recipient",type:"address"},{internalType:"address",name:"attester",type:"address"},{internalType:"bool",name:"revocable",type:"bool"},{internalType:"bytes",name:"data",type:"bytes"}],internalType:"struct Attestation[]",name:"attestations",type:"tuple[]"},{internalType:"uint256[]",name:"values",type:"uint256[]"}],name:"multiAttest",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"payable",type:"function"},{inputs:[{components:[{internalType:"bytes32",name:"uid",type:"bytes32"},{internalType:"bytes32",name:"schema",type:"bytes32"},{internalType:"uint64",name:"time",type:"uint64"},{internalType:"uint64",name:"expirationTime",type:"uint64"},{internalType:"uint64",name:"revocationTime",type:"uint64"},{internalType:"bytes32",name:"refUID",type:"bytes32"},{internalType:"address",name:"recipient",type:"address"},{internalType:"address",name:"attester",type:"address"},{internalType:"bool",name:"revocable",type:"bool"},{internalType:"bytes",name:"data",type:"bytes"}],internalType:"struct Attestation[]",name:"attestations",type:"tuple[]"},{internalType:"uint256[]",name:"values",type:"uint256[]"}],name:"multiRevoke",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"payable",type:"function"},{inputs:[{components:[{internalType:"bytes32",name:"uid",type:"bytes32"},{internalType:"bytes32",name:"schema",type:"bytes32"},{internalType:"uint64",name:"time",type:"uint64"},{internalType:"uint64",name:"expirationTime",type:"uint64"},{internalType:"uint64",name:"revocationTime",type:"uint64"},{internalType:"bytes32",name:"refUID",type:"bytes32"},{internalType:"address",name:"recipient",type:"address"},{internalType:"address",name:"attester",type:"address"},{internalType:"bool",name:"revocable",type:"bool"},{internalType:"bytes",name:"data",type:"bytes"}],internalType:"struct Attestation",name:"attestation",type:"tuple"}],name:"revoke",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"payable",type:"function"},{inputs:[],name:"version",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{stateMutability:"payable",type:"receive"}],o="0x61012060405234801561001157600080fd5b50604051610a07380380610a078339810160408190526100309161007d565b6001608052600260a052600060c052816001600160a01b038116610067576040516341bc07ff60e11b815260040160405180910390fd5b6001600160a01b031660e05261010052506100b7565b6000806040838503121561009057600080fd5b82516001600160a01b03811681146100a757600080fd5b6020939093015192949293505050565b60805160a05160c05160e0516101005161090c6100fb600039600061052f015260006104d2015260006101990152600061017001526000610147015261090c6000f3fe6080604052600436106100695760003560e01c8063ce46e04611610043578063ce46e04614610106578063e49617e11461011a578063e60c35051461012d57600080fd5b806354fd4d50146100a557806388e5b2d9146100d057806391db0b7e146100f357600080fd5b366100a0576040517f1574f9f300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080fd5b3480156100b157600080fd5b506100ba610140565b6040516100c79190610677565b60405180910390f35b6100e36100de366004610714565b6101e3565b60405190151581526020016100c7565b6100e3610101366004610714565b6102e4565b34801561011257600080fd5b5060006100e3565b6100e3610128366004610780565b6103d5565b6100e361013b366004610780565b6103e8565b606061016b7f00000000000000000000000000000000000000000000000000000000000000006103fc565b6101947f00000000000000000000000000000000000000000000000000000000000000006103fc565b6101bd7f00000000000000000000000000000000000000000000000000000000000000006103fc565b6040516020016101cf939291906107c3565b604051602081830303815290604052905090565b60006101ed6104ba565b83828114610227576040517f947d5a8400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3460005b828110156102d457600086868381811061024757610247610839565b9050602002013590508281111561028a576040517f1101129400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6102b789898481811061029f5761029f610839565b90506020028101906102b19190610868565b50600190565b6102c85760009450505050506102dc565b9091039060010161022b565b506001925050505b949350505050565b60006102ee6104ba565b83828114610328576040517f947d5a8400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3460005b828110156102d457600086868381811061034857610348610839565b9050602002013590508281111561038b576040517f1101129400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6103b88989848181106103a0576103a0610839565b90506020028101906103b29190610868565b8261052b565b6103c95760009450505050506102dc565b9091039060010161032c565b60006103df6104ba565b60015b92915050565b60006103f26104ba565b6103e2823461052b565b6060600061040983610571565b600101905060008167ffffffffffffffff811115610429576104296108a6565b6040519080825280601f01601f191660200182016040528015610453576020820181803683370190505b5090508181016020015b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff017f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a850494508461045d57509392505050565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614610529576040517f4ca8886700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b565b60007f000000000000000000000000000000000000000000000000000000000000000061055e60808501606086016108d5565b67ffffffffffffffff1610159392505050565b6000807a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083106105ba577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000830492506040015b6d04ee2d6d415b85acef810000000083106105e6576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061060457662386f26fc10000830492506010015b6305f5e100831061061c576305f5e100830492506008015b612710831061063057612710830492506004015b60648310610642576064830492506002015b600a83106103e25760010192915050565b60005b8381101561066e578181015183820152602001610656565b50506000910152565b6020815260008251806020840152610696816040850160208701610653565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160400192915050565b60008083601f8401126106da57600080fd5b50813567ffffffffffffffff8111156106f257600080fd5b6020830191508360208260051b850101111561070d57600080fd5b9250929050565b6000806000806040858703121561072a57600080fd5b843567ffffffffffffffff8082111561074257600080fd5b61074e888389016106c8565b9096509450602087013591508082111561076757600080fd5b50610774878288016106c8565b95989497509550505050565b60006020828403121561079257600080fd5b813567ffffffffffffffff8111156107a957600080fd5b820161014081850312156107bc57600080fd5b9392505050565b600084516107d5818460208901610653565b80830190507f2e000000000000000000000000000000000000000000000000000000000000008082528551610811816001850160208a01610653565b6001920191820152835161082c816002840160208801610653565b0160020195945050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600082357ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffec183360301811261089c57600080fd5b9190910192915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000602082840312156108e757600080fd5b813567ffffffffffffffff811681146107bc57600080fdfea164736f6c6343000813000a";class s extends a.ContractFactory{constructor(){for(var e=arguments.length,t=new Array(e),n=0;n1?super(...t):super(i,o,t[0])}getDeployTransaction(e,t,n){return super.getDeployTransaction(e,t,n||{})}deploy(e,t,n){return super.deploy(e,t,n||{})}connect(e){return super.connect(e)}static createInterface(){return new a.Interface(i)}static connect(e,t){return new a.Contract(e,i,t)}}r(s,"bytecode",o),r(s,"abi",i),t.ExpirationTimeResolver__factory=s},58513:(e,t,n)=>{"use strict";var r=n(38416).default;Object.defineProperty(t,"__esModule",{value:!0}),t.PayingResolver__factory=void 0;const a=n(79332),i=[{inputs:[{internalType:"contract IEAS",name:"eas",type:"address"},{internalType:"uint256",name:"incentive",type:"uint256"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[],name:"AccessDenied",type:"error"},{inputs:[],name:"InsufficientValue",type:"error"},{inputs:[],name:"InvalidEAS",type:"error"},{inputs:[],name:"InvalidLength",type:"error"},{inputs:[],name:"InvalidValue",type:"error"},{inputs:[],name:"NotPayable",type:"error"},{inputs:[{components:[{internalType:"bytes32",name:"uid",type:"bytes32"},{internalType:"bytes32",name:"schema",type:"bytes32"},{internalType:"uint64",name:"time",type:"uint64"},{internalType:"uint64",name:"expirationTime",type:"uint64"},{internalType:"uint64",name:"revocationTime",type:"uint64"},{internalType:"bytes32",name:"refUID",type:"bytes32"},{internalType:"address",name:"recipient",type:"address"},{internalType:"address",name:"attester",type:"address"},{internalType:"bool",name:"revocable",type:"bool"},{internalType:"bytes",name:"data",type:"bytes"}],internalType:"struct Attestation",name:"attestation",type:"tuple"}],name:"attest",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"payable",type:"function"},{inputs:[],name:"isPayable",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"pure",type:"function"},{inputs:[{components:[{internalType:"bytes32",name:"uid",type:"bytes32"},{internalType:"bytes32",name:"schema",type:"bytes32"},{internalType:"uint64",name:"time",type:"uint64"},{internalType:"uint64",name:"expirationTime",type:"uint64"},{internalType:"uint64",name:"revocationTime",type:"uint64"},{internalType:"bytes32",name:"refUID",type:"bytes32"},{internalType:"address",name:"recipient",type:"address"},{internalType:"address",name:"attester",type:"address"},{internalType:"bool",name:"revocable",type:"bool"},{internalType:"bytes",name:"data",type:"bytes"}],internalType:"struct Attestation[]",name:"attestations",type:"tuple[]"},{internalType:"uint256[]",name:"values",type:"uint256[]"}],name:"multiAttest",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"payable",type:"function"},{inputs:[{components:[{internalType:"bytes32",name:"uid",type:"bytes32"},{internalType:"bytes32",name:"schema",type:"bytes32"},{internalType:"uint64",name:"time",type:"uint64"},{internalType:"uint64",name:"expirationTime",type:"uint64"},{internalType:"uint64",name:"revocationTime",type:"uint64"},{internalType:"bytes32",name:"refUID",type:"bytes32"},{internalType:"address",name:"recipient",type:"address"},{internalType:"address",name:"attester",type:"address"},{internalType:"bool",name:"revocable",type:"bool"},{internalType:"bytes",name:"data",type:"bytes"}],internalType:"struct Attestation[]",name:"attestations",type:"tuple[]"},{internalType:"uint256[]",name:"values",type:"uint256[]"}],name:"multiRevoke",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"payable",type:"function"},{inputs:[{components:[{internalType:"bytes32",name:"uid",type:"bytes32"},{internalType:"bytes32",name:"schema",type:"bytes32"},{internalType:"uint64",name:"time",type:"uint64"},{internalType:"uint64",name:"expirationTime",type:"uint64"},{internalType:"uint64",name:"revocationTime",type:"uint64"},{internalType:"bytes32",name:"refUID",type:"bytes32"},{internalType:"address",name:"recipient",type:"address"},{internalType:"address",name:"attester",type:"address"},{internalType:"bool",name:"revocable",type:"bool"},{internalType:"bytes",name:"data",type:"bytes"}],internalType:"struct Attestation",name:"attestation",type:"tuple"}],name:"revoke",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"payable",type:"function"},{inputs:[],name:"version",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{stateMutability:"payable",type:"receive"}],o="0x61012060405234801561001157600080fd5b50604051610ca4380380610ca48339810160408190526100309161007d565b6001608052600260a052600060c052816001600160a01b038116610067576040516341bc07ff60e11b815260040160405180910390fd5b6001600160a01b031660e05261010052506100b7565b6000806040838503121561009057600080fd5b82516001600160a01b03811681146100a757600080fd5b6020939093015192949293505050565b60805160a05160c05160e05161010051610b9461011060003960008181610506015281816105360152818161056401526105fb015260006104a90152600061016901526000610140015260006101170152610b946000f3fe6080604052600436106100695760003560e01c8063ce46e04611610043578063ce46e046146100d6578063e49617e1146100ea578063e60c3505146100fd57600080fd5b806354fd4d501461007557806388e5b2d9146100a057806391db0b7e146100c357600080fd5b3661007057005b600080fd5b34801561008157600080fd5b5061008a610110565b60405161009791906108b9565b60405180910390f35b6100b36100ae366004610956565b6101b3565b6040519015158152602001610097565b6100b36100d1366004610956565b6102b4565b3480156100e257600080fd5b5060016100b3565b6100b36100f83660046109c2565b6103a5565b6100b361010b3660046109c2565b6103bf565b606061013b7f00000000000000000000000000000000000000000000000000000000000000006103d3565b6101647f00000000000000000000000000000000000000000000000000000000000000006103d3565b61018d7f00000000000000000000000000000000000000000000000000000000000000006103d3565b60405160200161019f93929190610a05565b604051602081830303815290604052905090565b60006101bd610491565b838281146101f7576040517f947d5a8400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3460005b828110156102a457600086868381811061021757610217610a7b565b9050602002013590508281111561025a576040517f1101129400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61028789898481811061026f5761026f610a7b565b90506020028101906102819190610aaa565b82610502565b6102985760009450505050506102ac565b909103906001016101fb565b506001925050505b949350505050565b60006102be610491565b838281146102f8576040517f947d5a8400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3460005b828110156102a457600086868381811061031857610318610a7b565b9050602002013590508281111561035b576040517f1101129400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61038889898481811061037057610370610a7b565b90506020028101906103829190610aaa565b826105bf565b6103995760009450505050506102ac565b909103906001016102fc565b60006103af610491565b6103b98234610502565b92915050565b60006103c9610491565b6103b982346105bf565b606060006103e08361064f565b600101905060008167ffffffffffffffff81111561040057610400610ae8565b6040519080825280601f01601f19166020018201604052801561042a576020820181803683370190505b5090508181016020015b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff017f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a850494508461043457509392505050565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614610500576040517f4ca8886700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b565b60007f0000000000000000000000000000000000000000000000000000000000000000821015610534575060006103b9565b7f00000000000000000000000000000000000000000000000000000000000000008211156105b6576105b66105897f000000000000000000000000000000000000000000000000000000000000000084610b17565b61059a610100860160e08701610b51565b73ffffffffffffffffffffffffffffffffffffffff1690610731565b50600192915050565b600081156105cf575060006103b9565b6105e0610100840160e08501610b51565b73ffffffffffffffffffffffffffffffffffffffff166108fc7f00000000000000000000000000000000000000000000000000000000000000009081150290604051600060405180830381858888f19350505050158015610645573d6000803e3d6000fd5b5060019392505050565b6000807a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310610698577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000830492506040015b6d04ee2d6d415b85acef810000000083106106c4576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106106e257662386f26fc10000830492506010015b6305f5e10083106106fa576305f5e100830492506008015b612710831061070e57612710830492506004015b60648310610720576064830492506002015b600a83106103b95760010192915050565b804710156107a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e636500000060448201526064015b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff168260405160006040518083038185875af1925050503d80600081146107fa576040519150601f19603f3d011682016040523d82523d6000602084013e6107ff565b606091505b5050905080610890576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610797565b505050565b60005b838110156108b0578181015183820152602001610898565b50506000910152565b60208152600082518060208401526108d8816040850160208701610895565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160400192915050565b60008083601f84011261091c57600080fd5b50813567ffffffffffffffff81111561093457600080fd5b6020830191508360208260051b850101111561094f57600080fd5b9250929050565b6000806000806040858703121561096c57600080fd5b843567ffffffffffffffff8082111561098457600080fd5b6109908883890161090a565b909650945060208701359150808211156109a957600080fd5b506109b68782880161090a565b95989497509550505050565b6000602082840312156109d457600080fd5b813567ffffffffffffffff8111156109eb57600080fd5b820161014081850312156109fe57600080fd5b9392505050565b60008451610a17818460208901610895565b80830190507f2e000000000000000000000000000000000000000000000000000000000000008082528551610a53816001850160208a01610895565b60019201918201528351610a6e816002840160208801610895565b0160020195945050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600082357ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffec1833603018112610ade57600080fd5b9190910192915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b818103818111156103b9577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600060208284031215610b6357600080fd5b813573ffffffffffffffffffffffffffffffffffffffff811681146109fe57600080fdfea164736f6c6343000813000a";class s extends a.ContractFactory{constructor(){for(var e=arguments.length,t=new Array(e),n=0;n1?super(...t):super(i,o,t[0])}getDeployTransaction(e,t,n){return super.getDeployTransaction(e,t,n||{})}deploy(e,t,n){return super.deploy(e,t,n||{})}connect(e){return super.connect(e)}static createInterface(){return new a.Interface(i)}static connect(e,t){return new a.Contract(e,i,t)}}r(s,"bytecode",o),r(s,"abi",i),t.PayingResolver__factory=s},53880:(e,t,n)=>{"use strict";var r=n(38416).default;Object.defineProperty(t,"__esModule",{value:!0}),t.RecipientResolver__factory=void 0;const a=n(79332),i=[{inputs:[{internalType:"contract IEAS",name:"eas",type:"address"},{internalType:"address",name:"targetRecipient",type:"address"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[],name:"AccessDenied",type:"error"},{inputs:[],name:"InsufficientValue",type:"error"},{inputs:[],name:"InvalidEAS",type:"error"},{inputs:[],name:"InvalidLength",type:"error"},{inputs:[],name:"NotPayable",type:"error"},{inputs:[{components:[{internalType:"bytes32",name:"uid",type:"bytes32"},{internalType:"bytes32",name:"schema",type:"bytes32"},{internalType:"uint64",name:"time",type:"uint64"},{internalType:"uint64",name:"expirationTime",type:"uint64"},{internalType:"uint64",name:"revocationTime",type:"uint64"},{internalType:"bytes32",name:"refUID",type:"bytes32"},{internalType:"address",name:"recipient",type:"address"},{internalType:"address",name:"attester",type:"address"},{internalType:"bool",name:"revocable",type:"bool"},{internalType:"bytes",name:"data",type:"bytes"}],internalType:"struct Attestation",name:"attestation",type:"tuple"}],name:"attest",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"payable",type:"function"},{inputs:[],name:"isPayable",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"pure",type:"function"},{inputs:[{components:[{internalType:"bytes32",name:"uid",type:"bytes32"},{internalType:"bytes32",name:"schema",type:"bytes32"},{internalType:"uint64",name:"time",type:"uint64"},{internalType:"uint64",name:"expirationTime",type:"uint64"},{internalType:"uint64",name:"revocationTime",type:"uint64"},{internalType:"bytes32",name:"refUID",type:"bytes32"},{internalType:"address",name:"recipient",type:"address"},{internalType:"address",name:"attester",type:"address"},{internalType:"bool",name:"revocable",type:"bool"},{internalType:"bytes",name:"data",type:"bytes"}],internalType:"struct Attestation[]",name:"attestations",type:"tuple[]"},{internalType:"uint256[]",name:"values",type:"uint256[]"}],name:"multiAttest",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"payable",type:"function"},{inputs:[{components:[{internalType:"bytes32",name:"uid",type:"bytes32"},{internalType:"bytes32",name:"schema",type:"bytes32"},{internalType:"uint64",name:"time",type:"uint64"},{internalType:"uint64",name:"expirationTime",type:"uint64"},{internalType:"uint64",name:"revocationTime",type:"uint64"},{internalType:"bytes32",name:"refUID",type:"bytes32"},{internalType:"address",name:"recipient",type:"address"},{internalType:"address",name:"attester",type:"address"},{internalType:"bool",name:"revocable",type:"bool"},{internalType:"bytes",name:"data",type:"bytes"}],internalType:"struct Attestation[]",name:"attestations",type:"tuple[]"},{internalType:"uint256[]",name:"values",type:"uint256[]"}],name:"multiRevoke",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"payable",type:"function"},{inputs:[{components:[{internalType:"bytes32",name:"uid",type:"bytes32"},{internalType:"bytes32",name:"schema",type:"bytes32"},{internalType:"uint64",name:"time",type:"uint64"},{internalType:"uint64",name:"expirationTime",type:"uint64"},{internalType:"uint64",name:"revocationTime",type:"uint64"},{internalType:"bytes32",name:"refUID",type:"bytes32"},{internalType:"address",name:"recipient",type:"address"},{internalType:"address",name:"attester",type:"address"},{internalType:"bool",name:"revocable",type:"bool"},{internalType:"bytes",name:"data",type:"bytes"}],internalType:"struct Attestation",name:"attestation",type:"tuple"}],name:"revoke",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"payable",type:"function"},{inputs:[],name:"version",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{stateMutability:"payable",type:"receive"}],o="0x61012060405234801561001157600080fd5b50604051610a4f380380610a4f83398101604081905261003091610098565b6001608052600260a052600060c052816001600160a01b038116610067576040516341bc07ff60e11b815260040160405180910390fd5b6001600160a01b0390811660e0521661010052506100d2565b6001600160a01b038116811461009557600080fd5b50565b600080604083850312156100ab57600080fd5b82516100b681610080565b60208401519092506100c781610080565b809150509250929050565b60805160a05160c05160e051610100516109396101166000396000610544015260006104d201526000610199015260006101700152600061014701526109396000f3fe6080604052600436106100695760003560e01c8063ce46e04611610043578063ce46e04614610106578063e49617e11461011a578063e60c35051461012d57600080fd5b806354fd4d50146100a557806388e5b2d9146100d057806391db0b7e146100f357600080fd5b366100a0576040517f1574f9f300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080fd5b3480156100b157600080fd5b506100ba610140565b6040516100c79190610698565b60405180910390f35b6100e36100de366004610735565b6101e3565b60405190151581526020016100c7565b6100e3610101366004610735565b6102e4565b34801561011257600080fd5b5060006100e3565b6100e36101283660046107a1565b6103d5565b6100e361013b3660046107a1565b6103e8565b606061016b7f00000000000000000000000000000000000000000000000000000000000000006103fc565b6101947f00000000000000000000000000000000000000000000000000000000000000006103fc565b6101bd7f00000000000000000000000000000000000000000000000000000000000000006103fc565b6040516020016101cf939291906107e4565b604051602081830303815290604052905090565b60006101ed6104ba565b83828114610227576040517f947d5a8400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3460005b828110156102d45760008686838181106102475761024761085a565b9050602002013590508281111561028a576040517f1101129400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6102b789898481811061029f5761029f61085a565b90506020028101906102b19190610889565b50600190565b6102c85760009450505050506102dc565b9091039060010161022b565b506001925050505b949350505050565b60006102ee6104ba565b83828114610328576040517f947d5a8400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3460005b828110156102d45760008686838181106103485761034861085a565b9050602002013590508281111561038b576040517f1101129400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6103b88989848181106103a0576103a061085a565b90506020028101906103b29190610889565b8261052b565b6103c95760009450505050506102dc565b9091039060010161032c565b60006103df6104ba565b60015b92915050565b60006103f26104ba565b6103e2823461052b565b6060600061040983610592565b600101905060008167ffffffffffffffff811115610429576104296108c7565b6040519080825280601f01601f191660200182016040528015610453576020820181803683370190505b5090508181016020015b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff017f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a850494508461045d57509392505050565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614610529576040517f4ca8886700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b565b600073ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001661057460e0850160c086016108f6565b73ffffffffffffffffffffffffffffffffffffffff16149392505050565b6000807a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083106105db577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000830492506040015b6d04ee2d6d415b85acef81000000008310610607576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061062557662386f26fc10000830492506010015b6305f5e100831061063d576305f5e100830492506008015b612710831061065157612710830492506004015b60648310610663576064830492506002015b600a83106103e25760010192915050565b60005b8381101561068f578181015183820152602001610677565b50506000910152565b60208152600082518060208401526106b7816040850160208701610674565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160400192915050565b60008083601f8401126106fb57600080fd5b50813567ffffffffffffffff81111561071357600080fd5b6020830191508360208260051b850101111561072e57600080fd5b9250929050565b6000806000806040858703121561074b57600080fd5b843567ffffffffffffffff8082111561076357600080fd5b61076f888389016106e9565b9096509450602087013591508082111561078857600080fd5b50610795878288016106e9565b95989497509550505050565b6000602082840312156107b357600080fd5b813567ffffffffffffffff8111156107ca57600080fd5b820161014081850312156107dd57600080fd5b9392505050565b600084516107f6818460208901610674565b80830190507f2e000000000000000000000000000000000000000000000000000000000000008082528551610832816001850160208a01610674565b6001920191820152835161084d816002840160208801610674565b0160020195945050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600082357ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffec18336030181126108bd57600080fd5b9190910192915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60006020828403121561090857600080fd5b813573ffffffffffffffffffffffffffffffffffffffff811681146107dd57600080fdfea164736f6c6343000813000a";class s extends a.ContractFactory{constructor(){for(var e=arguments.length,t=new Array(e),n=0;n1?super(...t):super(i,o,t[0])}getDeployTransaction(e,t,n){return super.getDeployTransaction(e,t,n||{})}deploy(e,t,n){return super.deploy(e,t,n||{})}connect(e){return super.connect(e)}static createInterface(){return new a.Interface(i)}static connect(e,t){return new a.Contract(e,i,t)}}r(s,"bytecode",o),r(s,"abi",i),t.RecipientResolver__factory=s},43455:(e,t,n)=>{"use strict";var r=n(38416).default;Object.defineProperty(t,"__esModule",{value:!0}),t.RevocationResolver__factory=void 0;const a=n(79332),i=[{inputs:[{internalType:"contract IEAS",name:"eas",type:"address"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[],name:"AccessDenied",type:"error"},{inputs:[],name:"InsufficientValue",type:"error"},{inputs:[],name:"InvalidEAS",type:"error"},{inputs:[],name:"InvalidLength",type:"error"},{inputs:[],name:"NotPayable",type:"error"},{inputs:[{components:[{internalType:"bytes32",name:"uid",type:"bytes32"},{internalType:"bytes32",name:"schema",type:"bytes32"},{internalType:"uint64",name:"time",type:"uint64"},{internalType:"uint64",name:"expirationTime",type:"uint64"},{internalType:"uint64",name:"revocationTime",type:"uint64"},{internalType:"bytes32",name:"refUID",type:"bytes32"},{internalType:"address",name:"recipient",type:"address"},{internalType:"address",name:"attester",type:"address"},{internalType:"bool",name:"revocable",type:"bool"},{internalType:"bytes",name:"data",type:"bytes"}],internalType:"struct Attestation",name:"attestation",type:"tuple"}],name:"attest",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"payable",type:"function"},{inputs:[],name:"isPayable",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"pure",type:"function"},{inputs:[{components:[{internalType:"bytes32",name:"uid",type:"bytes32"},{internalType:"bytes32",name:"schema",type:"bytes32"},{internalType:"uint64",name:"time",type:"uint64"},{internalType:"uint64",name:"expirationTime",type:"uint64"},{internalType:"uint64",name:"revocationTime",type:"uint64"},{internalType:"bytes32",name:"refUID",type:"bytes32"},{internalType:"address",name:"recipient",type:"address"},{internalType:"address",name:"attester",type:"address"},{internalType:"bool",name:"revocable",type:"bool"},{internalType:"bytes",name:"data",type:"bytes"}],internalType:"struct Attestation[]",name:"attestations",type:"tuple[]"},{internalType:"uint256[]",name:"values",type:"uint256[]"}],name:"multiAttest",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"payable",type:"function"},{inputs:[{components:[{internalType:"bytes32",name:"uid",type:"bytes32"},{internalType:"bytes32",name:"schema",type:"bytes32"},{internalType:"uint64",name:"time",type:"uint64"},{internalType:"uint64",name:"expirationTime",type:"uint64"},{internalType:"uint64",name:"revocationTime",type:"uint64"},{internalType:"bytes32",name:"refUID",type:"bytes32"},{internalType:"address",name:"recipient",type:"address"},{internalType:"address",name:"attester",type:"address"},{internalType:"bool",name:"revocable",type:"bool"},{internalType:"bytes",name:"data",type:"bytes"}],internalType:"struct Attestation[]",name:"attestations",type:"tuple[]"},{internalType:"uint256[]",name:"values",type:"uint256[]"}],name:"multiRevoke",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"payable",type:"function"},{inputs:[{components:[{internalType:"bytes32",name:"uid",type:"bytes32"},{internalType:"bytes32",name:"schema",type:"bytes32"},{internalType:"uint64",name:"time",type:"uint64"},{internalType:"uint64",name:"expirationTime",type:"uint64"},{internalType:"uint64",name:"revocationTime",type:"uint64"},{internalType:"bytes32",name:"refUID",type:"bytes32"},{internalType:"address",name:"recipient",type:"address"},{internalType:"address",name:"attester",type:"address"},{internalType:"bool",name:"revocable",type:"bool"},{internalType:"bytes",name:"data",type:"bytes"}],internalType:"struct Attestation",name:"attestation",type:"tuple"}],name:"revoke",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"payable",type:"function"},{inputs:[{internalType:"bool",name:"status",type:"bool"}],name:"setRevocation",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"version",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{stateMutability:"payable",type:"receive"}],o="0x61010060405234801561001157600080fd5b506040516109fe3803806109fe83398101604081905261003091610079565b6001608052600260a052600060c052806001600160a01b038116610067576040516341bc07ff60e11b815260040160405180910390fd5b6001600160a01b031660e052506100a9565b60006020828403121561008b57600080fd5b81516001600160a01b03811681146100a257600080fd5b9392505050565b60805160a05160c05160e05161091c6100e26000396000610530015260006101f2015260006101c9015260006101a0015261091c6000f3fe6080604052600436106100745760003560e01c8063ce46e0461161004e578063ce46e04614610113578063e49617e114610127578063e60c35051461013a578063f545cb661461014d57600080fd5b806354fd4d50146100b257806388e5b2d9146100dd57806391db0b7e1461010057600080fd5b366100ad576040517f1574f9f300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b005b600080fd5b3480156100be57600080fd5b506100c7610199565b6040516100d4919061068f565b60405180910390f35b6100f06100eb36600461072c565b61023c565b60405190151581526020016100d4565b6100f061010e36600461072c565b610341565b34801561011f57600080fd5b5060006100f0565b6100f0610135366004610798565b610432565b6100f0610148366004610798565b610449565b34801561015957600080fd5b506100ab6101683660046107db565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055565b60606101c47f000000000000000000000000000000000000000000000000000000000000000061045a565b6101ed7f000000000000000000000000000000000000000000000000000000000000000061045a565b6102167f000000000000000000000000000000000000000000000000000000000000000061045a565b604051602001610228939291906107fd565b604051602081830303815290604052905090565b6000610246610518565b83828114610280576040517f947d5a8400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3460005b828110156103315760008686838181106102a0576102a0610873565b905060200201359050828111156102e3576040517f1101129400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6103148989848181106102f8576102f8610873565b905060200281019061030a91906108a2565b5060005460ff1690565b610325576000945050505050610339565b90910390600101610284565b506001925050505b949350505050565b600061034b610518565b83828114610385576040517f947d5a8400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3460005b828110156103315760008686838181106103a5576103a5610873565b905060200201359050828111156103e8576040517f1101129400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6104158989848181106103fd576103fd610873565b905060200281019061040f91906108a2565b50600190565b610426576000945050505050610339565b90910390600101610389565b600061043c610518565b60005460ff165b92915050565b6000610453610518565b6001610443565b6060600061046783610589565b600101905060008167ffffffffffffffff811115610487576104876108e0565b6040519080825280601f01601f1916602001820160405280156104b1576020820181803683370190505b5090508181016020015b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff017f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a85049450846104bb57509392505050565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614610587576040517f4ca8886700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b565b6000807a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083106105d2577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000830492506040015b6d04ee2d6d415b85acef810000000083106105fe576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061061c57662386f26fc10000830492506010015b6305f5e1008310610634576305f5e100830492506008015b612710831061064857612710830492506004015b6064831061065a576064830492506002015b600a83106104435760010192915050565b60005b8381101561068657818101518382015260200161066e565b50506000910152565b60208152600082518060208401526106ae81604085016020870161066b565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160400192915050565b60008083601f8401126106f257600080fd5b50813567ffffffffffffffff81111561070a57600080fd5b6020830191508360208260051b850101111561072557600080fd5b9250929050565b6000806000806040858703121561074257600080fd5b843567ffffffffffffffff8082111561075a57600080fd5b610766888389016106e0565b9096509450602087013591508082111561077f57600080fd5b5061078c878288016106e0565b95989497509550505050565b6000602082840312156107aa57600080fd5b813567ffffffffffffffff8111156107c157600080fd5b820161014081850312156107d457600080fd5b9392505050565b6000602082840312156107ed57600080fd5b813580151581146107d457600080fd5b6000845161080f81846020890161066b565b80830190507f2e00000000000000000000000000000000000000000000000000000000000000808252855161084b816001850160208a0161066b565b6001920191820152835161086681600284016020880161066b565b0160020195945050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600082357ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffec18336030181126108d657600080fd5b9190910192915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fdfea164736f6c6343000813000a";class s extends a.ContractFactory{constructor(){for(var e=arguments.length,t=new Array(e),n=0;n1?super(...t):super(i,o,t[0])}getDeployTransaction(e,t){return super.getDeployTransaction(e,t||{})}deploy(e,t){return super.deploy(e,t||{})}connect(e){return super.connect(e)}static createInterface(){return new a.Interface(i)}static connect(e,t){return new a.Contract(e,i,t)}}r(s,"bytecode",o),r(s,"abi",i),t.RevocationResolver__factory=s},44022:(e,t,n)=>{"use strict";var r=n(38416).default;Object.defineProperty(t,"__esModule",{value:!0}),t.TokenResolver__factory=void 0;const a=n(79332),i=[{inputs:[{internalType:"contract IEAS",name:"eas",type:"address"},{internalType:"contract IERC20",name:"targetToken",type:"address"},{internalType:"uint256",name:"targetAmount",type:"uint256"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[],name:"AccessDenied",type:"error"},{inputs:[],name:"InsufficientValue",type:"error"},{inputs:[],name:"InvalidAllowance",type:"error"},{inputs:[],name:"InvalidEAS",type:"error"},{inputs:[],name:"InvalidLength",type:"error"},{inputs:[],name:"NotPayable",type:"error"},{inputs:[{components:[{internalType:"bytes32",name:"uid",type:"bytes32"},{internalType:"bytes32",name:"schema",type:"bytes32"},{internalType:"uint64",name:"time",type:"uint64"},{internalType:"uint64",name:"expirationTime",type:"uint64"},{internalType:"uint64",name:"revocationTime",type:"uint64"},{internalType:"bytes32",name:"refUID",type:"bytes32"},{internalType:"address",name:"recipient",type:"address"},{internalType:"address",name:"attester",type:"address"},{internalType:"bool",name:"revocable",type:"bool"},{internalType:"bytes",name:"data",type:"bytes"}],internalType:"struct Attestation",name:"attestation",type:"tuple"}],name:"attest",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"payable",type:"function"},{inputs:[],name:"isPayable",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"pure",type:"function"},{inputs:[{components:[{internalType:"bytes32",name:"uid",type:"bytes32"},{internalType:"bytes32",name:"schema",type:"bytes32"},{internalType:"uint64",name:"time",type:"uint64"},{internalType:"uint64",name:"expirationTime",type:"uint64"},{internalType:"uint64",name:"revocationTime",type:"uint64"},{internalType:"bytes32",name:"refUID",type:"bytes32"},{internalType:"address",name:"recipient",type:"address"},{internalType:"address",name:"attester",type:"address"},{internalType:"bool",name:"revocable",type:"bool"},{internalType:"bytes",name:"data",type:"bytes"}],internalType:"struct Attestation[]",name:"attestations",type:"tuple[]"},{internalType:"uint256[]",name:"values",type:"uint256[]"}],name:"multiAttest",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"payable",type:"function"},{inputs:[{components:[{internalType:"bytes32",name:"uid",type:"bytes32"},{internalType:"bytes32",name:"schema",type:"bytes32"},{internalType:"uint64",name:"time",type:"uint64"},{internalType:"uint64",name:"expirationTime",type:"uint64"},{internalType:"uint64",name:"revocationTime",type:"uint64"},{internalType:"bytes32",name:"refUID",type:"bytes32"},{internalType:"address",name:"recipient",type:"address"},{internalType:"address",name:"attester",type:"address"},{internalType:"bool",name:"revocable",type:"bool"},{internalType:"bytes",name:"data",type:"bytes"}],internalType:"struct Attestation[]",name:"attestations",type:"tuple[]"},{internalType:"uint256[]",name:"values",type:"uint256[]"}],name:"multiRevoke",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"payable",type:"function"},{inputs:[{components:[{internalType:"bytes32",name:"uid",type:"bytes32"},{internalType:"bytes32",name:"schema",type:"bytes32"},{internalType:"uint64",name:"time",type:"uint64"},{internalType:"uint64",name:"expirationTime",type:"uint64"},{internalType:"uint64",name:"revocationTime",type:"uint64"},{internalType:"bytes32",name:"refUID",type:"bytes32"},{internalType:"address",name:"recipient",type:"address"},{internalType:"address",name:"attester",type:"address"},{internalType:"bool",name:"revocable",type:"bool"},{internalType:"bytes",name:"data",type:"bytes"}],internalType:"struct Attestation",name:"attestation",type:"tuple"}],name:"revoke",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"payable",type:"function"},{inputs:[],name:"version",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{stateMutability:"payable",type:"receive"}],o="0x61014060405234801561001157600080fd5b50604051610b60380380610b608339810160408190526100309161009f565b6001608052600260a052600060c052826001600160a01b038116610067576040516341bc07ff60e11b815260040160405180910390fd5b6001600160a01b0390811660e052919091166101005261012052506100e2565b6001600160a01b038116811461009c57600080fd5b50565b6000806000606084860312156100b457600080fd5b83516100bf81610087565b60208501519093506100d081610087565b80925050604084015190509250925092565b60805160a05160c05160e0516101005161012051610a2f610131600039600061052f01526000610565015260006104d20152600061019901526000610170015260006101470152610a2f6000f3fe6080604052600436106100695760003560e01c8063ce46e04611610043578063ce46e04614610106578063e49617e11461011a578063e60c35051461012d57600080fd5b806354fd4d50146100a557806388e5b2d9146100d057806391db0b7e146100f357600080fd5b366100a0576040517f1574f9f300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080fd5b3480156100b157600080fd5b506100ba610140565b6040516100c79190610775565b60405180910390f35b6100e36100de366004610812565b6101e3565b60405190151581526020016100c7565b6100e3610101366004610812565b6102e4565b34801561011257600080fd5b5060006100e3565b6100e361012836600461087e565b6103d5565b6100e361013b36600461087e565b6103e8565b606061016b7f00000000000000000000000000000000000000000000000000000000000000006103fc565b6101947f00000000000000000000000000000000000000000000000000000000000000006103fc565b6101bd7f00000000000000000000000000000000000000000000000000000000000000006103fc565b6040516020016101cf939291906108c1565b604051602081830303815290604052905090565b60006101ed6104ba565b83828114610227576040517f947d5a8400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3460005b828110156102d457600086868381811061024757610247610937565b9050602002013590508281111561028a576040517f1101129400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6102b789898481811061029f5761029f610937565b90506020028101906102b19190610966565b50600190565b6102c85760009450505050506102dc565b9091039060010161022b565b506001925050505b949350505050565b60006102ee6104ba565b83828114610328576040517f947d5a8400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3460005b828110156102d457600086868381811061034857610348610937565b9050602002013590508281111561038b576040517f1101129400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6103b88989848181106103a0576103a0610937565b90506020028101906103b29190610966565b8261052b565b6103c95760009450505050506102dc565b9091039060010161032c565b60006103df6104ba565b60015b92915050565b60006103f26104ba565b6103e2823461052b565b606060006104098361066f565b600101905060008167ffffffffffffffff811115610429576104296109a4565b6040519080825280601f01601f191660200182016040528015610453576020820181803683370190505b5090508181016020015b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff017f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a850494508461045d57509392505050565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614610529576040517f4ca8886700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001663dd62ed3e61059b610100870160e088016109d3565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e084901b16815273ffffffffffffffffffffffffffffffffffffffff9091166004820152306024820152604401602060405180830381865afa15801561060a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061062e9190610a09565b1015610666576040517f65ba6fc300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50600192915050565b6000807a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083106106b8577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000830492506040015b6d04ee2d6d415b85acef810000000083106106e4576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061070257662386f26fc10000830492506010015b6305f5e100831061071a576305f5e100830492506008015b612710831061072e57612710830492506004015b60648310610740576064830492506002015b600a83106103e25760010192915050565b60005b8381101561076c578181015183820152602001610754565b50506000910152565b6020815260008251806020840152610794816040850160208701610751565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160400192915050565b60008083601f8401126107d857600080fd5b50813567ffffffffffffffff8111156107f057600080fd5b6020830191508360208260051b850101111561080b57600080fd5b9250929050565b6000806000806040858703121561082857600080fd5b843567ffffffffffffffff8082111561084057600080fd5b61084c888389016107c6565b9096509450602087013591508082111561086557600080fd5b50610872878288016107c6565b95989497509550505050565b60006020828403121561089057600080fd5b813567ffffffffffffffff8111156108a757600080fd5b820161014081850312156108ba57600080fd5b9392505050565b600084516108d3818460208901610751565b80830190507f2e00000000000000000000000000000000000000000000000000000000000000808252855161090f816001850160208a01610751565b6001920191820152835161092a816002840160208801610751565b0160020195945050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600082357ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffec183360301811261099a57600080fd5b9190910192915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000602082840312156109e557600080fd5b813573ffffffffffffffffffffffffffffffffffffffff811681146108ba57600080fd5b600060208284031215610a1b57600080fd5b505191905056fea164736f6c6343000813000a";class s extends a.ContractFactory{constructor(){for(var e=arguments.length,t=new Array(e),n=0;n1?super(...t):super(i,o,t[0])}getDeployTransaction(e,t,n,r){return super.getDeployTransaction(e,t,n,r||{})}deploy(e,t,n,r){return super.deploy(e,t,n,r||{})}connect(e){return super.connect(e)}static createInterface(){return new a.Interface(i)}static connect(e,t){return new a.Contract(e,i,t)}}r(s,"bytecode",o),r(s,"abi",i),t.TokenResolver__factory=s},27268:(e,t,n)=>{"use strict";var r=n(38416).default;Object.defineProperty(t,"__esModule",{value:!0}),t.ValueResolver__factory=void 0;const a=n(79332),i=[{inputs:[{internalType:"contract IEAS",name:"eas",type:"address"},{internalType:"uint256",name:"targetValue",type:"uint256"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[],name:"AccessDenied",type:"error"},{inputs:[],name:"InsufficientValue",type:"error"},{inputs:[],name:"InvalidEAS",type:"error"},{inputs:[],name:"InvalidLength",type:"error"},{inputs:[],name:"NotPayable",type:"error"},{inputs:[{components:[{internalType:"bytes32",name:"uid",type:"bytes32"},{internalType:"bytes32",name:"schema",type:"bytes32"},{internalType:"uint64",name:"time",type:"uint64"},{internalType:"uint64",name:"expirationTime",type:"uint64"},{internalType:"uint64",name:"revocationTime",type:"uint64"},{internalType:"bytes32",name:"refUID",type:"bytes32"},{internalType:"address",name:"recipient",type:"address"},{internalType:"address",name:"attester",type:"address"},{internalType:"bool",name:"revocable",type:"bool"},{internalType:"bytes",name:"data",type:"bytes"}],internalType:"struct Attestation",name:"attestation",type:"tuple"}],name:"attest",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"payable",type:"function"},{inputs:[],name:"isPayable",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"pure",type:"function"},{inputs:[{components:[{internalType:"bytes32",name:"uid",type:"bytes32"},{internalType:"bytes32",name:"schema",type:"bytes32"},{internalType:"uint64",name:"time",type:"uint64"},{internalType:"uint64",name:"expirationTime",type:"uint64"},{internalType:"uint64",name:"revocationTime",type:"uint64"},{internalType:"bytes32",name:"refUID",type:"bytes32"},{internalType:"address",name:"recipient",type:"address"},{internalType:"address",name:"attester",type:"address"},{internalType:"bool",name:"revocable",type:"bool"},{internalType:"bytes",name:"data",type:"bytes"}],internalType:"struct Attestation[]",name:"attestations",type:"tuple[]"},{internalType:"uint256[]",name:"values",type:"uint256[]"}],name:"multiAttest",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"payable",type:"function"},{inputs:[{components:[{internalType:"bytes32",name:"uid",type:"bytes32"},{internalType:"bytes32",name:"schema",type:"bytes32"},{internalType:"uint64",name:"time",type:"uint64"},{internalType:"uint64",name:"expirationTime",type:"uint64"},{internalType:"uint64",name:"revocationTime",type:"uint64"},{internalType:"bytes32",name:"refUID",type:"bytes32"},{internalType:"address",name:"recipient",type:"address"},{internalType:"address",name:"attester",type:"address"},{internalType:"bool",name:"revocable",type:"bool"},{internalType:"bytes",name:"data",type:"bytes"}],internalType:"struct Attestation[]",name:"attestations",type:"tuple[]"},{internalType:"uint256[]",name:"values",type:"uint256[]"}],name:"multiRevoke",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"payable",type:"function"},{inputs:[{components:[{internalType:"bytes32",name:"uid",type:"bytes32"},{internalType:"bytes32",name:"schema",type:"bytes32"},{internalType:"uint64",name:"time",type:"uint64"},{internalType:"uint64",name:"expirationTime",type:"uint64"},{internalType:"uint64",name:"revocationTime",type:"uint64"},{internalType:"bytes32",name:"refUID",type:"bytes32"},{internalType:"address",name:"recipient",type:"address"},{internalType:"address",name:"attester",type:"address"},{internalType:"bool",name:"revocable",type:"bool"},{internalType:"bytes",name:"data",type:"bytes"}],internalType:"struct Attestation",name:"attestation",type:"tuple"}],name:"revoke",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"payable",type:"function"},{inputs:[],name:"version",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{stateMutability:"payable",type:"receive"}],o="0x61012060405234801561001157600080fd5b506040516109ad3803806109ad8339810160408190526100309161007d565b6001608052600260a052600060c052816001600160a01b038116610067576040516341bc07ff60e11b815260040160405180910390fd5b6001600160a01b031660e05261010052506100b7565b6000806040838503121561009057600080fd5b82516001600160a01b03811681146100a757600080fd5b6020939093015192949293505050565b60805160a05160c05160e051610100516108ab6101026000396000818161038501526103e5015260006104e101526000610169015260006101400152600061011701526108ab6000f3fe6080604052600436106100695760003560e01c8063ce46e04611610043578063ce46e046146100d6578063e49617e1146100ea578063e60c3505146100fd57600080fd5b806354fd4d501461007557806388e5b2d9146100a057806391db0b7e146100c357600080fd5b3661007057005b600080fd5b34801561008157600080fd5b5061008a610110565b6040516100979190610640565b60405180910390f35b6100b36100ae3660046106dd565b6101b3565b6040519015158152602001610097565b6100b36100d13660046106dd565b6102b4565b3480156100e257600080fd5b5060016100b3565b6100b36100f8366004610749565b6103c6565b6100b361010b366004610749565b6103d9565b606061013b7f000000000000000000000000000000000000000000000000000000000000000061040b565b6101647f000000000000000000000000000000000000000000000000000000000000000061040b565b61018d7f000000000000000000000000000000000000000000000000000000000000000061040b565b60405160200161019f9392919061078c565b604051602081830303815290604052905090565b60006101bd6104c9565b838281146101f7576040517f947d5a8400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3460005b828110156102a457600086868381811061021757610217610802565b9050602002013590508281111561025a576040517f1101129400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61028789898481811061026f5761026f610802565b90506020028101906102819190610831565b50600190565b6102985760009450505050506102ac565b909103906001016101fb565b506001925050505b949350505050565b60006102be6104c9565b838281146102f8576040517f947d5a8400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3460005b828110156102a457600086868381811061031857610318610802565b9050602002013590508281111561035b576040517f1101129400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6103a989898481811061037057610370610802565b90506020028101906103829190610831565b507f0000000000000000000000000000000000000000000000000000000000000000821490565b6103ba5760009450505050506102ac565b909103906001016102fc565b60006103d06104c9565b60015b92915050565b60006103e36104c9565b7f000000000000000000000000000000000000000000000000000000000000000034146103d3565b606060006104188361053a565b600101905060008167ffffffffffffffff8111156104385761043861086f565b6040519080825280601f01601f191660200182016040528015610462576020820181803683370190505b5090508181016020015b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff017f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a850494508461046c57509392505050565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614610538576040517f4ca8886700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b565b6000807a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310610583577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000830492506040015b6d04ee2d6d415b85acef810000000083106105af576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106105cd57662386f26fc10000830492506010015b6305f5e10083106105e5576305f5e100830492506008015b61271083106105f957612710830492506004015b6064831061060b576064830492506002015b600a83106103d35760010192915050565b60005b8381101561063757818101518382015260200161061f565b50506000910152565b602081526000825180602084015261065f81604085016020870161061c565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160400192915050565b60008083601f8401126106a357600080fd5b50813567ffffffffffffffff8111156106bb57600080fd5b6020830191508360208260051b85010111156106d657600080fd5b9250929050565b600080600080604085870312156106f357600080fd5b843567ffffffffffffffff8082111561070b57600080fd5b61071788838901610691565b9096509450602087013591508082111561073057600080fd5b5061073d87828801610691565b95989497509550505050565b60006020828403121561075b57600080fd5b813567ffffffffffffffff81111561077257600080fd5b8201610140818503121561078557600080fd5b9392505050565b6000845161079e81846020890161061c565b80830190507f2e0000000000000000000000000000000000000000000000000000000000000080825285516107da816001850160208a0161061c565b600192019182015283516107f581600284016020880161061c565b0160020195945050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600082357ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffec183360301811261086557600080fd5b9190910192915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fdfea164736f6c6343000813000a";class s extends a.ContractFactory{constructor(){for(var e=arguments.length,t=new Array(e),n=0;n1?super(...t):super(i,o,t[0])}getDeployTransaction(e,t,n){return super.getDeployTransaction(e,t,n||{})}deploy(e,t,n){return super.deploy(e,t,n||{})}connect(e){return super.connect(e)}static createInterface(){return new a.Interface(i)}static connect(e,t){return new a.Contract(e,i,t)}}r(s,"bytecode",o),r(s,"abi",i),t.ValueResolver__factory=s},98895:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ValueResolver__factory=t.TokenResolver__factory=t.RevocationResolver__factory=t.RecipientResolver__factory=t.PayingResolver__factory=t.ExpirationTimeResolver__factory=t.DataResolver__factory=t.AttesterResolver__factory=t.AttestationResolver__factory=void 0;var r=n(41184);Object.defineProperty(t,"AttestationResolver__factory",{enumerable:!0,get:function(){return r.AttestationResolver__factory}});var a=n(68142);Object.defineProperty(t,"AttesterResolver__factory",{enumerable:!0,get:function(){return a.AttesterResolver__factory}});var i=n(5465);Object.defineProperty(t,"DataResolver__factory",{enumerable:!0,get:function(){return i.DataResolver__factory}});var o=n(51627);Object.defineProperty(t,"ExpirationTimeResolver__factory",{enumerable:!0,get:function(){return o.ExpirationTimeResolver__factory}});var s=n(58513);Object.defineProperty(t,"PayingResolver__factory",{enumerable:!0,get:function(){return s.PayingResolver__factory}});var c=n(53880);Object.defineProperty(t,"RecipientResolver__factory",{enumerable:!0,get:function(){return c.RecipientResolver__factory}});var l=n(43455);Object.defineProperty(t,"RevocationResolver__factory",{enumerable:!0,get:function(){return l.RevocationResolver__factory}});var f=n(44022);Object.defineProperty(t,"TokenResolver__factory",{enumerable:!0,get:function(){return f.TokenResolver__factory}});var u=n(27268);Object.defineProperty(t,"ValueResolver__factory",{enumerable:!0,get:function(){return u.ValueResolver__factory}})},38051:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.SchemaResolver__factory=t.ISchemaResolver__factory=t.examples=void 0,t.examples=i(n(98895));var o=n(98319);Object.defineProperty(t,"ISchemaResolver__factory",{enumerable:!0,get:function(){return o.ISchemaResolver__factory}});var s=n(50986);Object.defineProperty(t,"SchemaResolver__factory",{enumerable:!0,get:function(){return s.SchemaResolver__factory}})},5406:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.contracts=t.openzeppelin=void 0,t.openzeppelin=i(n(98656)),t.contracts=i(n(67906))},49701:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.Semver__factory=t.SchemaRegistry__factory=t.SchemaResolver__factory=t.ISchemaResolver__factory=t.ValueResolver__factory=t.TokenResolver__factory=t.RevocationResolver__factory=t.RecipientResolver__factory=t.PayingResolver__factory=t.ExpirationTimeResolver__factory=t.DataResolver__factory=t.AttesterResolver__factory=t.AttestationResolver__factory=t.ISchemaRegistry__factory=t.IEAS__factory=t.PermissionedEIP712Proxy__factory=t.EIP712Proxy__factory=t.EIP1271Verifier__factory=t.EAS__factory=t.ShortStrings__factory=t.EIP712__factory=t.IERC20__factory=t.IERC20Permit__factory=t.IERC20Metadata__factory=t.ERC20__factory=t.IERC5267__factory=t.IERC1271__factory=t.Ownable__factory=t.factories=void 0,t.factories=i(n(5406));var o=n(10973);Object.defineProperty(t,"Ownable__factory",{enumerable:!0,get:function(){return o.Ownable__factory}});var s=n(1557);Object.defineProperty(t,"IERC1271__factory",{enumerable:!0,get:function(){return s.IERC1271__factory}});var c=n(95692);Object.defineProperty(t,"IERC5267__factory",{enumerable:!0,get:function(){return c.IERC5267__factory}});var l=n(95123);Object.defineProperty(t,"ERC20__factory",{enumerable:!0,get:function(){return l.ERC20__factory}});var f=n(32031);Object.defineProperty(t,"IERC20Metadata__factory",{enumerable:!0,get:function(){return f.IERC20Metadata__factory}});var u=n(32744);Object.defineProperty(t,"IERC20Permit__factory",{enumerable:!0,get:function(){return u.IERC20Permit__factory}});var d=n(90518);Object.defineProperty(t,"IERC20__factory",{enumerable:!0,get:function(){return d.IERC20__factory}});var p=n(83060);Object.defineProperty(t,"EIP712__factory",{enumerable:!0,get:function(){return p.EIP712__factory}});var y=n(43262);Object.defineProperty(t,"ShortStrings__factory",{enumerable:!0,get:function(){return y.ShortStrings__factory}});var h=n(67056);Object.defineProperty(t,"EAS__factory",{enumerable:!0,get:function(){return h.EAS__factory}});var m=n(33579);Object.defineProperty(t,"EIP1271Verifier__factory",{enumerable:!0,get:function(){return m.EIP1271Verifier__factory}});var b=n(21741);Object.defineProperty(t,"EIP712Proxy__factory",{enumerable:!0,get:function(){return b.EIP712Proxy__factory}});var g=n(15189);Object.defineProperty(t,"PermissionedEIP712Proxy__factory",{enumerable:!0,get:function(){return g.PermissionedEIP712Proxy__factory}});var v=n(23060);Object.defineProperty(t,"IEAS__factory",{enumerable:!0,get:function(){return v.IEAS__factory}});var w=n(86634);Object.defineProperty(t,"ISchemaRegistry__factory",{enumerable:!0,get:function(){return w.ISchemaRegistry__factory}});var T=n(41184);Object.defineProperty(t,"AttestationResolver__factory",{enumerable:!0,get:function(){return T.AttestationResolver__factory}});var E=n(68142);Object.defineProperty(t,"AttesterResolver__factory",{enumerable:!0,get:function(){return E.AttesterResolver__factory}});var x=n(5465);Object.defineProperty(t,"DataResolver__factory",{enumerable:!0,get:function(){return x.DataResolver__factory}});var A=n(51627);Object.defineProperty(t,"ExpirationTimeResolver__factory",{enumerable:!0,get:function(){return A.ExpirationTimeResolver__factory}});var P=n(58513);Object.defineProperty(t,"PayingResolver__factory",{enumerable:!0,get:function(){return P.PayingResolver__factory}});var O=n(53880);Object.defineProperty(t,"RecipientResolver__factory",{enumerable:!0,get:function(){return O.RecipientResolver__factory}});var k=n(43455);Object.defineProperty(t,"RevocationResolver__factory",{enumerable:!0,get:function(){return k.RevocationResolver__factory}});var S=n(44022);Object.defineProperty(t,"TokenResolver__factory",{enumerable:!0,get:function(){return S.TokenResolver__factory}});var _=n(27268);Object.defineProperty(t,"ValueResolver__factory",{enumerable:!0,get:function(){return _.ValueResolver__factory}});var I=n(98319);Object.defineProperty(t,"ISchemaResolver__factory",{enumerable:!0,get:function(){return I.ISchemaResolver__factory}});var C=n(50986);Object.defineProperty(t,"SchemaResolver__factory",{enumerable:!0,get:function(){return C.SchemaResolver__factory}});var R=n(31270);Object.defineProperty(t,"SchemaRegistry__factory",{enumerable:!0,get:function(){return R.SchemaRegistry__factory}});var N=n(47875);Object.defineProperty(t,"Semver__factory",{enumerable:!0,get:function(){return N.Semver__factory}})},66100:(e,t,n)=>{"use strict";var r=n(38416).default;Object.defineProperty(t,"__esModule",{value:!0}),t.EAS=void 0;const a=n(75971),i=n(49701),o=n(48857),s=n(60680),c=n(69769),l=n(45178),f=n(64193);a.__exportStar(n(69769),t);class u extends l.Base{constructor(e,t){const{signerOrProvider:n,proxy:a}=t||{};super(new i.EAS__factory,e,n),r(this,"proxy",void 0),r(this,"delegated",void 0),r(this,"offchain",void 0),a&&(this.proxy=a)}connect(e){return delete this.delegated,delete this.offchain,super.connect(e),this}async getVersion(){var e;return null!==(e=await(0,o.legacyVersion)(this.contract))&&void 0!==e?e:this.contract.version()}getAttestation(e){return this.contract.getAttestation(e)}isAttestationValid(e){return this.contract.isAttestationValid(e)}async isAttestationRevoked(e){const t=await this.contract.getAttestation(e);if(t.uid===f.ZERO_BYTES32)throw new Error("Invalid attestation");return t.revocationTime!=c.NO_EXPIRATION}getTimestamp(e){return this.contract.getTimestamp(e)}getRevocationOffchain(e,t){return this.contract.getRevokeOffchain(e,t)}getEIP712Proxy(){return this.proxy}getDelegated(){return this.delegated?this.delegated:this.setDelegated()}getOffchain(){return this.offchain?this.offchain:this.setOffchain()}async attest(e,t){let{schema:n,data:{recipient:r,data:a,expirationTime:i=c.NO_EXPIRATION,revocable:o=!0,refUID:s=f.ZERO_BYTES32,value:u=0n}}=e;const d=await this.contract.attest({schema:n,data:{recipient:r,expirationTime:i,revocable:o,refUID:s,data:a,value:u}},{value:u,...t});return new l.Transaction(d,(async e=>(0,f.getUIDsFromAttestReceipt)(e)[0]))}async attestByDelegation(e,t){let{schema:n,data:{recipient:r,data:a,expirationTime:i=c.NO_EXPIRATION,revocable:o=!0,refUID:s=f.ZERO_BYTES32,value:u=0n},signature:d,attester:p,deadline:y=c.NO_EXPIRATION}=e;const h=await this.contract.attestByDelegation({schema:n,data:{recipient:r,expirationTime:i,revocable:o,refUID:s,data:a,value:u},signature:d,attester:p,deadline:y},{value:u,...t});return new l.Transaction(h,(async e=>(0,f.getUIDsFromAttestReceipt)(e)[0]))}async multiAttest(e,t){const n=e.map((e=>({schema:e.schema,data:e.data.map((e=>{var t,n,r,a,i;return{recipient:e.recipient,expirationTime:null!==(t=e.expirationTime)&&void 0!==t?t:c.NO_EXPIRATION,revocable:null===(n=e.revocable)||void 0===n||n,refUID:null!==(r=e.refUID)&&void 0!==r?r:f.ZERO_BYTES32,data:null!==(a=e.data)&&void 0!==a?a:f.ZERO_BYTES32,value:null!==(i=e.value)&&void 0!==i?i:0n}}))}))),r=n.reduce(((e,t)=>{let{data:n}=t;const r=n.reduce(((e,t)=>e+t.value),0n);return e+r}),0n),a=await this.contract.multiAttest(n,{value:r,...t});return new l.Transaction(a,(async e=>(0,f.getUIDsFromAttestReceipt)(e)))}async multiAttestByDelegation(e,t){const n=e.map((e=>{var t;return{schema:e.schema,data:e.data.map((e=>{var t,n,r,a,i;return{recipient:e.recipient,expirationTime:null!==(t=e.expirationTime)&&void 0!==t?t:c.NO_EXPIRATION,revocable:null===(n=e.revocable)||void 0===n||n,refUID:null!==(r=e.refUID)&&void 0!==r?r:f.ZERO_BYTES32,data:null!==(a=e.data)&&void 0!==a?a:f.ZERO_BYTES32,value:null!==(i=e.value)&&void 0!==i?i:0n}})),signatures:e.signatures,attester:e.attester,deadline:null!==(t=e.deadline)&&void 0!==t?t:c.NO_EXPIRATION}})),r=n.reduce(((e,t)=>{let{data:n}=t;const r=n.reduce(((e,t)=>e+t.value),0n);return e+r}),0n),a=await this.contract.multiAttestByDelegation(n,{value:r,...t});return new l.Transaction(a,(async e=>(0,f.getUIDsFromAttestReceipt)(e)))}async revoke(e,t){let{schema:n,data:{uid:r,value:a=0n}}=e;const i=await this.contract.revoke({schema:n,data:{uid:r,value:a}},{value:a,...t});return new l.Transaction(i,(async()=>{}))}async revokeByDelegation(e,t){let{schema:n,data:{uid:r,value:a=0n},signature:i,revoker:o,deadline:s=c.NO_EXPIRATION}=e;const f=await this.contract.revokeByDelegation({schema:n,data:{uid:r,value:a},signature:i,revoker:o,deadline:s},{value:a,...t});return new l.Transaction(f,(async()=>{}))}async multiRevoke(e,t){const n=e.map((e=>({schema:e.schema,data:e.data.map((e=>{var t;return{uid:e.uid,value:null!==(t=e.value)&&void 0!==t?t:0n}}))}))),r=n.reduce(((e,t)=>{let{data:n}=t;const r=n.reduce(((e,t)=>e+t.value),0n);return e+r}),0n),a=await this.contract.multiRevoke(n,{value:r,...t});return new l.Transaction(a,(async()=>{}))}async multiRevokeByDelegation(e,t){const n=e.map((e=>{var t;return{schema:e.schema,data:e.data.map((e=>{var t;return{uid:e.uid,value:null!==(t=e.value)&&void 0!==t?t:0n}})),signatures:e.signatures,revoker:e.revoker,deadline:null!==(t=e.deadline)&&void 0!==t?t:c.NO_EXPIRATION}})),r=n.reduce(((e,t)=>{let{data:n}=t;const r=n.reduce(((e,t)=>e+t.value),0n);return e+r}),0n),a=await this.contract.multiRevokeByDelegation(n,{value:r,...t});return new l.Transaction(a,(async()=>{}))}attestByDelegationProxy(e,t){if(!this.proxy)throw new Error("Proxy wasn't set");return this.proxy.attestByDelegationProxy(e,t)}multiAttestByDelegationProxy(e,t){if(!this.proxy)throw new Error("Proxy wasn't set");return this.proxy.multiAttestByDelegationProxy(e,t)}revokeByDelegationProxy(e,t){if(!this.proxy)throw new Error("Proxy wasn't set");return this.proxy.revokeByDelegationProxy(e,t)}multiRevokeByDelegationProxy(e,t){if(!this.proxy)throw new Error("Proxy wasn't set");return this.proxy.multiRevokeByDelegationProxy(e,t)}async timestamp(e,t){const n=await this.contract.timestamp(e,null!==t&&void 0!==t?t:{});return new l.Transaction(n,(async e=>(0,f.getTimestampFromTimestampReceipt)(e)[0]))}async multiTimestamp(e,t){const n=await this.contract.multiTimestamp(e,null!==t&&void 0!==t?t:{});return new l.Transaction(n,(async e=>(0,f.getTimestampFromTimestampReceipt)(e)))}async revokeOffchain(e,t){const n=await this.contract.revokeOffchain(e,null!==t&&void 0!==t?t:{});return new l.Transaction(n,(async e=>(0,f.getTimestampFromOffchainRevocationReceipt)(e)[0]))}async multiRevokeOffchain(e,t){const n=await this.contract.multiRevokeOffchain(e,null!==t&&void 0!==t?t:{});return new l.Transaction(n,(async e=>(0,f.getTimestampFromOffchainRevocationReceipt)(e)))}getDomainSeparator(){return this.contract.getDomainSeparator()}getNonce(e){return this.contract.getNonce(e)}getAttestTypeHash(){return this.contract.getAttestTypeHash()}getRevokeTypeHash(){return this.contract.getRevokeTypeHash()}async setDelegated(){return this.delegated=new s.Delegated({address:await this.contract.getAddress(),version:await this.getVersion(),chainId:await this.getChainId()}),this.delegated}async setOffchain(){return this.offchain=new s.Offchain({address:await this.contract.getAddress(),version:await this.getVersion(),chainId:await this.getChainId()},s.OffChainAttestationVersion.Version1,this),this.offchain}}t.EAS=u},91700:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(75971);r.__exportStar(n(66100),t),r.__exportStar(n(60680),t),r.__exportStar(n(69769),t),r.__exportStar(n(63579),t),r.__exportStar(n(91908),t),r.__exportStar(n(64193),t)},48857:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.legacyVersion=void 0;const r=n(79332),a=[{inputs:[],name:"VERSION",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"}];t.legacyVersion=async e=>{var t;const n=null===(t=e.runner)||void 0===t?void 0:t.provider;if(!n)throw new Error("provider wasn't set");const i=new r.BaseContract(await e.getAddress(),a,n);try{return await i.getFunction("VERSION").staticCall()}catch{return}}},86806:(e,t,n)=>{"use strict";var r=n(38416).default;Object.defineProperty(t,"__esModule",{value:!0}),t.DelegatedProxy=t.DelegatedProxyAttestationVersion=void 0;const a=n(75971),i=n(763),o=a.__importDefault(n(10724)),s=n(34906);var c;!function(e){e[e.Legacy=0]="Legacy",e[e.Version1=1]="Version1"}(c||(t.DelegatedProxyAttestationVersion=c={}));const l={[c.Legacy]:{typedSignature:"Attest(bytes32 schema,address recipient,uint64 expirationTime,bool revocable,bytes32 refUID,bytes data,uint64 deadline)",primaryType:"Attest",types:[{name:"schema",type:"bytes32"},{name:"recipient",type:"address"},{name:"expirationTime",type:"uint64"},{name:"revocable",type:"bool"},{name:"refUID",type:"bytes32"},{name:"data",type:"bytes"},{name:"deadline",type:"uint64"}]},[c.Version1]:{typedSignature:"Attest(bytes32 schema,address recipient,uint64 expirationTime,bool revocable,bytes32 refUID,bytes data,uint256 value,uint64 deadline)",primaryType:"Attest",types:[{name:"schema",type:"bytes32"},{name:"recipient",type:"address"},{name:"expirationTime",type:"uint64"},{name:"revocable",type:"bool"},{name:"refUID",type:"bytes32"},{name:"data",type:"bytes"},{name:"value",type:"uint256"},{name:"deadline",type:"uint64"}]}},f={[c.Legacy]:{typedSignature:"Revoke(bytes32 schema,bytes32 uid,uint64 deadline)",primaryType:"Revoke",types:[{name:"schema",type:"bytes32"},{name:"uid",type:"bytes32"},{name:"deadline",type:"uint64"}]},[c.Version1]:{typedSignature:"Revoke(bytes32 schema,bytes32 uid,uint256 value,uint64 deadline)",primaryType:"Revoke",types:[{name:"schema",type:"bytes32"},{name:"uid",type:"bytes32"},{name:"value",type:"uint256"},{name:"deadline",type:"uint64"}]}};class u extends s.TypedDataHandler{constructor(e){super(e),r(this,"version",void 0),r(this,"attestType",void 0),r(this,"revokeType",void 0),o.default.lt(e.version,"1.2.0")?this.version=c.Legacy:this.version=c.Version1,this.attestType=l[this.version],this.revokeType=f[this.version]}signDelegatedProxyAttestation(e,t){let n=e;if(this.version===c.Legacy){if(0n!==e.value)throw new Error("Committing to a value isn't supported for legacy attestations. Please specify 0 instead");n=(0,i.omit)(e,["value"])}return this.signTypedDataRequest(n,{domain:this.getDomainTypedData(),primaryType:this.attestType.primaryType,message:n,types:{[this.attestType.primaryType]:this.attestType.types}},t)}verifyDelegatedProxyAttestationSignature(e,t){return this.verifyTypedDataRequestSignature(e,t)}signDelegatedProxyRevocation(e,t){let n=e;if(this.version===c.Legacy){if(0n!==e.value)throw new Error("Committing to a value isn't supported for legacy revocations. Please specify 0 instead");n=(0,i.omit)(e,["value"])}return this.signTypedDataRequest(n,{domain:this.getDomainTypedData(),primaryType:this.revokeType.primaryType,message:n,types:{Revoke:this.revokeType.types}},t)}verifyDelegatedProxyRevocationSignature(e,t){return this.verifyTypedDataRequestSignature(e,t)}}t.DelegatedProxy=u},97148:(e,t,n)=>{"use strict";var r=n(38416).default;Object.defineProperty(t,"__esModule",{value:!0}),t.Delegated=t.DelegatedAttestationVersion=t.EIP712_NAME=void 0;const a=n(75971),i=n(763),o=a.__importDefault(n(10724)),s=n(69769),c=n(34906);var l;t.EIP712_NAME="EAS",function(e){e[e.Legacy=0]="Legacy",e[e.Version1=1]="Version1"}(l||(t.DelegatedAttestationVersion=l={}));const f={[l.Legacy]:{typedSignature:"Attest(bytes32 schema,address recipient,uint64 expirationTime,bool revocable,bytes32 refUID,bytes data,uint256 nonce)",primaryType:"Attest",types:[{name:"schema",type:"bytes32"},{name:"recipient",type:"address"},{name:"expirationTime",type:"uint64"},{name:"revocable",type:"bool"},{name:"refUID",type:"bytes32"},{name:"data",type:"bytes"},{name:"nonce",type:"uint256"}]},[l.Version1]:{typedSignature:"Attest(bytes32 schema,address recipient,uint64 expirationTime,bool revocable,bytes32 refUID,bytes data,uint256 value,uint256 nonce,uint64 deadline)",primaryType:"Attest",types:[{name:"schema",type:"bytes32"},{name:"recipient",type:"address"},{name:"expirationTime",type:"uint64"},{name:"revocable",type:"bool"},{name:"refUID",type:"bytes32"},{name:"data",type:"bytes"},{name:"value",type:"uint256"},{name:"nonce",type:"uint256"},{name:"deadline",type:"uint64"}]}},u={[l.Legacy]:{typedSignature:"Revoke(bytes32 schema,bytes32 uid,uint256 nonce)",primaryType:"Revoke",types:[{name:"schema",type:"bytes32"},{name:"uid",type:"bytes32"},{name:"nonce",type:"uint256"}]},[l.Version1]:{typedSignature:"Revoke(bytes32 schema,bytes32 uid,uint256 value,uint256 nonce,uint64 deadline)",primaryType:"Revoke",types:[{name:"schema",type:"bytes32"},{name:"uid",type:"bytes32"},{name:"value",type:"uint256"},{name:"nonce",type:"uint256"},{name:"deadline",type:"uint64"}]}};class d extends c.TypedDataHandler{constructor(e){super({...e,name:t.EIP712_NAME}),r(this,"version",void 0),r(this,"attestType",void 0),r(this,"revokeType",void 0),o.default.lt(e.version,"1.2.0")?this.version=l.Legacy:this.version=l.Version1,this.attestType=f[this.version],this.revokeType=u[this.version]}signDelegatedAttestation(e,t){let n=e;if(this.version===l.Legacy){if(0n!==e.value)throw new Error("Committing to a value isn't supported for legacy attestations. Please specify 0 instead");if(e.deadline!==s.NO_EXPIRATION)throw new Error("Committing to a deadline isn't supported for legacy attestations. Please specify ".concat(s.NO_EXPIRATION," instead"));n=(0,i.omit)(e,["value","deadline"])}return this.signTypedDataRequest(n,{domain:this.getDomainTypedData(),primaryType:this.attestType.primaryType,message:n,types:{[this.attestType.primaryType]:this.attestType.types}},t)}verifyDelegatedAttestationSignature(e,t){return this.verifyTypedDataRequestSignature(e,t)}signDelegatedRevocation(e,t){let n=e;if(this.version===l.Legacy){if(0n!==e.value)throw new Error("Committing to a value isn't supported for legacy revocations. Please specify 0 instead");if(e.deadline!==s.NO_EXPIRATION)throw new Error("Committing to a deadline isn't supported for legacy revocations. Please specify ".concat(s.NO_EXPIRATION," instead"));n=(0,i.omit)(e,["value","deadline"])}return this.signTypedDataRequest(n,{domain:this.getDomainTypedData(),primaryType:this.revokeType.primaryType,message:n,types:{[this.revokeType.primaryType]:this.revokeType.types}},t)}verifyDelegatedRevocationSignature(e,t){return this.verifyTypedDataRequestSignature(e,t)}}t.Delegated=d},60680:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(75971);r.__exportStar(n(97148),t),r.__exportStar(n(86806),t),r.__exportStar(n(72765),t),r.__exportStar(n(39514),t)},39514:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isSignedOffchainAttestationV1=t.uncompactOffchainAttestationPackage=t.compactOffchainAttestationPackage=t.decodeBase64ZippedBase64=t.zipAndEncodeToBase64=t.createOffchainURL=void 0;const r=n(75971),a=n(79332),i=r.__importStar(n(33640)),o=r.__importDefault(n(59043));t.createOffchainURL=e=>{const n=(0,t.zipAndEncodeToBase64)(e);return"/offchain/url/#attestation=".concat(encodeURIComponent(n))};t.zipAndEncodeToBase64=e=>{const n=(0,t.compactOffchainAttestationPackage)(e),r=JSON.stringify(n,((e,t)=>"bigint"===typeof t?t.toString():t)),a=o.default.deflate(r,{level:9});return i.fromUint8Array(a)};t.decodeBase64ZippedBase64=e=>{const n=i.toUint8Array(e),r=o.default.inflate(n,{to:"string"}),a=JSON.parse(r);return(0,t.uncompactOffchainAttestationPackage)(a)};t.compactOffchainAttestationPackage=e=>{const n=e.signer;let r=e.sig;return(0,t.isSignedOffchainAttestationV1)(r)&&(r=function(e){const{v:t,r:n,s:r,...a}=e;return{...a,signature:{v:t,r:n,s:r}}}(r)),[r.domain.version,r.domain.chainId,r.domain.verifyingContract,r.signature.r,r.signature.s,r.signature.v,n,r.uid,r.message.schema,r.message.recipient===a.ZeroAddress?"0":r.message.recipient,Number(r.message.time),Number(r.message.expirationTime),r.message.refUID===a.ZeroHash?"0":r.message.refUID,r.message.revocable,r.message.data,Number(r.message.nonce),r.message.version]};t.uncompactOffchainAttestationPackage=e=>{const t=e[16]?e[16]:0,n={Attest:[{name:"schema",type:"bytes32"},{name:"recipient",type:"address"},{name:"time",type:"uint64"},{name:"expirationTime",type:"uint64"},{name:"revocable",type:"bool"},{name:"refUID",type:"bytes32"},{name:"data",type:"bytes"}]};return 1===t&&n.Attest.unshift({name:"version",type:"uint16"}),{sig:{domain:{name:"EAS Attestation",version:e[0],chainId:e[1],verifyingContract:e[2]},primaryType:0===t?"Attestation":"Attest",types:n,signature:{r:e[3],s:e[4],v:e[5]},uid:e[7],message:{version:t,schema:e[8],recipient:"0"===e[9]?a.ZeroAddress:e[9],time:BigInt(e[10]),expirationTime:BigInt(e[11]),refUID:"0"===e[12]?a.ZeroHash:e[12],revocable:e[13],data:e[14],nonce:BigInt(e[15])}},signer:e[6]}};t.isSignedOffchainAttestationV1=e=>"v"in e&&"r"in e&&"s"in e},72765:(e,t,n)=>{"use strict";var r=n(38416).default;Object.defineProperty(t,"__esModule",{value:!0}),t.Offchain=t.OFFCHAIN_ATTESTATION_TYPES=t.OffChainAttestationVersion=void 0;const a=n(79332),i=n(64193),o=n(97148),s=n(34906);var c;!function(e){e[e.Legacy=0]="Legacy",e[e.Version1=1]="Version1"}(c||(t.OffChainAttestationVersion=c={})),t.OFFCHAIN_ATTESTATION_TYPES={[c.Legacy]:{domainName:"EAS Attestation",primaryType:"Attestation",types:[{name:"schema",type:"bytes32"},{name:"recipient",type:"address"},{name:"time",type:"uint64"},{name:"expirationTime",type:"uint64"},{name:"revocable",type:"bool"},{name:"refUID",type:"bytes32"},{name:"data",type:"bytes"}]},[c.Version1]:{domainName:"EAS Attestation",primaryType:"Attest",types:[{name:"version",type:"uint16"},{name:"schema",type:"bytes32"},{name:"recipient",type:"address"},{name:"time",type:"uint64"},{name:"expirationTime",type:"uint64"},{name:"revocable",type:"bool"},{name:"refUID",type:"bytes32"},{name:"data",type:"bytes"}]}};const l={verifyOnchain:!1};class f extends s.TypedDataHandler{constructor(e,n,a){if(n>c.Version1)throw new Error("Unsupported version");super({...e,name:o.EIP712_NAME}),r(this,"version",void 0),r(this,"type",void 0),r(this,"eas",void 0),this.version=n,this.type=t.OFFCHAIN_ATTESTATION_TYPES[this.version],this.eas=a}getDomainSeparator(){return(0,a.keccak256)(a.AbiCoder.defaultAbiCoder().encode(["bytes32","bytes32","uint256","address"],[(0,a.keccak256)((0,a.toUtf8Bytes)(this.type.domainName)),(0,a.keccak256)((0,a.toUtf8Bytes)(this.config.version)),this.config.chainId,this.config.address]))}getDomainTypedData(){return{name:this.type.domainName,version:this.config.version,chainId:this.config.chainId,verifyingContract:this.config.address}}async signOffchainAttestation(e,t,n){const r=f.getOffchainUID(e),a=await this.signTypedDataRequest(e,{domain:this.getDomainTypedData(),primaryType:this.type.primaryType,message:e,types:{[this.type.primaryType]:this.type.types}},t),{verifyOnchain:o}={...l,...n};if(o)try{const{schema:n,recipient:r,expirationTime:a,revocable:o,data:s}=e;await this.eas.contract.attest.staticCall({schema:n,data:{recipient:r,expirationTime:a,revocable:o,refUID:i.ZERO_BYTES32,data:s,value:0}},{from:t})}catch(s){throw new Error("Unable to verify offchain attestation with: ".concat(s))}return{...a,uid:r}}verifyOffchainAttestationSignature(e,t){return t.uid===f.getOffchainUID(t.message)&&this.verifyTypedDataRequestSignature(e,t)}static getOffchainUID(e){var t;return(0,i.getOffchainUID)(null!==(t=e.version)&&void 0!==t?t:c.Legacy,e.schema,e.recipient,e.time,e.expirationTime,e.revocable,e.refUID,e.data)}}t.Offchain=f},34906:(e,t,n)=>{"use strict";var r=n(38416).default;Object.defineProperty(t,"__esModule",{value:!0}),t.TypedDataHandler=t.EIP712_DOMAIN=void 0;const a=n(79332),i=n(64193);t.EIP712_DOMAIN="EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)";t.TypedDataHandler=class{constructor(e){r(this,"config",void 0),this.config=e}getDomainSeparator(){return(0,a.keccak256)(a.AbiCoder.defaultAbiCoder().encode(["bytes32","bytes32","bytes32","uint256","address"],[(0,a.keccak256)((0,a.toUtf8Bytes)(t.EIP712_DOMAIN)),(0,a.keccak256)((0,a.toUtf8Bytes)(this.config.name)),(0,a.keccak256)((0,a.toUtf8Bytes)(this.config.version)),this.config.chainId,this.config.address]))}getDomainTypedData(){return{name:this.config.name,version:this.config.version,chainId:this.config.chainId,verifyingContract:this.config.address}}async signTypedDataRequest(e,t,n){const r=await n.signTypedData(t.domain,t.types,e),i=a.Signature.from(r);return{...t,signature:{v:i.v,r:i.r,s:i.s}}}verifyTypedDataRequestSignature(e,t){if(e===i.ZERO_ADDRESS)throw new Error("Invalid address");const{signature:n}=t,r=a.Signature.from({v:n.v,r:(0,a.hexlify)(n.r),s:(0,a.hexlify)(n.s)}).serialized,o=(0,a.verifyTypedData)(t.domain,t.types,t.message,r);return(0,a.getAddress)(e)===(0,a.getAddress)(o)}}},69769:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NO_EXPIRATION=void 0,t.NO_EXPIRATION=0n},63579:(e,t,n)=>{"use strict";var r=n(38416).default;Object.defineProperty(t,"__esModule",{value:!0}),t.SchemaEncoder=void 0;const a=n(64193),i=n(79332),o=n(85110);class s{constructor(e){r(this,"schema",void 0),this.schema=[];const t=e.replace(/ipfsHash/g,"bytes32"),n=i.FunctionFragment.from("func(".concat(t,")"));i.AbiCoder.defaultAbiCoder().getDefaultValue(n.inputs);for(const r of n.inputs){var a,o;const{name:e,arrayChildren:t}=r;let{type:n}=r,i=e?"".concat(n," ").concat(e):n;const c=e?" ".concat(e):"";let l=n;const f=t,u=null!==(a=null!==(o=r.components)&&void 0!==o?o:null===t||void 0===t?void 0:t.components)&&void 0!==a?a:[],d="(".concat(u.map((e=>e.type)).join(","),")").concat(f?"[]":""),p="(".concat(u.map((e=>e.name?"".concat(e.type," ").concat(e.name):e.type)).join(","),")").concat(f?"[]":"");n.startsWith("tuple")?(n=d,i="".concat(p).concat(c)):"tuple[]"===n?(n="".concat(d,"[]"),i="".concat(p,"[]").concat(c)):n.includes("[]")&&(l=l.replace("[]",""));const y=s.getDefaultValueForTypeName(l);this.schema.push({name:e,type:n,signature:i,value:n.includes("[]")?[]:y})}}encodeData(e){if(e.length!==this.schema.length)throw new Error("Invalid number or values");const t=[];for(const[n,r]of this.schema.entries()){const{type:a,name:o,value:c}=e[n],l=a.replace(/\s/g,"");if(l!==r.type&&l!==r.signature&&("ipfsHash"!==l||"bytes32"!==r.type))throw new Error("Incompatible param type: ".concat(l));if(o!==r.name)throw new Error("Incompatible param name: ".concat(o));t.push("bytes32"===r.type&&"ipfsHash"===r.name?s.decodeIpfsValue(c):"bytes32"!==r.type||"string"!==typeof c||(0,i.isBytesLike)(c)?c:(0,i.encodeBytes32String)(c))}return i.AbiCoder.defaultAbiCoder().encode(this.signatures(),t)}decodeData(e){const t=i.AbiCoder.defaultAbiCoder().decode(this.signatures(),e).toArray();return this.schema.map(((e,n)=>{var r,a,o;const s=i.FunctionFragment.from("func(".concat(e.signature,")"));if(1!==s.inputs.length)throw new Error("Unexpected inputs: ".concat(s.inputs));let c=t[n];const l=s.inputs[0],f=null!==(r=null!==(a=l.components)&&void 0!==a?a:null===(o=l.arrayChildren)||void 0===o?void 0:o.components)&&void 0!==r?r:[];if(c.length>0&&"string"!==typeof c&&(null===f||void 0===f?void 0:f.length)>0)if(Array.isArray(c[0])){const t=[];for(const e of c){const n=[],r=e.toArray().filter((e=>"object"!==typeof e));for(const[e,t]of r.entries()){const r=f[e];n.push({name:r.name,type:r.type,value:t})}t.push(n)}c={name:e.name,type:e.type,value:t}}else{const t=[],n=c.filter((e=>"object"!==typeof e));for(const[e,r]of n.entries()){const n=f[e];t.push({name:n.name,type:n.type,value:r})}c={name:e.name,type:e.type,value:t}}else c={name:e.name,type:e.type,value:c};return{name:e.name,type:e.type,signature:e.signature,value:c}}))}isEncodedDataValid(e){try{return this.decodeData(e),!0}catch(t){return!1}}static isCID(e){try{return o.CID.parse(e),!0}catch{return!1}}static encodeQmHash(e){const t=o.CID.parse(e);return i.AbiCoder.defaultAbiCoder().encode(["bytes32"],[t.multihash.digest])}static decodeQmHash(e){const t=Uint8Array.from(Buffer.from(e.slice(2),"hex")),n={digest:t,code:18,size:32,bytes:Uint8Array.from([18,32,...t])};return o.CID.createV0(n).toString()}static getDefaultValueForTypeName(e){return"bool"!==e&&(e.includes("uint")?"0":"address"===e?a.ZERO_ADDRESS:"")}static decodeIpfsValue(e){if((0,i.isBytesLike)(e))return s.encodeBytes32Value(e);try{const t=o.CID.parse(e);return i.AbiCoder.defaultAbiCoder().encode(["bytes32"],[t.multihash.digest])}catch{return s.encodeBytes32Value(e)}}static encodeBytes32Value(e){try{return i.AbiCoder.defaultAbiCoder().encode(["bytes32"],[e]),e}catch(t){return(0,i.encodeBytes32String)(e)}}signatures(){return this.schema.map((e=>e.signature))}}t.SchemaEncoder=s},91908:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SchemaRegistry=void 0;const r=n(49701),a=n(48857),i=n(45178),o=n(64193);class s extends i.Base{constructor(e,t){const{signerOrProvider:n}=t||{};super(new r.SchemaRegistry__factory,e,n)}async getVersion(){var e;return null!==(e=await(0,a.legacyVersion)(this.contract))&&void 0!==e?e:this.contract.version()}async register(e,t){let{schema:n,resolverAddress:r=o.ZERO_ADDRESS,revocable:a=!0}=e;const s=await this.contract.register(n,r,a,null!==t&&void 0!==t?t:{});return new i.Transaction(s,(async e=>(0,o.getSchemaUID)(n,r,a)))}async getSchema(e){let{uid:t}=e;const n=await this.contract.getSchema(t);if(n.uid===o.ZERO_BYTES32)throw new Error("Schema not found");return n}}t.SchemaRegistry=s},45178:(e,t,n)=>{"use strict";var r=n(38416).default;Object.defineProperty(t,"__esModule",{value:!0}),t.Base=t.Transaction=void 0;t.Transaction=class{constructor(e,t){r(this,"tx",void 0),r(this,"waitCallback",void 0),this.tx=e,this.waitCallback=t}async wait(e){const t=await this.tx.wait(e);if(!t)throw new Error("Unable to confirm: ".concat(this.tx));return this.waitCallback(t)}};t.Base=class{constructor(e,t,n){r(this,"contract",void 0),this.contract=e.attach(t),n&&this.connect(n)}connect(e){return this.contract=this.contract.connect(e),this}async getChainId(){var e;const t=null===(e=this.contract.runner)||void 0===e?void 0:e.provider;if(!t)throw new Error("Unable to get the chain ID: provider wasn't set");return(await t.getNetwork()).chainId}}},64193:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getUIDFromDelegatedProxyAttestReceipt=t.getUIDFromDelegatedProxyAttestTx=t.getUIDFromMultiDelegatedProxyAttestReceipt=t.getUIDFromMultiDelegatedProxyAttestTx=t.getUIDFromAttestTx=t.getUIDsFromMultiAttestTx=t.getTimestampFromOffchainRevocationReceipt=t.getTimestampFromTimestampReceipt=t.getUIDsFromAttestReceipt=t.getOffchainUID=t.getUID=t.getSchemaUID=t.ZERO_BYTES32=t.ZERO_BYTES=t.ZERO_ADDRESS=void 0;const r=n(49701),a=n(79332);var i;t.ZERO_ADDRESS=a.ZeroAddress,t.ZERO_BYTES="0x",t.ZERO_BYTES32="0x0000000000000000000000000000000000000000000000000000000000000000",function(e){e.Attested="Attested",e.Timestamped="Timestamped",e.RevokedOffchain="RevokedOffchain"}(i||(i={}));const o={[i.Attested]:(0,a.keccak256)((0,a.toUtf8Bytes)("Attested(address,address,bytes32,bytes32)")),[i.Timestamped]:(0,a.keccak256)((0,a.toUtf8Bytes)("Timestamped(bytes32,uint64)")),[i.RevokedOffchain]:(0,a.keccak256)((0,a.toUtf8Bytes)("RevokedOffchain(address,bytes32,uint64)"))};t.getSchemaUID=(e,t,n)=>(0,a.solidityPackedKeccak256)(["string","address","bool"],[e,t,n]);t.getUID=(e,t,n,r,i,o,s,c,l)=>(0,a.solidityPackedKeccak256)(["bytes","address","address","uint64","uint64","bool","bytes32","bytes","uint32"],[(0,a.hexlify)((0,a.toUtf8Bytes)(e)),t,n,r,i,o,s,c,l]);t.getOffchainUID=(e,n,r,i,o,s,c,l)=>{switch(e){case 0:return(0,a.solidityPackedKeccak256)(["bytes","address","address","uint64","uint64","bool","bytes32","bytes","uint32"],[(0,a.hexlify)((0,a.toUtf8Bytes)(n)),r,t.ZERO_ADDRESS,i,o,s,c,l,0]);case 1:return(0,a.solidityPackedKeccak256)(["uint16","bytes","address","address","uint64","uint64","bool","bytes32","bytes","uint32"],[e,(0,a.hexlify)((0,a.toUtf8Bytes)(n)),r,t.ZERO_ADDRESS,i,o,s,c,l,0]);default:throw new Error("Unsupported version")}};const s=(e,t,n)=>{const i=new a.Interface(r.EAS__factory.abi),s=[];for(const r of e.logs.filter((e=>e.topics[0]===o[t]))||[])s.push({...r,log:t,fragment:{name:t},args:i.decodeEventLog(t,r.data,r.topics)});if(!s)return[];const c=s.filter((e=>{var n;return(null===(n=e.fragment)||void 0===n?void 0:n.name)===t}));if(0===c.length)throw new Error("Unable to process ".concat(t," events"));return c.map((e=>i.decodeEventLog(t,e.data,e.topics)[n]))};t.getUIDsFromAttestReceipt=e=>s(e,i.Attested,"uid");t.getTimestampFromTimestampReceipt=e=>s(e,i.Timestamped,"timestamp").map((e=>BigInt(e)));t.getTimestampFromOffchainRevocationReceipt=e=>s(e,i.RevokedOffchain,"timestamp").map((e=>BigInt(e)));t.getUIDsFromMultiAttestTx=async e=>{const n=await e,r=await n.wait();if(!r)throw new Error("Unable to confirm: ".concat(n));return(0,t.getUIDsFromAttestReceipt)(r)};t.getUIDFromAttestTx=async e=>(await(0,t.getUIDsFromMultiAttestTx)(e))[0];t.getUIDFromMultiDelegatedProxyAttestTx=async e=>{const n=await e,r=await n.wait();if(!r)throw new Error("Unable to confirm: ".concat(n));return(0,t.getUIDFromMultiDelegatedProxyAttestReceipt)(r)};t.getUIDFromMultiDelegatedProxyAttestReceipt=async e=>{const n=await e;if(!n)throw new Error("Unable to confirm: ".concat(e));return(0,t.getUIDsFromAttestReceipt)(n)};t.getUIDFromDelegatedProxyAttestTx=async e=>(await(0,t.getUIDFromMultiDelegatedProxyAttestTx)(e))[0];t.getUIDFromDelegatedProxyAttestReceipt=async e=>(await(0,t.getUIDFromMultiDelegatedProxyAttestReceipt)(e))[0]},43500:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateObject=t.createHmacDrbg=t.bitMask=t.bitSet=t.bitGet=t.bitLen=t.utf8ToBytes=t.equalBytes=t.concatBytes=t.ensureBytes=t.numberToVarBytesBE=t.numberToBytesLE=t.numberToBytesBE=t.bytesToNumberLE=t.bytesToNumberBE=t.hexToBytes=t.hexToNumber=t.numberToHexUnpadded=t.bytesToHex=void 0;const n=BigInt(0),r=BigInt(1),a=BigInt(2),i=e=>e instanceof Uint8Array,o=Array.from({length:256},((e,t)=>t.toString(16).padStart(2,"0")));function s(e){if(!i(e))throw new Error("Uint8Array expected");let t="";for(let n=0;nf(e.toString(16).padStart(2*t,"0"));t.numberToBytesLE=(e,n)=>(0,t.numberToBytesBE)(e,n).reverse();function u(){for(var e=arguments.length,t=new Array(e),n=0;ne+t.length),0));let a=0;return t.forEach((e=>{if(!i(e))throw new Error("Uint8Array expected");r.set(e,a),a+=e.length})),r}t.numberToVarBytesBE=e=>f(c(e)),t.ensureBytes=function(e,t,n){let r;if("string"===typeof t)try{r=f(t)}catch(o){throw new Error("".concat(e,' must be valid hex string, got "').concat(t,'". Cause: ').concat(o))}else{if(!i(t))throw new Error("".concat(e," must be hex string or Uint8Array"));r=Uint8Array.from(t)}const a=r.length;if("number"===typeof n&&a!==n)throw new Error("".concat(e," expected ").concat(n," bytes, got ").concat(a));return r},t.concatBytes=u,t.equalBytes=function(e,t){if(e.length!==t.length)return!1;for(let n=0;nn;e>>=r,t+=1);return t};t.bitGet=(e,t)=>e>>BigInt(t)&r;t.bitSet=(e,t,a)=>e|(a?r:n)<(a<new Uint8Array(e),p=e=>Uint8Array.from(e);t.createHmacDrbg=function(e,t,n){if("number"!==typeof e||e<2)throw new Error("hashLen must be a number");if("number"!==typeof t||t<2)throw new Error("qByteLen must be a number");if("function"!==typeof n)throw new Error("hmacFn must be a function");let r=d(e),a=d(e),i=0;const o=()=>{r.fill(1),a.fill(0),i=0},s=function(){for(var e=arguments.length,t=new Array(e),i=0;i0&&void 0!==arguments[0]?arguments[0]:d();a=s(p([0]),e),r=s(),0!==e.length&&(a=s(p([1]),e),r=s())},l=()=>{if(i++>=1e3)throw new Error("drbg: tried 1000 values");let e=0;const n=[];for(;e{let n;for(o(),c(e);!(n=t(l()));)c();return o(),n}};const y={bigint:e=>"bigint"===typeof e,function:e=>"function"===typeof e,boolean:e=>"boolean"===typeof e,string:e=>"string"===typeof e,isSafeInteger:e=>Number.isSafeInteger(e),array:e=>Array.isArray(e),field:(e,t)=>t.Fp.isValid(e),hash:e=>"function"===typeof e&&Number.isSafeInteger(e.outputLen)};t.validateObject=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r=(t,n,r)=>{const a=y[n];if("function"!==typeof a)throw new Error('Invalid validator "'.concat(n,'", expected function'));const i=e[t];if((!r||void 0!==i)&&!a(i,e))throw new Error("Invalid param ".concat(String(t),"=").concat(i," (").concat(typeof i,"), expected ").concat(n))};for(const[a,i]of Object.entries(t))r(a,i,!1);for(const[a,i]of Object.entries(n))r(a,i,!0);return e}},64337:(e,t)=>{"use strict";function n(e){if(!Number.isSafeInteger(e)||e<0)throw new Error("Wrong positive integer: ".concat(e))}function r(e){if("boolean"!==typeof e)throw new Error("Expected boolean, not ".concat(e))}function a(e){if(!(e instanceof Uint8Array))throw new TypeError("Expected Uint8Array");for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r0&&!n.includes(e.length))throw new TypeError("Expected Uint8Array of length ".concat(n,", not of length=").concat(e.length))}function i(e){if("function"!==typeof e||"function"!==typeof e.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");n(e.outputLen),n(e.blockLen)}function o(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(e.destroyed)throw new Error("Hash instance has been destroyed");if(t&&e.finished)throw new Error("Hash#digest() has already been called")}function s(e,t){a(e);const n=t.outputLen;if(e.length{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SHA2=void 0;const r=n(64337),a=n(74361);class i extends a.Hash{constructor(e,t,n,r){super(),this.blockLen=e,this.outputLen=t,this.padOffset=n,this.isLE=r,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(e),this.view=(0,a.createView)(this.buffer)}update(e){r.default.exists(this);const{view:t,buffer:n,blockLen:i}=this,o=(e=(0,a.toBytes)(e)).length;for(let r=0;ri-s&&(this.process(n,0),s=0);for(let r=s;r>a&i),s=Number(n&i),c=r?4:0,l=r?0:4;e.setUint32(t+c,o,r),e.setUint32(t+l,s,r)}(n,i-8,BigInt(8*this.length),o),this.process(n,0);const c=(0,a.createView)(e);this.get().forEach(((e,t)=>c.setUint32(4*t,e,o)))}digest(){const{buffer:e,outputLen:t}=this;this.digestInto(e);const n=e.slice(0,t);return this.destroy(),n}_cloneInto(e){e||(e=new this.constructor),e.set(...this.get());const{blockLen:t,buffer:n,length:r,finished:a,destroyed:i,pos:o}=this;return e.length=r,e.pos=o,e.finished=a,e.destroyed=i,r%t&&e.buffer.set(n),e}}t.SHA2=i},34995:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.add=t.toBig=t.split=t.fromBig=void 0;const n=BigInt(2**32-1),r=BigInt(32);function a(e){return arguments.length>1&&void 0!==arguments[1]&&arguments[1]?{h:Number(e&n),l:Number(e>>r&n)}:{h:0|Number(e>>r&n),l:0|Number(e&n)}}function i(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=new Uint32Array(e.length),r=new Uint32Array(e.length);for(let i=0;iBigInt(e>>>0)<>>0);function o(e,t,n,r){const a=(t>>>0)+(r>>>0);return{h:e+n+(a/2**32|0)|0,l:0|a}}t.add=o;const s={fromBig:a,split:i,toBig:t.toBig,shrSH:(e,t,n)=>e>>>n,shrSL:(e,t,n)=>e<<32-n|t>>>n,rotrSH:(e,t,n)=>e>>>n|t<<32-n,rotrSL:(e,t,n)=>e<<32-n|t>>>n,rotrBH:(e,t,n)=>e<<64-n|t>>>n-32,rotrBL:(e,t,n)=>e>>>n-32|t<<64-n,rotr32H:(e,t)=>t,rotr32L:(e,t)=>e,rotlSH:(e,t,n)=>e<>>32-n,rotlSL:(e,t,n)=>t<>>32-n,rotlBH:(e,t,n)=>t<>>64-n,rotlBL:(e,t,n)=>e<>>64-n,add:o,add3L:(e,t,n)=>(e>>>0)+(t>>>0)+(n>>>0),add3H:(e,t,n,r)=>t+n+r+(e/2**32|0)|0,add4L:(e,t,n,r)=>(e>>>0)+(t>>>0)+(n>>>0)+(r>>>0),add4H:(e,t,n,r,a)=>t+n+r+a+(e/2**32|0)|0,add5H:(e,t,n,r,a,i)=>t+n+r+a+i+(e/2**32|0)|0,add5L:(e,t,n,r,a)=>(e>>>0)+(t>>>0)+(n>>>0)+(r>>>0)+(a>>>0)};t.default=s},84096:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.crypto=void 0,t.crypto={node:void 0,web:"object"===typeof self&&"crypto"in self?self.crypto:void 0}},5968:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hmac=void 0;const r=n(64337),a=n(74361);class i extends a.Hash{constructor(e,t){super(),this.finished=!1,this.destroyed=!1,r.default.hash(e);const n=(0,a.toBytes)(t);if(this.iHash=e.create(),!(this.iHash instanceof a.Hash))throw new TypeError("Expected instance of class which extends utils.Hash");const i=this.blockLen=this.iHash.blockLen;this.outputLen=this.iHash.outputLen;const o=new Uint8Array(i);o.set(n.length>this.iHash.blockLen?e.create().update(n).digest():n);for(let r=0;rnew i(e,t).update(n).digest(),t.hmac.create=(e,t)=>new i(e,t)},42802:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pbkdf2Async=t.pbkdf2=void 0;const r=n(64337),a=n(5968),i=n(74361);function o(e,t,n,o){r.default.hash(e);const s=(0,i.checkOpts)({dkLen:32,asyncTick:10},o),{c:c,dkLen:l,asyncTick:f}=s;if(r.default.number(c),r.default.number(l),r.default.number(f),c<1)throw new Error("PBKDF2: iterations (c) should be >= 1");const u=(0,i.toBytes)(t),d=(0,i.toBytes)(n),p=new Uint8Array(l),y=a.hmac.create(e,u),h=y._cloneInto().update(d);return{c:c,dkLen:l,asyncTick:f,DK:p,PRF:y,PRFSalt:h}}function s(e,t,n,r,a){return e.destroy(),t.destroy(),r&&r.destroy(),a.fill(0),n}t.pbkdf2=function(e,t,n,r){const{c:a,dkLen:c,DK:l,PRF:f,PRFSalt:u}=o(e,t,n,r);let d;const p=new Uint8Array(4),y=(0,i.createView)(p),h=new Uint8Array(f.outputLen);for(let i=1,o=0;o{u._cloneInto(p).update(m).digestInto(m);for(let n=0;n{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ripemd160=t.RIPEMD160=void 0;const r=n(20747),a=n(74361),i=new Uint8Array([7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8]),o=Uint8Array.from({length:16},((e,t)=>t)),s=o.map((e=>(9*e+5)%16));let c=[o],l=[s];for(let v=0;v<4;v++)for(let e of[c,l])e.push(e[v].map((e=>i[e])));const f=[[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8],[12,13,11,15,6,9,9,7,12,15,11,13,7,8,7,7],[13,15,14,11,7,7,6,8,13,14,13,12,5,5,6,9],[14,11,12,14,8,6,5,5,15,12,15,14,9,9,8,6],[15,12,13,13,9,5,8,6,14,11,12,11,8,6,5,5]].map((e=>new Uint8Array(e))),u=c.map(((e,t)=>e.map((e=>f[t][e])))),d=l.map(((e,t)=>e.map((e=>f[t][e])))),p=new Uint32Array([0,1518500249,1859775393,2400959708,2840853838]),y=new Uint32Array([1352829926,1548603684,1836072691,2053994217,0]),h=(e,t)=>e<>>32-t;function m(e,t,n,r){return 0===e?t^n^r:1===e?t&n|~t&r:2===e?(t|~n)^r:3===e?t&r|n&~r:t^(n|~r)}const b=new Uint32Array(16);class g extends r.SHA2{constructor(){super(64,20,8,!0),this.h0=1732584193,this.h1=-271733879,this.h2=-1732584194,this.h3=271733878,this.h4=-1009589776}get(){const{h0:e,h1:t,h2:n,h3:r,h4:a}=this;return[e,t,n,r,a]}set(e,t,n,r,a){this.h0=0|e,this.h1=0|t,this.h2=0|n,this.h3=0|r,this.h4=0|a}process(e,t){for(let c=0;c<16;c++,t+=4)b[c]=e.getUint32(t,!0);let n=0|this.h0,r=n,a=0|this.h1,i=a,o=0|this.h2,s=o,f=0|this.h3,g=f,v=0|this.h4,w=v;for(let T=0;T<5;T++){const e=4-T,t=p[T],E=y[T],x=c[T],A=l[T],P=u[T],O=d[T];for(let r=0;r<16;r++){const e=h(n+m(T,a,o,f)+b[x[r]]+t,P[r])+v|0;n=v,v=f,f=0|h(o,10),o=a,a=e}for(let n=0;n<16;n++){const t=h(r+m(e,i,s,g)+b[A[n]]+E,O[n])+w|0;r=w,w=g,g=0|h(s,10),s=i,i=t}}this.set(this.h1+o+g|0,this.h2+f+w|0,this.h3+v+r|0,this.h4+n+i|0,this.h0+a+s|0)}roundClean(){b.fill(0)}destroy(){this.destroyed=!0,this.buffer.fill(0),this.set(0,0,0,0,0)}}t.RIPEMD160=g,t.ripemd160=(0,a.wrapConstructor)((()=>new g))},82215:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.scryptAsync=t.scrypt=void 0;const r=n(64337),a=n(84304),i=n(42802),o=n(74361),s=(e,t)=>e<>>32-t;function c(e,t,n,r,a,i){let o=e[t++]^n[r++],c=e[t++]^n[r++],l=e[t++]^n[r++],f=e[t++]^n[r++],u=e[t++]^n[r++],d=e[t++]^n[r++],p=e[t++]^n[r++],y=e[t++]^n[r++],h=e[t++]^n[r++],m=e[t++]^n[r++],b=e[t++]^n[r++],g=e[t++]^n[r++],v=e[t++]^n[r++],w=e[t++]^n[r++],T=e[t++]^n[r++],E=e[t++]^n[r++],x=o,A=c,P=l,O=f,k=u,S=d,_=p,I=y,C=h,R=m,N=b,j=g,M=v,B=w,D=T,L=E;for(let F=0;F<8;F+=2)k^=s(x+M|0,7),C^=s(k+x|0,9),M^=s(C+k|0,13),x^=s(M+C|0,18),R^=s(S+A|0,7),B^=s(R+S|0,9),A^=s(B+R|0,13),S^=s(A+B|0,18),D^=s(N+_|0,7),P^=s(D+N|0,9),_^=s(P+D|0,13),N^=s(_+P|0,18),O^=s(L+j|0,7),I^=s(O+L|0,9),j^=s(I+O|0,13),L^=s(j+I|0,18),A^=s(x+O|0,7),P^=s(A+x|0,9),O^=s(P+A|0,13),x^=s(O+P|0,18),_^=s(S+k|0,7),I^=s(_+S|0,9),k^=s(I+_|0,13),S^=s(k+I|0,18),j^=s(N+R|0,7),C^=s(j+N|0,9),R^=s(C+j|0,13),N^=s(R+C|0,18),M^=s(L+D|0,7),B^=s(M+L|0,9),D^=s(B+M|0,13),L^=s(D+B|0,18);a[i++]=o+x|0,a[i++]=c+A|0,a[i++]=l+P|0,a[i++]=f+O|0,a[i++]=u+k|0,a[i++]=d+S|0,a[i++]=p+_|0,a[i++]=y+I|0,a[i++]=h+C|0,a[i++]=m+R|0,a[i++]=b+N|0,a[i++]=g+j|0,a[i++]=v+M|0,a[i++]=w+B|0,a[i++]=T+D|0,a[i++]=E+L|0}function l(e,t,n,r,a){let i=r+0,o=r+16*a;for(let s=0;s<16;s++)n[o+s]=e[t+16*(2*a-1)+s];for(let s=0;s0&&(o+=16),c(n,i,e,t+=16,n,o)}function f(e,t,n){const s=(0,o.checkOpts)({dkLen:32,asyncTick:10,maxmem:1073742848},n),{N:c,r:l,p:f,dkLen:u,asyncTick:d,maxmem:p,onProgress:y}=s;if(r.default.number(c),r.default.number(l),r.default.number(f),r.default.number(u),r.default.number(d),r.default.number(p),void 0!==y&&"function"!==typeof y)throw new Error("progressCb should be function");const h=128*l,m=h/4;if(c<=1||0!==(c&c-1)||c>=2**(h/8)||c>2**32)throw new Error("Scrypt: N must be larger than 1, a power of 2, less than 2^(128 * r / 8) and less than 2^32");if(f<0||f>137438953440/h)throw new Error("Scrypt: p must be a positive integer less than or equal to ((2^32 - 1) * 32) / (128 * r)");if(u<0||u>137438953440)throw new Error("Scrypt: dkLen should be positive integer less than or equal to (2^32 - 1) * 32");const b=h*(c+f);if(b>p)throw new Error("Scrypt: parameters too large, ".concat(b," (128 * r * (N + p)) > ").concat(p," (maxmem)"));const g=(0,i.pbkdf2)(a.sha256,e,t,{c:1,dkLen:h*f}),v=(0,o.u32)(g),w=(0,o.u32)(new Uint8Array(h*c)),T=(0,o.u32)(new Uint8Array(h));let E=()=>{};if(y){const e=2*c*f,t=Math.max(Math.floor(e/1e4),1);let n=0;E=()=>{n++,!y||n%t&&n!==e||y(n/e)}}return{N:c,r:l,p:f,dkLen:u,blockSize32:m,V:w,B32:v,B:g,tmp:T,blockMixCb:E,asyncTick:d}}function u(e,t,n,r,o){const s=(0,i.pbkdf2)(a.sha256,e,n,{c:1,dkLen:t});return n.fill(0),r.fill(0),o.fill(0),s}t.scrypt=function(e,t,n){const{N:r,r:a,p:i,dkLen:o,blockSize32:s,V:c,B32:d,B:p,tmp:y,blockMixCb:h}=f(e,t,n);for(let f=0;f{l(d,t,d,t+=c,a),m()})),l(d,(r-1)*c,p,e,a),m(),await(0,o.asyncLoop)(r,b,(t=>{const n=p[e+c-16]%r;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sha256=void 0;const r=n(20747),a=n(74361),i=(e,t,n)=>e&t^~e&n,o=(e,t,n)=>e&t^e&n^t&n,s=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),c=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),l=new Uint32Array(64);class f extends r.SHA2{constructor(){super(64,32,8,!1),this.A=0|c[0],this.B=0|c[1],this.C=0|c[2],this.D=0|c[3],this.E=0|c[4],this.F=0|c[5],this.G=0|c[6],this.H=0|c[7]}get(){const{A:e,B:t,C:n,D:r,E:a,F:i,G:o,H:s}=this;return[e,t,n,r,a,i,o,s]}set(e,t,n,r,a,i,o,s){this.A=0|e,this.B=0|t,this.C=0|n,this.D=0|r,this.E=0|a,this.F=0|i,this.G=0|o,this.H=0|s}process(e,t){for(let a=0;a<16;a++,t+=4)l[a]=e.getUint32(t,!1);for(let i=16;i<64;i++){const e=l[i-15],t=l[i-2],n=(0,a.rotr)(e,7)^(0,a.rotr)(e,18)^e>>>3,r=(0,a.rotr)(t,17)^(0,a.rotr)(t,19)^t>>>10;l[i]=r+l[i-7]+n+l[i-16]|0}let{A:n,B:r,C:c,D:f,E:u,F:d,G:p,H:y}=this;for(let h=0;h<64;h++){const e=y+((0,a.rotr)(u,6)^(0,a.rotr)(u,11)^(0,a.rotr)(u,25))+i(u,d,p)+s[h]+l[h]|0,t=((0,a.rotr)(n,2)^(0,a.rotr)(n,13)^(0,a.rotr)(n,22))+o(n,r,c)|0;y=p,p=d,d=u,u=f+e|0,f=c,c=r,r=n,n=e+t|0}n=n+this.A|0,r=r+this.B|0,c=c+this.C|0,f=f+this.D|0,u=u+this.E|0,d=d+this.F|0,p=p+this.G|0,y=y+this.H|0,this.set(n,r,c,f,u,d,p,y)}roundClean(){l.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}t.sha256=(0,a.wrapConstructor)((()=>new f))},17883:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.shake256=t.shake128=t.keccak_512=t.keccak_384=t.keccak_256=t.keccak_224=t.sha3_512=t.sha3_384=t.sha3_256=t.sha3_224=t.Keccak=t.keccakP=void 0;const r=n(64337),a=n(34995),i=n(74361),[o,s,c]=[[],[],[]],l=BigInt(0),f=BigInt(1),u=BigInt(2),d=BigInt(7),p=BigInt(256),y=BigInt(113);for(let x=0,A=f,P=1,O=0;x<24;x++){[P,O]=[O,(2*P+3*O)%5],o.push(2*(5*O+P)),s.push((x+1)*(x+2)/2%64);let e=l;for(let t=0;t<7;t++)A=(A<>d)*y)%p,A&u&&(e^=f<<(f<n>32?a.default.rotlBH(e,t,n):a.default.rotlSH(e,t,n),g=(e,t,n)=>n>32?a.default.rotlBL(e,t,n):a.default.rotlSL(e,t,n);function v(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:24;const n=new Uint32Array(10);for(let r=24-t;r<24;r++){for(let r=0;r<10;r++)n[r]=e[r]^e[r+10]^e[r+20]^e[r+30]^e[r+40];for(let r=0;r<10;r+=2){const t=(r+8)%10,a=(r+2)%10,i=n[a],o=n[a+1],s=b(i,o,1)^n[t],c=g(i,o,1)^n[t+1];for(let n=0;n<50;n+=10)e[r+n]^=s,e[r+n+1]^=c}let t=e[2],a=e[3];for(let n=0;n<24;n++){const r=s[n],i=b(t,a,r),c=g(t,a,r),l=o[n];t=e[l],a=e[l+1],e[l]=i,e[l+1]=c}for(let r=0;r<50;r+=10){for(let t=0;t<10;t++)n[t]=e[r+t];for(let t=0;t<10;t++)e[r+t]^=~n[(t+2)%10]&n[(t+4)%10]}e[0]^=h[r],e[1]^=m[r]}n.fill(0)}t.keccakP=v;class w extends i.Hash{constructor(e,t,n){let a=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:24;if(super(),this.blockLen=e,this.suffix=t,this.outputLen=n,this.enableXOF=a,this.rounds=o,this.pos=0,this.posOut=0,this.finished=!1,this.destroyed=!1,r.default.number(n),0>=this.blockLen||this.blockLen>=200)throw new Error("Sha3 supports only keccak-f1600 function");this.state=new Uint8Array(200),this.state32=(0,i.u32)(this.state)}keccak(){v(this.state32,this.rounds),this.posOut=0,this.pos=0}update(e){r.default.exists(this);const{blockLen:t,state:n}=this,a=(e=(0,i.toBytes)(e)).length;for(let r=0;r=n&&this.keccak();const i=Math.min(n-this.posOut,a-r);e.set(t.subarray(this.posOut,this.posOut+i),r),this.posOut+=i,r+=i}return e}xofInto(e){if(!this.enableXOF)throw new Error("XOF is not possible for this instance");return this.writeInto(e)}xof(e){return r.default.number(e),this.xofInto(new Uint8Array(e))}digestInto(e){if(r.default.output(e,this),this.finished)throw new Error("digest() was already called");return this.writeInto(e),this.destroy(),e}digest(){return this.digestInto(new Uint8Array(this.outputLen))}destroy(){this.destroyed=!0,this.state.fill(0)}_cloneInto(e){const{blockLen:t,suffix:n,outputLen:r,rounds:a,enableXOF:i}=this;return e||(e=new w(t,n,r,i,a)),e.state32.set(this.state32),e.pos=this.pos,e.posOut=this.posOut,e.finished=this.finished,e.rounds=a,e.suffix=n,e.outputLen=r,e.enableXOF=i,e.destroyed=this.destroyed,e}}t.Keccak=w;const T=(e,t,n)=>(0,i.wrapConstructor)((()=>new w(t,e,n)));t.sha3_224=T(6,144,28),t.sha3_256=T(6,136,32),t.sha3_384=T(6,104,48),t.sha3_512=T(6,72,64),t.keccak_224=T(1,144,28),t.keccak_256=T(1,136,32),t.keccak_384=T(1,104,48),t.keccak_512=T(1,72,64);const E=(e,t,n)=>(0,i.wrapConstructorWithOpts)((function(){let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new w(t,e,void 0===r.dkLen?n:r.dkLen,!0)}));t.shake128=E(31,168,16),t.shake256=E(31,136,32)},91855:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sha384=t.sha512_256=t.sha512=t.SHA512=void 0;const r=n(20747),a=n(34995),i=n(74361),[o,s]=a.default.split(["0x428a2f98d728ae22","0x7137449123ef65cd","0xb5c0fbcfec4d3b2f","0xe9b5dba58189dbbc","0x3956c25bf348b538","0x59f111f1b605d019","0x923f82a4af194f9b","0xab1c5ed5da6d8118","0xd807aa98a3030242","0x12835b0145706fbe","0x243185be4ee4b28c","0x550c7dc3d5ffb4e2","0x72be5d74f27b896f","0x80deb1fe3b1696b1","0x9bdc06a725c71235","0xc19bf174cf692694","0xe49b69c19ef14ad2","0xefbe4786384f25e3","0x0fc19dc68b8cd5b5","0x240ca1cc77ac9c65","0x2de92c6f592b0275","0x4a7484aa6ea6e483","0x5cb0a9dcbd41fbd4","0x76f988da831153b5","0x983e5152ee66dfab","0xa831c66d2db43210","0xb00327c898fb213f","0xbf597fc7beef0ee4","0xc6e00bf33da88fc2","0xd5a79147930aa725","0x06ca6351e003826f","0x142929670a0e6e70","0x27b70a8546d22ffc","0x2e1b21385c26c926","0x4d2c6dfc5ac42aed","0x53380d139d95b3df","0x650a73548baf63de","0x766a0abb3c77b2a8","0x81c2c92e47edaee6","0x92722c851482353b","0xa2bfe8a14cf10364","0xa81a664bbc423001","0xc24b8b70d0f89791","0xc76c51a30654be30","0xd192e819d6ef5218","0xd69906245565a910","0xf40e35855771202a","0x106aa07032bbd1b8","0x19a4c116b8d2d0c8","0x1e376c085141ab53","0x2748774cdf8eeb99","0x34b0bcb5e19b48a8","0x391c0cb3c5c95a63","0x4ed8aa4ae3418acb","0x5b9cca4f7763e373","0x682e6ff3d6b2b8a3","0x748f82ee5defb2fc","0x78a5636f43172f60","0x84c87814a1f0ab72","0x8cc702081a6439ec","0x90befffa23631e28","0xa4506cebde82bde9","0xbef9a3f7b2c67915","0xc67178f2e372532b","0xca273eceea26619c","0xd186b8c721c0c207","0xeada7dd6cde0eb1e","0xf57d4f7fee6ed178","0x06f067aa72176fba","0x0a637dc5a2c898a6","0x113f9804bef90dae","0x1b710b35131c471b","0x28db77f523047d84","0x32caab7b40c72493","0x3c9ebe0a15c9bebc","0x431d67c49c100d4c","0x4cc5d4becb3e42b6","0x597f299cfc657e2a","0x5fcb6fab3ad6faec","0x6c44198c4a475817"].map((e=>BigInt(e)))),c=new Uint32Array(80),l=new Uint32Array(80);class f extends r.SHA2{constructor(){super(128,64,16,!1),this.Ah=1779033703,this.Al=-205731576,this.Bh=-1150833019,this.Bl=-2067093701,this.Ch=1013904242,this.Cl=-23791573,this.Dh=-1521486534,this.Dl=1595750129,this.Eh=1359893119,this.El=-1377402159,this.Fh=-1694144372,this.Fl=725511199,this.Gh=528734635,this.Gl=-79577749,this.Hh=1541459225,this.Hl=327033209}get(){const{Ah:e,Al:t,Bh:n,Bl:r,Ch:a,Cl:i,Dh:o,Dl:s,Eh:c,El:l,Fh:f,Fl:u,Gh:d,Gl:p,Hh:y,Hl:h}=this;return[e,t,n,r,a,i,o,s,c,l,f,u,d,p,y,h]}set(e,t,n,r,a,i,o,s,c,l,f,u,d,p,y,h){this.Ah=0|e,this.Al=0|t,this.Bh=0|n,this.Bl=0|r,this.Ch=0|a,this.Cl=0|i,this.Dh=0|o,this.Dl=0|s,this.Eh=0|c,this.El=0|l,this.Fh=0|f,this.Fl=0|u,this.Gh=0|d,this.Gl=0|p,this.Hh=0|y,this.Hl=0|h}process(e,t){for(let a=0;a<16;a++,t+=4)c[a]=e.getUint32(t),l[a]=e.getUint32(t+=4);for(let o=16;o<80;o++){const e=0|c[o-15],t=0|l[o-15],n=a.default.rotrSH(e,t,1)^a.default.rotrSH(e,t,8)^a.default.shrSH(e,t,7),r=a.default.rotrSL(e,t,1)^a.default.rotrSL(e,t,8)^a.default.shrSL(e,t,7),i=0|c[o-2],s=0|l[o-2],f=a.default.rotrSH(i,s,19)^a.default.rotrBH(i,s,61)^a.default.shrSH(i,s,6),u=a.default.rotrSL(i,s,19)^a.default.rotrBL(i,s,61)^a.default.shrSL(i,s,6),d=a.default.add4L(r,u,l[o-7],l[o-16]),p=a.default.add4H(d,n,f,c[o-7],c[o-16]);c[o]=0|p,l[o]=0|d}let{Ah:n,Al:r,Bh:i,Bl:f,Ch:u,Cl:d,Dh:p,Dl:y,Eh:h,El:m,Fh:b,Fl:g,Gh:v,Gl:w,Hh:T,Hl:E}=this;for(let x=0;x<80;x++){const e=a.default.rotrSH(h,m,14)^a.default.rotrSH(h,m,18)^a.default.rotrBH(h,m,41),t=a.default.rotrSL(h,m,14)^a.default.rotrSL(h,m,18)^a.default.rotrBL(h,m,41),A=h&b^~h&v,P=m&g^~m&w,O=a.default.add5L(E,t,P,s[x],l[x]),k=a.default.add5H(O,T,e,A,o[x],c[x]),S=0|O,_=a.default.rotrSH(n,r,28)^a.default.rotrBH(n,r,34)^a.default.rotrBH(n,r,39),I=a.default.rotrSL(n,r,28)^a.default.rotrBL(n,r,34)^a.default.rotrBL(n,r,39),C=n&i^n&u^i&u,R=r&f^r&d^f&d;T=0|v,E=0|w,v=0|b,w=0|g,b=0|h,g=0|m,({h:h,l:m}=a.default.add(0|p,0|y,0|k,0|S)),p=0|u,y=0|d,u=0|i,d=0|f,i=0|n,f=0|r;const N=a.default.add3L(S,I,R);n=a.default.add3H(N,k,_,C),r=0|N}({h:n,l:r}=a.default.add(0|this.Ah,0|this.Al,0|n,0|r)),({h:i,l:f}=a.default.add(0|this.Bh,0|this.Bl,0|i,0|f)),({h:u,l:d}=a.default.add(0|this.Ch,0|this.Cl,0|u,0|d)),({h:p,l:y}=a.default.add(0|this.Dh,0|this.Dl,0|p,0|y)),({h:h,l:m}=a.default.add(0|this.Eh,0|this.El,0|h,0|m)),({h:b,l:g}=a.default.add(0|this.Fh,0|this.Fl,0|b,0|g)),({h:v,l:w}=a.default.add(0|this.Gh,0|this.Gl,0|v,0|w)),({h:T,l:E}=a.default.add(0|this.Hh,0|this.Hl,0|T,0|E)),this.set(n,r,i,f,u,d,p,y,h,m,b,g,v,w,T,E)}roundClean(){c.fill(0),l.fill(0)}destroy(){this.buffer.fill(0),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}}t.SHA512=f;class u extends f{constructor(){super(),this.Ah=573645204,this.Al=-64227540,this.Bh=-1621794909,this.Bl=-934517566,this.Ch=596883563,this.Cl=1867755857,this.Dh=-1774684391,this.Dl=1497426621,this.Eh=-1775747358,this.El=-1467023389,this.Fh=-1101128155,this.Fl=1401305490,this.Gh=721525244,this.Gl=746961066,this.Hh=246885852,this.Hl=-2117784414,this.outputLen=32}}class d extends f{constructor(){super(),this.Ah=-876896931,this.Al=-1056596264,this.Bh=1654270250,this.Bl=914150663,this.Ch=-1856437926,this.Cl=812702999,this.Dh=355462360,this.Dl=-150054599,this.Eh=1731405415,this.El=-4191439,this.Fh=-1900787065,this.Fl=1750603025,this.Gh=-619958771,this.Gl=1694076839,this.Hh=1203062813,this.Hl=-1090891868,this.outputLen=48}}t.sha512=(0,i.wrapConstructor)((()=>new f)),t.sha512_256=(0,i.wrapConstructor)((()=>new u)),t.sha384=(0,i.wrapConstructor)((()=>new d))},74361:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.randomBytes=t.wrapConstructorWithOpts=t.wrapConstructor=t.checkOpts=t.Hash=t.concatBytes=t.toBytes=t.utf8ToBytes=t.asyncLoop=t.nextTick=t.hexToBytes=t.bytesToHex=t.isLE=t.rotr=t.createView=t.u32=t.u8=void 0;const r=n(84096);t.u8=e=>new Uint8Array(e.buffer,e.byteOffset,e.byteLength);t.u32=e=>new Uint32Array(e.buffer,e.byteOffset,Math.floor(e.byteLength/4));t.createView=e=>new DataView(e.buffer,e.byteOffset,e.byteLength);if(t.rotr=(e,t)=>e<<32-t|e>>>t,t.isLE=68===new Uint8Array(new Uint32Array([287454020]).buffer)[0],!t.isLE)throw new Error("Non little-endian hardware is not supported");const a=Array.from({length:256},((e,t)=>t.toString(16).padStart(2,"0")));t.bytesToHex=function(e){if(!(e instanceof Uint8Array))throw new Error("Uint8Array expected");let t="";for(let n=0;n{},t.asyncLoop=async function(e,n,r){let a=Date.now();for(let i=0;i=0&&ee instanceof Uint8Array)))throw new Error("Uint8Array list expected");if(1===t.length)return t[0];const r=t.reduce(((e,t)=>e+t.length),0),a=new Uint8Array(r);for(let i=0,o=0;ie().update(o(t)).digest(),n=e();return t.outputLen=n.outputLen,t.blockLen=n.blockLen,t.create=()=>e(),t},t.wrapConstructorWithOpts=function(e){const t=(t,n)=>e(n).update(o(t)).digest(),n=e({});return t.outputLen=n.outputLen,t.blockLen=n.blockLen,t.create=t=>e(t),t},t.randomBytes=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:32;if(r.crypto.web)return r.crypto.web.getRandomValues(new Uint8Array(e));if(r.crypto.node)return new Uint8Array(r.crypto.node.randomBytes(e).buffer);throw new Error("The environment doesn't have randomBytes function")}},53845:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.utils=t.schnorr=t.verify=t.signSync=t.sign=t.getSharedSecret=t.recoverPublicKey=t.getPublicKey=t.Signature=t.Point=t.CURVE=void 0;const r=n(69159),a=BigInt(0),i=BigInt(1),o=BigInt(2),s=BigInt(3),c=BigInt(8),l=Object.freeze({a:a,b:BigInt(7),P:BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),n:BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),h:i,Gx:BigInt("55066263022277343669578718895168534326250603453777594175500187360389116729240"),Gy:BigInt("32670510020758816978083085130507043184471273380659243275938904335757337482424"),beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee")});t.CURVE=l;const f=(e,t)=>(e+t/o)/t,u={beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"),splitScalar(e){const{n:t}=l,n=BigInt("0x3086d221a7d46bcde86c90e49284eb15"),r=-i*BigInt("0xe4437ed6010e88286f547fa90abfe4c3"),a=BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"),o=n,s=BigInt("0x100000000000000000000000000000000"),c=f(o*e,t),u=f(-r*e,t);let d=F(e-c*n-u*a,t),p=F(-c*r-u*o,t);const y=d>s,h=p>s;if(y&&(d=t-d),h&&(p=t-p),d>s||p>s)throw new Error("splitScalarEndo: Endomorphism failed, k="+e);return{k1neg:y,k1:d,k2neg:h,k2:p}}},d=32,p=32,y=d+1,h=2*d+1;function m(e){const{a:t,b:n}=l,r=F(e*e),a=F(r*e);return F(a+t*e+n)}const b=l.a===a;class g extends Error{constructor(e){super(e)}}function v(e){if(!(e instanceof w))throw new TypeError("JacobianPoint expected")}class w{constructor(e,t,n){this.x=e,this.y=t,this.z=n}static fromAffine(e){if(!(e instanceof x))throw new TypeError("JacobianPoint#fromAffine: expected Point");return e.equals(x.ZERO)?w.ZERO:new w(e.x,e.y,i)}static toAffineBatch(e){const t=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l.P;const n=new Array(e.length),r=z(e.reduce(((e,r,i)=>r===a?e:(n[i]=e,F(e*r,t))),i),t);return e.reduceRight(((e,r,i)=>r===a?e:(n[i]=F(e*n[i],t),F(e*r,t))),r),n}(e.map((e=>e.z)));return e.map(((e,n)=>e.toAffine(t[n])))}static normalizeZ(e){return w.toAffineBatch(e).map(w.fromAffine)}equals(e){v(e);const{x:t,y:n,z:r}=this,{x:a,y:i,z:o}=e,s=F(r*r),c=F(o*o),l=F(t*c),f=F(a*s),u=F(F(n*o)*c),d=F(F(i*r)*s);return l===f&&u===d}negate(){return new w(this.x,F(-this.y),this.z)}double(){const{x:e,y:t,z:n}=this,r=F(e*e),a=F(t*t),i=F(a*a),l=e+a,f=F(o*(F(l*l)-r-i)),u=F(s*r),d=F(u*u),p=F(d-o*f),y=F(u*(f-p)-c*i),h=F(o*t*n);return new w(p,y,h)}add(e){v(e);const{x:t,y:n,z:r}=this,{x:i,y:s,z:c}=e;if(i===a||s===a)return this;if(t===a||n===a)return e;const l=F(r*r),f=F(c*c),u=F(t*f),d=F(i*l),p=F(F(n*c)*f),y=F(F(s*r)*l),h=F(d-u),m=F(y-p);if(h===a)return m===a?this.double():w.ZERO;const b=F(h*h),g=F(h*b),T=F(u*b),E=F(m*m-g-o*T),x=F(m*(T-E)-p*g),A=F(r*c*h);return new w(E,x,A)}subtract(e){return this.add(e.negate())}multiplyUnsafe(e){const t=w.ZERO;if("bigint"===typeof e&&e===a)return t;let n=L(e);if(n===i)return this;if(!b){let e=t,r=this;for(;n>a;)n&i&&(e=e.add(r)),r=r.double(),n>>=i;return e}let{k1neg:r,k1:o,k2neg:s,k2:c}=u.splitScalar(n),l=t,f=t,d=this;for(;o>a||c>a;)o&i&&(l=l.add(d)),c&i&&(f=f.add(d)),d=d.double(),o>>=i,c>>=i;return r&&(l=l.negate()),s&&(f=f.negate()),f=new w(F(f.x*u.beta),f.y,f.z),l.add(f)}precomputeWindow(e){const t=b?128/e+1:256/e+1,n=[];let r=this,a=r;for(let i=0;i>=u,n>c&&(n-=f,e+=i);const s=t,p=t+Math.abs(n)-1,y=d%2!==0,h=n<0;0===n?o=o.add(T(y,r[s])):a=a.add(T(h,r[p]))}return{p:a,f:o}}multiply(e,t){let n,r,a=L(e);if(b){const{k1neg:e,k1:i,k2neg:o,k2:s}=u.splitScalar(a);let{p:c,f:l}=this.wNAF(i,t),{p:f,f:d}=this.wNAF(s,t);c=T(e,c),f=T(o,f),f=new w(F(f.x*u.beta),f.y,f.z),n=c.add(f),r=l.add(d)}else{const{p:e,f:i}=this.wNAF(a,t);n=e,r=i}return w.normalizeZ([n,r])[0]}toAffine(e){const{x:t,y:n,z:r}=this,a=this.equals(w.ZERO);null==e&&(e=a?c:z(r));const o=e,s=F(o*o),l=F(s*o),f=F(t*s),u=F(n*l),d=F(r*o);if(a)return x.ZERO;if(d!==i)throw new Error("invZ was invalid");return new x(f,u)}}function T(e,t){const n=t.negate();return e?n:t}w.BASE=new w(l.Gx,l.Gy,i),w.ZERO=new w(a,i,a);const E=new WeakMap;class x{constructor(e,t){this.x=e,this.y=t}_setWindowSize(e){this._WINDOW_SIZE=e,E.delete(this)}hasEvenY(){return this.y%o===a}static fromCompressedHex(e){const t=32===e.length,n=B(t?e:e.subarray(1));if(!K(n))throw new Error("Point is not on curve");let r=function(e){const{P:t}=l,n=BigInt(6),r=BigInt(11),a=BigInt(22),i=BigInt(23),c=BigInt(44),f=BigInt(88),u=e*e*e%t,d=u*u*e%t,p=U(d,s)*d%t,y=U(p,s)*d%t,h=U(y,o)*u%t,m=U(h,r)*h%t,b=U(m,a)*m%t,g=U(b,c)*b%t,v=U(g,f)*g%t,w=U(v,c)*b%t,T=U(w,s)*d%t,E=U(T,i)*m%t,x=U(E,n)*u%t,A=U(x,o);if(A*A%t!==e)throw new Error("Cannot find square root");return A}(m(n));const a=(r&i)===i;if(t)a&&(r=F(-r));else{1===(1&e[0])!==a&&(r=F(-r))}const c=new x(n,r);return c.assertValidity(),c}static fromUncompressedHex(e){const t=B(e.subarray(1,d+1)),n=B(e.subarray(d+1,2*d+1)),r=new x(t,n);return r.assertValidity(),r}static fromHex(e){const t=D(e),n=t.length,r=t[0];if(n===d)return this.fromCompressedHex(t);if(n===y&&(2===r||3===r))return this.fromCompressedHex(t);if(n===h&&4===r)return this.fromUncompressedHex(t);throw new Error("Point.fromHex: received invalid point. Expected 32-".concat(y," compressed bytes or ").concat(h," uncompressed bytes, not ").concat(n))}static fromPrivateKey(e){return x.BASE.multiply(Q(e))}static fromSignature(e,t,n){const{r:r,s:a}=Z(t);if(![0,1,2,3].includes(n))throw new Error("Cannot recover: invalid recovery bit");const i=H(D(e)),{n:o}=l,s=2===n||3===n?r+o:r,c=z(s,o),f=F(-i*c,o),u=F(a*c,o),d=1&n?"03":"02",p=x.fromHex(d+C(s)),y=x.BASE.multiplyAndAddUnsafe(p,f,u);if(!y)throw new Error("Cannot recover signature: point at infinify");return y.assertValidity(),y}toRawBytes(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return M(this.toHex(e))}toHex(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const t=C(this.x);if(e){const e=this.hasEvenY()?"02":"03";return"".concat(e).concat(t)}return"04".concat(t).concat(C(this.y))}toHexX(){return this.toHex(!0).slice(2)}toRawX(){return this.toRawBytes(!0).slice(1)}assertValidity(){const e="Point is not on elliptic curve",{x:t,y:n}=this;if(!K(t)||!K(n))throw new Error(e);const r=F(n*n);if(F(r-m(t))!==a)throw new Error(e)}equals(e){return this.x===e.x&&this.y===e.y}negate(){return new x(this.x,F(-this.y))}double(){return w.fromAffine(this).double().toAffine()}add(e){return w.fromAffine(this).add(w.fromAffine(e)).toAffine()}subtract(e){return this.add(e.negate())}multiply(e){return w.fromAffine(this).multiply(e,this).toAffine()}multiplyAndAddUnsafe(e,t,n){const r=w.fromAffine(this),o=t===a||t===i||this!==x.BASE?r.multiplyUnsafe(t):r.multiply(t),s=w.fromAffine(e).multiplyUnsafe(n),c=o.add(s);return c.equals(w.ZERO)?void 0:c.toAffine()}}function A(e){return Number.parseInt(e[0],16)>=8?"00"+e:e}function P(e){if(e.length<2||2!==e[0])throw new Error("Invalid signature integer tag: ".concat(_(e)));const t=e[1],n=e.subarray(2,t+2);if(!t||n.length!==t)throw new Error("Invalid signature integer: wrong length");if(0===n[0]&&n[1]<=127)throw new Error("Invalid signature integer: trailing length");return{data:B(n),left:e.subarray(t+2)}}t.Point=x,x.BASE=new x(l.Gx,l.Gy),x.ZERO=new x(a,a);class O{constructor(e,t){this.r=e,this.s=t,this.assertValidity()}static fromCompact(e){const t=e instanceof Uint8Array,n="Signature.fromCompact";if("string"!==typeof e&&!t)throw new TypeError("".concat(n,": Expected string or Uint8Array"));const r=t?_(e):e;if(128!==r.length)throw new Error("".concat(n,": Expected 64-byte hex"));return new O(j(r.slice(0,64)),j(r.slice(64,128)))}static fromDER(e){const t=e instanceof Uint8Array;if("string"!==typeof e&&!t)throw new TypeError("Signature.fromDER: Expected string or Uint8Array");const{r:n,s:r}=function(e){if(e.length<2||48!=e[0])throw new Error("Invalid signature tag: ".concat(_(e)));if(e[1]!==e.length-2)throw new Error("Invalid signature: incorrect length");const{data:t,left:n}=P(e.subarray(2)),{data:r,left:a}=P(n);if(a.length)throw new Error("Invalid signature: left bytes after parsing: ".concat(_(a)));return{r:t,s:r}}(t?e:M(e));return new O(n,r)}static fromHex(e){return this.fromDER(e)}assertValidity(){const{r:e,s:t}=this;if(!q(e))throw new Error("Invalid Signature: r must be 0 < r < n");if(!q(t))throw new Error("Invalid Signature: s must be 0 < s < n")}hasHighS(){const e=l.n>>i;return this.s>e}normalizeS(){return this.hasHighS()?new O(this.r,F(-this.s,l.n)):this}toDERRawBytes(){return M(this.toDERHex())}toDERHex(){const e=A(N(this.s)),t=A(N(this.r)),n=e.length/2,r=t.length/2,a=N(n),i=N(r),o=N(r+n+4);return"30".concat(o,"02").concat(i).concat(t,"02").concat(a).concat(e)}toRawBytes(){return this.toDERRawBytes()}toHex(){return this.toDERHex()}toCompactRawBytes(){return M(this.toCompactHex())}toCompactHex(){return C(this.r)+C(this.s)}}function k(){for(var e=arguments.length,t=new Array(e),n=0;ne instanceof Uint8Array)))throw new Error("Uint8Array list expected");if(1===t.length)return t[0];const r=t.reduce(((e,t)=>e+t.length),0),a=new Uint8Array(r);for(let i=0,o=0;it.toString(16).padStart(2,"0")));function _(e){if(!(e instanceof Uint8Array))throw new Error("Expected Uint8Array");let t="";for(let n=0;n0)return BigInt(e);if("bigint"===typeof e&&q(e))return e;throw new TypeError("Expected valid private scalar: 0 < scalar < curve.n")}function F(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l.P;const n=e%t;return n>=a?n:t+n}function U(e,t){const{P:n}=l;let r=e;for(;t-- >a;)r*=r,r%=n;return r}function z(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l.P;if(e===a||t<=a)throw new Error("invert: expected positive integers, got n=".concat(e," mod=").concat(t));let n=F(e,t),r=t,o=a,s=i,c=i,f=a;for(;n!==a;){const e=r/n,t=r%n,a=o-c*e,i=s-f*e;r=n,n=t,o=c,s=f,c=a,f=i}if(r!==i)throw new Error("invert: does not exist");return F(o,t)}function H(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n=function(e){const t=8*e.length-8*p,n=B(e);return t>0?n>>BigInt(t):n}(e);if(t)return n;const{n:r}=l;return n>=r?n-r:n}let W,G;class V{constructor(e,t){if(this.hashLen=e,this.qByteLen=t,"number"!==typeof e||e<2)throw new Error("hashLen must be a number");if("number"!==typeof t||t<2)throw new Error("qByteLen must be a number");this.v=new Uint8Array(e).fill(1),this.k=new Uint8Array(e).fill(0),this.counter=0}hmac(){for(var e=arguments.length,n=new Array(e),r=0;r=1e3)throw new Error("Tried 1,000 k values for sign(), all were invalid");this.counter+=1}async reseed(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Uint8Array;this.k=await this.hmac(this.v,Uint8Array.from([0]),e),this.v=await this.hmac(this.v),0!==e.length&&(this.k=await this.hmac(this.v,Uint8Array.from([1]),e),this.v=await this.hmac(this.v))}reseedSync(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Uint8Array;this.checkSync(),this.k=this.hmacSync(this.v,Uint8Array.from([0]),e),this.v=this.hmacSync(this.v),0!==e.length&&(this.k=this.hmacSync(this.v,Uint8Array.from([1]),e),this.v=this.hmacSync(this.v))}async generate(){this.incr();let e=0;const t=[];for(;e3&&void 0!==arguments[3])||arguments[3];const{n:o}=l,s=H(e,!0);if(!q(s))return;const c=z(s,o),f=x.BASE.multiply(s),u=F(f.x,o);if(u===a)return;const d=F(c*F(t+n*u,o),o);if(d===a)return;let p=new O(u,d),y=(f.x===p.r?0:2)|Number(f.y&i);return r&&p.hasHighS()&&(p=p.normalizeS(),y^=1),{sig:p,recovery:y}}function Q(e){let t;if("bigint"===typeof e)t=e;else if("number"===typeof e&&Number.isSafeInteger(e)&&e>0)t=BigInt(e);else if("string"===typeof e){if(e.length!==2*p)throw new Error("Expected 32 bytes of private key");t=j(e)}else{if(!(e instanceof Uint8Array))throw new TypeError("Expected valid private key");if(e.length!==p)throw new Error("Expected 32 bytes of private key");t=B(e)}if(!q(t))throw new Error("Expected private key: 0 < key < n");return t}function Y(e){return e instanceof x?(e.assertValidity(),e):x.fromHex(e)}function Z(e){if(e instanceof O)return e.assertValidity(),e;try{return O.fromDER(e)}catch(t){return O.fromCompact(e)}}function X(e){const t=e instanceof Uint8Array,n="string"===typeof e,r=(t||n)&&e.length;return t?r===y||r===h:n?r===2*y||r===2*h:e instanceof x}function $(e){return B(e.length>d?e.slice(0,d):e)}function ee(e){const t=$(e),n=F(t,l.n);return te(n1&&void 0!==arguments[1]&&arguments[1];return x.fromPrivateKey(e).toRawBytes(t)},t.recoverPublicKey=function(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return x.fromSignature(e,t,n).toRawBytes(r)},t.getSharedSecret=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(X(e))throw new TypeError("getSharedSecret: first arg must be private key");if(!X(t))throw new TypeError("getSharedSecret: second arg must be public key");const r=Y(t);return r.assertValidity(),r.multiply(Q(e)).toRawBytes(n)},t.sign=async function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{seed:r,m:a,d:i}=ne(e,t,n.extraEntropy),o=new V(32,p);let s;for(await o.reseed(r);!(s=J(await o.generate(),a,i,n.canonical));)await o.reseed();return re(s,n)},t.signSync=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{seed:r,m:a,d:i}=ne(e,t,n.extraEntropy),o=new V(32,p);let s;for(o.reseedSync(r);!(s=J(o.generateSync(),a,i,n.canonical));)o.reseedSync();return re(s,n)};const ae={strict:!0};function ie(e){return F(B(e),l.n)}t.verify=function(e,t,n){let r,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:ae;try{r=Z(e),t=D(t)}catch(h){return!1}const{r:i,s:o}=r;if(a.strict&&r.hasHighS())return!1;const s=H(t);let c;try{c=Y(n)}catch(h){return!1}const{n:f}=l,u=z(o,f),d=F(s*u,f),p=F(i*u,f),y=x.BASE.multiplyAndAddUnsafe(c,d,p);return!!y&&F(y.x,f)===i};class oe{constructor(e,t){this.r=e,this.s=t,this.assertValidity()}static fromHex(e){const t=D(e);if(64!==t.length)throw new TypeError("SchnorrSignature.fromHex: expected 64 bytes, not ".concat(t.length));const n=B(t.subarray(0,32)),r=B(t.subarray(32,64));return new oe(n,r)}assertValidity(){const{r:e,s:t}=this;if(!K(e)||!q(t))throw new Error("Invalid signature")}toHex(){return C(this.r)+C(this.s)}toRawBytes(){return M(this.toHex())}}class se{constructor(e,n){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t.utils.randomBytes();if(null==e)throw new TypeError('sign: Expected valid message, not "'.concat(e,'"'));this.m=D(e);const{x:a,scalar:i}=this.getScalar(Q(n));if(this.px=a,this.d=i,this.rand=D(r),32!==this.rand.length)throw new TypeError("sign: Expected 32 bytes of aux randomness")}getScalar(e){const t=x.fromPrivateKey(e),n=t.hasEvenY()?e:l.n-e;return{point:t,scalar:n,x:t.toRawX()}}initNonce(e,t){return R(e^B(t))}finalizeNonce(e){const t=F(B(e),l.n);if(t===a)throw new Error("sign: Creation of signature failed. k is zero");const{point:n,x:r,scalar:i}=this.getScalar(t);return{R:n,rx:r,k:i}}finalizeSig(e,t,n,r){return new oe(e.x,F(t+n*r,l.n)).toRawBytes()}error(){throw new Error("sign: Invalid signature produced")}async calc(){const{m:e,d:n,px:r,rand:a}=this,i=t.utils.taggedHash,o=this.initNonce(n,await i(pe.aux,a)),{R:s,rx:c,k:l}=this.finalizeNonce(await i(pe.nonce,o,r,e)),f=ie(await i(pe.challenge,c,r,e)),u=this.finalizeSig(s,l,f,n);return await fe(u,e,r)||this.error(),u}calcSync(){const{m:e,d:n,px:r,rand:a}=this,i=t.utils.taggedHashSync,o=this.initNonce(n,i(pe.aux,a)),{R:s,rx:c,k:l}=this.finalizeNonce(i(pe.nonce,o,r,e)),f=ie(i(pe.challenge,c,r,e)),u=this.finalizeSig(s,l,f,n);return ue(u,e,r)||this.error(),u}}function ce(e,t,n){const r=e instanceof oe,a=r?e:oe.fromHex(e);return r&&a.assertValidity(),{...a,m:D(t),P:Y(n)}}function le(e,t,n,r){const a=x.BASE.multiplyAndAddUnsafe(t,Q(n),F(-r,l.n));return!(!a||!a.hasEvenY()||a.x!==e)}async function fe(e,n,r){try{const{r:a,s:i,m:o,P:s}=ce(e,n,r),c=ie(await t.utils.taggedHash(pe.challenge,R(a),s.toRawX(),o));return le(a,s,i,c)}catch(a){return!1}}function ue(e,n,r){try{const{r:a,s:i,m:o,P:s}=ce(e,n,r),c=ie(t.utils.taggedHashSync(pe.challenge,R(a),s.toRawX(),o));return le(a,s,i,c)}catch(a){if(a instanceof g)throw a;return!1}}t.schnorr={Signature:oe,getPublicKey:function(e){return x.fromPrivateKey(e).toRawX()},sign:async function(e,t,n){return new se(e,t,n).calc()},verify:fe,signSync:function(e,t,n){return new se(e,t,n).calcSync()},verifySync:ue},x.BASE._setWindowSize(8);const de={node:r,web:"object"===typeof self&&"crypto"in self?self.crypto:void 0},pe={challenge:"BIP0340/challenge",aux:"BIP0340/aux",nonce:"BIP0340/nonce"},ye={};t.utils={bytesToHex:_,hexToBytes:M,concatBytes:k,mod:F,invert:z,isValidPrivateKey(e){try{return Q(e),!0}catch(t){return!1}},_bigintTo32Bytes:R,_normalizePrivateKey:Q,hashToPrivateKey:e=>{e=D(e);const t=p+8;if(e.length1024)throw new Error("Expected valid bytes of private key as per FIPS 186");return R(F(B(e),l.n-i)+i)},randomBytes:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:32;if(de.web)return de.web.getRandomValues(new Uint8Array(e));if(de.node){const{randomBytes:t}=de.node;return Uint8Array.from(t(e))}throw new Error("The environment doesn't have randomBytes function")},randomPrivateKey:()=>t.utils.hashToPrivateKey(t.utils.randomBytes(p+8)),precompute(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:x.BASE;const n=t===x.BASE?t:new x(t.x,t.y);return n._setWindowSize(e),n.multiply(s),n},sha256:async function(){for(var e=arguments.length,t=new Array(e),n=0;nn.update(e))),Uint8Array.from(n.digest())}throw new Error("The environment doesn't have sha256 function")},hmacSha256:async function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;rr.update(e))),Uint8Array.from(r.digest())}throw new Error("The environment doesn't have hmac-sha256 function")},sha256Sync:void 0,hmacSha256Sync:void 0,taggedHash:async function(e){let n=ye[e];if(void 0===n){const r=await t.utils.sha256(Uint8Array.from(e,(e=>e.charCodeAt(0))));n=k(r,r),ye[e]=n}for(var r=arguments.length,a=new Array(r>1?r-1:0),i=1;ie.charCodeAt(0))));t=k(n,n),ye[e]=t}for(var n=arguments.length,r=new Array(n>1?n-1:0),a=1;aW,set(e){W||(W=e)}},hmacSha256Sync:{configurable:!1,get:()=>G,set(e){G||(G=e)}}})},67598:(e,t,n)=>{"use strict";t.N=void 0;var r=n(24488);Object.defineProperty(t,"N",{enumerable:!0,get:function(){return r.SafeAppProvider}})},24488:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SafeAppProvider=void 0;const r=n(47465),a=n(96275);class i extends r.EventEmitter{constructor(e,t){super(),this.submittedTxs=new Map,this.safe=e,this.sdk=t}async connect(){this.emit("connect",{chainId:this.chainId})}async disconnect(){}get chainId(){return this.safe.chainId}async request(e){const{method:t,params:n=[]}=e;switch(t){case"eth_accounts":return[this.safe.safeAddress];case"net_version":case"eth_chainId":return"0x".concat(this.chainId.toString(16));case"personal_sign":{const[e,t]=n;if(this.safe.safeAddress.toLowerCase()!==t.toLowerCase())throw new Error("The address or message hash is invalid");const r=await this.sdk.txs.signMessage(e);return("signature"in r?r.signature:void 0)||"0x"}case"eth_sign":{const[e,t]=n;if(this.safe.safeAddress.toLowerCase()!==e.toLowerCase()||!t.startsWith("0x"))throw new Error("The address or message hash is invalid");const r=await this.sdk.txs.signMessage(t);return("signature"in r?r.signature:void 0)||"0x"}case"eth_signTypedData":case"eth_signTypedData_v4":{const[e,t]=n,r="string"===typeof t?JSON.parse(t):t;if(this.safe.safeAddress.toLowerCase()!==e.toLowerCase())throw new Error("The address is invalid");const a=await this.sdk.txs.signTypedMessage(r);return("signature"in a?a.signature:void 0)||"0x"}case"eth_sendTransaction":const t=Object.assign({value:"0",data:"0x"},n[0]);"string"===typeof t.gas&&t.gas.startsWith("0x")&&(t.gas=parseInt(t.gas,16));const i=await this.sdk.txs.send({txs:[t],params:{safeTxGas:t.gas}});return this.submittedTxs.set(i.safeTxHash,{from:this.safe.safeAddress,hash:i.safeTxHash,gas:0,gasPrice:"0x00",nonce:0,input:t.data,value:t.value,to:t.to,blockHash:null,blockNumber:null,transactionIndex:null}),i.safeTxHash;case"eth_blockNumber":return(await this.sdk.eth.getBlockByNumber(["latest"])).number;case"eth_getBalance":return this.sdk.eth.getBalance([(0,a.getLowerCase)(n[0]),n[1]]);case"eth_getCode":return this.sdk.eth.getCode([(0,a.getLowerCase)(n[0]),n[1]]);case"eth_getTransactionCount":return this.sdk.eth.getTransactionCount([(0,a.getLowerCase)(n[0]),n[1]]);case"eth_getStorageAt":return this.sdk.eth.getStorageAt([(0,a.getLowerCase)(n[0]),n[1],n[2]]);case"eth_getBlockByNumber":return this.sdk.eth.getBlockByNumber([n[0],n[1]]);case"eth_getBlockByHash":return this.sdk.eth.getBlockByHash([n[0],n[1]]);case"eth_getTransactionByHash":let o=n[0];try{o=(await this.sdk.txs.getBySafeTxHash(o)).txHash||o}catch(r){}return this.submittedTxs.has(o)?this.submittedTxs.get(o):this.sdk.eth.getTransactionByHash([o]).then((e=>(e&&(e.hash=n[0]),e)));case"eth_getTransactionReceipt":{let e=n[0];try{e=(await this.sdk.txs.getBySafeTxHash(e)).txHash||e}catch(r){}return this.sdk.eth.getTransactionReceipt([e]).then((e=>(e&&(e.transactionHash=n[0]),e)))}case"eth_estimateGas":return this.sdk.eth.getEstimateGas(n[0]);case"eth_call":return this.sdk.eth.call([n[0],n[1]]);case"eth_getLogs":return this.sdk.eth.getPastLogs([n[0]]);case"eth_gasPrice":return this.sdk.eth.getGasPrice();case"wallet_getPermissions":return this.sdk.wallet.getPermissions();case"wallet_requestPermissions":return this.sdk.wallet.requestPermissions(n[0]);case"safe_setSettings":return this.sdk.eth.setSafeSettings([n[0]]);default:throw Error('"'.concat(e.method,'" not implemented'))}}send(e,t){e||t("Undefined request"),this.request(e).then((n=>t(null,{jsonrpc:"2.0",id:e.id,result:n}))).catch((e=>t(e,null)))}}t.SafeAppProvider=i},96275:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getLowerCase=void 0,t.getLowerCase=function(e){return e?e.toLowerCase():e}},33583:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0});const i=n(60239);t.default=class{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.allowedOrigins=null,this.callbacks=new Map,this.debugMode=!1,this.isServer="undefined"===typeof window,this.isValidMessage=e=>{let{origin:t,data:n,source:r}=e;const a=!n,i=!this.isServer&&r===window.parent,o=("undefined"!==typeof n.version&&parseInt(n.version.split(".")[0]))>=1;let s=!0;return Array.isArray(this.allowedOrigins)&&(s=void 0!==this.allowedOrigins.find((e=>e.test(t)))),!a&&i&&o&&s},this.logIncomingMessage=e=>{console.info("Safe Apps SDK v1: A message was received from origin ".concat(e.origin,". "),e.data)},this.onParentMessage=e=>{this.isValidMessage(e)&&(this.debugMode&&this.logIncomingMessage(e),this.handleIncomingMessage(e.data))},this.handleIncomingMessage=e=>{const{id:t}=e,n=this.callbacks.get(t);n&&(n(e),this.callbacks.delete(t))},this.send=(e,t)=>{const n=i.MessageFormatter.makeRequest(e,t);if(this.isServer)throw new Error("Window doesn't exist");return window.parent.postMessage(n,"*"),new Promise(((e,t)=>{this.callbacks.set(n.id,(n=>{n.success?e(n):t(new Error(n.error))}))}))},this.allowedOrigins=e,this.debugMode=t,this.isServer||window.addEventListener("message",this.onParentMessage)}},a(n(93203),t)},60239:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MessageFormatter=void 0;const r=n(65862),a=n(93456);class i{}t.MessageFormatter=i,i.makeRequest=(e,t)=>({id:(0,a.generateRequestId)(),method:e,params:t,env:{sdkVersion:(0,r.getSDKVersion)()}}),i.makeResponse=(e,t,n)=>({id:e,success:!0,version:n,data:t}),i.makeErrorResponse=(e,t,n)=>({id:e,success:!1,error:t,version:n})},93203:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RestrictedMethods=t.Methods=void 0,function(e){e.sendTransactions="sendTransactions",e.rpcCall="rpcCall",e.getChainInfo="getChainInfo",e.getSafeInfo="getSafeInfo",e.getTxBySafeTxHash="getTxBySafeTxHash",e.getSafeBalances="getSafeBalances",e.signMessage="signMessage",e.signTypedMessage="signTypedMessage",e.getEnvironmentInfo="getEnvironmentInfo",e.getOffChainSignature="getOffChainSignature",e.requestAddressBook="requestAddressBook",e.wallet_getPermissions="wallet_getPermissions",e.wallet_requestPermissions="wallet_requestPermissions"}(t.Methods||(t.Methods={})),function(e){e.requestAddressBook="requestAddressBook"}(t.RestrictedMethods||(t.RestrictedMethods={}))},93456:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generateRequestId=void 0;const n=e=>e.toString(16).padStart(2,"0");t.generateRequestId=()=>"undefined"!==typeof window?(e=>{const t=new Uint8Array((e||40)/2);return window.crypto.getRandomValues(t),Array.from(t,n).join("")})(10):(new Date).getTime().toString(36)},62373:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(23619),a=n(3966),i=(e,t)=>t.some((t=>t.parentCapability===e));t.default=()=>(e,t,n)=>{const o=n.value;return n.value=async function(){const e=new r.Wallet(this.communicator);let n=await e.getPermissions();if(i(t,n)||(n=await e.requestPermissions([{[t]:{}}])),!i(t,n))throw new a.PermissionsError("Permissions rejected",a.PERMISSIONS_REQUEST_REJECTED);return o.apply(this)},n}},5884:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RPC_CALLS=void 0,t.RPC_CALLS={eth_call:"eth_call",eth_gasPrice:"eth_gasPrice",eth_getLogs:"eth_getLogs",eth_getBalance:"eth_getBalance",eth_getCode:"eth_getCode",eth_getBlockByHash:"eth_getBlockByHash",eth_getBlockByNumber:"eth_getBlockByNumber",eth_getStorageAt:"eth_getStorageAt",eth_getTransactionByHash:"eth_getTransactionByHash",eth_getTransactionReceipt:"eth_getTransactionReceipt",eth_getTransactionCount:"eth_getTransactionCount",eth_estimateGas:"eth_estimateGas",safe_setSettings:"safe_setSettings"}},41266:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Eth=void 0;const r=n(5884),a=n(93203),i={defaultBlockParam:function(){return arguments.length>0&&void 0!==arguments[0]?arguments[0]:"latest"},returnFullTxObjectParam:function(){return arguments.length>0&&void 0!==arguments[0]&&arguments[0]},blockNumberToHex:e=>Number.isInteger(e)?"0x".concat(e.toString(16)):e};t.Eth=class{constructor(e){this.communicator=e,this.call=this.buildRequest({call:r.RPC_CALLS.eth_call,formatters:[null,i.defaultBlockParam]}),this.getBalance=this.buildRequest({call:r.RPC_CALLS.eth_getBalance,formatters:[null,i.defaultBlockParam]}),this.getCode=this.buildRequest({call:r.RPC_CALLS.eth_getCode,formatters:[null,i.defaultBlockParam]}),this.getStorageAt=this.buildRequest({call:r.RPC_CALLS.eth_getStorageAt,formatters:[null,i.blockNumberToHex,i.defaultBlockParam]}),this.getPastLogs=this.buildRequest({call:r.RPC_CALLS.eth_getLogs}),this.getBlockByHash=this.buildRequest({call:r.RPC_CALLS.eth_getBlockByHash,formatters:[null,i.returnFullTxObjectParam]}),this.getBlockByNumber=this.buildRequest({call:r.RPC_CALLS.eth_getBlockByNumber,formatters:[i.blockNumberToHex,i.returnFullTxObjectParam]}),this.getTransactionByHash=this.buildRequest({call:r.RPC_CALLS.eth_getTransactionByHash}),this.getTransactionReceipt=this.buildRequest({call:r.RPC_CALLS.eth_getTransactionReceipt}),this.getTransactionCount=this.buildRequest({call:r.RPC_CALLS.eth_getTransactionCount,formatters:[null,i.defaultBlockParam]}),this.getGasPrice=this.buildRequest({call:r.RPC_CALLS.eth_gasPrice}),this.getEstimateGas=e=>this.buildRequest({call:r.RPC_CALLS.eth_estimateGas})([e]),this.setSafeSettings=this.buildRequest({call:r.RPC_CALLS.safe_setSettings})}buildRequest(e){const{call:t,formatters:n}=e;return async e=>{n&&Array.isArray(e)&&n.forEach(((t,n)=>{t&&(e[n]=t(e[n]))}));const r={call:t,params:e||[]};return(await this.communicator.send(a.Methods.rpcCall,r)).data}}}},16056:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getSDKVersion=void 0;const o=i(n(38641));t.default=o.default,a(n(38641),t),a(n(84066),t),a(n(93203),t),a(n(60239),t);var s=n(65862);Object.defineProperty(t,"getSDKVersion",{enumerable:!0,get:function(){return s.getSDKVersion}})},43291:function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var a,i=arguments.length,o=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(a=e[s])&&(o=(i<3?a(o):i>3?a(t,n,o):a(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Safe=void 0;const i=n(83242),o=n(90499),s=n(93203),c=n(5884),l=n(84066),f=a(n(62373));class u{constructor(e){this.communicator=e}async getChainInfo(){return(await this.communicator.send(s.Methods.getChainInfo,void 0)).data}async getInfo(){return(await this.communicator.send(s.Methods.getSafeInfo,void 0)).data}async experimental_getBalances(){let{currency:e="usd"}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(await this.communicator.send(s.Methods.getSafeBalances,{currency:e})).data}async check1271Signature(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"0x";const n=await this.getInfo(),r=(0,i.encodeFunctionData)({abi:[{constant:!1,inputs:[{name:"_dataHash",type:"bytes32"},{name:"_signature",type:"bytes"}],name:"isValidSignature",outputs:[{name:"",type:"bytes4"}],payable:!1,stateMutability:"nonpayable",type:"function"}],functionName:"isValidSignature",args:[e,t]}),a={call:c.RPC_CALLS.eth_call,params:[{to:n.safeAddress,data:r},"latest"]};try{return(await this.communicator.send(s.Methods.rpcCall,a)).data.slice(0,10).toLowerCase()===o.MAGIC_VALUE}catch(l){return!1}}async check1271SignatureBytes(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"0x";const n=await this.getInfo(),r=(0,i.encodeFunctionData)({abi:[{constant:!1,inputs:[{name:"_data",type:"bytes"},{name:"_signature",type:"bytes"}],name:"isValidSignature",outputs:[{name:"",type:"bytes4"}],payable:!1,stateMutability:"nonpayable",type:"function"}],functionName:"isValidSignature",args:[e,t]}),a={call:c.RPC_CALLS.eth_call,params:[{to:n.safeAddress,data:r},"latest"]};try{return(await this.communicator.send(s.Methods.rpcCall,a)).data.slice(0,10).toLowerCase()===o.MAGIC_VALUE_BYTES}catch(l){return!1}}calculateMessageHash(e){return(0,i.hashMessage)(e)}calculateTypedMessageHash(e){const t="object"===typeof e.domain.chainId?e.domain.chainId.toNumber():Number(e.domain.chainId);let n=e.primaryType;if(!n){const t=Object.values(e.types),r=Object.keys(e.types).filter((e=>t.every((t=>t.every((t=>{let{type:n}=t;return n.replace("[","").replace("]","")!==e}))))));if(0===r.length||r.length>1)throw new Error("Please specify primaryType");n=r[0]}return(0,i.hashTypedData)({message:e.message,domain:Object.assign(Object.assign({},e.domain),{chainId:t,verifyingContract:e.domain.verifyingContract,salt:e.domain.salt}),types:e.types,primaryType:n})}async getOffChainSignature(e){return(await this.communicator.send(s.Methods.getOffChainSignature,e)).data}async isMessageSigned(e){let t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"0x";if("string"===typeof e&&(t=async()=>{const t=this.calculateMessageHash(e);return await this.isMessageHashSigned(t,n)}),(0,l.isObjectEIP712TypedData)(e)&&(t=async()=>{const t=this.calculateTypedMessageHash(e);return await this.isMessageHashSigned(t,n)}),t){return await t()}throw new Error("Invalid message type")}async isMessageHashSigned(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"0x";const n=[this.check1271Signature.bind(this),this.check1271SignatureBytes.bind(this)];for(const r of n){if(await r(e,t))return!0}return!1}async getEnvironmentInfo(){return(await this.communicator.send(s.Methods.getEnvironmentInfo,void 0)).data}async requestAddressBook(){return(await this.communicator.send(s.Methods.requestAddressBook,void 0)).data}}r([(0,f.default)()],u.prototype,"requestAddressBook",null),t.Safe=u},90499:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MAGIC_VALUE_BYTES=t.MAGIC_VALUE=void 0;t.MAGIC_VALUE="0x1626ba7e";t.MAGIC_VALUE_BYTES="0x20c13b0b"},38641:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const a=r(n(33583)),i=n(10652),o=n(41266),s=n(43291),c=n(23619);t.default=class{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{allowedDomains:t=null,debug:n=!1}=e;this.communicator=new a.default(t,n),this.eth=new o.Eth(this.communicator),this.txs=new i.TXs(this.communicator),this.safe=new s.Safe(this.communicator),this.wallet=new c.Wallet(this.communicator)}}},10652:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TXs=void 0;const r=n(93203),a=n(84066);t.TXs=class{constructor(e){this.communicator=e}async getBySafeTxHash(e){if(!e)throw new Error("Invalid safeTxHash");return(await this.communicator.send(r.Methods.getTxBySafeTxHash,{safeTxHash:e})).data}async signMessage(e){const t={message:e};return(await this.communicator.send(r.Methods.signMessage,t)).data}async signTypedMessage(e){if(!(0,a.isObjectEIP712TypedData)(e))throw new Error("Invalid typed data");return(await this.communicator.send(r.Methods.signTypedMessage,{typedData:e})).data}async send(e){let{txs:t,params:n}=e;if(!t||!t.length)throw new Error("No transactions were passed");const a={txs:t,params:n};return(await this.communicator.send(r.Methods.sendTransactions,a)).data}}},98758:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TransferDirection=t.TransactionStatus=t.TokenType=t.Operation=void 0;var r=n(82228);Object.defineProperty(t,"Operation",{enumerable:!0,get:function(){return r.Operation}}),Object.defineProperty(t,"TokenType",{enumerable:!0,get:function(){return r.TokenType}}),Object.defineProperty(t,"TransactionStatus",{enumerable:!0,get:function(){return r.TransactionStatus}}),Object.defineProperty(t,"TransferDirection",{enumerable:!0,get:function(){return r.TransferDirection}})},84066:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),a(n(39302),t),a(n(45518),t),a(n(98758),t),a(n(27111),t)},27111:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});n(93203)},3966:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PermissionsError=t.PERMISSIONS_REQUEST_REJECTED=void 0,t.PERMISSIONS_REQUEST_REJECTED=4001;class n extends Error{constructor(e,t,r){super(e),this.code=t,this.data=r,Object.setPrototypeOf(this,n.prototype)}}t.PermissionsError=n},45518:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},39302:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isObjectEIP712TypedData=void 0;t.isObjectEIP712TypedData=e=>"object"===typeof e&&null!=e&&"domain"in e&&"types"in e&&"message"in e},65862:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getSDKVersion=void 0;const a=r(n(29242));t.getSDKVersion=()=>a.default.version.split("-")[0]},23619:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Wallet=void 0;const r=n(93203),a=n(3966);t.Wallet=class{constructor(e){this.communicator=e}async getPermissions(){return(await this.communicator.send(r.Methods.wallet_getPermissions,void 0)).data}async requestPermissions(e){if(!this.isPermissionRequestValid(e))throw new a.PermissionsError("Permissions request is invalid",a.PERMISSIONS_REQUEST_REJECTED);try{return(await this.communicator.send(r.Methods.wallet_requestPermissions,e)).data}catch(t){throw new a.PermissionsError("Permissions rejected",a.PERMISSIONS_REQUEST_REJECTED)}}isPermissionRequestValid(e){return e.every((e=>"object"===typeof e&&Object.keys(e).every((e=>!!Object.values(r.RestrictedMethods).includes(e)))))}}},5526:(e,t)=>{"use strict";function n(e){if(!Number.isSafeInteger(e)||e<0)throw new Error("Wrong positive integer: ".concat(e))}function r(e){if("boolean"!==typeof e)throw new Error("Expected boolean, not ".concat(e))}function a(e){if(!(e instanceof Uint8Array))throw new TypeError("Expected Uint8Array");for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r0&&!n.includes(e.length))throw new TypeError("Expected Uint8Array of length ".concat(n,", not of length=").concat(e.length))}function i(e){if("function"!==typeof e||"function"!==typeof e.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");n(e.outputLen),n(e.blockLen)}function o(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(e.destroyed)throw new Error("Hash instance has been destroyed");if(t&&e.finished)throw new Error("Hash#digest() has already been called")}function s(e,t){a(e);const n=t.outputLen;if(e.length{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.add=t.toBig=t.split=t.fromBig=void 0;const n=BigInt(2**32-1),r=BigInt(32);function a(e){return arguments.length>1&&void 0!==arguments[1]&&arguments[1]?{h:Number(e&n),l:Number(e>>r&n)}:{h:0|Number(e>>r&n),l:0|Number(e&n)}}function i(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=new Uint32Array(e.length),r=new Uint32Array(e.length);for(let i=0;iBigInt(e>>>0)<>>0);function o(e,t,n,r){const a=(t>>>0)+(r>>>0);return{h:e+n+(a/2**32|0)|0,l:0|a}}t.add=o;const s={fromBig:a,split:i,toBig:t.toBig,shrSH:(e,t,n)=>e>>>n,shrSL:(e,t,n)=>e<<32-n|t>>>n,rotrSH:(e,t,n)=>e>>>n|t<<32-n,rotrSL:(e,t,n)=>e<<32-n|t>>>n,rotrBH:(e,t,n)=>e<<64-n|t>>>n-32,rotrBL:(e,t,n)=>e>>>n-32|t<<64-n,rotr32H:(e,t)=>t,rotr32L:(e,t)=>e,rotlSH:(e,t,n)=>e<>>32-n,rotlSL:(e,t,n)=>t<>>32-n,rotlBH:(e,t,n)=>t<>>64-n,rotlBL:(e,t,n)=>e<>>64-n,add:o,add3L:(e,t,n)=>(e>>>0)+(t>>>0)+(n>>>0),add3H:(e,t,n,r)=>t+n+r+(e/2**32|0)|0,add4L:(e,t,n,r)=>(e>>>0)+(t>>>0)+(n>>>0)+(r>>>0),add4H:(e,t,n,r,a)=>t+n+r+a+(e/2**32|0)|0,add5H:(e,t,n,r,a,i)=>t+n+r+a+i+(e/2**32|0)|0,add5L:(e,t,n,r,a)=>(e>>>0)+(t>>>0)+(n>>>0)+(r>>>0)+(a>>>0)};t.default=s},75815:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.crypto=void 0,t.crypto="object"===typeof globalThis&&"crypto"in globalThis?globalThis.crypto:void 0},85936:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.shake256=t.shake128=t.keccak_512=t.keccak_384=t.keccak_256=t.keccak_224=t.sha3_512=t.sha3_384=t.sha3_256=t.sha3_224=t.Keccak=t.keccakP=void 0;const r=n(5526),a=n(99538),i=n(14827),[o,s,c]=[[],[],[]],l=BigInt(0),f=BigInt(1),u=BigInt(2),d=BigInt(7),p=BigInt(256),y=BigInt(113);for(let x=0,A=f,P=1,O=0;x<24;x++){[P,O]=[O,(2*P+3*O)%5],o.push(2*(5*O+P)),s.push((x+1)*(x+2)/2%64);let e=l;for(let t=0;t<7;t++)A=(A<>d)*y)%p,A&u&&(e^=f<<(f<n>32?a.default.rotlBH(e,t,n):a.default.rotlSH(e,t,n),g=(e,t,n)=>n>32?a.default.rotlBL(e,t,n):a.default.rotlSL(e,t,n);function v(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:24;const n=new Uint32Array(10);for(let r=24-t;r<24;r++){for(let r=0;r<10;r++)n[r]=e[r]^e[r+10]^e[r+20]^e[r+30]^e[r+40];for(let r=0;r<10;r+=2){const t=(r+8)%10,a=(r+2)%10,i=n[a],o=n[a+1],s=b(i,o,1)^n[t],c=g(i,o,1)^n[t+1];for(let n=0;n<50;n+=10)e[r+n]^=s,e[r+n+1]^=c}let t=e[2],a=e[3];for(let n=0;n<24;n++){const r=s[n],i=b(t,a,r),c=g(t,a,r),l=o[n];t=e[l],a=e[l+1],e[l]=i,e[l+1]=c}for(let r=0;r<50;r+=10){for(let t=0;t<10;t++)n[t]=e[r+t];for(let t=0;t<10;t++)e[r+t]^=~n[(t+2)%10]&n[(t+4)%10]}e[0]^=h[r],e[1]^=m[r]}n.fill(0)}t.keccakP=v;class w extends i.Hash{constructor(e,t,n){let a=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:24;if(super(),this.blockLen=e,this.suffix=t,this.outputLen=n,this.enableXOF=a,this.rounds=o,this.pos=0,this.posOut=0,this.finished=!1,this.destroyed=!1,r.default.number(n),0>=this.blockLen||this.blockLen>=200)throw new Error("Sha3 supports only keccak-f1600 function");this.state=new Uint8Array(200),this.state32=(0,i.u32)(this.state)}keccak(){v(this.state32,this.rounds),this.posOut=0,this.pos=0}update(e){r.default.exists(this);const{blockLen:t,state:n}=this,a=(e=(0,i.toBytes)(e)).length;for(let r=0;r=n&&this.keccak();const i=Math.min(n-this.posOut,a-r);e.set(t.subarray(this.posOut,this.posOut+i),r),this.posOut+=i,r+=i}return e}xofInto(e){if(!this.enableXOF)throw new Error("XOF is not possible for this instance");return this.writeInto(e)}xof(e){return r.default.number(e),this.xofInto(new Uint8Array(e))}digestInto(e){if(r.default.output(e,this),this.finished)throw new Error("digest() was already called");return this.writeInto(e),this.destroy(),e}digest(){return this.digestInto(new Uint8Array(this.outputLen))}destroy(){this.destroyed=!0,this.state.fill(0)}_cloneInto(e){const{blockLen:t,suffix:n,outputLen:r,rounds:a,enableXOF:i}=this;return e||(e=new w(t,n,r,i,a)),e.state32.set(this.state32),e.pos=this.pos,e.posOut=this.posOut,e.finished=this.finished,e.rounds=a,e.suffix=n,e.outputLen=r,e.enableXOF=i,e.destroyed=this.destroyed,e}}t.Keccak=w;const T=(e,t,n)=>(0,i.wrapConstructor)((()=>new w(t,e,n)));t.sha3_224=T(6,144,28),t.sha3_256=T(6,136,32),t.sha3_384=T(6,104,48),t.sha3_512=T(6,72,64),t.keccak_224=T(1,144,28),t.keccak_256=T(1,136,32),t.keccak_384=T(1,104,48),t.keccak_512=T(1,72,64);const E=(e,t,n)=>(0,i.wrapConstructorWithOpts)((function(){let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new w(t,e,void 0===r.dkLen?n:r.dkLen,!0)}));t.shake128=E(31,168,16),t.shake256=E(31,136,32)},14827:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.randomBytes=t.wrapConstructorWithOpts=t.wrapConstructor=t.checkOpts=t.Hash=t.concatBytes=t.toBytes=t.utf8ToBytes=t.asyncLoop=t.nextTick=t.hexToBytes=t.bytesToHex=t.isLE=t.rotr=t.createView=t.u32=t.u8=void 0;const r=n(75815);t.u8=e=>new Uint8Array(e.buffer,e.byteOffset,e.byteLength);t.u32=e=>new Uint32Array(e.buffer,e.byteOffset,Math.floor(e.byteLength/4));t.createView=e=>new DataView(e.buffer,e.byteOffset,e.byteLength);if(t.rotr=(e,t)=>e<<32-t|e>>>t,t.isLE=68===new Uint8Array(new Uint32Array([287454020]).buffer)[0],!t.isLE)throw new Error("Non little-endian hardware is not supported");const a=Array.from({length:256},((e,t)=>t.toString(16).padStart(2,"0")));t.bytesToHex=function(e){if(!(e instanceof Uint8Array))throw new Error("Uint8Array expected");let t="";for(let n=0;n{},t.asyncLoop=async function(e,n,r){let a=Date.now();for(let i=0;i=0&&ee instanceof Uint8Array)))throw new Error("Uint8Array list expected");if(1===t.length)return t[0];const r=t.reduce(((e,t)=>e+t.length),0),a=new Uint8Array(r);for(let i=0,o=0;ie().update(o(t)).digest(),n=e();return t.outputLen=n.outputLen,t.blockLen=n.blockLen,t.create=()=>e(),t},t.wrapConstructorWithOpts=function(e){const t=(t,n)=>e(n).update(o(t)).digest(),n=e({});return t.outputLen=n.outputLen,t.blockLen=n.blockLen,t.create=t=>e(t),t},t.randomBytes=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:32;if(r.crypto&&"function"===typeof r.crypto.getRandomValues)return r.crypto.getRandomValues(new Uint8Array(e));throw new Error("crypto.getRandomValues must be defined")}},92483:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_BASE_URL=void 0,t.DEFAULT_BASE_URL="https://safe-client.safe.global"},88234:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getEndpoint=t.postEndpoint=void 0;const r=n(84404);function a(e,t,n,a){const i=(0,r.insertParams)(t,n),o=(0,r.stringifyQuery)(a);return"".concat(e).concat(i).concat(o)}t.postEndpoint=function(e,t,n){const i=a(e,t,null===n||void 0===n?void 0:n.path,null===n||void 0===n?void 0:n.query);return(0,r.fetchData)(i,null===n||void 0===n?void 0:n.body)},t.getEndpoint=function(e,t,n,i){if(i)return(0,r.fetchData)(i);const o=a(e,t,null===n||void 0===n?void 0:n.path,null===n||void 0===n?void 0:n.query);return(0,r.fetchData)(o)}},82228:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.confirmSafeMessage=t.proposeSafeMessage=t.getSafeMessage=t.getSafeMessages=t.getDecodedData=t.getMasterCopies=t.getSafeApps=t.getChainConfig=t.getChainsConfig=t.proposeTransaction=t.postSafeGasEstimation=t.getTransactionDetails=t.getTransactionQueue=t.getTransactionHistory=t.getCollectiblesPage=t.getCollectibles=t.getOwnedSafes=t.getFiatCurrencies=t.getBalances=t.getMultisigTransactions=t.getModuleTransactions=t.getIncomingTransfers=t.getSafeInfo=t.setBaseUrl=void 0;const i=n(88234),o=n(92483);a(n(62916),t),a(n(2698),t),a(n(47201),t),a(n(51684),t),a(n(99590),t),a(n(52024),t),a(n(79209),t),a(n(79522),t);let s=o.DEFAULT_BASE_URL;t.setBaseUrl=e=>{s=e},t.getSafeInfo=function(e,t){return(0,i.getEndpoint)(s,"/v1/chains/{chainId}/safes/{address}",{path:{chainId:e,address:t}})},t.getIncomingTransfers=function(e,t,n,r){return(0,i.getEndpoint)(s,"/v1/chains/{chainId}/safes/{address}/incoming-transfers/",{path:{chainId:e,address:t},query:n},r)},t.getModuleTransactions=function(e,t,n,r){return(0,i.getEndpoint)(s,"/v1/chains/{chainId}/safes/{address}/module-transactions/",{path:{chainId:e,address:t},query:n},r)},t.getMultisigTransactions=function(e,t,n,r){return(0,i.getEndpoint)(s,"/v1/chains/{chainId}/safes/{address}/multisig-transactions/",{path:{chainId:e,address:t},query:n},r)},t.getBalances=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"usd",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return(0,i.getEndpoint)(s,"/v1/chains/{chainId}/safes/{address}/balances/{currency}",{path:{chainId:e,address:t,currency:n},query:r})},t.getFiatCurrencies=function(){return(0,i.getEndpoint)(s,"/v1/balances/supported-fiat-codes")},t.getOwnedSafes=function(e,t){return(0,i.getEndpoint)(s,"/v1/chains/{chainId}/owners/{address}/safes",{path:{chainId:e,address:t}})},t.getCollectibles=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return(0,i.getEndpoint)(s,"/v1/chains/{chainId}/safes/{address}/collectibles",{path:{chainId:e,address:t},query:n})},t.getCollectiblesPage=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3?arguments[3]:void 0;return(0,i.getEndpoint)(s,"/v2/chains/{chainId}/safes/{address}/collectibles",{path:{chainId:e,address:t},query:n},r)},t.getTransactionHistory=function(e,t,n){return(0,i.getEndpoint)(s,"/v1/chains/{chainId}/safes/{safe_address}/transactions/history",{path:{chainId:e,safe_address:t},query:{}},n)},t.getTransactionQueue=function(e,t,n,r){return(0,i.getEndpoint)(s,"/v1/chains/{chainId}/safes/{safe_address}/transactions/queued",{path:{chainId:e,safe_address:t},query:{trusted:r}},n)},t.getTransactionDetails=function(e,t){return(0,i.getEndpoint)(s,"/v1/chains/{chainId}/transactions/{transactionId}",{path:{chainId:e,transactionId:t}})},t.postSafeGasEstimation=function(e,t,n){return(0,i.postEndpoint)(s,"/v2/chains/{chainId}/safes/{safe_address}/multisig-transactions/estimations",{path:{chainId:e,safe_address:t},body:n})},t.proposeTransaction=function(e,t,n){return(0,i.postEndpoint)(s,"/v1/chains/{chainId}/transactions/{safe_address}/propose",{path:{chainId:e,safe_address:t},body:n})},t.getChainsConfig=function(e){return(0,i.getEndpoint)(s,"/v1/chains",{query:e})},t.getChainConfig=function(e){return(0,i.getEndpoint)(s,"/v1/chains/{chainId}",{path:{chainId:e}})},t.getSafeApps=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,i.getEndpoint)(s,"/v1/chains/{chainId}/safe-apps",{path:{chainId:e},query:t})},t.getMasterCopies=function(e){return(0,i.getEndpoint)(s,"/v1/chains/{chainId}/about/master-copies",{path:{chainId:e}})},t.getDecodedData=function(e,t){return(0,i.postEndpoint)(s,"/v1/chains/{chainId}/data-decoder",{path:{chainId:e},body:{data:t}})},t.getSafeMessages=function(e,t,n){return(0,i.getEndpoint)(s,"/v1/chains/{chainId}/safes/{safe_address}/messages",{path:{chainId:e,safe_address:t},query:{}},n)},t.getSafeMessage=function(e,t){return(0,i.getEndpoint)(s,"/v1/chains/{chainId}/messages/{message_hash}",{path:{chainId:e,message_hash:t}})},t.proposeSafeMessage=function(e,t,n){return(0,i.postEndpoint)(s,"/v1/chains/{chainId}/safes/{safe_address}/messages",{path:{chainId:e,safe_address:t},body:n})},t.confirmSafeMessage=function(e,t,n){return(0,i.postEndpoint)(s,"/v1/chains/{chainId}/messages/{message_hash}/signatures",{path:{chainId:e,message_hash:t},body:n})}},51684:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FEATURES=t.GAS_PRICE_TYPE=t.RPC_AUTHENTICATION=void 0,function(e){e.API_KEY_PATH="API_KEY_PATH",e.NO_AUTHENTICATION="NO_AUTHENTICATION",e.UNKNOWN="UNKNOWN"}(t.RPC_AUTHENTICATION||(t.RPC_AUTHENTICATION={})),function(e){e.ORACLE="ORACLE",e.FIXED="FIXED",e.UNKNOWN="UNKNOWN"}(t.GAS_PRICE_TYPE||(t.GAS_PRICE_TYPE={})),function(e){e.ERC721="ERC721",e.SAFE_APPS="SAFE_APPS",e.CONTRACT_INTERACTION="CONTRACT_INTERACTION",e.DOMAIN_LOOKUP="DOMAIN_LOOKUP",e.SPENDING_LIMIT="SPENDING_LIMIT",e.EIP1559="EIP1559",e.SAFE_TX_GAS_OPTIONAL="SAFE_TX_GAS_OPTIONAL",e.TX_SIMULATION="TX_SIMULATION",e.EIP1271="EIP1271"}(t.FEATURES||(t.FEATURES={}))},99590:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TokenType=void 0,function(e){e.ERC20="ERC20",e.ERC721="ERC721",e.NATIVE_TOKEN="NATIVE_TOKEN"}(t.TokenType||(t.TokenType={}))},79209:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},52024:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},2698:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SafeAppSocialPlatforms=t.SafeAppFeatures=t.SafeAppAccessPolicyTypes=void 0,function(e){e.NoRestrictions="NO_RESTRICTIONS",e.DomainAllowlist="DOMAIN_ALLOWLIST"}(t.SafeAppAccessPolicyTypes||(t.SafeAppAccessPolicyTypes={})),function(e){e.BATCHED_TRANSACTIONS="BATCHED_TRANSACTIONS"}(t.SafeAppFeatures||(t.SafeAppFeatures={})),function(e){e.TWITTER="TWITTER",e.GITHUB="GITHUB",e.DISCORD="DISCORD"}(t.SafeAppSocialPlatforms||(t.SafeAppSocialPlatforms={}))},62916:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ImplementationVersionState=void 0,function(e){e.UP_TO_DATE="UP_TO_DATE",e.OUTDATED="OUTDATED",e.UNKNOWN="UNKNOWN"}(t.ImplementationVersionState||(t.ImplementationVersionState={}))},79522:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SafeMessageStatus=t.SafeMessageListItemType=void 0,function(e){e.DATE_LABEL="DATE_LABEL",e.MESSAGE="MESSAGE"}(t.SafeMessageListItemType||(t.SafeMessageListItemType={})),function(e){e.NEEDS_CONFIRMATION="NEEDS_CONFIRMATION",e.CONFIRMED="CONFIRMED"}(t.SafeMessageStatus||(t.SafeMessageStatus={}))},47201:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LabelValue=t.DetailedExecutionInfoType=t.TransactionListItemType=t.ConflictType=t.TransactionInfoType=t.SettingsInfoType=t.TransactionTokenType=t.TransferDirection=t.TransactionStatus=t.Operation=void 0,function(e){e[e.CALL=0]="CALL",e[e.DELEGATE=1]="DELEGATE"}(t.Operation||(t.Operation={})),function(e){e.AWAITING_CONFIRMATIONS="AWAITING_CONFIRMATIONS",e.AWAITING_EXECUTION="AWAITING_EXECUTION",e.CANCELLED="CANCELLED",e.FAILED="FAILED",e.SUCCESS="SUCCESS"}(t.TransactionStatus||(t.TransactionStatus={})),function(e){e.INCOMING="INCOMING",e.OUTGOING="OUTGOING",e.UNKNOWN="UNKNOWN"}(t.TransferDirection||(t.TransferDirection={})),function(e){e.ERC20="ERC20",e.ERC721="ERC721",e.NATIVE_COIN="NATIVE_COIN"}(t.TransactionTokenType||(t.TransactionTokenType={})),function(e){e.SET_FALLBACK_HANDLER="SET_FALLBACK_HANDLER",e.ADD_OWNER="ADD_OWNER",e.REMOVE_OWNER="REMOVE_OWNER",e.SWAP_OWNER="SWAP_OWNER",e.CHANGE_THRESHOLD="CHANGE_THRESHOLD",e.CHANGE_IMPLEMENTATION="CHANGE_IMPLEMENTATION",e.ENABLE_MODULE="ENABLE_MODULE",e.DISABLE_MODULE="DISABLE_MODULE",e.SET_GUARD="SET_GUARD",e.DELETE_GUARD="DELETE_GUARD"}(t.SettingsInfoType||(t.SettingsInfoType={})),function(e){e.TRANSFER="Transfer",e.SETTINGS_CHANGE="SettingsChange",e.CUSTOM="Custom",e.CREATION="Creation"}(t.TransactionInfoType||(t.TransactionInfoType={})),function(e){e.NONE="None",e.HAS_NEXT="HasNext",e.END="End"}(t.ConflictType||(t.ConflictType={})),function(e){e.TRANSACTION="TRANSACTION",e.LABEL="LABEL",e.CONFLICT_HEADER="CONFLICT_HEADER",e.DATE_LABEL="DATE_LABEL"}(t.TransactionListItemType||(t.TransactionListItemType={})),function(e){e.MULTISIG="MULTISIG",e.MODULE="MODULE"}(t.DetailedExecutionInfoType||(t.DetailedExecutionInfoType={})),function(e){e.Queued="Queued",e.Next="Next"}(t.LabelValue||(t.LabelValue={}))},84404:function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(a,i){function o(e){try{c(r.next(e))}catch(t){i(t)}}function s(e){try{c(r.throw(e))}catch(t){i(t)}}function c(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}c((r=r.apply(e,t||[])).next())}))},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.fetchData=t.stringifyQuery=t.insertParams=void 0;const i=a(n(84255));t.insertParams=function(e,t){return t?Object.keys(t).reduce(((e,n)=>function(e,t,n){return e.replace(new RegExp("\\{".concat(t,"\\}"),"g"),n)}(e,n,String(t[n]))),e):e},t.stringifyQuery=function(e){if(!e)return"";const t=new URLSearchParams;Object.keys(e).forEach((n=>{null!=e[n]&&t.append(n,String(e[n]))}));const n=t.toString();return n?"?".concat(n):""},t.fetchData=function(e,t){return r(this,void 0,void 0,(function*(){let n;null!=t&&(n={method:"POST",body:"string"===typeof t?t:JSON.stringify(t),headers:{"Content-Type":"application/json"}});const r=yield(0,i.default)(e,n);let a;try{a=yield r.json()}catch(s){if(r.headers&&"0"!==r.headers.get("content-length"))throw new Error("Invalid response content: ".concat(r.statusText))}if(!r.ok){const e="object"===typeof(o=a)&&null!==o&&"code"in o&&"message"in o?"".concat(a.code,": ").concat(a.message):r.statusText;throw new Error(e)}var o;return a}))}},53392:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_SIZE=8,t.DEFAULT_SCALE=4},67440:(e,t,n)=>{"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0});const a=n(73666);function i(e,t){var n,r,i,o,s;const c=a.parseOptions(e||{});let l=a.createImageData(c.size),f=Math.sqrt(l.length);t.width=t.height=c.size*c.scale;let u=t.getContext("2d");null===(n=u)||void 0===n||(n.fillStyle=c.bgcolor),null===(r=u)||void 0===r||r.fillRect(0,0,t.width,t.height),null===(i=u)||void 0===i||(i.fillStyle=c.color);for(let a=0;a{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.randArr=new Array(4),t.seedRandomness=function(e){let n;for(n=0;n>19^e^e>>8,(t.randArr[3]>>>0)/(1<<31>>>0)}},73666:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(82631),a=n(53392);function i(){return"hsl("+Math.floor(360*r.random())+","+(60*r.random()+40+"%")+","+(25*(r.random()+r.random()+r.random()+r.random())+"%")+")"}t.createColor=i,t.createImageData=function(e){let t=e,n=e,a=Math.ceil(t/2),i=t-a,o=[];for(let s=0;s-1};function l(e){if("string"!==typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function f(e){return"string"!==typeof e&&(e=String(e)),e}function u(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return r&&(t[Symbol.iterator]=function(){return t}),t}function d(e){this.map={},e instanceof d?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function p(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function y(e){return new Promise((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function h(e){var t=new FileReader,n=y(t);return t.readAsArrayBuffer(e),n}function m(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function b(){return this.bodyUsed=!1,this._initBody=function(e){var t;this._bodyInit=e,e?"string"===typeof e?this._bodyText=e:a&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:i&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:n&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():o&&a&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=m(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):o&&(ArrayBuffer.prototype.isPrototypeOf(e)||c(e))?this._bodyArrayBuffer=m(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"===typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):n&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},a&&(this.blob=function(){var e=p(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?p(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(h)}),this.text=function(){var e=p(this);if(e)return e;if(this._bodyBlob)return function(e){var t=new FileReader,n=y(t);return t.readAsText(e),n}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r-1?t:e}(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n)}function w(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),a=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(a))}})),t}function T(e){var t=new d;return e.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(e){var n=e.split(":"),r=n.shift().trim();if(r){var a=n.join(":").trim();t.append(r,a)}})),t}function E(e,t){t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new d(t.headers),this.url=t.url||"",this._initBody(e)}v.prototype.clone=function(){return new v(this,{body:this._bodyInit})},b.call(v.prototype),b.call(E.prototype),E.prototype.clone=function(){return new E(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new d(this.headers),url:this.url})},E.error=function(){var e=new E(null,{status:0,statusText:""});return e.type="error",e};var x=[301,302,303,307,308];E.redirect=function(e,t){if(-1===x.indexOf(t))throw new RangeError("Invalid status code");return new E(null,{status:t,headers:{location:e}})},t.DOMException=e.DOMException;try{new t.DOMException}catch(P){t.DOMException=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack},t.DOMException.prototype=Object.create(Error.prototype),t.DOMException.prototype.constructor=t.DOMException}function A(e,n){return new Promise((function(r,i){var o=new v(e,n);if(o.signal&&o.signal.aborted)return i(new t.DOMException("Aborted","AbortError"));var s=new XMLHttpRequest;function c(){s.abort()}s.onload=function(){var e={status:s.status,statusText:s.statusText,headers:T(s.getAllResponseHeaders()||"")};e.url="responseURL"in s?s.responseURL:e.headers.get("X-Request-URL");var t="response"in s?s.response:s.responseText;r(new E(t,e))},s.onerror=function(){i(new TypeError("Network request failed"))},s.ontimeout=function(){i(new TypeError("Network request failed"))},s.onabort=function(){i(new t.DOMException("Aborted","AbortError"))},s.open(o.method,o.url,!0),"include"===o.credentials?s.withCredentials=!0:"omit"===o.credentials&&(s.withCredentials=!1),"responseType"in s&&a&&(s.responseType="blob"),o.headers.forEach((function(e,t){s.setRequestHeader(t,e)})),o.signal&&(o.signal.addEventListener("abort",c),s.onreadystatechange=function(){4===s.readyState&&o.signal.removeEventListener("abort",c)}),s.send("undefined"===typeof o._bodyInit?null:o._bodyInit)}))}A.polyfill=!0,e.fetch||(e.fetch=A,e.Headers=d,e.Request=v,e.Response=E),t.Headers=d,t.Request=v,t.Response=E,t.fetch=A,Object.defineProperty(t,"__esModule",{value:!0})}({})}(r),r.fetch.ponyfill=!0,delete r.fetch.polyfill;var a=r;(t=a.fetch).default=a.fetch,t.fetch=a.fetch,t.Headers=a.Headers,t.Request=a.Request,t.Response=a.Response,e.exports=t},90701:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__assign:()=>i,__asyncDelegator:()=>T,__asyncGenerator:()=>w,__asyncValues:()=>E,__await:()=>v,__awaiter:()=>f,__classPrivateFieldGet:()=>k,__classPrivateFieldIn:()=>_,__classPrivateFieldSet:()=>S,__createBinding:()=>d,__decorate:()=>s,__exportStar:()=>p,__extends:()=>a,__generator:()=>u,__importDefault:()=>O,__importStar:()=>P,__makeTemplateObject:()=>x,__metadata:()=>l,__param:()=>c,__read:()=>h,__rest:()=>o,__spread:()=>m,__spreadArray:()=>g,__spreadArrays:()=>b,__values:()=>y});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function a(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=0;s--)(a=e[s])&&(o=(i<3?a(o):i>3?a(t,n,o):a(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o}function c(e,t){return function(n,r){t(n,r,e)}}function l(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)}function f(e,t,n,r){return new(n||(n=Promise))((function(a,i){function o(e){try{c(r.next(e))}catch(t){i(t)}}function s(e){try{c(r.throw(e))}catch(t){i(t)}}function c(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}c((r=r.apply(e,t||[])).next())}))}function u(e,t){var n,r,a,i,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(a=2&i[0]?r.return:i[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,i[1])).done)return a;switch(r=0,a&&(i=[2&i[0],a.value]),i[0]){case 0:case 1:a=i;break;case 4:return o.label++,{value:i[1],done:!1};case 5:o.label++,r=i[1],i=[0];continue;case 7:i=o.ops.pop(),o.trys.pop();continue;default:if(!(a=(a=o.trys).length>0&&a[a.length-1])&&(6===i[0]||2===i[0])){o=0;continue}if(3===i[0]&&(!a||i[1]>a[0]&&i[1]=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function h(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,a,i=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)o.push(r.value)}catch(s){a={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return o}function m(){for(var e=[],t=0;t1||s(e,t)}))})}function s(e,t){try{(n=a[e](t)).value instanceof v?Promise.resolve(n.value.v).then(c,l):f(i[0][2],n)}catch(r){f(i[0][3],r)}var n}function c(e){s("next",e)}function l(e){s("throw",e)}function f(e,t){e(t),i.shift(),i.length&&s(i[0][0],i[0][1])}}function T(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,a){t[r]=e[r]?function(t){return(n=!n)?{value:v(e[r](t)),done:"return"===r}:a?a(t):t}:a}}function E(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=y(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,a){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,a,(t=e[n](t)).done,t.value)}))}}}function x(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var A=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};function P(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&d(t,e,n);return A(t,e),t}function O(e){return e&&e.__esModule?e:{default:e}}function k(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"===typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)}function S(e,t,n,r,a){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!a)throw new TypeError("Private accessor was defined without a setter");if("function"===typeof t?e!==t||!a:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?a.call(e,n):a?a.value=n:t.set(e,n),n}function _(e,t){if(null===t||"object"!==typeof t&&"function"!==typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"===typeof e?t===e:e.has(t)}},47465:e=>{"use strict";var t,n="object"===typeof Reflect?Reflect:null,r=n&&"function"===typeof n.apply?n.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};t=n&&"function"===typeof n.ownKeys?n.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var a=Number.isNaN||function(e){return e!==e};function i(){i.init.call(this)}e.exports=i,e.exports.once=function(e,t){return new Promise((function(n,r){function a(n){e.removeListener(t,i),r(n)}function i(){"function"===typeof e.removeListener&&e.removeListener("error",a),n([].slice.call(arguments))}h(e,t,i,{once:!0}),"error"!==t&&function(e,t,n){"function"===typeof e.on&&h(e,"error",t,n)}(e,a,{once:!0})}))},i.EventEmitter=i,i.prototype._events=void 0,i.prototype._eventsCount=0,i.prototype._maxListeners=void 0;var o=10;function s(e){if("function"!==typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function c(e){return void 0===e._maxListeners?i.defaultMaxListeners:e._maxListeners}function l(e,t,n,r){var a,i,o,l;if(s(n),void 0===(i=e._events)?(i=e._events=Object.create(null),e._eventsCount=0):(void 0!==i.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),i=e._events),o=i[t]),void 0===o)o=i[t]=n,++e._eventsCount;else if("function"===typeof o?o=i[t]=r?[n,o]:[o,n]:r?o.unshift(n):o.push(n),(a=c(e))>0&&o.length>a&&!o.warned){o.warned=!0;var f=new Error("Possible EventEmitter memory leak detected. "+o.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");f.name="MaxListenersExceededWarning",f.emitter=e,f.type=t,f.count=o.length,l=f,console&&console.warn&&console.warn(l)}return e}function f(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function u(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},a=f.bind(r);return a.listener=n,r.wrapFn=a,a}function d(e,t,n){var r=e._events;if(void 0===r)return[];var a=r[t];return void 0===a?[]:"function"===typeof a?n?[a.listener||a]:[a]:n?function(e){for(var t=new Array(e.length),n=0;n0&&(o=t[0]),o instanceof Error)throw o;var s=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw s.context=o,s}var c=i[e];if(void 0===c)return!1;if("function"===typeof c)r(c,this,t);else{var l=c.length,f=y(c,l);for(n=0;n=0;i--)if(n[i]===t||n[i].listener===t){o=n[i].listener,a=i;break}if(a<0)return this;0===a?n.shift():function(e,t){for(;t+1=0;r--)this.removeListener(e,t[r]);return this},i.prototype.listeners=function(e){return d(this,e,!0)},i.prototype.rawListeners=function(e){return d(this,e,!1)},i.listenerCount=function(e,t){return"function"===typeof e.listenerCount?e.listenerCount(t):p.call(e,t)},i.prototype.listenerCount=p,i.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},62110:(e,t,n)=>{"use strict";var r=n(48309),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function c(e){return r.isMemo(e)?o:s[e.$$typeof]||a}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=o;var l=Object.defineProperty,f=Object.getOwnPropertyNames,u=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,y=Object.prototype;e.exports=function e(t,n,r){if("string"!==typeof n){if(y){var a=p(n);a&&a!==y&&e(t,a,r)}var o=f(n);u&&(o=o.concat(u(n)));for(var s=c(t),h=c(n),m=0;m{"use strict";var n="function"===typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,a=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,o=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,c=n?Symbol.for("react.provider"):60109,l=n?Symbol.for("react.context"):60110,f=n?Symbol.for("react.async_mode"):60111,u=n?Symbol.for("react.concurrent_mode"):60111,d=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,y=n?Symbol.for("react.suspense_list"):60120,h=n?Symbol.for("react.memo"):60115,m=n?Symbol.for("react.lazy"):60116,b=n?Symbol.for("react.block"):60121,g=n?Symbol.for("react.fundamental"):60117,v=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function T(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case f:case u:case i:case s:case o:case p:return e;default:switch(e=e&&e.$$typeof){case l:case d:case m:case h:case c:return e;default:return t}}case a:return t}}}function E(e){return T(e)===u}t.AsyncMode=f,t.ConcurrentMode=u,t.ContextConsumer=l,t.ContextProvider=c,t.Element=r,t.ForwardRef=d,t.Fragment=i,t.Lazy=m,t.Memo=h,t.Portal=a,t.Profiler=s,t.StrictMode=o,t.Suspense=p,t.isAsyncMode=function(e){return E(e)||T(e)===f},t.isConcurrentMode=E,t.isContextConsumer=function(e){return T(e)===l},t.isContextProvider=function(e){return T(e)===c},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return T(e)===d},t.isFragment=function(e){return T(e)===i},t.isLazy=function(e){return T(e)===m},t.isMemo=function(e){return T(e)===h},t.isPortal=function(e){return T(e)===a},t.isProfiler=function(e){return T(e)===s},t.isStrictMode=function(e){return T(e)===o},t.isSuspense=function(e){return T(e)===p},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===i||e===u||e===s||e===o||e===p||e===y||"object"===typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===c||e.$$typeof===l||e.$$typeof===d||e.$$typeof===g||e.$$typeof===v||e.$$typeof===w||e.$$typeof===b)},t.typeOf=T},48309:(e,t,n)=>{"use strict";e.exports=n(746)},33640:function(e,t,n){"undefined"!==typeof self?self:"undefined"!==typeof window?window:"undefined"!==typeof n.g&&n.g,e.exports=function(){"use strict";var e="3.7.5",t=e,n="function"===typeof atob,r="function"===typeof btoa,a="function"===typeof Buffer,i="function"===typeof TextDecoder?new TextDecoder:void 0,o="function"===typeof TextEncoder?new TextEncoder:void 0,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",c=Array.prototype.slice.call(s),l=function(e){var t={};return e.forEach((function(e,n){return t[e]=n})),t}(c),f=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,u=String.fromCharCode.bind(String),d="function"===typeof Uint8Array.from?Uint8Array.from.bind(Uint8Array):function(e){return new Uint8Array(Array.prototype.slice.call(e,0))},p=function(e){return e.replace(/=/g,"").replace(/[+\/]/g,(function(e){return"+"==e?"-":"_"}))},y=function(e){return e.replace(/[^A-Za-z0-9\+\/]/g,"")},h=function(e){for(var t,n,r,a,i="",o=e.length%3,s=0;s255||(r=e.charCodeAt(s++))>255||(a=e.charCodeAt(s++))>255)throw new TypeError("invalid character found");i+=c[(t=n<<16|r<<8|a)>>18&63]+c[t>>12&63]+c[t>>6&63]+c[63&t]}return o?i.slice(0,o-3)+"===".substring(o):i},m=r?function(e){return btoa(e)}:a?function(e){return Buffer.from(e,"binary").toString("base64")}:h,b=a?function(e){return Buffer.from(e).toString("base64")}:function(e){for(var t=4096,n=[],r=0,a=e.length;r>>6)+u(128|63&t):u(224|t>>>12&15)+u(128|t>>>6&63)+u(128|63&t);var t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return u(240|t>>>18&7)+u(128|t>>>12&63)+u(128|t>>>6&63)+u(128|63&t)},w=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,T=function(e){return e.replace(w,v)},E=a?function(e){return Buffer.from(e,"utf8").toString("base64")}:o?function(e){return b(o.encode(e))}:function(e){return m(T(e))},x=function(e,t){return void 0===t&&(t=!1),t?p(E(e)):E(e)},A=function(e){return x(e,!0)},P=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,O=function(e){switch(e.length){case 4:var t=((7&e.charCodeAt(0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e.charCodeAt(3))-65536;return u(55296+(t>>>10))+u(56320+(1023&t));case 3:return u((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return u((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},k=function(e){return e.replace(P,O)},S=function(e){if(e=e.replace(/\s+/g,""),!f.test(e))throw new TypeError("malformed base64.");e+="==".slice(2-(3&e.length));for(var t,n,r,a="",i=0;i>16&255):64===r?u(t>>16&255,t>>8&255):u(t>>16&255,t>>8&255,255&t);return a},_=n?function(e){return atob(y(e))}:a?function(e){return Buffer.from(e,"base64").toString("binary")}:S,I=a?function(e){return d(Buffer.from(e,"base64"))}:function(e){return d(_(e).split("").map((function(e){return e.charCodeAt(0)})))},C=function(e){return I(N(e))},R=a?function(e){return Buffer.from(e,"base64").toString("utf8")}:i?function(e){return i.decode(I(e))}:function(e){return k(_(e))},N=function(e){return y(e.replace(/[-_]/g,(function(e){return"-"==e?"+":"/"})))},j=function(e){return R(N(e))},M=function(e){return{value:e,enumerable:!1,writable:!0,configurable:!0}},B=function(){var e=function(e,t){return Object.defineProperty(String.prototype,e,M(t))};e("fromBase64",(function(){return j(this)})),e("toBase64",(function(e){return x(this,e)})),e("toBase64URI",(function(){return x(this,!0)})),e("toBase64URL",(function(){return x(this,!0)})),e("toUint8Array",(function(){return C(this)}))},D=function(){var e=function(e,t){return Object.defineProperty(Uint8Array.prototype,e,M(t))};e("toBase64",(function(e){return g(this,e)})),e("toBase64URI",(function(){return g(this,!0)})),e("toBase64URL",(function(){return g(this,!0)}))},L=function(){B(),D()},F={version:e,VERSION:t,atob:_,atobPolyfill:S,btoa:m,btoaPolyfill:h,fromBase64:j,toBase64:x,encode:x,encodeURI:A,encodeURL:A,utob:T,btou:k,decode:j,isValid:function(e){if("string"!==typeof e)return!1;var t=e.replace(/\s+/g,"").replace(/={0,2}$/,"");return!/[^\s0-9a-zA-Z\+/]/.test(t)||!/[^\s0-9a-zA-Z\-_]/.test(t)},fromUint8Array:g,toUint8Array:C,extendString:B,extendUint8Array:D,extendBuiltins:L,Base64:{}};return Object.keys(F).forEach((function(e){return F.Base64[e]=F[e]})),F}()},763:function(e,t,n){var r;e=n.nmd(e),function(){var a,i="Expected a function",o="__lodash_hash_undefined__",s="__lodash_placeholder__",c=16,l=32,f=64,u=128,d=256,p=1/0,y=9007199254740991,h=NaN,m=4294967295,b=[["ary",u],["bind",1],["bindKey",2],["curry",8],["curryRight",c],["flip",512],["partial",l],["partialRight",f],["rearg",d]],g="[object Arguments]",v="[object Array]",w="[object Boolean]",T="[object Date]",E="[object Error]",x="[object Function]",A="[object GeneratorFunction]",P="[object Map]",O="[object Number]",k="[object Object]",S="[object Promise]",_="[object RegExp]",I="[object Set]",C="[object String]",R="[object Symbol]",N="[object WeakMap]",j="[object ArrayBuffer]",M="[object DataView]",B="[object Float32Array]",D="[object Float64Array]",L="[object Int8Array]",F="[object Int16Array]",U="[object Int32Array]",z="[object Uint8Array]",H="[object Uint8ClampedArray]",W="[object Uint16Array]",G="[object Uint32Array]",V=/\b__p \+= '';/g,q=/\b(__p \+=) '' \+/g,K=/(__e\(.*?\)|\b__t\)) \+\n'';/g,J=/&(?:amp|lt|gt|quot|#39);/g,Q=/[&<>"']/g,Y=RegExp(J.source),Z=RegExp(Q.source),X=/<%-([\s\S]+?)%>/g,$=/<%([\s\S]+?)%>/g,ee=/<%=([\s\S]+?)%>/g,te=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ne=/^\w*$/,re=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ae=/[\\^$.*+?()[\]{}|]/g,ie=RegExp(ae.source),oe=/^\s+/,se=/\s/,ce=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,le=/\{\n\/\* \[wrapped with (.+)\] \*/,fe=/,? & /,ue=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,de=/[()=,{}\[\]\/\s]/,pe=/\\(\\)?/g,ye=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,he=/\w*$/,me=/^[-+]0x[0-9a-f]+$/i,be=/^0b[01]+$/i,ge=/^\[object .+?Constructor\]$/,ve=/^0o[0-7]+$/i,we=/^(?:0|[1-9]\d*)$/,Te=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ee=/($^)/,xe=/['\n\r\u2028\u2029\\]/g,Ae="\\ud800-\\udfff",Pe="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Oe="\\u2700-\\u27bf",ke="a-z\\xdf-\\xf6\\xf8-\\xff",Se="A-Z\\xc0-\\xd6\\xd8-\\xde",_e="\\ufe0e\\ufe0f",Ie="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ce="['\u2019]",Re="["+Ae+"]",Ne="["+Ie+"]",je="["+Pe+"]",Me="\\d+",Be="["+Oe+"]",De="["+ke+"]",Le="[^"+Ae+Ie+Me+Oe+ke+Se+"]",Fe="\\ud83c[\\udffb-\\udfff]",Ue="[^"+Ae+"]",ze="(?:\\ud83c[\\udde6-\\uddff]){2}",He="[\\ud800-\\udbff][\\udc00-\\udfff]",We="["+Se+"]",Ge="\\u200d",Ve="(?:"+De+"|"+Le+")",qe="(?:"+We+"|"+Le+")",Ke="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",Je="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",Qe="(?:"+je+"|"+Fe+")"+"?",Ye="["+_e+"]?",Ze=Ye+Qe+("(?:"+Ge+"(?:"+[Ue,ze,He].join("|")+")"+Ye+Qe+")*"),Xe="(?:"+[Be,ze,He].join("|")+")"+Ze,$e="(?:"+[Ue+je+"?",je,ze,He,Re].join("|")+")",et=RegExp(Ce,"g"),tt=RegExp(je,"g"),nt=RegExp(Fe+"(?="+Fe+")|"+$e+Ze,"g"),rt=RegExp([We+"?"+De+"+"+Ke+"(?="+[Ne,We,"$"].join("|")+")",qe+"+"+Je+"(?="+[Ne,We+Ve,"$"].join("|")+")",We+"?"+Ve+"+"+Ke,We+"+"+Je,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Me,Xe].join("|"),"g"),at=RegExp("["+Ge+Ae+Pe+_e+"]"),it=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ot=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],st=-1,ct={};ct[B]=ct[D]=ct[L]=ct[F]=ct[U]=ct[z]=ct[H]=ct[W]=ct[G]=!0,ct[g]=ct[v]=ct[j]=ct[w]=ct[M]=ct[T]=ct[E]=ct[x]=ct[P]=ct[O]=ct[k]=ct[_]=ct[I]=ct[C]=ct[N]=!1;var lt={};lt[g]=lt[v]=lt[j]=lt[M]=lt[w]=lt[T]=lt[B]=lt[D]=lt[L]=lt[F]=lt[U]=lt[P]=lt[O]=lt[k]=lt[_]=lt[I]=lt[C]=lt[R]=lt[z]=lt[H]=lt[W]=lt[G]=!0,lt[E]=lt[x]=lt[N]=!1;var ft={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ut=parseFloat,dt=parseInt,pt="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,yt="object"==typeof self&&self&&self.Object===Object&&self,ht=pt||yt||Function("return this")(),mt=t&&!t.nodeType&&t,bt=mt&&e&&!e.nodeType&&e,gt=bt&&bt.exports===mt,vt=gt&&pt.process,wt=function(){try{var e=bt&&bt.require&&bt.require("util").types;return e||vt&&vt.binding&&vt.binding("util")}catch(t){}}(),Tt=wt&&wt.isArrayBuffer,Et=wt&&wt.isDate,xt=wt&&wt.isMap,At=wt&&wt.isRegExp,Pt=wt&&wt.isSet,Ot=wt&&wt.isTypedArray;function kt(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function St(e,t,n,r){for(var a=-1,i=null==e?0:e.length;++a-1}function jt(e,t,n){for(var r=-1,a=null==e?0:e.length;++r-1;);return n}function rn(e,t){for(var n=e.length;n--&&Wt(t,e[n],0)>-1;);return n}var an=Jt({"\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xc7":"C","\xe7":"c","\xd0":"D","\xf0":"d","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xd1":"N","\xf1":"n","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xdd":"Y","\xfd":"y","\xff":"y","\xc6":"Ae","\xe6":"ae","\xde":"Th","\xfe":"th","\xdf":"ss","\u0100":"A","\u0102":"A","\u0104":"A","\u0101":"a","\u0103":"a","\u0105":"a","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"c","\u010e":"D","\u0110":"D","\u010f":"d","\u0111":"d","\u0112":"E","\u0114":"E","\u0116":"E","\u0118":"E","\u011a":"E","\u0113":"e","\u0115":"e","\u0117":"e","\u0119":"e","\u011b":"e","\u011c":"G","\u011e":"G","\u0120":"G","\u0122":"G","\u011d":"g","\u011f":"g","\u0121":"g","\u0123":"g","\u0124":"H","\u0126":"H","\u0125":"h","\u0127":"h","\u0128":"I","\u012a":"I","\u012c":"I","\u012e":"I","\u0130":"I","\u0129":"i","\u012b":"i","\u012d":"i","\u012f":"i","\u0131":"i","\u0134":"J","\u0135":"j","\u0136":"K","\u0137":"k","\u0138":"k","\u0139":"L","\u013b":"L","\u013d":"L","\u013f":"L","\u0141":"L","\u013a":"l","\u013c":"l","\u013e":"l","\u0140":"l","\u0142":"l","\u0143":"N","\u0145":"N","\u0147":"N","\u014a":"N","\u0144":"n","\u0146":"n","\u0148":"n","\u014b":"n","\u014c":"O","\u014e":"O","\u0150":"O","\u014d":"o","\u014f":"o","\u0151":"o","\u0154":"R","\u0156":"R","\u0158":"R","\u0155":"r","\u0157":"r","\u0159":"r","\u015a":"S","\u015c":"S","\u015e":"S","\u0160":"S","\u015b":"s","\u015d":"s","\u015f":"s","\u0161":"s","\u0162":"T","\u0164":"T","\u0166":"T","\u0163":"t","\u0165":"t","\u0167":"t","\u0168":"U","\u016a":"U","\u016c":"U","\u016e":"U","\u0170":"U","\u0172":"U","\u0169":"u","\u016b":"u","\u016d":"u","\u016f":"u","\u0171":"u","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017b":"Z","\u017d":"Z","\u017a":"z","\u017c":"z","\u017e":"z","\u0132":"IJ","\u0133":"ij","\u0152":"Oe","\u0153":"oe","\u0149":"'n","\u017f":"s"}),on=Jt({"&":"&","<":"<",">":">",'"':""","'":"'"});function sn(e){return"\\"+ft[e]}function cn(e){return at.test(e)}function ln(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function fn(e,t){return function(n){return e(t(n))}}function un(e,t){for(var n=-1,r=e.length,a=0,i=[];++n",""":'"',"'":"'"});var gn=function e(t){var n=(t=null==t?ht:gn.defaults(ht.Object(),t,gn.pick(ht,ot))).Array,r=t.Date,se=t.Error,Ae=t.Function,Pe=t.Math,Oe=t.Object,ke=t.RegExp,Se=t.String,_e=t.TypeError,Ie=n.prototype,Ce=Ae.prototype,Re=Oe.prototype,Ne=t["__core-js_shared__"],je=Ce.toString,Me=Re.hasOwnProperty,Be=0,De=function(){var e=/[^.]+$/.exec(Ne&&Ne.keys&&Ne.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Le=Re.toString,Fe=je.call(Oe),Ue=ht._,ze=ke("^"+je.call(Me).replace(ae,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),He=gt?t.Buffer:a,We=t.Symbol,Ge=t.Uint8Array,Ve=He?He.allocUnsafe:a,qe=fn(Oe.getPrototypeOf,Oe),Ke=Oe.create,Je=Re.propertyIsEnumerable,Qe=Ie.splice,Ye=We?We.isConcatSpreadable:a,Ze=We?We.iterator:a,Xe=We?We.toStringTag:a,$e=function(){try{var e=ui(Oe,"defineProperty");return e({},"",{}),e}catch(t){}}(),nt=t.clearTimeout!==ht.clearTimeout&&t.clearTimeout,at=r&&r.now!==ht.Date.now&&r.now,ft=t.setTimeout!==ht.setTimeout&&t.setTimeout,pt=Pe.ceil,yt=Pe.floor,mt=Oe.getOwnPropertySymbols,bt=He?He.isBuffer:a,vt=t.isFinite,wt=Ie.join,Ut=fn(Oe.keys,Oe),Jt=Pe.max,vn=Pe.min,wn=r.now,Tn=t.parseInt,En=Pe.random,xn=Ie.reverse,An=ui(t,"DataView"),Pn=ui(t,"Map"),On=ui(t,"Promise"),kn=ui(t,"Set"),Sn=ui(t,"WeakMap"),_n=ui(Oe,"create"),In=Sn&&new Sn,Cn={},Rn=Di(An),Nn=Di(Pn),jn=Di(On),Mn=Di(kn),Bn=Di(Sn),Dn=We?We.prototype:a,Ln=Dn?Dn.valueOf:a,Fn=Dn?Dn.toString:a;function Un(e){if(ts(e)&&!Go(e)&&!(e instanceof Gn)){if(e instanceof Wn)return e;if(Me.call(e,"__wrapped__"))return Li(e)}return new Wn(e)}var zn=function(){function e(){}return function(t){if(!es(t))return{};if(Ke)return Ke(t);e.prototype=t;var n=new e;return e.prototype=a,n}}();function Hn(){}function Wn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=a}function Gn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=m,this.__views__=[]}function Vn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t=t?e:t)),e}function cr(e,t,n,r,i,o){var s,c=1&t,l=2&t,f=4&t;if(n&&(s=i?n(e,r,i,o):n(e)),s!==a)return s;if(!es(e))return e;var u=Go(e);if(u){if(s=function(e){var t=e.length,n=new e.constructor(t);t&&"string"==typeof e[0]&&Me.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!c)return _a(e,s)}else{var d=yi(e),p=d==x||d==A;if(Jo(e))return xa(e,c);if(d==k||d==g||p&&!i){if(s=l||p?{}:mi(e),!c)return l?function(e,t){return Ia(e,pi(e),t)}(e,function(e,t){return e&&Ia(t,Rs(t),e)}(s,e)):function(e,t){return Ia(e,di(e),t)}(e,ar(s,e))}else{if(!lt[d])return i?e:{};s=function(e,t,n){var r=e.constructor;switch(t){case j:return Aa(e);case w:case T:return new r(+e);case M:return function(e,t){var n=t?Aa(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case B:case D:case L:case F:case U:case z:case H:case W:case G:return Pa(e,n);case P:return new r;case O:case C:return new r(e);case _:return function(e){var t=new e.constructor(e.source,he.exec(e));return t.lastIndex=e.lastIndex,t}(e);case I:return new r;case R:return a=e,Ln?Oe(Ln.call(a)):{}}var a}(e,d,c)}}o||(o=new Qn);var y=o.get(e);if(y)return y;o.set(e,s),os(e)?e.forEach((function(r){s.add(cr(r,t,n,r,e,o))})):ns(e)&&e.forEach((function(r,a){s.set(a,cr(r,t,n,a,e,o))}));var h=u?a:(f?l?ai:ri:l?Rs:Cs)(e);return _t(h||e,(function(r,a){h&&(r=e[a=r]),tr(s,a,cr(r,t,n,a,e,o))})),s}function lr(e,t,n){var r=n.length;if(null==e)return!r;for(e=Oe(e);r--;){var i=n[r],o=t[i],s=e[i];if(s===a&&!(i in e)||!o(s))return!1}return!0}function fr(e,t,n){if("function"!=typeof e)throw new _e(i);return Ii((function(){e.apply(a,n)}),t)}function ur(e,t,n,r){var a=-1,i=Nt,o=!0,s=e.length,c=[],l=t.length;if(!s)return c;n&&(t=Mt(t,$t(n))),r?(i=jt,o=!1):t.length>=200&&(i=tn,o=!1,t=new Jn(t));e:for(;++a-1},qn.prototype.set=function(e,t){var n=this.__data__,r=nr(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Kn.prototype.clear=function(){this.size=0,this.__data__={hash:new Vn,map:new(Pn||qn),string:new Vn}},Kn.prototype.delete=function(e){var t=li(this,e).delete(e);return this.size-=t?1:0,t},Kn.prototype.get=function(e){return li(this,e).get(e)},Kn.prototype.has=function(e){return li(this,e).has(e)},Kn.prototype.set=function(e,t){var n=li(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Jn.prototype.add=Jn.prototype.push=function(e){return this.__data__.set(e,o),this},Jn.prototype.has=function(e){return this.__data__.has(e)},Qn.prototype.clear=function(){this.__data__=new qn,this.size=0},Qn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Qn.prototype.get=function(e){return this.__data__.get(e)},Qn.prototype.has=function(e){return this.__data__.has(e)},Qn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof qn){var r=n.__data__;if(!Pn||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Kn(r)}return n.set(e,t),this.size=n.size,this};var dr=Na(wr),pr=Na(Tr,!0);function yr(e,t){var n=!0;return dr(e,(function(e,r,a){return n=!!t(e,r,a)})),n}function hr(e,t,n){for(var r=-1,i=e.length;++r0&&n(s)?t>1?br(s,t-1,n,r,a):Bt(a,s):r||(a[a.length]=s)}return a}var gr=ja(),vr=ja(!0);function wr(e,t){return e&&gr(e,t,Cs)}function Tr(e,t){return e&&vr(e,t,Cs)}function Er(e,t){return Rt(t,(function(t){return Zo(e[t])}))}function xr(e,t){for(var n=0,r=(t=va(t,e)).length;null!=e&&nt}function kr(e,t){return null!=e&&Me.call(e,t)}function Sr(e,t){return null!=e&&t in Oe(e)}function _r(e,t,r){for(var i=r?jt:Nt,o=e[0].length,s=e.length,c=s,l=n(s),f=1/0,u=[];c--;){var d=e[c];c&&t&&(d=Mt(d,$t(t))),f=vn(d.length,f),l[c]=!r&&(t||o>=120&&d.length>=120)?new Jn(c&&d):a}d=e[0];var p=-1,y=l[0];e:for(;++p=s?c:c*("desc"==n[r]?-1:1)}return e.index-t.index}(e,t,n)}))}function Vr(e,t,n){for(var r=-1,a=t.length,i={};++r-1;)s!==e&&Qe.call(s,c,1),Qe.call(e,c,1);return e}function Kr(e,t){for(var n=e?t.length:0,r=n-1;n--;){var a=t[n];if(n==r||a!==i){var i=a;gi(a)?Qe.call(e,a,1):ua(e,a)}}return e}function Jr(e,t){return e+yt(En()*(t-e+1))}function Qr(e,t){var n="";if(!e||t<1||t>y)return n;do{t%2&&(n+=e),(t=yt(t/2))&&(e+=e)}while(t);return n}function Yr(e,t){return Ci(Oi(e,t,rc),e+"")}function Zr(e){return Zn(Us(e))}function Xr(e,t){var n=Us(e);return ji(n,sr(t,0,n.length))}function $r(e,t,n,r){if(!es(e))return e;for(var i=-1,o=(t=va(t,e)).length,s=o-1,c=e;null!=c&&++ii?0:i+t),(r=r>i?i:r)<0&&(r+=i),i=t>r?0:r-t>>>0,t>>>=0;for(var o=n(i);++a>>1,o=e[i];null!==o&&!cs(o)&&(n?o<=t:o=200){var l=t?null:Qa(e);if(l)return dn(l);o=!1,a=tn,c=new Jn}else c=t?[]:s;e:for(;++r=r?e:ra(e,t,n)}var Ea=nt||function(e){return ht.clearTimeout(e)};function xa(e,t){if(t)return e.slice();var n=e.length,r=Ve?Ve(n):new e.constructor(n);return e.copy(r),r}function Aa(e){var t=new e.constructor(e.byteLength);return new Ge(t).set(new Ge(e)),t}function Pa(e,t){var n=t?Aa(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Oa(e,t){if(e!==t){var n=e!==a,r=null===e,i=e===e,o=cs(e),s=t!==a,c=null===t,l=t===t,f=cs(t);if(!c&&!f&&!o&&e>t||o&&s&&l&&!c&&!f||r&&s&&l||!n&&l||!i)return 1;if(!r&&!o&&!f&&e1?n[i-1]:a,s=i>2?n[2]:a;for(o=e.length>3&&"function"==typeof o?(i--,o):a,s&&vi(n[0],n[1],s)&&(o=i<3?a:o,i=1),t=Oe(t);++r-1?i[o?t[s]:s]:a}}function Fa(e){return ni((function(t){var n=t.length,r=n,o=Wn.prototype.thru;for(e&&t.reverse();r--;){var s=t[r];if("function"!=typeof s)throw new _e(i);if(o&&!c&&"wrapper"==oi(s))var c=new Wn([],!0)}for(r=c?r:n;++r1&&w.reverse(),p&&fc))return!1;var f=o.get(e),u=o.get(t);if(f&&u)return f==t&&u==e;var d=-1,p=!0,y=2&n?new Jn:a;for(o.set(e,t),o.set(t,e);++d-1&&e%1==0&&e1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(ce,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return _t(b,(function(n){var r="_."+n[0];t&n[1]&&!Nt(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(le);return t?t[1].split(fe):[]}(r),n)))}function Ni(e){var t=0,n=0;return function(){var r=wn(),i=16-(r-n);if(n=r,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(a,arguments)}}function ji(e,t){var n=-1,r=e.length,i=r-1;for(t=t===a?r:t;++n1?e[t-1]:a;return n="function"==typeof n?(e.pop(),n):a,ao(e,n)}));function uo(e){var t=Un(e);return t.__chain__=!0,t}function po(e,t){return t(e)}var yo=ni((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,i=function(t){return or(t,e)};return!(t>1||this.__actions__.length)&&r instanceof Gn&&gi(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:po,args:[i],thisArg:a}),new Wn(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(a),e}))):this.thru(i)}));var ho=Ca((function(e,t,n){Me.call(e,n)?++e[n]:ir(e,n,1)}));var mo=La(Hi),bo=La(Wi);function go(e,t){return(Go(e)?_t:dr)(e,ci(t,3))}function vo(e,t){return(Go(e)?It:pr)(e,ci(t,3))}var wo=Ca((function(e,t,n){Me.call(e,n)?e[n].push(t):ir(e,n,[t])}));var To=Yr((function(e,t,r){var a=-1,i="function"==typeof t,o=qo(e)?n(e.length):[];return dr(e,(function(e){o[++a]=i?kt(t,e,r):Ir(e,t,r)})),o})),Eo=Ca((function(e,t,n){ir(e,n,t)}));function xo(e,t){return(Go(e)?Mt:Fr)(e,ci(t,3))}var Ao=Ca((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));var Po=Yr((function(e,t){if(null==e)return[];var n=t.length;return n>1&&vi(e,t[0],t[1])?t=[]:n>2&&vi(t[0],t[1],t[2])&&(t=[t[0]]),Gr(e,br(t,1),[])})),Oo=at||function(){return ht.Date.now()};function ko(e,t,n){return t=n?a:t,t=e&&null==t?e.length:t,Za(e,u,a,a,a,a,t)}function So(e,t){var n;if("function"!=typeof t)throw new _e(i);return e=ys(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=a),n}}var _o=Yr((function(e,t,n){var r=1;if(n.length){var a=un(n,si(_o));r|=l}return Za(e,r,t,n,a)})),Io=Yr((function(e,t,n){var r=3;if(n.length){var a=un(n,si(Io));r|=l}return Za(t,r,e,n,a)}));function Co(e,t,n){var r,o,s,c,l,f,u=0,d=!1,p=!1,y=!0;if("function"!=typeof e)throw new _e(i);function h(t){var n=r,i=o;return r=o=a,u=t,c=e.apply(i,n)}function m(e){var n=e-f;return f===a||n>=t||n<0||p&&e-u>=s}function b(){var e=Oo();if(m(e))return g(e);l=Ii(b,function(e){var n=t-(e-f);return p?vn(n,s-(e-u)):n}(e))}function g(e){return l=a,y&&r?h(e):(r=o=a,c)}function v(){var e=Oo(),n=m(e);if(r=arguments,o=this,f=e,n){if(l===a)return function(e){return u=e,l=Ii(b,t),d?h(e):c}(f);if(p)return Ea(l),l=Ii(b,t),h(f)}return l===a&&(l=Ii(b,t)),c}return t=ms(t)||0,es(n)&&(d=!!n.leading,s=(p="maxWait"in n)?Jt(ms(n.maxWait)||0,t):s,y="trailing"in n?!!n.trailing:y),v.cancel=function(){l!==a&&Ea(l),u=0,r=f=o=l=a},v.flush=function(){return l===a?c:g(Oo())},v}var Ro=Yr((function(e,t){return fr(e,1,t)})),No=Yr((function(e,t,n){return fr(e,ms(t)||0,n)}));function jo(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new _e(i);var n=function(){var r=arguments,a=t?t.apply(this,r):r[0],i=n.cache;if(i.has(a))return i.get(a);var o=e.apply(this,r);return n.cache=i.set(a,o)||i,o};return n.cache=new(jo.Cache||Kn),n}function Mo(e){if("function"!=typeof e)throw new _e(i);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}jo.Cache=Kn;var Bo=wa((function(e,t){var n=(t=1==t.length&&Go(t[0])?Mt(t[0],$t(ci())):Mt(br(t,1),$t(ci()))).length;return Yr((function(r){for(var a=-1,i=vn(r.length,n);++a=t})),Wo=Cr(function(){return arguments}())?Cr:function(e){return ts(e)&&Me.call(e,"callee")&&!Je.call(e,"callee")},Go=n.isArray,Vo=Tt?$t(Tt):function(e){return ts(e)&&Pr(e)==j};function qo(e){return null!=e&&$o(e.length)&&!Zo(e)}function Ko(e){return ts(e)&&qo(e)}var Jo=bt||mc,Qo=Et?$t(Et):function(e){return ts(e)&&Pr(e)==T};function Yo(e){if(!ts(e))return!1;var t=Pr(e);return t==E||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!as(e)}function Zo(e){if(!es(e))return!1;var t=Pr(e);return t==x||t==A||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Xo(e){return"number"==typeof e&&e==ys(e)}function $o(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=y}function es(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function ts(e){return null!=e&&"object"==typeof e}var ns=xt?$t(xt):function(e){return ts(e)&&yi(e)==P};function rs(e){return"number"==typeof e||ts(e)&&Pr(e)==O}function as(e){if(!ts(e)||Pr(e)!=k)return!1;var t=qe(e);if(null===t)return!0;var n=Me.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&je.call(n)==Fe}var is=At?$t(At):function(e){return ts(e)&&Pr(e)==_};var os=Pt?$t(Pt):function(e){return ts(e)&&yi(e)==I};function ss(e){return"string"==typeof e||!Go(e)&&ts(e)&&Pr(e)==C}function cs(e){return"symbol"==typeof e||ts(e)&&Pr(e)==R}var ls=Ot?$t(Ot):function(e){return ts(e)&&$o(e.length)&&!!ct[Pr(e)]};var fs=qa(Lr),us=qa((function(e,t){return e<=t}));function ds(e){if(!e)return[];if(qo(e))return ss(e)?hn(e):_a(e);if(Ze&&e[Ze])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Ze]());var t=yi(e);return(t==P?ln:t==I?dn:Us)(e)}function ps(e){return e?(e=ms(e))===p||e===-1/0?17976931348623157e292*(e<0?-1:1):e===e?e:0:0===e?e:0}function ys(e){var t=ps(e),n=t%1;return t===t?n?t-n:t:0}function hs(e){return e?sr(ys(e),0,m):0}function ms(e){if("number"==typeof e)return e;if(cs(e))return h;if(es(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=es(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Xt(e);var n=be.test(e);return n||ve.test(e)?dt(e.slice(2),n?2:8):me.test(e)?h:+e}function bs(e){return Ia(e,Rs(e))}function gs(e){return null==e?"":la(e)}var vs=Ra((function(e,t){if(xi(t)||qo(t))Ia(t,Cs(t),e);else for(var n in t)Me.call(t,n)&&tr(e,n,t[n])})),ws=Ra((function(e,t){Ia(t,Rs(t),e)})),Ts=Ra((function(e,t,n,r){Ia(t,Rs(t),e,r)})),Es=Ra((function(e,t,n,r){Ia(t,Cs(t),e,r)})),xs=ni(or);var As=Yr((function(e,t){e=Oe(e);var n=-1,r=t.length,i=r>2?t[2]:a;for(i&&vi(t[0],t[1],i)&&(r=1);++n1),t})),Ia(e,ai(e),n),r&&(n=cr(n,7,ei));for(var a=t.length;a--;)ua(n,t[a]);return n}));var Bs=ni((function(e,t){return null==e?{}:function(e,t){return Vr(e,t,(function(t,n){return ks(e,n)}))}(e,t)}));function Ds(e,t){if(null==e)return{};var n=Mt(ai(e),(function(e){return[e]}));return t=ci(t),Vr(e,n,(function(e,n){return t(e,n[0])}))}var Ls=Ya(Cs),Fs=Ya(Rs);function Us(e){return null==e?[]:en(e,Cs(e))}var zs=Ba((function(e,t,n){return t=t.toLowerCase(),e+(n?Hs(t):t)}));function Hs(e){return Ys(gs(e).toLowerCase())}function Ws(e){return(e=gs(e))&&e.replace(Te,an).replace(tt,"")}var Gs=Ba((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Vs=Ba((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),qs=Ma("toLowerCase");var Ks=Ba((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));var Js=Ba((function(e,t,n){return e+(n?" ":"")+Ys(t)}));var Qs=Ba((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Ys=Ma("toUpperCase");function Zs(e,t,n){return e=gs(e),(t=n?a:t)===a?function(e){return it.test(e)}(e)?function(e){return e.match(rt)||[]}(e):function(e){return e.match(ue)||[]}(e):e.match(t)||[]}var Xs=Yr((function(e,t){try{return kt(e,a,t)}catch(n){return Yo(n)?n:new se(n)}})),$s=ni((function(e,t){return _t(t,(function(t){t=Bi(t),ir(e,t,_o(e[t],e))})),e}));function ec(e){return function(){return e}}var tc=Fa(),nc=Fa(!0);function rc(e){return e}function ac(e){return Mr("function"==typeof e?e:cr(e,1))}var ic=Yr((function(e,t){return function(n){return Ir(n,e,t)}})),oc=Yr((function(e,t){return function(n){return Ir(e,n,t)}}));function sc(e,t,n){var r=Cs(t),a=Er(t,r);null!=n||es(t)&&(a.length||!r.length)||(n=t,t=e,e=this,a=Er(t,Cs(t)));var i=!(es(n)&&"chain"in n)||!!n.chain,o=Zo(e);return _t(a,(function(n){var r=t[n];e[n]=r,o&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__);return(n.__actions__=_a(this.__actions__)).push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,Bt([this.value()],arguments))})})),e}function cc(){}var lc=Wa(Mt),fc=Wa(Ct),uc=Wa(Ft);function dc(e){return wi(e)?Kt(Bi(e)):function(e){return function(t){return xr(t,e)}}(e)}var pc=Va(),yc=Va(!0);function hc(){return[]}function mc(){return!1}var bc=Ha((function(e,t){return e+t}),0),gc=Ja("ceil"),vc=Ha((function(e,t){return e/t}),1),wc=Ja("floor");var Tc=Ha((function(e,t){return e*t}),1),Ec=Ja("round"),xc=Ha((function(e,t){return e-t}),0);return Un.after=function(e,t){if("function"!=typeof t)throw new _e(i);return e=ys(e),function(){if(--e<1)return t.apply(this,arguments)}},Un.ary=ko,Un.assign=vs,Un.assignIn=ws,Un.assignInWith=Ts,Un.assignWith=Es,Un.at=xs,Un.before=So,Un.bind=_o,Un.bindAll=$s,Un.bindKey=Io,Un.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Go(e)?e:[e]},Un.chain=uo,Un.chunk=function(e,t,r){t=(r?vi(e,t,r):t===a)?1:Jt(ys(t),0);var i=null==e?0:e.length;if(!i||t<1)return[];for(var o=0,s=0,c=n(pt(i/t));oi?0:i+n),(r=r===a||r>i?i:ys(r))<0&&(r+=i),r=n>r?0:hs(r);n>>0)?(e=gs(e))&&("string"==typeof t||null!=t&&!is(t))&&!(t=la(t))&&cn(e)?Ta(hn(e),0,n):e.split(t,n):[]},Un.spread=function(e,t){if("function"!=typeof e)throw new _e(i);return t=null==t?0:Jt(ys(t),0),Yr((function(n){var r=n[t],a=Ta(n,0,t);return r&&Bt(a,r),kt(e,this,a)}))},Un.tail=function(e){var t=null==e?0:e.length;return t?ra(e,1,t):[]},Un.take=function(e,t,n){return e&&e.length?ra(e,0,(t=n||t===a?1:ys(t))<0?0:t):[]},Un.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?ra(e,(t=r-(t=n||t===a?1:ys(t)))<0?0:t,r):[]},Un.takeRightWhile=function(e,t){return e&&e.length?pa(e,ci(t,3),!1,!0):[]},Un.takeWhile=function(e,t){return e&&e.length?pa(e,ci(t,3)):[]},Un.tap=function(e,t){return t(e),e},Un.throttle=function(e,t,n){var r=!0,a=!0;if("function"!=typeof e)throw new _e(i);return es(n)&&(r="leading"in n?!!n.leading:r,a="trailing"in n?!!n.trailing:a),Co(e,t,{leading:r,maxWait:t,trailing:a})},Un.thru=po,Un.toArray=ds,Un.toPairs=Ls,Un.toPairsIn=Fs,Un.toPath=function(e){return Go(e)?Mt(e,Bi):cs(e)?[e]:_a(Mi(gs(e)))},Un.toPlainObject=bs,Un.transform=function(e,t,n){var r=Go(e),a=r||Jo(e)||ls(e);if(t=ci(t,4),null==n){var i=e&&e.constructor;n=a?r?new i:[]:es(e)&&Zo(i)?zn(qe(e)):{}}return(a?_t:wr)(e,(function(e,r,a){return t(n,e,r,a)})),n},Un.unary=function(e){return ko(e,1)},Un.union=eo,Un.unionBy=to,Un.unionWith=no,Un.uniq=function(e){return e&&e.length?fa(e):[]},Un.uniqBy=function(e,t){return e&&e.length?fa(e,ci(t,2)):[]},Un.uniqWith=function(e,t){return t="function"==typeof t?t:a,e&&e.length?fa(e,a,t):[]},Un.unset=function(e,t){return null==e||ua(e,t)},Un.unzip=ro,Un.unzipWith=ao,Un.update=function(e,t,n){return null==e?e:da(e,t,ga(n))},Un.updateWith=function(e,t,n,r){return r="function"==typeof r?r:a,null==e?e:da(e,t,ga(n),r)},Un.values=Us,Un.valuesIn=function(e){return null==e?[]:en(e,Rs(e))},Un.without=io,Un.words=Zs,Un.wrap=function(e,t){return Do(ga(t),e)},Un.xor=oo,Un.xorBy=so,Un.xorWith=co,Un.zip=lo,Un.zipObject=function(e,t){return ma(e||[],t||[],tr)},Un.zipObjectDeep=function(e,t){return ma(e||[],t||[],$r)},Un.zipWith=fo,Un.entries=Ls,Un.entriesIn=Fs,Un.extend=ws,Un.extendWith=Ts,sc(Un,Un),Un.add=bc,Un.attempt=Xs,Un.camelCase=zs,Un.capitalize=Hs,Un.ceil=gc,Un.clamp=function(e,t,n){return n===a&&(n=t,t=a),n!==a&&(n=(n=ms(n))===n?n:0),t!==a&&(t=(t=ms(t))===t?t:0),sr(ms(e),t,n)},Un.clone=function(e){return cr(e,4)},Un.cloneDeep=function(e){return cr(e,5)},Un.cloneDeepWith=function(e,t){return cr(e,5,t="function"==typeof t?t:a)},Un.cloneWith=function(e,t){return cr(e,4,t="function"==typeof t?t:a)},Un.conformsTo=function(e,t){return null==t||lr(e,t,Cs(t))},Un.deburr=Ws,Un.defaultTo=function(e,t){return null==e||e!==e?t:e},Un.divide=vc,Un.endsWith=function(e,t,n){e=gs(e),t=la(t);var r=e.length,i=n=n===a?r:sr(ys(n),0,r);return(n-=t.length)>=0&&e.slice(n,i)==t},Un.eq=Uo,Un.escape=function(e){return(e=gs(e))&&Z.test(e)?e.replace(Q,on):e},Un.escapeRegExp=function(e){return(e=gs(e))&&ie.test(e)?e.replace(ae,"\\$&"):e},Un.every=function(e,t,n){var r=Go(e)?Ct:yr;return n&&vi(e,t,n)&&(t=a),r(e,ci(t,3))},Un.find=mo,Un.findIndex=Hi,Un.findKey=function(e,t){return zt(e,ci(t,3),wr)},Un.findLast=bo,Un.findLastIndex=Wi,Un.findLastKey=function(e,t){return zt(e,ci(t,3),Tr)},Un.floor=wc,Un.forEach=go,Un.forEachRight=vo,Un.forIn=function(e,t){return null==e?e:gr(e,ci(t,3),Rs)},Un.forInRight=function(e,t){return null==e?e:vr(e,ci(t,3),Rs)},Un.forOwn=function(e,t){return e&&wr(e,ci(t,3))},Un.forOwnRight=function(e,t){return e&&Tr(e,ci(t,3))},Un.get=Os,Un.gt=zo,Un.gte=Ho,Un.has=function(e,t){return null!=e&&hi(e,t,kr)},Un.hasIn=ks,Un.head=Vi,Un.identity=rc,Un.includes=function(e,t,n,r){e=qo(e)?e:Us(e),n=n&&!r?ys(n):0;var a=e.length;return n<0&&(n=Jt(a+n,0)),ss(e)?n<=a&&e.indexOf(t,n)>-1:!!a&&Wt(e,t,n)>-1},Un.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var a=null==n?0:ys(n);return a<0&&(a=Jt(r+a,0)),Wt(e,t,a)},Un.inRange=function(e,t,n){return t=ps(t),n===a?(n=t,t=0):n=ps(n),function(e,t,n){return e>=vn(t,n)&&e=-9007199254740991&&e<=y},Un.isSet=os,Un.isString=ss,Un.isSymbol=cs,Un.isTypedArray=ls,Un.isUndefined=function(e){return e===a},Un.isWeakMap=function(e){return ts(e)&&yi(e)==N},Un.isWeakSet=function(e){return ts(e)&&"[object WeakSet]"==Pr(e)},Un.join=function(e,t){return null==e?"":wt.call(e,t)},Un.kebabCase=Gs,Un.last=Qi,Un.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r;return n!==a&&(i=(i=ys(n))<0?Jt(r+i,0):vn(i,r-1)),t===t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,i):Ht(e,Vt,i,!0)},Un.lowerCase=Vs,Un.lowerFirst=qs,Un.lt=fs,Un.lte=us,Un.max=function(e){return e&&e.length?hr(e,rc,Or):a},Un.maxBy=function(e,t){return e&&e.length?hr(e,ci(t,2),Or):a},Un.mean=function(e){return qt(e,rc)},Un.meanBy=function(e,t){return qt(e,ci(t,2))},Un.min=function(e){return e&&e.length?hr(e,rc,Lr):a},Un.minBy=function(e,t){return e&&e.length?hr(e,ci(t,2),Lr):a},Un.stubArray=hc,Un.stubFalse=mc,Un.stubObject=function(){return{}},Un.stubString=function(){return""},Un.stubTrue=function(){return!0},Un.multiply=Tc,Un.nth=function(e,t){return e&&e.length?Wr(e,ys(t)):a},Un.noConflict=function(){return ht._===this&&(ht._=Ue),this},Un.noop=cc,Un.now=Oo,Un.pad=function(e,t,n){e=gs(e);var r=(t=ys(t))?yn(e):0;if(!t||r>=t)return e;var a=(t-r)/2;return Ga(yt(a),n)+e+Ga(pt(a),n)},Un.padEnd=function(e,t,n){e=gs(e);var r=(t=ys(t))?yn(e):0;return t&&rt){var r=e;e=t,t=r}if(n||e%1||t%1){var i=En();return vn(e+i*(t-e+ut("1e-"+((i+"").length-1))),t)}return Jr(e,t)},Un.reduce=function(e,t,n){var r=Go(e)?Dt:Qt,a=arguments.length<3;return r(e,ci(t,4),n,a,dr)},Un.reduceRight=function(e,t,n){var r=Go(e)?Lt:Qt,a=arguments.length<3;return r(e,ci(t,4),n,a,pr)},Un.repeat=function(e,t,n){return t=(n?vi(e,t,n):t===a)?1:ys(t),Qr(gs(e),t)},Un.replace=function(){var e=arguments,t=gs(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Un.result=function(e,t,n){var r=-1,i=(t=va(t,e)).length;for(i||(i=1,e=a);++ry)return[];var n=m,r=vn(e,m);t=ci(t),e-=m;for(var a=Zt(r,t);++n=o)return e;var c=n-yn(r);if(c<1)return r;var l=s?Ta(s,0,c).join(""):e.slice(0,c);if(i===a)return l+r;if(s&&(c+=l.length-c),is(i)){if(e.slice(c).search(i)){var f,u=l;for(i.global||(i=ke(i.source,gs(he.exec(i))+"g")),i.lastIndex=0;f=i.exec(u);)var d=f.index;l=l.slice(0,d===a?c:d)}}else if(e.indexOf(la(i),c)!=c){var p=l.lastIndexOf(i);p>-1&&(l=l.slice(0,p))}return l+r},Un.unescape=function(e){return(e=gs(e))&&Y.test(e)?e.replace(J,bn):e},Un.uniqueId=function(e){var t=++Be;return gs(e)+t},Un.upperCase=Qs,Un.upperFirst=Ys,Un.each=go,Un.eachRight=vo,Un.first=Vi,sc(Un,function(){var e={};return wr(Un,(function(t,n){Me.call(Un.prototype,n)||(e[n]=t)})),e}(),{chain:!1}),Un.VERSION="4.17.21",_t(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){Un[e].placeholder=Un})),_t(["drop","take"],(function(e,t){Gn.prototype[e]=function(n){n=n===a?1:Jt(ys(n),0);var r=this.__filtered__&&!t?new Gn(this):this.clone();return r.__filtered__?r.__takeCount__=vn(n,r.__takeCount__):r.__views__.push({size:vn(n,m),type:e+(r.__dir__<0?"Right":"")}),r},Gn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),_t(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;Gn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:ci(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),_t(["head","last"],(function(e,t){var n="take"+(t?"Right":"");Gn.prototype[e]=function(){return this[n](1).value()[0]}})),_t(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");Gn.prototype[e]=function(){return this.__filtered__?new Gn(this):this[n](1)}})),Gn.prototype.compact=function(){return this.filter(rc)},Gn.prototype.find=function(e){return this.filter(e).head()},Gn.prototype.findLast=function(e){return this.reverse().find(e)},Gn.prototype.invokeMap=Yr((function(e,t){return"function"==typeof e?new Gn(this):this.map((function(n){return Ir(n,e,t)}))})),Gn.prototype.reject=function(e){return this.filter(Mo(ci(e)))},Gn.prototype.slice=function(e,t){e=ys(e);var n=this;return n.__filtered__&&(e>0||t<0)?new Gn(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==a&&(n=(t=ys(t))<0?n.dropRight(-t):n.take(t-e)),n)},Gn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Gn.prototype.toArray=function(){return this.take(m)},wr(Gn.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),i=Un[r?"take"+("last"==t?"Right":""):t],o=r||/^find/.test(t);i&&(Un.prototype[t]=function(){var t=this.__wrapped__,s=r?[1]:arguments,c=t instanceof Gn,l=s[0],f=c||Go(t),u=function(e){var t=i.apply(Un,Bt([e],s));return r&&d?t[0]:t};f&&n&&"function"==typeof l&&1!=l.length&&(c=f=!1);var d=this.__chain__,p=!!this.__actions__.length,y=o&&!d,h=c&&!p;if(!o&&f){t=h?t:new Gn(this);var m=e.apply(t,s);return m.__actions__.push({func:po,args:[u],thisArg:a}),new Wn(m,d)}return y&&h?e.apply(this,s):(m=this.thru(u),y?r?m.value()[0]:m.value():m)})})),_t(["pop","push","shift","sort","splice","unshift"],(function(e){var t=Ie[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);Un.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var a=this.value();return t.apply(Go(a)?a:[],e)}return this[n]((function(n){return t.apply(Go(n)?n:[],e)}))}})),wr(Gn.prototype,(function(e,t){var n=Un[t];if(n){var r=n.name+"";Me.call(Cn,r)||(Cn[r]=[]),Cn[r].push({name:t,func:n})}})),Cn[Ua(a,2).name]=[{name:"wrapper",func:a}],Gn.prototype.clone=function(){var e=new Gn(this.__wrapped__);return e.__actions__=_a(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=_a(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=_a(this.__views__),e},Gn.prototype.reverse=function(){if(this.__filtered__){var e=new Gn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Gn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Go(e),r=t<0,a=n?e.length:0,i=function(e,t,n){var r=-1,a=n.length;for(;++r=this.__values__.length;return{done:e,value:e?a:this.__values__[this.__index__++]}},Un.prototype.plant=function(e){for(var t,n=this;n instanceof Hn;){var r=Li(n);r.__index__=0,r.__values__=a,t?i.__wrapped__=r:t=r;var i=r;n=n.__wrapped__}return i.__wrapped__=e,t},Un.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Gn){var t=e;return this.__actions__.length&&(t=new Gn(this)),(t=t.reverse()).__actions__.push({func:po,args:[$i],thisArg:a}),new Wn(t,this.__chain__)}return this.thru($i)},Un.prototype.toJSON=Un.prototype.valueOf=Un.prototype.value=function(){return ya(this.__wrapped__,this.__actions__)},Un.prototype.first=Un.prototype.head,Ze&&(Un.prototype[Ze]=function(){return this}),Un}();ht._=gn,(r=function(){return gn}.call(t,n,t,e))===a||(e.exports=r)}.call(this)},59043:(e,t,n)=>{"use strict";const{Deflate:r,deflate:a,deflateRaw:i,gzip:o}=n(76106),{Inflate:s,inflate:c,inflateRaw:l,ungzip:f}=n(93371),u=n(67500);e.exports.Deflate=r,e.exports.deflate=a,e.exports.deflateRaw=i,e.exports.gzip=o,e.exports.Inflate=s,e.exports.inflate=c,e.exports.inflateRaw=l,e.exports.ungzip=f,e.exports.constants=u},76106:(e,t,n)=>{"use strict";const r=n(42849),a=n(28661),i=n(44590),o=n(3470),s=n(25806),c=Object.prototype.toString,{Z_NO_FLUSH:l,Z_SYNC_FLUSH:f,Z_FULL_FLUSH:u,Z_FINISH:d,Z_OK:p,Z_STREAM_END:y,Z_DEFAULT_COMPRESSION:h,Z_DEFAULT_STRATEGY:m,Z_DEFLATED:b}=n(67500);function g(e){this.options=a.assign({level:h,method:b,chunkSize:16384,windowBits:15,memLevel:8,strategy:m},e||{});let t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new s,this.strm.avail_out=0;let n=r.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(n!==p)throw new Error(o[n]);if(t.header&&r.deflateSetHeader(this.strm,t.header),t.dictionary){let e;if(e="string"===typeof t.dictionary?i.string2buf(t.dictionary):"[object ArrayBuffer]"===c.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,n=r.deflateSetDictionary(this.strm,e),n!==p)throw new Error(o[n]);this._dict_set=!0}}function v(e,t){const n=new g(t);if(n.push(e,!0),n.err)throw n.msg||o[n.err];return n.result}g.prototype.push=function(e,t){const n=this.strm,a=this.options.chunkSize;let o,s;if(this.ended)return!1;for(s=t===~~t?t:!0===t?d:l,"string"===typeof e?n.input=i.string2buf(e):"[object ArrayBuffer]"===c.call(e)?n.input=new Uint8Array(e):n.input=e,n.next_in=0,n.avail_in=n.input.length;;)if(0===n.avail_out&&(n.output=new Uint8Array(a),n.next_out=0,n.avail_out=a),(s===f||s===u)&&n.avail_out<=6)this.onData(n.output.subarray(0,n.next_out)),n.avail_out=0;else{if(o=r.deflate(n,s),o===y)return n.next_out>0&&this.onData(n.output.subarray(0,n.next_out)),o=r.deflateEnd(this.strm),this.onEnd(o),this.ended=!0,o===p;if(0!==n.avail_out){if(s>0&&n.next_out>0)this.onData(n.output.subarray(0,n.next_out)),n.avail_out=0;else if(0===n.avail_in)break}else this.onData(n.output)}return!0},g.prototype.onData=function(e){this.chunks.push(e)},g.prototype.onEnd=function(e){e===p&&(this.result=a.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},e.exports.Deflate=g,e.exports.deflate=v,e.exports.deflateRaw=function(e,t){return(t=t||{}).raw=!0,v(e,t)},e.exports.gzip=function(e,t){return(t=t||{}).gzip=!0,v(e,t)},e.exports.constants=n(67500)},93371:(e,t,n)=>{"use strict";const r=n(21168),a=n(28661),i=n(44590),o=n(3470),s=n(25806),c=n(35730),l=Object.prototype.toString,{Z_NO_FLUSH:f,Z_FINISH:u,Z_OK:d,Z_STREAM_END:p,Z_NEED_DICT:y,Z_STREAM_ERROR:h,Z_DATA_ERROR:m,Z_MEM_ERROR:b}=n(67500);function g(e){this.options=a.assign({chunkSize:65536,windowBits:15,to:""},e||{});const t=this.options;t.raw&&t.windowBits>=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(t.windowBits>=0&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&0===(15&t.windowBits)&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new s,this.strm.avail_out=0;let n=r.inflateInit2(this.strm,t.windowBits);if(n!==d)throw new Error(o[n]);if(this.header=new c,r.inflateGetHeader(this.strm,this.header),t.dictionary&&("string"===typeof t.dictionary?t.dictionary=i.string2buf(t.dictionary):"[object ArrayBuffer]"===l.call(t.dictionary)&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(n=r.inflateSetDictionary(this.strm,t.dictionary),n!==d)))throw new Error(o[n])}function v(e,t){const n=new g(t);if(n.push(e),n.err)throw n.msg||o[n.err];return n.result}g.prototype.push=function(e,t){const n=this.strm,a=this.options.chunkSize,o=this.options.dictionary;let s,c,g;if(this.ended)return!1;for(c=t===~~t?t:!0===t?u:f,"[object ArrayBuffer]"===l.call(e)?n.input=new Uint8Array(e):n.input=e,n.next_in=0,n.avail_in=n.input.length;;){for(0===n.avail_out&&(n.output=new Uint8Array(a),n.next_out=0,n.avail_out=a),s=r.inflate(n,c),s===y&&o&&(s=r.inflateSetDictionary(n,o),s===d?s=r.inflate(n,c):s===m&&(s=y));n.avail_in>0&&s===p&&n.state.wrap>0&&0!==e[n.next_in];)r.inflateReset(n),s=r.inflate(n,c);switch(s){case h:case m:case y:case b:return this.onEnd(s),this.ended=!0,!1}if(g=n.avail_out,n.next_out&&(0===n.avail_out||s===p))if("string"===this.options.to){let e=i.utf8border(n.output,n.next_out),t=n.next_out-e,r=i.buf2string(n.output,e);n.next_out=t,n.avail_out=a-t,t&&n.output.set(n.output.subarray(e,e+t),0),this.onData(r)}else this.onData(n.output.length===n.next_out?n.output:n.output.subarray(0,n.next_out));if(s!==d||0!==g){if(s===p)return s=r.inflateEnd(this.strm),this.onEnd(s),this.ended=!0,!0;if(0===n.avail_in)break}}return!0},g.prototype.onData=function(e){this.chunks.push(e)},g.prototype.onEnd=function(e){e===d&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=a.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},e.exports.Inflate=g,e.exports.inflate=v,e.exports.inflateRaw=function(e,t){return(t=t||{}).raw=!0,v(e,t)},e.exports.ungzip=v,e.exports.constants=n(67500)},28661:e=>{"use strict";const t=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);e.exports.assign=function(e){const n=Array.prototype.slice.call(arguments,1);for(;n.length;){const r=n.shift();if(r){if("object"!==typeof r)throw new TypeError(r+"must be non-object");for(const n in r)t(r,n)&&(e[n]=r[n])}}return e},e.exports.flattenChunks=e=>{let t=0;for(let r=0,a=e.length;r{"use strict";let t=!0;try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(r){t=!1}const n=new Uint8Array(256);for(let a=0;a<256;a++)n[a]=a>=252?6:a>=248?5:a>=240?4:a>=224?3:a>=192?2:1;n[254]=n[254]=1,e.exports.string2buf=e=>{if("function"===typeof TextEncoder&&TextEncoder.prototype.encode)return(new TextEncoder).encode(e);let t,n,r,a,i,o=e.length,s=0;for(a=0;a>>6,t[i++]=128|63&n):n<65536?(t[i++]=224|n>>>12,t[i++]=128|n>>>6&63,t[i++]=128|63&n):(t[i++]=240|n>>>18,t[i++]=128|n>>>12&63,t[i++]=128|n>>>6&63,t[i++]=128|63&n);return t};e.exports.buf2string=(e,r)=>{const a=r||e.length;if("function"===typeof TextDecoder&&TextDecoder.prototype.decode)return(new TextDecoder).decode(e.subarray(0,r));let i,o;const s=new Array(2*a);for(o=0,i=0;i4)s[o++]=65533,i+=r-1;else{for(t&=2===r?31:3===r?15:7;r>1&&i1?s[o++]=65533:t<65536?s[o++]=t:(t-=65536,s[o++]=55296|t>>10&1023,s[o++]=56320|1023&t)}}return((e,n)=>{if(n<65534&&e.subarray&&t)return String.fromCharCode.apply(null,e.length===n?e:e.subarray(0,n));let r="";for(let t=0;t{(t=t||e.length)>e.length&&(t=e.length);let r=t-1;for(;r>=0&&128===(192&e[r]);)r--;return r<0||0===r?t:r+n[e[r]]>t?r:t}},98409:e=>{"use strict";e.exports=(e,t,n,r)=>{let a=65535&e|0,i=e>>>16&65535|0,o=0;for(;0!==n;){o=n>2e3?2e3:n,n-=o;do{a=a+t[r++]|0,i=i+a|0}while(--o);a%=65521,i%=65521}return a|i<<16|0}},67500:e=>{"use strict";e.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},91656:e=>{"use strict";const t=new Uint32Array((()=>{let e,t=[];for(var n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t})());e.exports=(e,n,r,a)=>{const i=t,o=a+r;e^=-1;for(let t=a;t>>8^i[255&(e^n[t])];return-1^e}},42849:(e,t,n)=>{"use strict";const{_tr_init:r,_tr_stored_block:a,_tr_flush_block:i,_tr_tally:o,_tr_align:s}=n(90889),c=n(98409),l=n(91656),f=n(3470),{Z_NO_FLUSH:u,Z_PARTIAL_FLUSH:d,Z_FULL_FLUSH:p,Z_FINISH:y,Z_BLOCK:h,Z_OK:m,Z_STREAM_END:b,Z_STREAM_ERROR:g,Z_DATA_ERROR:v,Z_BUF_ERROR:w,Z_DEFAULT_COMPRESSION:T,Z_FILTERED:E,Z_HUFFMAN_ONLY:x,Z_RLE:A,Z_FIXED:P,Z_DEFAULT_STRATEGY:O,Z_UNKNOWN:k,Z_DEFLATED:S}=n(67500),_=258,I=262,C=42,R=113,N=666,j=(e,t)=>(e.msg=f[t],t),M=e=>2*e-(e>4?9:0),B=e=>{let t=e.length;for(;--t>=0;)e[t]=0},D=e=>{let t,n,r,a=e.w_size;t=e.hash_size,r=t;do{n=e.head[--r],e.head[r]=n>=a?n-a:0}while(--t);t=a,r=t;do{n=e.prev[--r],e.prev[r]=n>=a?n-a:0}while(--t)};let L=(e,t,n)=>(t<{const t=e.state;let n=t.pending;n>e.avail_out&&(n=e.avail_out),0!==n&&(e.output.set(t.pending_buf.subarray(t.pending_out,t.pending_out+n),e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,0===t.pending&&(t.pending_out=0))},U=(e,t)=>{i(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,F(e.strm)},z=(e,t)=>{e.pending_buf[e.pending++]=t},H=(e,t)=>{e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t},W=(e,t,n,r)=>{let a=e.avail_in;return a>r&&(a=r),0===a?0:(e.avail_in-=a,t.set(e.input.subarray(e.next_in,e.next_in+a),n),1===e.state.wrap?e.adler=c(e.adler,t,a,n):2===e.state.wrap&&(e.adler=l(e.adler,t,a,n)),e.next_in+=a,e.total_in+=a,a)},G=(e,t)=>{let n,r,a=e.max_chain_length,i=e.strstart,o=e.prev_length,s=e.nice_match;const c=e.strstart>e.w_size-I?e.strstart-(e.w_size-I):0,l=e.window,f=e.w_mask,u=e.prev,d=e.strstart+_;let p=l[i+o-1],y=l[i+o];e.prev_length>=e.good_match&&(a>>=2),s>e.lookahead&&(s=e.lookahead);do{if(n=t,l[n+o]===y&&l[n+o-1]===p&&l[n]===l[i]&&l[++n]===l[i+1]){i+=2,n++;do{}while(l[++i]===l[++n]&&l[++i]===l[++n]&&l[++i]===l[++n]&&l[++i]===l[++n]&&l[++i]===l[++n]&&l[++i]===l[++n]&&l[++i]===l[++n]&&l[++i]===l[++n]&&io){if(e.match_start=t,o=r,r>=s)break;p=l[i+o-1],y=l[i+o]}}}while((t=u[t&f])>c&&0!==--a);return o<=e.lookahead?o:e.lookahead},V=e=>{const t=e.w_size;let n,r,a;do{if(r=e.window_size-e.lookahead-e.strstart,e.strstart>=t+(t-I)&&(e.window.set(e.window.subarray(t,t+t-r),0),e.match_start-=t,e.strstart-=t,e.block_start-=t,e.insert>e.strstart&&(e.insert=e.strstart),D(e),r+=t),0===e.strm.avail_in)break;if(n=W(e.strm,e.window,e.strstart+e.lookahead,r),e.lookahead+=n,e.lookahead+e.insert>=3)for(a=e.strstart-e.insert,e.ins_h=e.window[a],e.ins_h=L(e,e.ins_h,e.window[a+1]);e.insert&&(e.ins_h=L(e,e.ins_h,e.window[a+3-1]),e.prev[a&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=a,a++,e.insert--,!(e.lookahead+e.insert<3)););}while(e.lookahead{let n,r,i,o=e.pending_buf_size-5>e.w_size?e.w_size:e.pending_buf_size-5,s=0,c=e.strm.avail_in;do{if(n=65535,i=e.bi_valid+42>>3,e.strm.avail_outr+e.strm.avail_in&&(n=r+e.strm.avail_in),n>i&&(n=i),n>8,e.pending_buf[e.pending-2]=~n,e.pending_buf[e.pending-1]=~n>>8,F(e.strm),r&&(r>n&&(r=n),e.strm.output.set(e.window.subarray(e.block_start,e.block_start+r),e.strm.next_out),e.strm.next_out+=r,e.strm.avail_out-=r,e.strm.total_out+=r,e.block_start+=r,n-=r),n&&(W(e.strm,e.strm.output,e.strm.next_out,n),e.strm.next_out+=n,e.strm.avail_out-=n,e.strm.total_out+=n)}while(0===s);return c-=e.strm.avail_in,c&&(c>=e.w_size?(e.matches=2,e.window.set(e.strm.input.subarray(e.strm.next_in-e.w_size,e.strm.next_in),0),e.strstart=e.w_size,e.insert=e.strstart):(e.window_size-e.strstart<=c&&(e.strstart-=e.w_size,e.window.set(e.window.subarray(e.w_size,e.w_size+e.strstart),0),e.matches<2&&e.matches++,e.insert>e.strstart&&(e.insert=e.strstart)),e.window.set(e.strm.input.subarray(e.strm.next_in-c,e.strm.next_in),e.strstart),e.strstart+=c,e.insert+=c>e.w_size-e.insert?e.w_size-e.insert:c),e.block_start=e.strstart),e.high_wateri&&e.block_start>=e.w_size&&(e.block_start-=e.w_size,e.strstart-=e.w_size,e.window.set(e.window.subarray(e.w_size,e.w_size+e.strstart),0),e.matches<2&&e.matches++,i+=e.w_size,e.insert>e.strstart&&(e.insert=e.strstart)),i>e.strm.avail_in&&(i=e.strm.avail_in),i&&(W(e.strm,e.window,e.strstart,i),e.strstart+=i,e.insert+=i>e.w_size-e.insert?e.w_size-e.insert:i),e.high_water>3,i=e.pending_buf_size-i>65535?65535:e.pending_buf_size-i,o=i>e.w_size?e.w_size:i,r=e.strstart-e.block_start,(r>=o||(r||t===y)&&t!==u&&0===e.strm.avail_in&&r<=i)&&(n=r>i?i:r,s=t===y&&0===e.strm.avail_in&&n===r?1:0,a(e,e.block_start,n,s),e.block_start+=n,F(e.strm)),s?3:1)},K=(e,t)=>{let n,r;for(;;){if(e.lookahead=3&&(e.ins_h=L(e,e.ins_h,e.window[e.strstart+3-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==n&&e.strstart-n<=e.w_size-I&&(e.match_length=G(e,n)),e.match_length>=3)if(r=o(e,e.strstart-e.match_start,e.match_length-3),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=3){e.match_length--;do{e.strstart++,e.ins_h=L(e,e.ins_h,e.window[e.strstart+3-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart}while(0!==--e.match_length);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=L(e,e.ins_h,e.window[e.strstart+1]);else r=o(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(r&&(U(e,!1),0===e.strm.avail_out))return 1}return e.insert=e.strstart<2?e.strstart:2,t===y?(U(e,!0),0===e.strm.avail_out?3:4):e.sym_next&&(U(e,!1),0===e.strm.avail_out)?1:2},J=(e,t)=>{let n,r,a;for(;;){if(e.lookahead=3&&(e.ins_h=L(e,e.ins_h,e.window[e.strstart+3-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=2,0!==n&&e.prev_length4096)&&(e.match_length=2)),e.prev_length>=3&&e.match_length<=e.prev_length){a=e.strstart+e.lookahead-3,r=o(e,e.strstart-1-e.prev_match,e.prev_length-3),e.lookahead-=e.prev_length-1,e.prev_length-=2;do{++e.strstart<=a&&(e.ins_h=L(e,e.ins_h,e.window[e.strstart+3-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart)}while(0!==--e.prev_length);if(e.match_available=0,e.match_length=2,e.strstart++,r&&(U(e,!1),0===e.strm.avail_out))return 1}else if(e.match_available){if(r=o(e,0,e.window[e.strstart-1]),r&&U(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return 1}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(r=o(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<2?e.strstart:2,t===y?(U(e,!0),0===e.strm.avail_out?3:4):e.sym_next&&(U(e,!1),0===e.strm.avail_out)?1:2};function Q(e,t,n,r,a){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=r,this.func=a}const Y=[new Q(0,0,0,0,q),new Q(4,4,8,4,K),new Q(4,5,16,8,K),new Q(4,6,32,32,K),new Q(4,4,16,16,J),new Q(8,16,32,32,J),new Q(8,16,128,128,J),new Q(8,32,128,256,J),new Q(32,128,258,1024,J),new Q(32,258,258,4096,J)];function Z(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=S,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(1146),this.dyn_dtree=new Uint16Array(122),this.bl_tree=new Uint16Array(78),B(this.dyn_ltree),B(this.dyn_dtree),B(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(16),this.heap=new Uint16Array(573),B(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(573),B(this.depth),this.sym_buf=0,this.lit_bufsize=0,this.sym_next=0,this.sym_end=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}const X=e=>{if(!e)return 1;const t=e.state;return!t||t.strm!==e||t.status!==C&&57!==t.status&&69!==t.status&&73!==t.status&&91!==t.status&&103!==t.status&&t.status!==R&&t.status!==N?1:0},$=e=>{if(X(e))return j(e,g);e.total_in=e.total_out=0,e.data_type=k;const t=e.state;return t.pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=2===t.wrap?57:t.wrap?C:R,e.adler=2===t.wrap?0:1,t.last_flush=-2,r(t),m},ee=e=>{const t=$(e);var n;return t===m&&((n=e.state).window_size=2*n.w_size,B(n.head),n.max_lazy_match=Y[n.level].max_lazy,n.good_match=Y[n.level].good_length,n.nice_match=Y[n.level].nice_length,n.max_chain_length=Y[n.level].max_chain,n.strstart=0,n.block_start=0,n.lookahead=0,n.insert=0,n.match_length=n.prev_length=2,n.match_available=0,n.ins_h=0),t},te=(e,t,n,r,a,i)=>{if(!e)return g;let o=1;if(t===T&&(t=6),r<0?(o=0,r=-r):r>15&&(o=2,r-=16),a<1||a>9||n!==S||r<8||r>15||t<0||t>9||i<0||i>P||8===r&&1!==o)return j(e,g);8===r&&(r=9);const s=new Z;return e.state=s,s.strm=e,s.status=C,s.wrap=o,s.gzhead=null,s.w_bits=r,s.w_size=1<te(e,t,S,15,8,O),e.exports.deflateInit2=te,e.exports.deflateReset=ee,e.exports.deflateResetKeep=$,e.exports.deflateSetHeader=(e,t)=>X(e)||2!==e.state.wrap?g:(e.state.gzhead=t,m),e.exports.deflate=(e,t)=>{if(X(e)||t>h||t<0)return e?j(e,g):g;const n=e.state;if(!e.output||0!==e.avail_in&&!e.input||n.status===N&&t!==y)return j(e,0===e.avail_out?w:g);const r=n.last_flush;if(n.last_flush=t,0!==n.pending){if(F(e),0===e.avail_out)return n.last_flush=-1,m}else if(0===e.avail_in&&M(t)<=M(r)&&t!==y)return j(e,w);if(n.status===N&&0!==e.avail_in)return j(e,w);if(n.status===C&&0===n.wrap&&(n.status=R),n.status===C){let t=S+(n.w_bits-8<<4)<<8,r=-1;if(r=n.strategy>=x||n.level<2?0:n.level<6?1:6===n.level?2:3,t|=r<<6,0!==n.strstart&&(t|=32),t+=31-t%31,H(n,t),0!==n.strstart&&(H(n,e.adler>>>16),H(n,65535&e.adler)),e.adler=1,n.status=R,F(e),0!==n.pending)return n.last_flush=-1,m}if(57===n.status)if(e.adler=0,z(n,31),z(n,139),z(n,8),n.gzhead)z(n,(n.gzhead.text?1:0)+(n.gzhead.hcrc?2:0)+(n.gzhead.extra?4:0)+(n.gzhead.name?8:0)+(n.gzhead.comment?16:0)),z(n,255&n.gzhead.time),z(n,n.gzhead.time>>8&255),z(n,n.gzhead.time>>16&255),z(n,n.gzhead.time>>24&255),z(n,9===n.level?2:n.strategy>=x||n.level<2?4:0),z(n,255&n.gzhead.os),n.gzhead.extra&&n.gzhead.extra.length&&(z(n,255&n.gzhead.extra.length),z(n,n.gzhead.extra.length>>8&255)),n.gzhead.hcrc&&(e.adler=l(e.adler,n.pending_buf,n.pending,0)),n.gzindex=0,n.status=69;else if(z(n,0),z(n,0),z(n,0),z(n,0),z(n,0),z(n,9===n.level?2:n.strategy>=x||n.level<2?4:0),z(n,3),n.status=R,F(e),0!==n.pending)return n.last_flush=-1,m;if(69===n.status){if(n.gzhead.extra){let t=n.pending,r=(65535&n.gzhead.extra.length)-n.gzindex;for(;n.pending+r>n.pending_buf_size;){let a=n.pending_buf_size-n.pending;if(n.pending_buf.set(n.gzhead.extra.subarray(n.gzindex,n.gzindex+a),n.pending),n.pending=n.pending_buf_size,n.gzhead.hcrc&&n.pending>t&&(e.adler=l(e.adler,n.pending_buf,n.pending-t,t)),n.gzindex+=a,F(e),0!==n.pending)return n.last_flush=-1,m;t=0,r-=a}let a=new Uint8Array(n.gzhead.extra);n.pending_buf.set(a.subarray(n.gzindex,n.gzindex+r),n.pending),n.pending+=r,n.gzhead.hcrc&&n.pending>t&&(e.adler=l(e.adler,n.pending_buf,n.pending-t,t)),n.gzindex=0}n.status=73}if(73===n.status){if(n.gzhead.name){let t,r=n.pending;do{if(n.pending===n.pending_buf_size){if(n.gzhead.hcrc&&n.pending>r&&(e.adler=l(e.adler,n.pending_buf,n.pending-r,r)),F(e),0!==n.pending)return n.last_flush=-1,m;r=0}t=n.gzindexr&&(e.adler=l(e.adler,n.pending_buf,n.pending-r,r)),n.gzindex=0}n.status=91}if(91===n.status){if(n.gzhead.comment){let t,r=n.pending;do{if(n.pending===n.pending_buf_size){if(n.gzhead.hcrc&&n.pending>r&&(e.adler=l(e.adler,n.pending_buf,n.pending-r,r)),F(e),0!==n.pending)return n.last_flush=-1,m;r=0}t=n.gzindexr&&(e.adler=l(e.adler,n.pending_buf,n.pending-r,r))}n.status=103}if(103===n.status){if(n.gzhead.hcrc){if(n.pending+2>n.pending_buf_size&&(F(e),0!==n.pending))return n.last_flush=-1,m;z(n,255&e.adler),z(n,e.adler>>8&255),e.adler=0}if(n.status=R,F(e),0!==n.pending)return n.last_flush=-1,m}if(0!==e.avail_in||0!==n.lookahead||t!==u&&n.status!==N){let r=0===n.level?q(n,t):n.strategy===x?((e,t)=>{let n;for(;;){if(0===e.lookahead&&(V(e),0===e.lookahead)){if(t===u)return 1;break}if(e.match_length=0,n=o(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(U(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,t===y?(U(e,!0),0===e.strm.avail_out?3:4):e.sym_next&&(U(e,!1),0===e.strm.avail_out)?1:2})(n,t):n.strategy===A?((e,t)=>{let n,r,a,i;const s=e.window;for(;;){if(e.lookahead<=_){if(V(e),e.lookahead<=_&&t===u)return 1;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=3&&e.strstart>0&&(a=e.strstart-1,r=s[a],r===s[++a]&&r===s[++a]&&r===s[++a])){i=e.strstart+_;do{}while(r===s[++a]&&r===s[++a]&&r===s[++a]&&r===s[++a]&&r===s[++a]&&r===s[++a]&&r===s[++a]&&r===s[++a]&&ae.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=3?(n=o(e,1,e.match_length-3),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=o(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(U(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,t===y?(U(e,!0),0===e.strm.avail_out?3:4):e.sym_next&&(U(e,!1),0===e.strm.avail_out)?1:2})(n,t):Y[n.level].func(n,t);if(3!==r&&4!==r||(n.status=N),1===r||3===r)return 0===e.avail_out&&(n.last_flush=-1),m;if(2===r&&(t===d?s(n):t!==h&&(a(n,0,0,!1),t===p&&(B(n.head),0===n.lookahead&&(n.strstart=0,n.block_start=0,n.insert=0))),F(e),0===e.avail_out))return n.last_flush=-1,m}return t!==y?m:n.wrap<=0?b:(2===n.wrap?(z(n,255&e.adler),z(n,e.adler>>8&255),z(n,e.adler>>16&255),z(n,e.adler>>24&255),z(n,255&e.total_in),z(n,e.total_in>>8&255),z(n,e.total_in>>16&255),z(n,e.total_in>>24&255)):(H(n,e.adler>>>16),H(n,65535&e.adler)),F(e),n.wrap>0&&(n.wrap=-n.wrap),0!==n.pending?m:b)},e.exports.deflateEnd=e=>{if(X(e))return g;const t=e.state.status;return e.state=null,t===R?j(e,v):m},e.exports.deflateSetDictionary=(e,t)=>{let n=t.length;if(X(e))return g;const r=e.state,a=r.wrap;if(2===a||1===a&&r.status!==C||r.lookahead)return g;if(1===a&&(e.adler=c(e.adler,t,n,0)),r.wrap=0,n>=r.w_size){0===a&&(B(r.head),r.strstart=0,r.block_start=0,r.insert=0);let e=new Uint8Array(r.w_size);e.set(t.subarray(n-r.w_size,n),0),t=e,n=r.w_size}const i=e.avail_in,o=e.next_in,s=e.input;for(e.avail_in=n,e.next_in=0,e.input=t,V(r);r.lookahead>=3;){let e=r.strstart,t=r.lookahead-2;do{r.ins_h=L(r,r.ins_h,r.window[e+3-1]),r.prev[e&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=e,e++}while(--t);r.strstart=e,r.lookahead=2,V(r)}return r.strstart+=r.lookahead,r.block_start=r.strstart,r.insert=r.lookahead,r.lookahead=0,r.match_length=r.prev_length=2,r.match_available=0,e.next_in=o,e.input=s,e.avail_in=i,r.wrap=a,m},e.exports.deflateInfo="pako deflate (from Nodeca project)"},35730:e=>{"use strict";e.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},90374:e=>{"use strict";const t=16209;e.exports=function(e,n){let r,a,i,o,s,c,l,f,u,d,p,y,h,m,b,g,v,w,T,E,x,A,P,O;const k=e.state;r=e.next_in,P=e.input,a=r+(e.avail_in-5),i=e.next_out,O=e.output,o=i-(n-e.avail_out),s=i+(e.avail_out-257),c=k.dmax,l=k.wsize,f=k.whave,u=k.wnext,d=k.window,p=k.hold,y=k.bits,h=k.lencode,m=k.distcode,b=(1<>>24,p>>>=w,y-=w,w=v>>>16&255,0===w)O[i++]=65535&v;else{if(!(16&w)){if(0===(64&w)){v=h[(65535&v)+(p&(1<>>=w,y-=w),y<15&&(p+=P[r++]<>>24,p>>>=w,y-=w,w=v>>>16&255,!(16&w)){if(0===(64&w)){v=m[(65535&v)+(p&(1<c){e.msg="invalid distance too far back",k.mode=t;break e}if(p>>>=w,y-=w,w=i-o,E>w){if(w=E-w,w>f&&k.sane){e.msg="invalid distance too far back",k.mode=t;break e}if(x=0,A=d,0===u){if(x+=l-w,w2;)O[i++]=A[x++],O[i++]=A[x++],O[i++]=A[x++],T-=3;T&&(O[i++]=A[x++],T>1&&(O[i++]=A[x++]))}else{x=i-E;do{O[i++]=O[x++],O[i++]=O[x++],O[i++]=O[x++],T-=3}while(T>2);T&&(O[i++]=O[x++],T>1&&(O[i++]=O[x++]))}break}}break}}while(r>3,r-=T,y-=T<<3,p&=(1<{"use strict";const r=n(98409),a=n(91656),i=n(90374),o=n(26583),{Z_FINISH:s,Z_BLOCK:c,Z_TREES:l,Z_OK:f,Z_STREAM_END:u,Z_NEED_DICT:d,Z_STREAM_ERROR:p,Z_DATA_ERROR:y,Z_MEM_ERROR:h,Z_BUF_ERROR:m,Z_DEFLATED:b}=n(67500),g=16180,v=16190,w=16191,T=16192,E=16194,x=16199,A=16200,P=16206,O=16209,k=16210,S=e=>(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24);function _(){this.strm=null,this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}const I=e=>{if(!e)return 1;const t=e.state;return!t||t.strm!==e||t.mode16211?1:0},C=e=>{if(I(e))return p;const t=e.state;return e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=g,t.last=0,t.havedict=0,t.flags=-1,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new Int32Array(852),t.distcode=t.distdyn=new Int32Array(592),t.sane=1,t.back=-1,f},R=e=>{if(I(e))return p;const t=e.state;return t.wsize=0,t.whave=0,t.wnext=0,C(e)},N=(e,t)=>{let n;if(I(e))return p;const r=e.state;return t<0?(n=0,t=-t):(n=5+(t>>4),t<48&&(t&=15)),t&&(t<8||t>15)?p:(null!==r.window&&r.wbits!==t&&(r.window=null),r.wrap=n,r.wbits=t,R(e))},j=(e,t)=>{if(!e)return p;const n=new _;e.state=n,n.strm=e,n.window=null,n.mode=g;const r=N(e,t);return r!==f&&(e.state=null),r};let M,B,D=!0;const L=e=>{if(D){M=new Int32Array(512),B=new Int32Array(32);let t=0;for(;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(o(1,e.lens,0,288,M,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;o(2,e.lens,0,32,B,0,e.work,{bits:5}),D=!1}e.lencode=M,e.lenbits=9,e.distcode=B,e.distbits=5},F=(e,t,n,r)=>{let a;const i=e.state;return null===i.window&&(i.wsize=1<=i.wsize?(i.window.set(t.subarray(n-i.wsize,n),0),i.wnext=0,i.whave=i.wsize):(a=i.wsize-i.wnext,a>r&&(a=r),i.window.set(t.subarray(n-r,n-r+a),i.wnext),(r-=a)?(i.window.set(t.subarray(n-r,n),0),i.wnext=r,i.whave=i.wsize):(i.wnext+=a,i.wnext===i.wsize&&(i.wnext=0),i.whavej(e,15),e.exports.inflateInit2=j,e.exports.inflate=(e,t)=>{let n,_,C,R,N,j,M,B,D,U,z,H,W,G,V,q,K,J,Q,Y,Z,X,$=0;const ee=new Uint8Array(4);let te,ne;const re=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(I(e)||!e.output||!e.input&&0!==e.avail_in)return p;n=e.state,n.mode===w&&(n.mode=T),N=e.next_out,C=e.output,M=e.avail_out,R=e.next_in,_=e.input,j=e.avail_in,B=n.hold,D=n.bits,U=j,z=M,X=f;e:for(;;)switch(n.mode){case g:if(0===n.wrap){n.mode=T;break}for(;D<16;){if(0===j)break e;j--,B+=_[R++]<>>8&255,n.check=a(n.check,ee,2,0),B=0,D=0,n.mode=16181;break}if(n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&B)<<8)+(B>>8))%31){e.msg="incorrect header check",n.mode=O;break}if((15&B)!==b){e.msg="unknown compression method",n.mode=O;break}if(B>>>=4,D-=4,Z=8+(15&B),0===n.wbits&&(n.wbits=Z),Z>15||Z>n.wbits){e.msg="invalid window size",n.mode=O;break}n.dmax=1<>8&1),512&n.flags&&4&n.wrap&&(ee[0]=255&B,ee[1]=B>>>8&255,n.check=a(n.check,ee,2,0)),B=0,D=0,n.mode=16182;case 16182:for(;D<32;){if(0===j)break e;j--,B+=_[R++]<>>8&255,ee[2]=B>>>16&255,ee[3]=B>>>24&255,n.check=a(n.check,ee,4,0)),B=0,D=0,n.mode=16183;case 16183:for(;D<16;){if(0===j)break e;j--,B+=_[R++]<>8),512&n.flags&&4&n.wrap&&(ee[0]=255&B,ee[1]=B>>>8&255,n.check=a(n.check,ee,2,0)),B=0,D=0,n.mode=16184;case 16184:if(1024&n.flags){for(;D<16;){if(0===j)break e;j--,B+=_[R++]<>>8&255,n.check=a(n.check,ee,2,0)),B=0,D=0}else n.head&&(n.head.extra=null);n.mode=16185;case 16185:if(1024&n.flags&&(H=n.length,H>j&&(H=j),H&&(n.head&&(Z=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Uint8Array(n.head.extra_len)),n.head.extra.set(_.subarray(R,R+H),Z)),512&n.flags&&4&n.wrap&&(n.check=a(n.check,_,H,R)),j-=H,R+=H,n.length-=H),n.length))break e;n.length=0,n.mode=16186;case 16186:if(2048&n.flags){if(0===j)break e;H=0;do{Z=_[R+H++],n.head&&Z&&n.length<65536&&(n.head.name+=String.fromCharCode(Z))}while(Z&&H>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=w;break;case 16189:for(;D<32;){if(0===j)break e;j--,B+=_[R++]<>>=7&D,D-=7&D,n.mode=P;break}for(;D<3;){if(0===j)break e;j--,B+=_[R++]<>>=1,D-=1,3&B){case 0:n.mode=16193;break;case 1:if(L(n),n.mode=x,t===l){B>>>=2,D-=2;break e}break;case 2:n.mode=16196;break;case 3:e.msg="invalid block type",n.mode=O}B>>>=2,D-=2;break;case 16193:for(B>>>=7&D,D-=7&D;D<32;){if(0===j)break e;j--,B+=_[R++]<>>16^65535)){e.msg="invalid stored block lengths",n.mode=O;break}if(n.length=65535&B,B=0,D=0,n.mode=E,t===l)break e;case E:n.mode=16195;case 16195:if(H=n.length,H){if(H>j&&(H=j),H>M&&(H=M),0===H)break e;C.set(_.subarray(R,R+H),N),j-=H,R+=H,M-=H,N+=H,n.length-=H;break}n.mode=w;break;case 16196:for(;D<14;){if(0===j)break e;j--,B+=_[R++]<>>=5,D-=5,n.ndist=1+(31&B),B>>>=5,D-=5,n.ncode=4+(15&B),B>>>=4,D-=4,n.nlen>286||n.ndist>30){e.msg="too many length or distance symbols",n.mode=O;break}n.have=0,n.mode=16197;case 16197:for(;n.have>>=3,D-=3}for(;n.have<19;)n.lens[re[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,te={bits:n.lenbits},X=o(0,n.lens,0,19,n.lencode,0,n.work,te),n.lenbits=te.bits,X){e.msg="invalid code lengths set",n.mode=O;break}n.have=0,n.mode=16198;case 16198:for(;n.have>>24,q=$>>>16&255,K=65535&$,!(V<=D);){if(0===j)break e;j--,B+=_[R++]<>>=V,D-=V,n.lens[n.have++]=K;else{if(16===K){for(ne=V+2;D>>=V,D-=V,0===n.have){e.msg="invalid bit length repeat",n.mode=O;break}Z=n.lens[n.have-1],H=3+(3&B),B>>>=2,D-=2}else if(17===K){for(ne=V+3;D>>=V,D-=V,Z=0,H=3+(7&B),B>>>=3,D-=3}else{for(ne=V+7;D>>=V,D-=V,Z=0,H=11+(127&B),B>>>=7,D-=7}if(n.have+H>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=O;break}for(;H--;)n.lens[n.have++]=Z}}if(n.mode===O)break;if(0===n.lens[256]){e.msg="invalid code -- missing end-of-block",n.mode=O;break}if(n.lenbits=9,te={bits:n.lenbits},X=o(1,n.lens,0,n.nlen,n.lencode,0,n.work,te),n.lenbits=te.bits,X){e.msg="invalid literal/lengths set",n.mode=O;break}if(n.distbits=6,n.distcode=n.distdyn,te={bits:n.distbits},X=o(2,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,te),n.distbits=te.bits,X){e.msg="invalid distances set",n.mode=O;break}if(n.mode=x,t===l)break e;case x:n.mode=A;case A:if(j>=6&&M>=258){e.next_out=N,e.avail_out=M,e.next_in=R,e.avail_in=j,n.hold=B,n.bits=D,i(e,z),N=e.next_out,C=e.output,M=e.avail_out,R=e.next_in,_=e.input,j=e.avail_in,B=n.hold,D=n.bits,n.mode===w&&(n.back=-1);break}for(n.back=0;$=n.lencode[B&(1<>>24,q=$>>>16&255,K=65535&$,!(V<=D);){if(0===j)break e;j--,B+=_[R++]<>J)],V=$>>>24,q=$>>>16&255,K=65535&$,!(J+V<=D);){if(0===j)break e;j--,B+=_[R++]<>>=J,D-=J,n.back+=J}if(B>>>=V,D-=V,n.back+=V,n.length=K,0===q){n.mode=16205;break}if(32&q){n.back=-1,n.mode=w;break}if(64&q){e.msg="invalid literal/length code",n.mode=O;break}n.extra=15&q,n.mode=16201;case 16201:if(n.extra){for(ne=n.extra;D>>=n.extra,D-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=16202;case 16202:for(;$=n.distcode[B&(1<>>24,q=$>>>16&255,K=65535&$,!(V<=D);){if(0===j)break e;j--,B+=_[R++]<>J)],V=$>>>24,q=$>>>16&255,K=65535&$,!(J+V<=D);){if(0===j)break e;j--,B+=_[R++]<>>=J,D-=J,n.back+=J}if(B>>>=V,D-=V,n.back+=V,64&q){e.msg="invalid distance code",n.mode=O;break}n.offset=K,n.extra=15&q,n.mode=16203;case 16203:if(n.extra){for(ne=n.extra;D>>=n.extra,D-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=O;break}n.mode=16204;case 16204:if(0===M)break e;if(H=z-M,n.offset>H){if(H=n.offset-H,H>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=O;break}H>n.wnext?(H-=n.wnext,W=n.wsize-H):W=n.wnext-H,H>n.length&&(H=n.length),G=n.window}else G=C,W=N-n.offset,H=n.length;H>M&&(H=M),M-=H,n.length-=H;do{C[N++]=G[W++]}while(--H);0===n.length&&(n.mode=A);break;case 16205:if(0===M)break e;C[N++]=n.length,M--,n.mode=A;break;case P:if(n.wrap){for(;D<32;){if(0===j)break e;j--,B|=_[R++]<{if(I(e))return p;let t=e.state;return t.window&&(t.window=null),e.state=null,f},e.exports.inflateGetHeader=(e,t)=>{if(I(e))return p;const n=e.state;return 0===(2&n.wrap)?p:(n.head=t,t.done=!1,f)},e.exports.inflateSetDictionary=(e,t)=>{const n=t.length;let a,i,o;return I(e)?p:(a=e.state,0!==a.wrap&&a.mode!==v?p:a.mode===v&&(i=1,i=r(i,t,n,0),i!==a.check)?y:(o=F(e,t,n,n),o?(a.mode=k,h):(a.havedict=1,f)))},e.exports.inflateInfo="pako inflate (from Nodeca project)"},26583:e=>{"use strict";const t=15,n=new Uint16Array([3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0]),r=new Uint8Array([16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78]),a=new Uint16Array([1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0]),i=new Uint8Array([16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64]);e.exports=(e,o,s,c,l,f,u,d)=>{const p=d.bits;let y,h,m,b,g,v,w=0,T=0,E=0,x=0,A=0,P=0,O=0,k=0,S=0,_=0,I=null;const C=new Uint16Array(16),R=new Uint16Array(16);let N,j,M,B=null;for(w=0;w<=t;w++)C[w]=0;for(T=0;T=1&&0===C[x];x--);if(A>x&&(A=x),0===x)return l[f++]=20971520,l[f++]=20971520,d.bits=1,0;for(E=1;E0&&(0===e||1!==x))return-1;for(R[1]=0,w=1;w852||2===e&&S>592)return 1;for(;;){N=w-O,u[T]+1=v?(j=B[u[T]-v],M=I[u[T]-v]):(j=96,M=0),y=1<>O)+h]=N<<24|j<<16|M|0}while(0!==h);for(y=1<>=1;if(0!==y?(_&=y-1,_+=y):_=0,T++,0===--C[w]){if(w===x)break;w=o[s+u[T]]}if(w>A&&(_&b)!==m){for(0===O&&(O=A),g+=E,P=w-O,k=1<852||2===e&&S>592)return 1;m=_&b,l[m]=A<<24|P<<16|g-f|0}}return 0!==_&&(l[g+_]=w-O<<24|64<<16|0),d.bits=A,0}},3470:e=>{"use strict";e.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},90889:e=>{"use strict";function t(e){let t=e.length;for(;--t>=0;)e[t]=0}const n=256,r=286,a=30,i=15,o=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),s=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),c=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),l=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),f=new Array(576);t(f);const u=new Array(60);t(u);const d=new Array(512);t(d);const p=new Array(256);t(p);const y=new Array(29);t(y);const h=new Array(a);function m(e,t,n,r,a){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=r,this.max_length=a,this.has_stree=e&&e.length}let b,g,v;function w(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}t(h);const T=e=>e<256?d[e]:d[256+(e>>>7)],E=(e,t)=>{e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255},x=(e,t,n)=>{e.bi_valid>16-n?(e.bi_buf|=t<>16-e.bi_valid,e.bi_valid+=n-16):(e.bi_buf|=t<{x(e,n[2*t],n[2*t+1])},P=(e,t)=>{let n=0;do{n|=1&e,e>>>=1,n<<=1}while(--t>0);return n>>>1},O=(e,t,n)=>{const r=new Array(16);let a,o,s=0;for(a=1;a<=i;a++)s=s+n[a-1]<<1,r[a]=s;for(o=0;o<=t;o++){let t=e[2*o+1];0!==t&&(e[2*o]=P(r[t]++,t))}},k=e=>{let t;for(t=0;t{e.bi_valid>8?E(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0},_=(e,t,n,r)=>{const a=2*t,i=2*n;return e[a]{const r=e.heap[n];let a=n<<1;for(;a<=e.heap_len&&(a{let a,i,c,l,f=0;if(0!==e.sym_next)do{a=255&e.pending_buf[e.sym_buf+f++],a+=(255&e.pending_buf[e.sym_buf+f++])<<8,i=e.pending_buf[e.sym_buf+f++],0===a?A(e,i,t):(c=p[i],A(e,c+n+1,t),l=o[c],0!==l&&(i-=y[c],x(e,i,l)),a--,c=T(a),A(e,c,r),l=s[c],0!==l&&(a-=h[c],x(e,a,l)))}while(f{const n=t.dyn_tree,r=t.stat_desc.static_tree,a=t.stat_desc.has_stree,o=t.stat_desc.elems;let s,c,l,f=-1;for(e.heap_len=0,e.heap_max=573,s=0;s>1;s>=1;s--)I(e,n,s);l=o;do{s=e.heap[1],e.heap[1]=e.heap[e.heap_len--],I(e,n,1),c=e.heap[1],e.heap[--e.heap_max]=s,e.heap[--e.heap_max]=c,n[2*l]=n[2*s]+n[2*c],e.depth[l]=(e.depth[s]>=e.depth[c]?e.depth[s]:e.depth[c])+1,n[2*s+1]=n[2*c+1]=l,e.heap[1]=l++,I(e,n,1)}while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],((e,t)=>{const n=t.dyn_tree,r=t.max_code,a=t.stat_desc.static_tree,o=t.stat_desc.has_stree,s=t.stat_desc.extra_bits,c=t.stat_desc.extra_base,l=t.stat_desc.max_length;let f,u,d,p,y,h,m=0;for(p=0;p<=i;p++)e.bl_count[p]=0;for(n[2*e.heap[e.heap_max]+1]=0,f=e.heap_max+1;f<573;f++)u=e.heap[f],p=n[2*n[2*u+1]+1]+1,p>l&&(p=l,m++),n[2*u+1]=p,u>r||(e.bl_count[p]++,y=0,u>=c&&(y=s[u-c]),h=n[2*u],e.opt_len+=h*(p+y),o&&(e.static_len+=h*(a[2*u+1]+y)));if(0!==m){do{for(p=l-1;0===e.bl_count[p];)p--;e.bl_count[p]--,e.bl_count[p+1]+=2,e.bl_count[l]--,m-=2}while(m>0);for(p=l;0!==p;p--)for(u=e.bl_count[p];0!==u;)d=e.heap[--f],d>r||(n[2*d+1]!==p&&(e.opt_len+=(p-n[2*d+1])*n[2*d],n[2*d+1]=p),u--)}})(e,t),O(n,f,e.bl_count)},N=(e,t,n)=>{let r,a,i=-1,o=t[1],s=0,c=7,l=4;for(0===o&&(c=138,l=3),t[2*(n+1)+1]=65535,r=0;r<=n;r++)a=o,o=t[2*(r+1)+1],++s{let r,a,i=-1,o=t[1],s=0,c=7,l=4;for(0===o&&(c=138,l=3),r=0;r<=n;r++)if(a=o,o=t[2*(r+1)+1],!(++s{x(e,0+(r?1:0),3),S(e),E(e,n),E(e,~n),n&&e.pending_buf.set(e.window.subarray(t,t+n),e.pending),e.pending+=n};e.exports._tr_init=e=>{M||((()=>{let e,t,n,l,w;const T=new Array(16);for(n=0,l=0;l<28;l++)for(y[l]=n,e=0;e<1<>=7;l{let i,o,s=0;e.level>0?(2===e.strm.data_type&&(e.strm.data_type=(e=>{let t,r=4093624447;for(t=0;t<=31;t++,r>>>=1)if(1&r&&0!==e.dyn_ltree[2*t])return 0;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return 1;for(t=32;t{let t;for(N(e,e.dyn_ltree,e.l_desc.max_code),N(e,e.dyn_dtree,e.d_desc.max_code),R(e,e.bl_desc),t=18;t>=3&&0===e.bl_tree[2*l[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t})(e),i=e.opt_len+3+7>>>3,o=e.static_len+3+7>>>3,o<=i&&(i=o)):i=o=r+5,r+4<=i&&-1!==t?B(e,t,r,a):4===e.strategy||o===i?(x(e,2+(a?1:0),3),C(e,f,u)):(x(e,4+(a?1:0),3),((e,t,n,r)=>{let a;for(x(e,t-257,5),x(e,n-1,5),x(e,r-4,4),a=0;a(e.pending_buf[e.sym_buf+e.sym_next++]=t,e.pending_buf[e.sym_buf+e.sym_next++]=t>>8,e.pending_buf[e.sym_buf+e.sym_next++]=r,0===t?e.dyn_ltree[2*r]++:(e.matches++,t--,e.dyn_ltree[2*(p[r]+n+1)]++,e.dyn_dtree[2*T(t)]++),e.sym_next===e.sym_end),e.exports._tr_align=e=>{x(e,2,3),A(e,256,f),(e=>{16===e.bi_valid?(E(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)})(e)}},25806:e=>{"use strict";e.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},34463:(e,t,n)=>{"use strict";var r=n(72791),a=n(45296);function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n